
/*fonts importeren*/
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Vollkorn:ital,wght@0,400..900;1,400..900&display=swap');


:root {
    scroll-behavior: smooth;
  }
  

body{
    font-family: "Open Sans", sans-serif;
    min-height: 100vh;
 
}

body::-webkit-scrollbar {
    display: none;
  }

/*Navigatie*/
header{
    position: fixed;
    padding-top: 1.5vh;
    height: 8vh;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(
      to bottom,
      rgba(248, 249, 250, 0.8) 0%,   /* Match je achtergrondkleur */
      rgba(222, 226, 230, 0.4) 60%,  /* Cool Gray met transparantie */
      rgba(222, 226, 230, 0) 100%    /* Volledig transparant */
    );
    backdrop-filter: blur(12px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    z-index: 10;
}
.nav-grid{
    display: flex;
    flex-wrap:nowrap;
    justify-content: space-between;
    align-items: center;
    padding: 0 2vw 0.5vh 2vw;
    border-bottom: #495057 2px solid;  
}
.nav-item{
    display:none;
    
    
}

.nav-item.active {
    display: block;
    position: relative;
    top: 4vh;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
.mobile-menu{
    display: block;
    
}
nav ul li #homepagina{
    font-size: 1rem;   
}

nav ul li #homepagina:hover{
    border-bottom: #0D6EFD 0.15em solid;   
}
nav ul li a{
    color:#212529;
    font-size: 0.8em;
    font-weight: 600;
    text-decoration: none;    
    white-space: nowrap;
    transition: all 0.1s ease;
}

.icon{
    font-size: 1rem;
}

nav ul li a:hover{
    border-bottom: #212529 0.15em solid;
}

.icon:hover{
    border-bottom: none;
}


/*Titels*/
h1{
    font-size: 2rem;
    text-align: center;
    font-weight: 800;
    margin-bottom: 2.5vh;
}
h2{
    font-size: 1.8rem;
    font-family: "Vollkorn", serif;
    font-weight: 600;
    text-align: center;
    color: #495057;
    margin-bottom: 10vh;
}


h3{
    font-size: 1.4rem;
    font-family: "Vollkorn", serif;
    font-weight: 600;
    color: #212529;
    margin-bottom: 1.5vh;
    text-align: center;
}

h4{
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    
}
/*Main*/
main{
    margin: 12vh auto 0 auto;
    width: 80vw;
}
section{
    margin-top: 5vh;
    margin-bottom: 5vh;
}

p{
    margin: 2vh 0;
    line-height: 1.2rem;
}

/*HomePagina*/
.portretMetTekst{
    display: grid;
    grid-template-columns: 1fr;
    gap: 5vh;
    font-weight: 600;
    width: 70vw;
    margin:0  auto;
    

}
.portretMetTekst picture{
    width:40vw;
    margin:0  auto;
}

.portretMetTekst picture img{
    width: 100%;
    margin:0  auto;
    border: 0.2rem solid #212529;
    border-radius: 25px;

}


.tekstportret{
    margin:0  auto;
    text-align: center;
}

#sendtolevi{
    display: block;
    text-decoration: none;
    border-radius: 10px;
    width: 40vw;
    color: #f2f2f2;
    background-color: #495057;
    text-align: center;
    margin: 1rem auto;
    padding: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

#sendtolevi:hover{
    color:  #DEE2E6;
    background-color: #0D6EFD;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.skills-grid{
    display: grid;
    grid-template-columns: 1fr;
    gap: 5vh;
}

.skill{
    margin:0  auto;
    padding: 4vw;
    border-top: 1px #DEE2E6 solid;
}
.skill h4{
    text-align: center;
}


/*projects*/
@keyframes projecten {
    from{
        opacity: 0;
        scale: 0.5;
    }
    to{
        opacity: 1;
        scale: 1;
    }
}

#projects h3{ 
    text-align: center;
}

#projects{
    display: grid;
    grid-template-columns: 1fr;
    gap: 5vh;
    
}
#projects article{
    animation-duration: 1s;
    animation-name: projecten;
    animation-timing-function: ease-in-out;
    
}
#projects article picture img{
    border: 0.2rem solid #212529;
    border-radius: 25px;
    width: 80vw;
    margin: 0 auto;
    /*positie+groote*/
    

}
#projects article picture img:hover{
    border: 0.2rem solid #212529;
    border-radius: 25px;
    transition: 
    all 0.3s ease-in-out;
    box-shadow: 0.2rem 0.2rem 0.5rem 0.2rem rgba(13, 110, 253, 0.7);
}

/*Individual projects*/

.video-wrapper {
    margin-top: 5vh;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
}
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/*About Me*/

#about{
    margin-bottom: 45vh;
}

