/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/

h1, h2, h3, h4, h5, h6, p {
    color: #2b2b37;
}

body {
    font-family: 'Soleil', sans-serif;
    background-color: #FDFAF7;
    margin: 0;
    display: block;
  }
  
  .koppelteken{
    white-space: nowrap; /* Voorkomt dat het koppelteken breekt en laat de woorden samengevoegd blijven */
  }


.responsiveBackButton{
    display: none;
    font: normal normal 300 20px/25px Soleil;

    background: none;
    border-radius: 40px;
    border: 2px solid #2b2b37;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 10px;
    padding-right: 10px;
}  

.main a {
    text-decoration: none; /* Remove underlining */
    color: inherit; /* Use the inherited color from the parent element */
}
    
.main a:visited {
    color: inherit; /* Use the inherited color for visited links */
}

/*--------------------------------------------------------------
# sidenav
--------------------------------------------------------------*/
.sidenav {
    height: 100%;
    width: 300px;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    overflow-x: hidden;
    padding-top: 30px;
    border-right: 2px solid #2b2b37;
  }
  
  .nav {
    position: absolute;
    bottom: 0;
    padding-bottom: 150px;
    display: block !important;
    
  }
  
  .nav a {
  padding: 6px 6px 6px 40px;
  text-decoration: none;
  font-size: 21px;
  color: #2b2b37;
  display: block !important;
  
  }
  
  
  .nav-icon {
  position: absolute;
  bottom: 0;
  display: block !important;
  padding: 0px 0px 60px 40px;
  text-decoration: none;
  color: #2b2b37;
  
  }
  
  .nav-icon a{
    color: #2b2b37;
    padding-left: 4px;
  }
  
  .nav-icon a:hover{
    color: #2b2b37;
    text-decoration: none;
  }
  
  .nav-icon a:focus {
  color: #2b2b37;
  }
  
  .navh1 {
  padding: 6px 6px 6px 40px;
  text-decoration: none;
  font-size: 25px;
  color: #2b2b37;
  display: block;
  text-decoration: bold;
  position: absolute;
  }

  .navh1 h1 {
    color: #2b2b37;
    }
  
  .navh1 a{
    color: #2b2b37 !important;
    text-decoration: none;
  }
  
  .sidenav a:hover {
  color: #2b2b37;
  }
  
  .nav a:focus {
  color: #2b2b37;
  }

/*--------------------------------------------------------------
# main
--------------------------------------------------------------*/

.main {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    margin-top: 45px;
    margin-right: 140px;
    margin-left: 300px;
    flex-wrap: wrap; /* Allow content to wrap within .main */
}
  
  /* main-top */
.top {
    display: flex;
    flex-wrap: wrap;
    margin-left: 140px;
}
  
.title {
    z-index: 2;
    flex: 1;
    position: relative;
}
  
.title h1 {
    font: normal normal bold 92px/90px Soleil, sans-serif;
    margin: 0;
    position: relative;
    width: 575px;
}
  
.image {
    z-index: 1;
    flex: 1;
    height: 570px;
    position: absolute; /* Set the position to absolute for .image */
    top: 0;
    right: 0; /* Position .image on the top-right corner */
    margin-top: 195px;
    margin-right: 140px;
}
/* buttons */
.portfolioItemButtons{
    display: block;
    box-sizing: border-box; /* Hiermee wordt de breedte inclusief padding en randen berekend */
    flex-direction: column;
    align-items: flex-start; /* Align buttons to the left */
    margin-top: 15px;
    z-index: 2;
    flex: 1;
    position: relative;
  }
  
  .portfolioItemButtons button {
    display: inline-block;
    margin-top: 7px; 
  
    /* styling */
    background: none;
    border-radius: 40px;
    border: 2px solid #2b2b37;
    font: normal normal normal 18px/23px 'Soleil', sans-serif;
    padding-top: 5px;
    padding-bottom: 7px;
    padding-left: 10px;
    padding-right: 10px;
    color: #2b2b37;
    cursor: none;
  }


.video{
    z-index: 1;
    flex: 1;
    height: 570px;
    position: absolute; /* Set the position to absolute for .image */
    top: 0;
    right: 0; /* Position .image on the top-right corner */
    margin-top: 195px;
    margin-right: 140px; 
}
  
.image img {
    max-height: 100%;
    max-width: 100%; /* Make the image fill the .image div */
}

.video video {
    max-height: 100%;
    max-width: 100%; /* Make the image fill the .image div */
}
  
 /* main-middel */

.middel {
    width: 100%; /* Make sure .middel takes 100% of the width */
    display: flex;
    flex-wrap: wrap;
    margin-top: 585px;
    margin-left: 140px;
}

.middel-video {
    width: 100%; /* Make sure .middel takes 100% of the width */
    display: flex;
    flex-wrap: wrap;
    margin-top: 670px;
    margin-left: 140px;
}
  
.textAboutProject {
    flex: 1;
    min-width: 465px;
    max-width: 465px;
    margin-right: 160px;
}

.textAboutProject h3 {
    font-weight: 600;
    margin-top: 0px;
}
  
.textAboutProject p {
    font: normal normal normal 15px/22px Soleil;
}

.imageAboutProject {
    flex: 1;
}

.fototwee img {
    padding-left: 20px;
    padding-top: 20px;
}

.imageAboutProject img{
    height: 465px;
    float: inline-end;
}

