
:root {
    --background: #f2f0ef;
    --primary: rgba(84, 5, 5, 0.721);
    --secondary: rgb(198, 198, 198);
    --text-color-light: #fff; /* Tekst kleur, van paragraphen en header */
    --text-color-dark: #505050;
    --text-color-dark-hover: #181818;
    --rounded: 20px;
}

body{
    background-color: var(--background);
    font-family: 'Helvetica Neue', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', sans-serif;
}

main{
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
}

main.toggle-navigation{
    transform: translateX(300px);
}

nav{
    width: 300px;
    height: 100%; /* 100% Full-height */
    position: fixed; /* Stay in place */
    z-index: 1; /* Stay on top */
    top: 0; /* Stay at the top */
    left: -300px;
    background-color: var(--background);
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 140px; 
    transition: 0.5s; 
    color: white
}
nav.toggle-navigation{
    transform: translateX(300px);
}

nav ul{
    margin-left: 32px;
}
nav ul li{
    margin-bottom: 20px;
}

nav ul li a{
    color: var(--text-color-dark);
    padding: 20px;
    font-size: 18px;
    text-decoration: none;
}
nav ul li a:hover{
    color: var(--primary);
}


section{
    background-color: var(--secondary);
    border-radius: var(--rounded);
    margin-bottom: 2px;
    height: 400px;
    padding-left: calc((100% + 13px) / 12 * 1 + -13px);
    padding-right: calc((100% + 13px) / 12 * 1 + -13px);
    padding-top: 40px;
    /* margin-bottom: 40px; */
}

h1{
    padding-top: 25px;
    font-size: 36px;
}

h2{
    font-size: 55px;
}


#navToggle{
    position: fixed;
    top: 40px;
    left: 40px;
    font-size: 40px;
    z-index: 100;
    color: var(--text-color-light);
    transition: 0.5s;
}


#intro{
    background-image: url('images/simona-sergi-hETJ5PBJDKw-unsplash.jpg');
    background-size: cover;
    height: 100vh;
    color: var(--text-color-light);
    padding-top: 0px;
}

#intro h2{
    margin-top: 280px;
    font-size: 70px;
    font-weight: bold;
    line-height: 120%;
}
#intro h3{
    margin-top: 30px;
    font-size: 36px;
}

#intro .btn{
    margin-top: 42px;
    color: rgba(84, 5, 5, 0.721);
}


#theory{
    background-color: #fff;
    height: 60vh;
    color: var(--text-color-dark);
}
#theory h2{
    font-size: 55px;
    width: 30%;
    float: left;
    margin-top: 90px;
    font-weight: bold;
}
#theory .description{
    width: 50%;
    float: right;
    padding-top: 90px;
}
#theory .description p{
    font-size: 20px;
    line-height: 140%;
    padding-bottom: 20px;
}

#bookcase{
    background-image: url("images/stefan-steinbauer-HK8IoD-5zpg-unsplash.jpg");
    background-size: cover;
    height: 80vh;
}


#showcase{
    background-color: #fff;
    height: 80vh;
    padding: 0px
}
.slider-item{
    width: 100%;
    height: 300px;
    padding-left: calc((100% + 13px) / 12 * 1 + -13px);
    padding-right: calc((100% + 13px) / 12 * 1 + -13px);
    padding-top: 40px;
    height: calc(80vh - 80px);
    display: block;
    box-sizing: border-box;
}
.slider-item .description{
    width: 50%;
    float:right;
    padding-left: 90px;
    padding-right: 50px;
    box-sizing: border-box;
}
.slider-item .description h3{
    font-size: 36px;
    font-weight: bold;
    padding-top: 90px;
    padding-bottom: 50px;
}
.slider-item .description p{
    font-size: 20px;
    line-height: 140%;
    padding-bottom: 20px;
    color: var(--text-color-dark);
}
.slider-item .video{
    padding-top: 90px;
    float: left;
    width: 50%;
    height: 60vh;
}
.slider-item .image{
    float: left;
    width: 50%;
    padding-top: 90px;
    
}
.slider-item .image img{
    max-width: 100%;
    border-radius: 30px;
    max-height: 50vh;
    display:block;
    margin:auto;
}


#photo{
    background-image: url('images/chantal-giving-a-presentation.jpg');
    background-position: 50% 50%;
    background-size: cover;
    height: 80vh;
}