/*Footer*/
footer{
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    background: linear-gradient(
      to top,
      rgba(248, 249, 250, 0.8) 0%,   /* Match je achtergrondkleur */
      rgba(222, 226, 230, 0.4) 60%,  /* Cool Gray met transparantie */
      rgba(222, 226, 230, 0) 100%    /* Volledig transparant */
    );
    backdrop-filter: blur(12px) saturate(180%);
 
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
    margin-top: 5vh;
    padding-top: 2vh;
    height: 5vh;
    text-align: center;
    font-size: 0.8rem;
}
footer a{
    color:#212529;
}
/*Cookies*/
#cookie-banner{
    position: fixed; 
    bottom: 0; 
    left: 0; 
    width: 100%; 
    background-color: #f2f2f2; 
    padding: 15px; 
    text-align: center; 
    z-index: 9999; 
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.8);
}
#accept-cookies{
    margin-left: 10px; 
    padding: 5px 10px;
}
/*--contact--*/
form{
    width: 80vw;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr;
}
form section{
    margin-top: 1vh;
    margin-bottom: 1vh;
}
form .tekstform{
    display: grid;
    grid-template-columns: 2fr 4fr;
    gap: 1vw;
}
#radioTekst{
    margin-bottom: 2vh;
}
#kleineTekstForm{
    font-size: 0.8rem;
}
#howFindMe{
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-self: left;
    
}

select, input, textarea{
    border: none;
    background-color: rgba(73, 80, 87, 0.2);
}
#howFindME input{
    background-color: #0D6EFD;
}

#message{
    color: #495057;
}

/**/
@media (min-width:800px){
    body{       
        display: grid;
        grid-row: 1fr;

        /*kleur achtergrond*/
        background: 
        radial-gradient(
          circle at 10% 10%,
          #F8F9FA 0%,
          #F8F9FA 20%,
          #DEE2E6 100%
        ),
        
        /*glow effect */
        radial-gradient(
          circle at var(--mouse-x) var(--mouse-y),
          hsl(212 100% 50% / 0.3 ), /* Deep Blue glow */
          hsl(212 100% 50% / 0) 40%
        );
      
        background-blend-mode: overlay;
        min-height: 100vh;
    }
    h1{
        font-size: 3rem;
    }
    h2{
        font-size: 2.5rem;
    }
    h3{
        font-size: 1.8rem;
    }
    h4{
        font-size: 1.3rem;
    }
    /*nav*/
    header{
        height: 5vh;
    }
    .nav-item{
        display: block;
        font-size: 1.2em;
    }
    
    .mobile-menu{
        display: none;
    }
    .nav-grid{
        display: grid;
        grid-template-columns: 10fr repeat(3, 1fr);
        gap: 2vw;
        padding: 0vh 20vw;
        border: none;
    }
    nav ul li #homepagina{
    font-size: 1.2rem;   
    }
    /*Main*/
    main{
        margin: 12vh auto 0 auto;
        width: 80vw;
    }
    section{
        margin-top: 5vh;
        margin-bottom: 5vh;
    }

    p{
        margin-top: 0.5em;
        line-height: 1.2em;
    }

    /*HomePagina*/
    .portretMetTekst{
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
        font-weight: 600;
        margin:0  auto;
        

    }
    .portretMetTekst picture{
        width:20vw;
        margin:0  auto;
    }

    .portretMetTekst picture img{
        width: 100%;
        margin:0  auto;
        border: 0.2rem solid #212529;
        border-radius: 25px;

    }


    .tekstportret{
        margin:0  auto;
        text-align: center;
    }

    #sendtolevi{
        display: block;
        text-decoration: none;
        border-radius: 10px;
        width: 20vw;
        color: #f2f2f2;
        background-color: #495057;
        text-align: center;
        margin: 1rem auto;
        padding: 0.5rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    }

    #sendtolevi:hover{
        color:  #DEE2E6;
        background-color: #0D6EFD;
    }

    .skills-grid{
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 5vh;
    }

    .skill{
        background: linear-gradient(
        to bottom,
        rgba(248, 249, 250, 0) 0%,   /* Match je achtergrondkleur */
        rgba(222, 226, 230, 0.4) 60%,  /* Cool Gray met transparantie */
        rgba(222, 226, 230, 0) 100%    /* Volledig transparant */
        );
        backdrop-filter: blur(40px) saturate(180%);
        border: 3px solid rgba(255, 255, 255, 0.2);
    }
    .skill h4{
        text-align: center;
    }
    /*--projects--*/
    #projects{
        grid-template-columns: 1fr 1fr;
    }
    #projects article picture img{
    border: 0.2rem solid #212529;
    border-radius: 25px;
    width: 40vw;
    }
    /*--contact--*/
    form{
        width: 50vw;
    }

}