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

/* :root { 
    --color1: rgb(247, 243, 243);
    --color2: rgb(57, 87, 109);
    --color3: rgb(197, 126, 168);
    --color4: rgb(255, 255, 255);
    --color5: rgb(112, 112, 112);
    --color6: rgb(195, 179, 0);
}
*/
:root {
    --color1: #101515;
    --color2: #efefe9;
    --color3: #523d35;
    --color4: #101515;
    --color5: #bd4a1c;
    --color6: #efdb8d;
    --color7: #e5cd6c;
}

body {
    /* font-family: 'Space Grotesk', sans-serif; */
    font-family: 'Playfair Display', cursive;
    overflow-x: hidden;
}

html {
    font-size: 16px;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
    color: var(--color2);

}

.btn {
    border: 0;
    padding: .5rem 1rem;
    background: var(--color1);
    cursor: pointer;
    transition: all .5s;
    border-radius: 12px;

}

.btn:hover {
    background: var(--color2);
    color: var(--color3);
}


a .btn {
    font-family: 'Playfair Display', cursive;
    color: var(--color2);
    font-size: 1.3rem;

}


.red {
    color: var(--color3);
}

.gold {
    color: var(--color6);
}

.gold_2{
    color: var(--color7);
}

.loading {
    width: 100%;
    height: 100vh;
    background: var(--color1);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;
}

/* Accueil */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
}

.hero .heroD, .hero .heroG {
    width: 100%;
    height: 100%;
}

@keyframes imageSwitch {
    0% { background-image: url('img/apx22.jpg'); }
    25% { background-image: url('img/apx21.jpeg'); }
    50% { background-image: url('img/apx1.jpg'); }
    75% { background-image: url('img/apx23.jpg'); }
    100% { background-image: url('img/apx22.jpg'); }
}

