@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;400&family=Roboto&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Anta&family=Montserrat:wght@100;400&family=Roboto&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Puritan:ital,wght@0,400;0,700;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Puritan:ital,wght@0,400;0,700;1,400;1,700&display=swap');

* {
    text-decoration: none;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    color: white;
    font-family: "Poppins", "Montserrat", sans-serif;
    scroll-behavior: smooth;
}

:root {
    --c-bg-grey : #eee;
    --c-style-blue : rgb(68, 147, 211);
    --c-style-insta : #1877F2;
    --c-style-white : rgb(255,255,255);
    --c--black: #000;
    --c--blue: #0781fa;
    --c--white: #fff;
    --c--grey: #E8E8EA;
    --bg--nav : #EAEAEA;
}

body {
    list-style-type: none;
    background-color: #000;
    position: relative;
    overflow-x: hidden;
}

/* Burger menu */

.menu {
    position: relative;
    z-index: 999;
    width: 100%;
    transition: all 1s ease; 
    display: flex;
    justify-content: center;
}

.mobile-menu {
    height: 80px;
    width: 100%;
    position: absolute;
    top: 0;
    align-items: center;
    justify-content: end;
    display: none;
    transition: all 1s ease; 
}

/* Barre Navigation */

.navbar {
    position: fixed;
    z-index: 3;
    background-color: rgba(0, 0, 0, 0.85);
    width: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: width 1s ease;
}

.navbar.active {
    width: 100%;
}

.navbar.shrink {
    width: 90%;
    margin: 10px auto;
    border-radius: 50px;
}

.navbar a {
    margin: 20px;
    padding: 10px 20px;
    border-radius: 30px;
    color: white;
    font-size: 1.15em;
    font-weight: bold;
    transition: all 0.35s ease-out;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar ul {
    display: flex;
    margin: 0 40px;
}

.navbar ul li {
    display: flex;
    justify-content: center;
    text-align: center;
}

.navbar ul a:hover, .navbar a.active {
    border-radius: 30px;
    background-color: white;
    color: var(--c--blue);
}

.logo {
    height: 40px;
    margin-left: 40px;
    transition: all 0.25s ease-in-out;
}

.logo:hover {
    scale: 1.05;
}

#toggler {
    font-size: 1.5em;
    position: relative;
    right: 0;
    margin: 20px;
}

/* Page principale */

.section-presentation {
    position: relative;
    background-color: var(--c--black);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#canvas {
    display: block;
    position: absolute;
    overflow: hidden;
}

.section-presentation div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 80%;
    margin: 60px auto;
    margin-bottom: 0;
    z-index: 2;
    position: relative;
}


.section-presentation h1 {
    text-align: center;
    color: white;
    font-size: 3em;
    text-align: center;
    text-shadow: black 1px 0 10px;
}

.section-presentation a {
    z-index: 2;
    font-size: 2em;
    position: absolute;
    color: white;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.section-presentation i {
    padding: 5px;
    border-radius: 50%;
    font-size: 25px;
    background-color: var(--c-style-white);
    color: #000;
}

.carousel-button.active {
    border: 2px solid white;
    border-radius: 30px;
}

.section-presentation a:active, .carousel-button.active {
    color: var(--c--blue);
}


#arrow {
    position: absolute;
}

#arrow:hover i {
    background-color: #000;
    color: var(--c-style-white);
    border: 2px solid var(--c-style-white);
}


/* PARCOURS */

hr {
    margin: 10px 0;
    width: 50%;
    margin: 20px auto;
    color: var(--c-style-white);
    box-shadow: 0 0 10px 5px rgba(255, 255, 255, 0.3);
}

