@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');
*{
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding:0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    scroll-padding-top: 2rem;
}

:root{
 --main-color:#647bff;
 --body-color:#090a1a;
 --container-color:#171b3c;
 --heading-color:#222231;
 --box-color:#0d0f26;
 --bg-color:#fff;   
}

body{
color:var(--bg-color);
background:var(--body-color) ;
}

::-webkit-scrollbar{
    display: none;
}

img{
width:100%;
height: 100%;
}

a{
text-decoration:none;
}

section{
padding: 3rem 0rem 2rem;
}

li{
list-style:none;
}

.container{
max-width:960px;
margin: auto;
width:100%;
}

header{
position:fixed;
top: 0;
left:0;
width:100%;
z-index:100;
}

.nav{
display: flex;
align-items:center;
justify-content: space-between;
padding: 20px 0;
}

.logo{
font-size:  1.2rem;
font-weight: 600;
color: var(--main-color);
}

/*navbar*/

.navbar{
display:flex;
align-items: center;
column-gap: 6.9rem;
}

.header-active{
    background: var(--container-color);
    transition: 0.3s;
}

.nav-link{
font-size: 0.94rem;
padding: 4px 8px;
border-radius:0.2rem;
color: var(--bg-color);
}

.nav-link:hover{
color:var(--main-color);
background:var(--container-color);
transition: 0.3s all linear;    
}
.menu-icon{
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    row-gap: 5px;
    cursor: pointer;
    z-index: 200;
    transition: 0.3s;
}
.menu-icon div{
    display: block;
    background: var(--bg-color);
    height: 2px;
    width: 24px;
    transition: 0.3s;
}

.move .line1{
    transform: rotate(-45deg) translate(-5px,5px);
}

.move .line2{
    opacity: 0;
}

.move .line3{
    transform: rotate(45deg) translate(-5px,-5px);
}



/*home*/

.home{
    min-height: 600px;
    display: flex;
    align-items:center;
    justify-content:center;
    padding-top:7rem ; 
}

.home-content{
 position: relative ;
 max-width: 600px;
 width:100%;
 margin:auto;
 display: flex;
 flex-direction: column;
 align-items: center;
 justify-content: center;
}

.home-img{
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background:#98a9fc;
    overflow:hidden;
    margin-bottom: 2rem;
}

.home-text{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.home-text h3{
    position: relative;
    display: flex;
    align-items: center;
    column-gap: 0.5rem;
    font-size: 1.1rem;
    color: var(--main-color);
}

.home-text h3::before{
    content:"" ;
    position: absolute;
    top: 50%;
    transform: translate(-50%);
    left: -15px;
    width: 20px;
    height: 2px;
    background: var(--main-color);
}

.home-text h3::after{
    content:"" ;
    position: absolute;
    top: 50%;
    transform: translate(-50%);
    right: -35px;
    width: 20px;
    height: 2px;
    background: var(--main-color);
}

.home-text h2{
    font-size: 3.5rem;
    line-height: 4.8rem;
}

.home-text p{
    font-size: 0.938rem;
    margin-bottom: 1.5rem;
}

.social{
    display: flex;
    align-items:center;
    column-gap: 0.5rem;
}
.social .bx{
    font-size: 1.3rem;
    padding: 10px;
    border-radius: 50%;
    color: var(--bg-color);
    background: var(--container-color);
}

.social .bx:hover{
    background: var(--main-color);
    transition: 0.3s;
}

.home-text .color{
    color: var(--main-color);
}

.heading{
    font-size: 5rem;
    text-transform:uppercase;
    color: var(--heading-color);
    text-align: center;
    margin-bottom: 3rem;
    margin-top: 4rem;
}

/*over mij*/

.about-content{
    display: grid;
    grid-template-columns:repeat(2,1fr);
    gap: 1.5rem;
}

.about-data span{
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--main-color);
}

.about-data h2{
    font-size: 2rem;
    line-height: 2.6rem;
    font-weight: 700;
    margin: 1rem 0;
}

.btn{
    font-size: 0.97rem;
    display: inline-flex;
    align-items: center;
    column-gap: 0.5rem;
    color: var(--bg-color);
    background: var(--main-color);
    padding: 12px 16px;
    border-radius: 0.4rem;
    margin-top: 1rem;
}

.btn .bx{
    font-size: 1.2rem;
}

.btn:hover{
   background: #546eff;
   transition: 0.3s all linear; 
}

.about-text p{
    font-size:0.938rem ;
    letter-spacing: 1px;
    text-align: justify;
    margin-bottom: 1.5rem;
}

/*projecten*/

#project{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 50px 0px;
}

.project-heading{
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.project-heading h3{
    font-size: 2.3rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--main-color);
   
}

/* projecten filter */

.projecten-filter{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 20px;
}

.projecten-filter li{
    margin: 10px;
    padding: 5px 20px;
    color:var(--bg-color);
    font-size: 1rem;
    letter-spacing: 0.5px;
    font-weight: 400;
    cursor:pointer;
    user-select: none;
}

.projecten-filter li:hover{
 color:var(--main-color);
 background:var(--container-color);
 transition: 0.3s all linear;         
}

.project-container{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    max-height: 400px;
    overflow-y: scroll;
    margin: auto;
    
}