.hero .heroG {
    /*background: var(--color1); */
    color: var(--color2);
    display: flex;
    justify-content: center;
    padding-top: 25%;
    align-items: flex-end;
    background-image: url('img/apx22.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    animation: imageSwitch 20s infinite;
    /*position: relative;*/
}

.hero .heroG div {
    width: 80%;
}

.hero .heroG div h1 {
    font-size: 1.6rem;
    font-family: "Alumni Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 800;
    font-style: normal;
}

.hero .heroG div h2 {
    font-size: 4rem;
    font-family: "Alumni Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
}

.hero .heroG div p {
    margin-top: 0.8rem;
    margin-bottom: 1.2rem;
    line-height: 1.2rem;
    font-size: 1rem;
    /* background-color: rgba(13, 17, 17, 0.6); */
    background-color: #0d11116a;
    backdrop-filter: blur(12px);
    padding: 1rem;
    border-radius: 12px;
    max-width: 800px;
}

.hero .heroD {
    color: var(--color2);
    display: flex;
    justify-content: center;
    padding-top: 5%;
    align-items: top;
    background-color: var(--color4);
    background-size: cover;
}

.hero .heroD div img {
    width: 60%;
    height: 60%;
    object-fit: contain;

}
.hero .heroD div {
    width: 80%;
}

.hero .heroD div h1 {
    font-size: 1.3rem;
    padding-top: 2%;
    margin-bottom: 0.8rem;
    object-fit: cover;

}

.hero .heroD div h2 {
    font-size: 1.6rem;
}

.hero .heroD div p {
    margin-top: 0.8rem;
    margin-bottom: 1rem;
    line-height: 1rem;
    font-size: 1rem;
    /* background-color: rgba(34, 48, 48, 60%); */
    /* backdrop-filter: blur(12px); */
    padding: 1rem;
    border-radius: 12px;
    max-width: 800px;
}

.hero .logo {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: var(--color2);
    font-size: 2rem;
    font-weight: 700;
}

.hero .socials {
    position: absolute;
    top: 1rem;
    right: 1rem;
    justify-items: right;
}

.hero .socials ul {
    list-style: none;
    font-size: 1.5rem;
}

.hero .socials ul li {
    margin-left: 1rem;
    background: var(--color1);
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    padding: 1.5rem;
}


.hero .socials ul li a {
    color: var(--color2);
    transition: color .5s;
}

.hero .socials ul li a:hover {
    color: var(--color6);
}

.hero .socials ul {
    display: flex;
}

/* sectionopenseabutton */
.sectionopenseabutton {
    background: var(--color2);
    padding: 3rem 0;
    text-align: center;
}

.sectionopenseabutton h2 {
    margin-bottom: 1rem;
    font-size: 2rem;
}

* {box-sizing:border-box}


/* RoadMap */
.roadmap {
    background: var(--color1);
    padding: 4rem 0;
    color: var(--color2);
}

.roadmap h2 {
    margin-bottom: 2rem;
    font-size: 3rem;
    text-align: center;
}

.roadmap .bloc {
    background: var(--color4);
    margin-bottom: 2rem;
    padding: 1rem;
    position: relative;
    margin-left: 2px;
}

.roadmap h4 {
    margin: 1rem 0;
    font-size: 2rem;
}

.roadmap p {
    line-height: 1.5rem;
    font-size: 1rem;
}

.roadmap .number {
    position: absolute;
    top: -1rem;
    left: calc(1rem - 1px);
    background: var(--color3);
    padding: 1rem;
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.roadmap .number.off {
    background: var(--color2);
    color: var(--color3);
}

.roadmap .container {
    position: relative;
}

.line {
    position: absolute;
    left: 3rem;
    height: 100%;
    width: 2px;
    background: var(--color6);
    top: 30px;
}

/* Team */
.team {
    padding: 4rem 0;
    background-color: var(--color1);
}

.team h2 {
    margin-bottom: 2rem;
    font-size: 2rem;
    text-align: center;
}

.team .team__flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.team .member {
    width: 31%;
}


.team .member p {
    margin-top: 1rem;
    margin-bottom: 2rem;
    line-height: 1.5rem;
    font-size: 1.1rem;
    color: var(--color2);
    text-align: center;
}

.team .member img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.team .member video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.team .member h4 {
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.5rem;
}

.team .member .job {
    color: var(--color5);
    font-size: 1rem;
    font-weight: 300;
    text-transform: uppercase;
}

.team__flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* gallerytitle_1 */
.gallerytitle_1 {
    color: var(--color1);
    background: var(--color2);
    padding: 3rem 0;
    text-align: center;
}

.gallerytitle_1 h2 {
    color: var(--color1);
    margin-bottom: 0.3rem;
    font-size: 4rem;
}

.gallerytitle_1 h1 {
    color: var(--color1);
    margin-bottom: 0.3rem;
    font-size: 1.5rem;
    color: var(--color3);
}

* {box-sizing:border-box}

.btntitle_1 {
    border: 0;
    padding: .5rem 1rem;
    background: var(--color2);
    cursor: pointer;
    transition: all .5s;
    border-radius: 12px;

}

.btntitle_1:hover {
    background: var(--color2);
    color: var(--color3);
}


a .btntitle_1 {
    color: var(--color1);
    font-size: 4rem;
    font-family: "Alumni Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 800;
    font-style: normal;

}


/* gallery */

.gallerycontainer {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  .bodygallery {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    background-color: var(--color2);
  }
  
  .gallery {
    position: relative;
    width: 250px;
    height: 250px;
    transform-style: preserve-3d;
    animation: animate 40s linear infinite;
  }
  
  .gallery span {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* -webkit-box-reflect: below 0px linear-gradient(transparent, transparent, rgba(0, 0, 0, 0.5)); */
  }
  
  .gallery span:nth-child(1) {
    transform: rotateY(calc(1 * 45deg)) translateZ(400px);
  }
  
  .gallery span:nth-child(2) {
    transform: rotateY(calc(2 * 45deg)) translateZ(400px);
  }
  
  .gallery span:nth-child(3) {
    transform: rotateY(calc(3 * 45deg)) translateZ(400px);
  }
  
  .gallery span:nth-child(4) {
    transform: rotateY(calc(4 * 45deg)) translateZ(400px);
  }
  
  .gallery span:nth-child(5) {
    transform: rotateY(calc(5 * 45deg)) translateZ(400px);
  }
  
  .gallery span:nth-child(6) {
    transform: rotateY(calc(6 * 45deg)) translateZ(400px);
  }
  
  .gallery span:nth-child(7) {
    transform: rotateY(calc(7 * 45deg)) translateZ(400px);
  }
  
  .gallery span:nth-child(8) {
    transform: rotateY(calc(8 * 45deg)) translateZ(400px);
  }
  
  .gallery span img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: scale-down;
  }
  
  @keyframes animate {
    0% {
      transform: perspective(1000px) rotateY(0deg);
    }
    100% {
      transform: perspective(1000px) rotateY(360deg);
    }
  }
/* Gallery End */


/* Footer */

footer {
    background: var(--color1);
    color: var(--color2);
    padding: 1rem 0;
}

.footer__flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer__flex ul {
    list-style: none;
}

.footer__flex ul li a {
    color: var(--color2);
    text-decoration: none;
}

/* Responsive */
@media all and (max-width: 767px) {
    .hero .heroD {
        display: none;
    }

    .hero .heroD, .hero .heroG {
        width: 100%;
        height: 100%;
    }

    .hero .heroG div h1 {
        font-size: 1.5rem;
    }

    .team__flex {
        flex-direction: column;
    }

    .team__flex .member {
        margin-bottom: 3rem;
    }

    .team__flex .member:last-child {
        margin-bottom: 0;
    }

    .team .member {
        width: 100%;
    }

}