.section-parcours {
    height: 90vh;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.section-parcours h3 {
    color: white;
}

.section-parcours h1 {
    color: var(--c-style-blue);
    margin-top: 20px;
}

.section-parcours-sous-section2 {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    flex: 1;
}


/* Section sous-presentation */

.section-sous-presentation {
    min-height: 70vh;
    display: flex;
    padding: 8%;
    flex-wrap: wrap;
}

.section-sous-presentation div {
    flex: 1;
    flex-basis: 50%;
}

.section-sous-presentation > div {
    display: flex;
}

.section-sous-presentation div:first-of-type {
    display: flex;
    justify-content: center;
}

.section-sous-presentation div figure {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.section-sous-presentation figure img {
    height: clamp(250px, 40vw, 300px);
    width: clamp(250px, 40vw, 300px);
    object-fit: cover;
    border-radius: 50%;
    transition: all 0.5s ease-out;
    box-shadow: rgba(255, 255, 255, 0.3) 0px 7px 29px 0px;

}

.section-sous-presentation figure img:hover {
    scale: 1.025;
    box-shadow: 0 0 0 3px #000, 0 0 0 5px var(--c-style-blue); 
}

.section-sous-presentation div:last-of-type {
    display: flex;
    flex-direction: column;
    justify-content: center;
}


.section-sous-presentation div:last-of-type h1 {
    margin: 40px 0;
    font-size: clamp(25px, 7vw, 40px);
    color: var(--c--blue);
}

.section-sous-presentation div:last-of-type p {
    text-align: justify;
}

.fa-file-arrow-down {
    margin-right: 5px;
}


/***** PARCOURS SCOLAIRE *****/

.section-parcours-scolaire {
    min-height: 70vh;
}

/* boutons */
.buttons {
    display: flex;
    justify-content: center;
}

.buttons button {
    margin: 20px 20px;
    padding: 5px 10px;
    background-color: transparent;
    border : 2px solid transparent;
    border-radius: 30px;
    transition: all 0.5s ease-out;
}

button:hover {
    border-radius: 30px;
    background-color: white;
}

button:hover p {
    color: var(--c--blue);
}

/* carousel */

.carousel {
    position: relative;
    overflow: hidden;
    height: 100%;
}

.carousel h1, .carousel i {
    font-size: clamp(18px,1.5vw, 22px);
    color: var(--c--blue);
    margin-bottom: 5px;
}
  
.carousel-inner {
    height: 100%;
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-item {
    padding: 8%;
    padding-top: 3%;
    width: 100%;
    height: 100%;
    flex: 0 0 auto;
    display: flex;
}

.carousel-item-2022 {
    flex: 1;
}

.carousel-presentation {
    margin-top: 10px;
    text-align: justify;
}

.carousel-presentation iframe {
    width: 200px;
    height: 200px;
    margin: 40px;
}

.parcoursPro {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
}

.parcoursPro > .wrapperParcours {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.parcoursPro h3:first-of-type {
    margin-top: 10px;
    margin-bottom: 5px;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    text-decoration: none;
    font-size: 24px;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
}

.carousel-control.prev {
left: 10px;
}

.carousel-control.next {
right: 10px;
}

.sous-parcoursPro {
    flex: 1;
    min-width: 300px;
}
.sous-parcoursPro ul {
    list-style-type: disc;
    margin-left: 20px;
}

/******** PROJETS *********/

.projets {
    padding: 2em 5%;
    min-height: 70vh;
}

.projets h1, .contact h1 {
    color: var(--c--blue);
    font-size: clamp(25px, 7vw, 40px);;
}

.case-projets {
    position: relative;
    margin-top: 30px;
    padding: 30px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}


.sous-case-projet {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: clamp(20px, 5vw, 40px);
}

.case {
    flex-basis: 350px;
    min-height: 150px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #000;
    border-radius: 15px;
    box-shadow: rgba(255, 255, 255, 0.5) 0px 7px 29px 0px;
    transition: all 0.2s ease-out;
}

.case:hover {
    transform: scale(1.02);
    box-shadow: 0 0 0 3px #000, 0 0 0 5px var(--c-style-blue);

}

.case > div {
    display: flex;
    justify-content: left;
    width: 100%;
}

.case > div:first-of-type {
    margin-bottom: 10px;
}

.case i, .case a {
    color: #000;
    text-align: center;
    transition: all 0.33s ease-out;
}

.case i {
    padding: 10px;
    font-size: 1em;
    color: #000;
    background-color: var(--c-style-white);
    border-radius: 50%;
}

.case a {
    color: #fff;
    flex: 1;
}


.extend {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    margin: 0 auto;
    z-index: 999;
    height: 100vh;
    border: 15px;
    padding: 5%;
    backdrop-filter: blur(10px);
}


.description1, .description2, .description3, .description4, .description5, .description6 {
    box-sizing: border-box;
    margin: 0 auto;
    margin-top: 30px;
    padding: 30px;
    display: none;
    height: 70vh;
    background-color: #dadada;
    border: 2px solid #E5E7EB;
    border-radius: 10px;
    box-shadow: 0 0 10px 5px rgba(255, 255, 255, 0.3);
    overflow-x: hidden;
    opacity: 0;
    transition: opacity 10s ease;
}

.description1.active, .description2.active, .description3.active, .description4.active, .description5.active, .description6.active {
    opacity: 1;
}



.extend p {
    margin-top: 5px;
    color: #000;
    text-align: justify;
}

.extend h2 {
    margin-top: 20px;
    color: var(--c--blue);
}

.extend i {
    font-size: 1.25em;
    margin: 10px;
    color: #000;
}

.extend a {
    color: #000;
}

.extend div h2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/******** CONTACT *********/





.contact {
    padding: 2em 5%;
    padding-bottom: 40px;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.contact > div {
    width: 100%;
}

.contact-wrapper {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: stretch; 
    flex-wrap: wrap;
    gap: 50px;
}

.contact-wrapper-left, .contact-wrapper-right {
    min-width: 350px;
    margin-bottom: 20px;
    display: flex;
    justify-content: start;
    flex-direction: column;
    background-color: var(--c--white);
    border-radius: 30px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

form {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
}

.form-infos {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form-infos #mail {
    flex: 1;
    width: 200%;
}

form input {
    font-size: 16px;
    padding: 12px 20px 12px 20px;
    border-radius: 30px;
    outline: none;
    border: 1px solid var(--c--grey);
    color: var(--c--black);
    width: 155px;
}

input:focus, input:active, textarea:focus, textarea:active {
    box-shadow: 0 0 0 3px var(--c--white), 0 0 0 5px var(--c--blue); 
}

form textarea {
    box-sizing: border-box;
    font-size: 16px;
    padding: 20px;
    border-radius: 30px;
    outline: none;
    border: 1px solid var(--c--grey);
    resize: none;
    color: var(--c--black);
    width: 330px;
}

.button-form {
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 600;
    background-color: var(--c--blue);
    color: var(--c--white);
    border-radius: 30px;
    border: 1px solid transparent;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    transition: background-color 0.5s ease;
    cursor: pointer;
}

.button-form:hover {
    background-color: var(--c--white);
    color: var(--c--blue);
}

.contact-wrapper-right {
    justify-content: start;
    align-items: center;
}

.contact-wrapper-right h3 {
    margin-top: 50px;
    text-align: center;
    font-size: 20px;
    color: var(--c--blue);
}

.contact-wrapper-right ul {
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 30px;
    margin-top: 70px;
}

.contact-wrapper-right ul li a {
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--c--black);
    background-color: rgba(159, 158, 158, 0.15);
    padding: 10px;
    border-radius: 30px;
    width: 195px;    
    box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 8px;
    transition: color 0.3s ease, background-color 0.3s ease, scale 0.3s ease;
}

.contact-wrapper-right ul li a:hover {
    scale: 1.05;
    color: var(--c--white);
    background-color: var(--c--blue);
}

.contact-wrapper-right ul li a:hover i {
    color: var(--c--white);
}

.contact-wrapper-right ul li a i {
    margin-right: 20px;
    font-size: 25px;
}

.fa-whatsapp {
    color: #25d366;
}

.fa-instagram {
    color: #e4405f;
}

.fa-linkedin {
    color: #0e76a8;
}

.fa-twitter {
    color: #1da1f2;
}



.devis-info {
    position: absolute;
    top: -5%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid #d4edda;
    background-color: #d4edda;
    color: #155724;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 8px;
    user-select: none;
    min-width: 300px;
    opacity: 0;
    transition: opacity 0.25s;
}

.devis-info.active {
    opacity: 1;
    transition: opacity 0.25s;
}

.devis-info.close {
    opacity: 0;
}



/******** FOOTER *********/

footer {
    background-color: black;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    padding: 30px;
    border-top: 1px solid white;
    border-radius: 500px;

}

footer p {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

footer div {
    margin: 0 auto;
    width: 10%;
    margin-top: 10px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-evenly;
}

footer div a {
    color: white;
    font-size: 1.25em;
    margin: 10px;
}


.footerLink {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footerLink:hover {
    scale: 1.1;
}


.logoDev {
    height: 30px;
}

/* Constantes */

.underline {
    text-decoration: underline;
}

.bolder {
    font-weight: bold;
}

.italic {
    font-style: italic;
    font-weight: bolder;
}




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

    
  .menu {
    display: none;
    opacity: 0; /* Définir l'opacité initiale */
    transition: all 0.5s ease; /* Ajout de la transition d'opacité */
  }

  .menu #navbar {
    display: none;
  }

  .menu.active {
    opacity: 1; /* Augmenter l'opacité lorsqu'il est affiché */
    transition: all 0.5s ease; /* Ajout de la transition d'opacité */
  }

  .menu.active #navbar {
    display: flex;
    width: 100%;
    height: 100vh;
    flex-direction: column;
    justify-content: center;
  }
  
  .mobile-menu {
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    height: 80px;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: end;
    transition: all 0.5s ease;
    background-color: rgba(0, 0, 0, 0.85);
  }
  #navbar {
    background-color: #000;
  }
      #navbar ul {
        flex-direction: column;
        align-items: center;
      }
      .logo {
        margin: 0;
        height: 50px;
      }
      #toggler {
        font-size: 1.5em;
        position: fixed;
        right: 0;
        margin: 20px;
      }
      .section-presentation {
        min-height: 100vh;
        text-align: center;
      }
      .section-presentation h1 {
        font-size: 2em;
      }
      .section-sous-presentation div, .projets, .contact h1 {
        text-align: center;
      }
      .contact-wa {
        flex-direction: column;
        align-items: center;
        justify-content: center;
      }
      .contact-wa a {
        margin-top: 10px;
      }
      .contact-wa > img {
        display: none;
      }
      .contact-wa .instaButton {
        display: none;
      }
    
      .formulaire-infos div {
        margin-top: 10px;
      }
}