.project:hover{
    outline: .2rem solid var(--heading-color);
    outline-offset:0;
    cursor:pointer;
    transition: all 0.03s linear;
}

.project{
    width: 450px;
    padding: 15px;
    outline: .1rem solid var(--bg-color);
    outline-offset: -0.2rem;
    margin: 20px;
    height: 300px;
}

.project img{
    width:100%;
    height:100%;
    overflow: hidden;
    border-radius: 5px;
}

/* scroll top*/

.scroll-top{
    position: fixed;
    bottom: -100%;
    right: 1.5rem;
}

.scroll-top .bx{
padding: 8px;
font-size: 1.3rem;
color: var(--bg-color);
background: var(--box-color);
border-radius: 0.2rem;
}

.scroll-top .bx:hover{
    background: var(--container-color);
    transition: 0.3s;
    color: var(--main-color);
}

.scroll-active{
     bottom: 2rem;
     transition: 0.3s;
}

/* contact form */

.contact-form{
    max-width: 600px;
    margin: auto;
    width: 100%;
    display: grid;
    row-gap: 1.5rem;
}
.contact-form input,.contact-form textarea{
    border: none;
    outline: none;
    font-size: 0.9rem;
    padding: 15px;
    color: var(--bg-color);
    background:var(--box-color) ;
    border-radius:0em 0.4rem;
}

.contact-form .send-btn{
width: 120px;
font-size: 1rem;
letter-spacing: 1.5px;
font-weight: 500;
text-transform: uppercase;
padding: 12px;
background: var(--main-color);
cursor: pointer;
}

.contact-form .send-btn:hover{
    background: #546eff;
    transition: 0.3s all linear;
}

/* footer*/

#footer{
    display: flex;
    align-items: center;
    flex-direction: column;
    row-gap: 1.4rem;
    padding: 30px 0;
}

.footer-container{
    display: flex;
    align-items: center;
    column-gap: 1rem;
}

.footer-container a{
    font-size: 2rem;
    font-weight: 600;
    color: var(--main-color);
}

/*projecten cards*/

.projecten-preview{
   position: fixed;
   top:0; left:0;
   min-height: 100vh;
   width: 100%;
   background: rgba(0,0,0,.8);
   display: none;
   align-items: center;
   justify-content: center;
}

.projecten-preview .previeuw{
   display: none;
   padding:2rem;
   background: var(--container-color);
   position: relative;
   margin:2rem;
   width: 50rem;
}

.projecten-preview .previeuw.active{
   display: flex;
}

.projecten-preview .previeuw img{
   height: 18rem;
   width: 15rem;
   text-align: left;
}

.projecten-preview .previeuw .fa-times{
   position: absolute;
   top:1rem; right:1.5rem;
   cursor: pointer;
   color:#fff;
   font-size: 2rem;
}

.projecten-preview .previeuw .fa-times:hover{
   transform: rotate(90deg);
   color: var(--main-color);
   transition: 0.5s linear;
}

.projecten-preview .previeuw p{
   line-height: 1.5;
   padding:1rem 1rem;
   text-align: justify;
}

/* responsive */
@media (max-width:990px){
   .container{
    margin: 0 auto;
    width: 90%;
   }
}
@media (max-width:892px){
    section{
      padding: 2rem 0;  
    }
    .nav{
        padding:12px 0 ;
    }
    .heading{
        font: size 4rem;;
    }
}
@media (max-width:775px){
    .nav{
        padding: 10px 0;
    }
    .logo{
        font-size: 1.1rem;
    }
    .home{
        min-height:500px ;
        padding-top: 6rem;
    }
    .home-text h3{
        font-size: 1rem;
    }
    .home-text h2{
        font-size: 3rem;
        line-height: 3.8rem;
    }
    .home-text p{
        font-size: 0.825rem;
    }
    .menu-icon{
        display: flex;
    }
    .navbar{
        position: absolute;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--box-color);
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 50px 20px;
        transition: 0.5s all cubic-bezier(0.075, 0.82, 0.165, 1);
    }
    .open-menu{
        right: 0;
        transition: 0.5s all cubic-bezier(0.075, 0.82, 0.165, 1);
    }
    .nav-link{
        display: block;
        margin: 1rem 0;
    }
}
@media (max-width:635px){
    .about-content{
        grid-template-columns: 1fr;
    }
    .about-data span{
        font-size: 0.9rem;
    }
    .about-data h2{
        font-size: 1.7rem;
        line-height: 2.3rem;
        font-weight: 600;
        margin: 0.8rem 0;
    }
    .about-text p{
        font-size: 0.825rem;
        margin-bottom: 1.3rem;
    }
}
@media (max-width:450px){
    .home{
        min-height: 485px;
        padding-top: 5rem;
    }
    .home-img{
        width: 140px;
        height: 140px;
    }
    .home-img img {
        width: 140px;
        height: 140px;
    }
    .home-text h2{
        font-size: 2.1rem;
        line-height: 3.2rem;
    }
    .home-text p br{
        display: contents;
    }
    .heading{
        font-size: 3rem;
    }
    .about-data h2{
        font-size: 1.5rem;
        line-height: 2.1rem;
        margin: 0.6rem 0;
    }
    .footer-links{
        flex-direction: column;
        row-gap: 1rem;
    }
    @media (max-width:325px){
        .navbar{
            width: 100%;
        }
    }
}