.video-fluid {
    width: 100%;
    top: 0;
    
  }

.iframe{
    width: 100%;
    height: 465px;
    float: inline-end;
}

.bottom{
    width: 100%; /* Make sure .middel takes 100% of the width */
    display: flex;
    flex-wrap: wrap;
    margin-top: 130px;
    margin-left: 140px;
    
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/


#footer {
    background: #2b2b37;
    padding: 0 0 30px 0;
    color: #fff;
    font-size: 14px;
    clear: both;
    margin-left: 300px;
    float: bottom;
    margin-top: 150px;
}
  
  
#footer .copyright {
    text-align: center;
    padding-top: 30px;
    clear: both;
}
  
#footer .credits {
    padding-top: 10px;
    text-align: center;
    font-size: 13px;
    color: #fff;
    clear: both;
}
  
#footer a {
    color: #fff;
    transition: 0.3s;
    display: inline-block;
    line-height: 1;
    clear: both;
}
  
#footer a:hover {
      color: #ffc451; 
      text-decoration: none;
  
}



/*--------------------------------------------------------------
# Responsive Site
--------------------------------------------------------------*/


@media screen and (max-height: 450px) {
    .main {margin-left: 200px;}
  .sidenav {padding-top: 15px; width: 200px;}
  .nav a, .navh1 {font-size: 18px;}
  .nav {padding-bottom: 50px;}
}

@media (max-width: 1903px) {

    .textAboutProject {
        margin-right: 70px;
    }
    
}


@media (max-width: 1820px) {
    .imageAboutProject img{
        height: 350px;
    }

    .textAboutProject {
        margin-right: 70px;
    }
    
}

@media (max-width: 1670px) {
    .video video {
        max-height: 80%;
    }
}


@media (max-width: 1650px) {
    .imageAboutProject img{
        height: 280px;
    }

    .textAboutProject {
        margin-right: 70px;
    }

    
}

@media (max-width: 1515px) {

    .main {
        margin-left: 320px;
        margin-right: 20px;
    }

    .title {
        z-index: 1;
        flex: 1;
        display: flex; /* Use flexbox for centering */
        justify-content: center; /* Horizontally center content */
        align-items: center; /* Vertically center content */
        text-align: center;
    }

    .title h1 {
        font: normal normal bold 55px/60px Soleil;
    }

    .portfolioItemButtons{   
        justify-content: center; /* Horizontally center content */
        align-items: center; /* Vertically center content */
        text-align: center;
        display: block;
    }

    .top{
        display: unset;
        margin-left: 0px;
    }

    .image{
        position: unset;
        margin-right: 0px;
        margin-top: 60px;
        height: auto;
    }

    .fototwee img {
        padding-left: 0px;
        padding-top: 0px;
    }

    .video{
        position: unset;
        margin-right: 0px;
        margin-top: 60px;
        height: auto;
    }
    
    .middel{
        display: unset;
        margin-left: 0px;
        margin-top: 80px;
    }

    .middel-video{
        display: unset;
        margin-left: 0px;
        margin-top: 80px;
    }
    
    .imageAboutProject{
        position: unset;
        margin-right: 0px;
        margin-top: 75px;
        height: auto;
    }

    .imageAboutProject img{
        float: none;
        width: 100%;
        height: 100%;
    }

    .textAboutProject {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center; /* Optionally, center the text horizontally */
        max-width: 600px; /* Optionally, set a max width for the container */
        margin: 0 auto; /* Optionally, center the container horizontally */
    }

    .bottom{
        display: unset;
        margin-left: 0px;
        margin-top: 80px;
    }
}



@media screen and (max-width: 920px) {
    .main {margin-left: 270px;}
    .sidenav { width: 250px;}
    .nav a, .navh1 {font-size: 18px;}
    #footer {
        margin-left: 250px;
    }
}


@media (max-width: 865px) {
    .top{
        width: 100%;
    }
    
    .title h1{
        font: normal normal bold 43px/45px Soleil;
    }

    .textAboutProject{
        width: 335px;
    }

    .textAboutProject h3{
        font: normal normal bold 21px/20px Soleil;
    }

    .textAboutProject p {
        font: normal normal normal 16px/20px Soleil;
        width: 335px;
    }

}


@media (max-width: 650px) {

    .sidenav {   
        display: none;
    }
    
    .main {
        margin-left: 20px;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .top{
        margin-top: 10px;
    }

    .responsiveBackButton{
        display: block;
        color: #2b2b37;
    }

    #footer {
        margin-left: 0px;
    }

    .textAboutProject{
        width: 100%;
        max-width: 350px; /* Set a maximum width for the container */
        margin: 0 auto; /* Center the container horizontally */
        padding: 20px; /* Add some padding for spacing */
        box-sizing: border-box; /* Ensure padding is included in the width */
        text-align: center; /* Center the text horizontally */
        min-width: auto; 
    }
    
}

@media (max-width: 515px) {
 .koppelteken {
    white-space: normal;
 }
}

@media (max-width: 350px) {
    
}

@media (min-width: 2100px) {

    .iframe{
        width: 100%;
        height: 700px;
        float: inline-end;
        margin-bottom: -4px;
        top: 0;}
    
}

@media (min-width: 3000px) {

    .iframe{
        width: 60%;
        height: 700px;
        float: inline-end;
        margin-bottom: -4px;
        top: 0;}
    
}