#about{
    background-color: #fff;
    height: 50vh;
}
#about img{
    float: right;
}
#about h2{
    font-size: 55px;
    width: 30%;
    float: left;
    margin-top: 90px;
    font-weight: bold;
}
#about .details{
    float: right;
    width: 50%;
    padding-top: 90px;
}
#about .details p {
    font-size: 20px;
    line-height: 140%;
    padding-bottom: 20px;
    color: var(--text-color-dark);
}


#more{
    background-image: url('images/contact-envelop.png');
    background-size: cover;
    height: 60vh;
}

#contact{
    background-color: #fff;
}
#contact h2{
    font-size: 55px;
    width: 30%;
    float: left;
    margin-top: 90px;
    font-weight: bold;
}

#contact .details{
    float: right;
    width: 50%;
    padding-top: 90px;
}
#contact .details a, #contact .details p{
    font-size: 20px;
    display: block;
    color: var(--text-color-dark);
    padding: 10px;
}

.btn{
    background-color: #fff;
    text-decoration: none;
    padding: 10px;
    padding-left: 15px;
    padding-right: 15px;
    border-radius: var(--rounded);
    line-height: 21px;
    display: inline-block;
    font-size: 18px;
    letter-spacing: 1px;
}
@media only screen and (max-width: 1076px) {
    section{
        width: 100%;
    }

    h1{ 
        /* padding-top: 90px; */
        margin-top: 0px;
        padding-left: 40px;
        font-size: 2rem;
        padding-top: 30px;
        /* text-align: center; */
    }
    
    #theory h2 {
        font-size: 2.5rem;
        margin-top: 0px;
    }
    #theory .description {
        padding-top: 0px;
    }
    #about{
        float: left;
        height: fit-content;
    }
    #showcase #slider .flickity-viewport{
        height: 100vh;
    }
    #showcase .slider-item.carousel-cell .video{
        padding-top: 0px;
        
    }
    #showcase .slider-item.carousel-cell .image{
        padding-top: 0px;

    }
    #showcase .slider-item.carousel-cell .description{
        padding-left: 20px;
        display: block;
        padding-bottom: 20px;
    }
    #showcase .slider-item.carousel-cell .description h3{
        padding-top: 0px;
        padding-bottom: 20px;
    }

}

@media only screen and (max-width: 600px) {
    main{
        padding: 10px
    }
    main.toggle-navigation{
        transform: translateX(100%);
    }
    #navToggle{
        top: 20px;
        left: 20px;
    }
    h1{ 
        /* padding-top: 90px; */
        margin-top: 0px;
        padding-left: 60px;
        font-size: 1.4rem;
        padding-top: 25px;
        /* text-align: center; */
    }
    #intro{
        height: 70vh;
    }
    #intro h2{
        margin-top: 20vh;
        font-size: 2.5rem;
    }
    #intro h3{
        font-size: 1.5rem;
    }

    #theory{
        clear: both;
        display: block;
        height: fit-content;
    }
    #theory h2{
        display: block;
        width: 100%;
        font-size: 1.5rem;
        margin-top: 20px;
    }
    #theory .description{
        display: block;
        width: 100%;
        padding-top: 20px;
        display: block;
    }

    #bookcase{
        height: 30vh;
        float: left;
    }
    #showcase{
        float: left;
        height: fit-content;
    }
    #showcase #slider .flickity-viewport{
        height: 100vh;
    }
    #showcase .slider-item.carousel-cell{
        width: 100%;
    }
    #showcase .slider-item.carousel-cell .video{
        padding-top: 0px;
        width: 100%;
        height: fit-content;
    }
    #showcase .slider-item.carousel-cell .image{
        padding-top: 0px;
        width: 100%;
        height: fit-content;
    }
    #showcase .slider-item.carousel-cell .description{
        width: 100%;
        padding: 0;
        display: block;
        padding-bottom: 20px;
    }
    #showcase .slider-item.carousel-cell .description h3{
        padding-top: 20px;
        padding-bottom: 20px;
    }

    #photo{
        float: left;
        max-height: 30vh;
    }
    
    #about{
        float: left;
        height: fit-content;
    }
    #about h2{
        width: 100%;
        font-size: 1.5rem;
        margin: 0px
    }
    #about .details{
        padding-top: 20px;
        /* padding-bottom: 20px; */
        width: 100%;
    }
    #more {
        float: left;
        max-height: 30vh;
    }
    #contact {
        float: left;
        height: max-content;
    }
    #contact h2{
        font-size: 1.5rem;
        width: 100%;
        margin-top: 0px;
    }
    #contact .details{
        width: 100%;
        padding-top: 20px;
        padding-bottom: 20px;
    }   
}