.baskervville-regular {
  font-family: "Baskervville", serif;
  font-weight: 400;
  font-style: normal;
}

.baskervville-regular-italic {
  font-family: "Baskervville", serif;
  font-weight: 400;
  font-style: italic;
}




* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html, body {
    margin: 0;
    padding: 0;
/*    font-family: Arial, sans-serif;*/
    font-family: "Baskervville", serif;
  font-weight: 400;
  position: relative;
}



#accueil {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

#equipe {
    background-color: #1B1F6F;
    color: white;
    
    min-height: 100vh;
    padding: 100px;
    overflow: hidden;
}



.video-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}


.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-container h1 {
    color: white;
    font-size: 30vw;
    line-height: 20vw;

    z-index: 2;
    position: absolute;
    bottom: 0;
    width: 100vw;
    text-align: center;
    margin: 0;

    pointer-events: none;

    opacity: .75;

    background-color: #1B1F6F;
}


.video-container nav {
    color: black;
    font-size: 20px;

    width: 34vw;
  text-align: right;
  background-color: white;
  padding: 0 6px;

    z-index: 2;
    position: absolute;
    font-weight: 400;



    margin: 0;
    top: 10px;
}

.project-page nav {
    color: black;
    font-size: 20px;


    z-index: 2;
    position: fixed;
    font-weight: 400;

    width: 100vw;
    text-align: center;

    margin: 0;
    top: 10px;
}



.video-container nav a, .project-page nav a {
    color: black;
    text-decoration: none;
}

.video-container nav a:hover, .project-page nav a:hover {
    text-decoration: underline;
}





.adresse-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}


.adresse-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.adresse-container div {
    color: black;
    background-color: white;
    font-size: 20px;


    z-index: 2;
    position: absolute;
    
    text-align: center;

    margin: 0 10px;
    padding: 2px 7px;
    top: 10px;
}


.adresse-container nav {
    color: black;
    font-size: 20px;


    z-index: 2;
    position: absolute; 
    top: calc(1.5% + 10px);
    left: 50%;
    transform: translate(-50%, -50%);
    
}
.adresse-container nav a {
    color: black;
    text-decoration: none;
}

.adresse-container nav a:hover {
    text-decoration: underline;
}






#container-projets {
    display: flex;
    background-color: #1B1F6F;
    min-height: 100vh;
    align-items: flex-start;
}

#bandeau-texte {
    display: flex;
    flex-direction: column;
    height: 100vh;
    position: fixed;
    top: 0;

    width: 25%;
    background-color: white;
    padding: 20px;
}

#bandeau-texte h1 {
    font-size: 24px;
    margin-bottom: 20px;
}

#bandeau-texte .separator {
    flex:2;
}

#bandeau-texte nav {
    color: black;
    text-decoration: none;
    list-style: none;
}

#bandeau-texte nav {

    color: black;
}

#bandeau-texte nav a {
    text-decoration: none;
    color: black;
    color: black;
}

#bandeau-texte nav a:hover {
    text-decoration: underline;
    color: black;
}



.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 10px;

  width: 100%;
  padding: 10px;
}
.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s;
}
.gallery-item:hover img {
    opacity: 0.2;
}
.gallery-item .title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: transparent;
    color: white;
    text-align: center;
    padding: 10px;
    opacity: 0;
    transition: opacity 0.3s;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gallery-item:hover .title {
    opacity: 1;
}











.project-page {
    font-family: "Baskervville", serif;
    font-weight: 700;
    margin: 0;
    padding: 0;
    background-color: #1B1F6F;
    text-align: center;
    color: black;
    width: 100%;
}

.project-container {
    padding: 200px;
    padding-top: 60px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}


        .image-container {
            position: relative;
            width: 100%;
            height: 100vh;
            margin-bottom: 20px;
            overflow: hidden;
        }
        .project-image {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }
        .nav-zone {
            position: absolute;
            top: 0;
            height: 100%;
            width: 50%;
        }
        .nav-left {
            left: 0;
            cursor: w-resize;
        }
        .nav-right {
            right: 0;
            cursor: e-resize;
        }
        .project-description {
            white-space: pre-line;
            line-height: 1.6;
        }



.project-header h1 {
    margin-bottom: 10px;
}

.project-info-1 {
    font-size: 16px;
    color: black;
}

.project-info-2 {
    font-size: 16px;
    color:  black;
    margin-bottom: 100px;
}

.project-description {
    text-align: left;
    margin-top: 70px;
    line-height: 1.6;
}

.project-section-title {
    margin-top: 30px;
    font-size: 20px;
    font-weight: bold;
}

.project-cover {
    width: 100%;
    max-width: 80vw;
    margin: 100px auto;
    margin-top: 50px;
    display: block;
}

/*.project-gallery {
    display: flex;
    overflow-x: auto;
    gap: 50px; 
    padding: 20px;
    background-color: #1B1F6F;

    scroll-snap-type: x mandatory;
}

.project-image {
    flex: 0 0 auto;
    max-height: 400px;

    scroll-snap-align: center;
}*/

.project-gallery {
    margin: 200px 0;
    display: flex;
    flex-direction: column;
    gap: 100px; 

    background-color: #1B1F6F;

}


.cache-ordi {
    display: none;
}


.actu-infos {
    color: black !important;
    background-color: white !important;
    font-size: 20px;


    z-index: 2;
    position: absolute;
    
    text-align: center;

    margin: 0 10px;
    padding: 2px 7px;
    bottom: 10px;
}



/* ././././././././././././././././././././././././././././././././././././././././././*/


@media screen and (max-width:1400px) {

    .project-container {
        padding: 100px 50px;
    }

    .project-info-2 {
        margin-bottom: 40px;
    }

    .image-container {
        height: 80vh;
    }

    .adresse-container nav {
        top: 10px;
        left: 0;
        transform: none;
        margin-left: 10px;
        padding: 0 6px;
        background-color: white;
    }

    .adresse-container div {
        top:40px;
    }

    .adresse-container img {
        object-position: 42% 50%;
    }
}

@media screen and (max-width:780px) {

    .cache-tel {
        display: none;
    }

    .cache-ordi {
        display: block;
    }

    .video-container h1 {
        top:100px;
    }

    #equipe {
        padding: 20px;
    }

    .project-container {
        padding: 70px 10px;
    }

    .project-info-2 {
        margin-bottom: 40px;
    }

    .image-container {
        height: 50vh;
    }
}

