*{box-sizing:border-box;margin:0;padding:0}html,body{font-family:Verdana,Geneva,Tahoma,sans-serif;overflow-x:hidden}section{width:100%;padding:6rem 0}.page1{width:100%;height:100vh;position:relative;overflow:hidden}.container{width:100%;height:100%;margin:0 auto;display:flex;position:absolute}.left{background:#d7d7d7;justify-content:center;align-items:center;width:50%;height:100%;display:flex}.intro{width:70%}.intro .greet{font-size:clamp(1rem,3vw,1.5rem)}.intro .name{font-size:clamp(1.8rem,6vw,3rem);font-weight:700}.intro .role{font-size:clamp(.9rem,2.5vw,1.1rem)}.social{gap:2rem;margin-top:2rem;display:flex}.social img{cursor:pointer;width:2.5rem;height:2.5rem}.right{clip-path:polygon(12% 0,100% 0,100% 100%,0% 100%);z-index:2;background:#000;justify-content:center;align-items:center;width:60%;height:100%;display:flex;position:absolute;top:0;right:0}.right img{height:150%;position:absolute;top:-1%}nav{z-index:1000;justify-content:space-between;align-items:center;width:90%;display:flex;position:fixed;top:3dvh;left:50%;transform:translate(-50%)}.secondnav{gap:1.5rem;display:flex}.nav-item{color:#fff;border-radius:50px;padding:1vh 2vh;text-decoration:none;transition:all .4s;position:relative;overflow:hidden}.nav-item:after{content:"";background-color:#fff;border-radius:50%;width:100%;height:100%;transition:all .4s;position:absolute;bottom:-100%;left:0}.nav-item:hover:after{z-index:-1;color:#000;border-radius:0;bottom:0}.nav-item:hover{color:#000}.nav-item:hover:after{transform:scaleX(1)}.page1bottom{color:#fff;z-index:999;background:#1d1d1d;align-items:center;width:100%;min-height:30dvh;display:flex;position:absolute;bottom:0;left:0}.content{width:70%;padding-left:4%}.ITBERRIES{margin-top:.5rem;font-weight:300;line-height:1.09}.page2{background:#d7d7d7;flex-direction:column;align-items:center;display:flex}.aboutme{text-align:center;width:80%}.aboutme h1{border:4px solid #000;margin-bottom:2rem;padding:.5rem 2rem;font-size:2rem;font-weight:800;display:inline-block}.aboutme p{width:70%;margin:1rem auto;line-height:1.6}.cards{flex-wrap:wrap;justify-content:center;gap:4rem;width:80%;margin-top:3rem;display:flex}.design,.development,.maintenance{text-align:center;background:#d7d7d7;flex-direction:column;flex:280px;gap:2rem;padding:1.5rem;display:flex}.cards p{font-size:1.02rem;font-weight:500;line-height:1.5}.page3{background:#d7d7d7;flex-direction:column;align-items:center;display:flex}.Skills{border:4px solid #000;margin-bottom:3rem;padding:.5rem 2rem;font-size:2rem;font-weight:800}.skillsheading{margin-bottom:1rem;font-size:1.2rem}.usingnow,.learning,.other{width:70%;margin-bottom:3rem}.image-list{grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:1.5rem;display:grid}.image-card{text-align:center;background:#fff;border-radius:8px;padding:1rem}.image-card img{object-fit:contain;width:40px;height:40px;margin-bottom:.5rem}.image-card p{font-size:.75rem;font-weight:600}.projects{background:#d7d7d7}.portfolio{background:url(/vestrahorn-mountains-stokksnes-iceland.webp) 50%/cover no-repeat;justify-content:center;align-items:center;width:100%;min-height:40vh;display:flex}.portfolio h1{background:#ffffffe6;border:4px solid #000;padding:.5rem 2rem;font-size:2rem;font-weight:800}.demo{grid-template-columns:repeat(2,1fr);gap:2rem;margin-top:4rem;padding:0 5%;display:grid}.demo img:hover{transform:scale(1.03)}.project-card{background:#fff;border-radius:12px;transition:all .4s;overflow:hidden;box-shadow:0 10px 25px #00000014}.project-card:hover{transform:translateY(-8px);box-shadow:0 25px 60px #0000002e}.image-wrapper{border-radius:8px;position:relative;overflow:hidden}.image-wrapper img{object-fit:cover;width:100%;height:350px;transition:transform .4s;display:block}.image-wrapper:hover img{transform:scale(1.05)}.overlay{opacity:0;background:#000000bf;flex-direction:column;justify-content:center;align-items:center;gap:1.5rem;transition:all .3s;display:flex;position:absolute;inset:0}.image-wrapper:hover .overlay{opacity:1}.overlay a{color:#000;background:#fff;padding:.5rem 1rem;font-size:.85rem;font-weight:600;text-decoration:none}.overlay h3{color:#fff;font-size:1.2rem;font-weight:700}.contact-section{background:#d7d7d7;flex-direction:column;align-items:center;display:flex}.divider{justify-content:center;align-items:center;gap:16px;margin:5rem 0;display:flex}.divider span:first-child,.divider span:last-child{background:#000;width:60px;height:2px;display:block}.diamond{justify-content:center;width:46px;height:22px;font-weight:900;display:flex;position:relative}.diamond::marker{content:none}.contact-header{text-align:center;max-width:700px}.contact-header h1{border:4px solid #000;margin-bottom:3rem;padding:.5rem 2rem;font-size:2rem;font-weight:800}.contact-form{flex-direction:column;gap:4rem;width:100%;max-width:600px;display:flex}.input-group{border-bottom:4px solid #000;border-left:4px solid #000;padding-left:.8rem}.input-group input,.input-group textarea{background:0 0;border:none;outline:none;width:100%;padding:.8rem 0}.submit-btn{cursor:pointer;letter-spacing:3px;color:#000;background:0 0;border:none;justify-content:center;align-items:center;gap:20px;margin:2rem auto;padding:0;font-size:.9rem;font-weight:700;display:flex}.submit-btn span{background:#000;width:2px;height:20px;display:block}.form-status{text-align:center;margin-top:1rem;font-size:.9rem;font-weight:600}.footer{color:#eee;background:#111;flex-direction:column;align-items:center;gap:1.5rem;padding:3rem 1rem;display:flex}.footer-icons{gap:1rem;display:flex}.footer-icons a{background-color:#fff;border:1px solid #000;justify-content:center;align-items:center;width:28px;height:28px;display:flex}.back-to-top{color:#fff;justify-content:center;align-items:center;gap:.9rem;text-decoration:none;display:flex}.arrow-up{border-bottom:2px solid #fff;border-left:2px solid #fff;width:10px;height:10px;transform:rotate(135deg)}@media (max-width:1260px){section{padding:4rem 0}.page1{flex-direction:column;height:100vh;display:flex;position:relative}.container{flex-direction:column;height:100%;position:relative}.right{display:none}.left{justify-content:center;align-items:center;width:100%;height:100%;padding:0 1.5rem}.intro{text-align:center;width:100%}.social{justify-content:center}.secondnav{display:none}.page1bottom{min-height:25vh;padding:2rem 1rem}.content{text-align:center;width:100%;padding:0;font-size:.8rem}.aboutme p{width:90%}.cards{flex-direction:column;gap:2rem}.design,.development,.maintenance{flex:100%}.usingnow,.learning,.other{width:90%}.image-list{grid-template-columns:repeat(2,1fr)}.portfolio{min-height:30vh}.portfolio h1{font-size:1.5rem}.demo{grid-template-columns:1fr;gap:1.5rem;padding:2rem 1.5rem}.demo img{height:250px}.overlay{opacity:1;background:0 0;flex-direction:column;padding:1rem 0;position:relative}.overlay h3{color:#000;font-size:1.2rem;font-weight:700}.image-wrapper{flex-direction:column;display:flex}.overlay a{color:#fff;text-align:center;background:#000;width:100%}.contact-form{gap:2rem;padding:0 1rem}.contact-header h1{font-size:1.5rem}.divider{margin:3rem 0}.footer{padding:2rem 1rem}.footer-icons{gap:.8rem}}
