@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;600;700&display=swap');

* {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-transform: none;
    transition: 0.2s ease-in-out;
    color: #000;
    text-decoration: none;
}

::selection {
    background-color: var(--Soft-Red);
    color: #fff;
}


::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-thumb {
    background-color: var(--Soft-Blue);
}

section {
    padding: 2rem 9%;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.heading {
    text-align: center;
    font-size: 2rem;
    color: var(--Very-Dark-Blue);
    margin-top: 10rem;
    margin-bottom: 5rem;
}


.heading h1 {
    padding-bottom: 2rem;
}

.heading h2 {
    padding-bottom: 2rem;
    font-size: 5rem;
    padding-block-end: 1rem 0;
}

.heading p {
    max-width: 60rem;
    margin: auto;
    color: var(--Grayish-Blue);
    font-size: 1.7rem;
}


.all-btn {
    padding: 1rem 3rem;
    font-size: 1.5rem;
    background-color: var(--Soft-Blue);
    border-radius: .5rem;
    color: #fff;
}

.all-btn:hover {
    background-color: transparent;
    color: var(--Soft-Blue);
    border: 2px solid var(--Soft-Blue);
}


:root {
    --Soft-Blue: hsl(0, 0%, 0%); /*--Soft-Blue: hsl(231, 69%, 60%);*/
    --Soft-Red: hsl(0, 94%, 66%);
    --Grayish-Blue: hsl(228, 13%, 15%);  /* --Grayish-Blue: hsl(229, 8%, 60%); */
    --Very-Dark-Blue: hsl(229, 31%, 21%);
    --box-shadow: .5rem .5rem 0 hsl(0, 0%, 100%);  /*--box-shadow: .5rem .5rem 0 hsl(231, 53%, 43%);*/
    --text-shadow: .4rem .4rem 0 rgba(0, 0, 0, .2);
    --border: .2rem solid var(--green);
}


/* navbar sections starts */
.header {
    padding: 3rem 9%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    right: 0%;
    left: 0;
    z-index: 10000;
    background-color: #fff;
    box-shadow: 0rem 0.5rem 1.5rem rgba(0, 0, 0, .1);
}


.header .logo h1 {
    font-size: 4.5rem;
    padding-block-end: 1rem 0;
    color: var(--Very-Dark-Blue);
}

.header .navbar a {
    margin-left: 2rem;
    font-size: 1.7rem;
    text-transform: uppercase;
}


.header .navbar a:hover {
    color: var(--Soft-Red);
}


.header .navbar .btn {
    padding: .6rem 3rem;
    background-color: var(--Soft-Red);
    color: #fff;
    border-radius: .5rem;
}

.header .navbar .btn:hover {
    color: var(--Soft-Red);
    background-color: transparent;
    border: 2px solid var(--Soft-Red);
}

#menu-btn {
    padding: 1rem 1rem;
    background-color: #eee;
    font-size: 3rem;
    color: var(--Soft-Blue);
    border-radius: .5rem;
    cursor: pointer;
    display: none;
}

/* Media Queries */

@media (max-width: 991px) {
    html {
        font-size: 55%;
    }

    .header {
        padding: 2rem;
    }

}

@media (max-width: 768px) {
    #menu-btn {
        display: initial;
    }

    .header .navbar {
        position: absolute;
        top: 115%;
        right: 2rem;
        box-shadow: var(--box-shadow);
        width: 33rem;
        border-radius: .5rem;
        border: 2px solid var(--Soft-Blue);
        background-color: #fff;
        transform: scale(0);
        transform-origin: top right;
    }

    .header .navbar.active {
        transform: scale(1);
    }

    .header .navbar a {
        margin: 2.5rem;
        text-align: center;
        display: block;
        font-size: 2rem;
    }
}


@media (max-width: 450px) {
    html {
        font-size: 50%;
    }
}

/* navbar sections ends */


/* home section starts  */

.home {
    padding-top: 15rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    /* main property for responsiveness */
    gap: 1.5rem;
}


.home .image {
    width: 100%;
    max-width: 50rem; /* Même largeur que max-width du texte */
    margin-top: 5rem;
}


.home .image img {
    width: 100%;
    margin-top: 5rem;
}


.home .content {
    flex: 1 1 45rem;
}


.home .content h1 {
    font-size: 6.5rem;
    padding-block-end: 1rem 0;
    color: var(--Very-Dark-Blue);
}

.home .content h2{
    font-size: 3rem;
    padding-block-end: 1rem 0;
    color: var(--Very-Dark-Blue);
}

.home .content p {
    font-size: 1.7rem;
    padding: 1rem 0;
    max-width: 50rem;
    color: var(--Grayish-Blue);
    padding-bottom: 2rem;
}

.home .content .home-btn {
    padding: 1.3rem 2rem;
    background-color: #fff;
    color: #000;
    font-size: 1.4rem;
    border: 2px solid var(--Soft-Blue);
    border-radius: .5rem;
}


.home .content .home-btn:hover {
    background-color: var(--Soft-Blue);
    box-shadow: none;
    color: #fff;
}

/* home section ends */


/* technologie section starts  */

.technologie .row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5rem;
    margin: 3rem 0;
}

.technologie .row .image {
    flex: 1 1 45rem;
}


.technologie .row .image img {
    width: 80%;
}


.technologie .row .content {
    flex: 1 1 45rem;
}


.technologie .row .content h1 {
    font-size: 3rem;
    padding: 1rem 0;
    color: var(--Very-Dark-Blue);
}


.technologie .row .content p {
    font-size: 1.7rem;
    padding: 1rem 0;
    color: var(--Grayish-Blue);
    padding-bottom: 4rem;
}

/* technologie section ends */

/* tarif section starts  */

.tarif .row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5rem;
    margin: 3rem 0;
}

.tarif .row .image {
    flex: 1 1 45rem;
}


.tarif .row .image img {
    width: 80%;
}



.tarif .row .content {
    flex: 1 1 45rem;
}


.tarif .row .content h1 {
    font-size: 3rem;
    padding: 1rem 0;
    color: var(--Very-Dark-Blue);
}


.tarif .row .content p {
    font-size: 1.7rem;
    padding: 1rem 0;
    color: var(--Grayish-Blue);
    padding-bottom: 4rem;
}

/* tarif section ends */

/* Video section starts  */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1;
  }
  .popup-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    margin: 10% auto;
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border-radius: 8px;
  }
  .close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 36px; /* Augmentez la taille de la croix */
    color: #ff0000; /* Changez la couleur pour un rouge vif */
    font-weight: bold; /* Rend la croix plus audacieuse */
    cursor: pointer;
    transition: color 0.3s; /* Transition douce pour le changement de couleur */
    z-index: 2; /* Assurez-vous que la croix est au-dessus d'autres éléments */
  }
  .close:hover {
    color: #ffffff; /* Changez la couleur au survol pour plus de visibilité */
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.7); /* Ajoute une ombre pour le contraste */
  }
/* Video section end  */

/* downloads section starts  */

.apropos .box-container {
    display: grid;
    gap: 4rem;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.apropos .box {
    border: 3px solid var(--Soft-Blue);
    box-shadow: var(--box-shadow);
    border-radius: 2rem;
    text-align: center;
    padding: 1rem;
}

.apropos .box:hover {
    border: 1px solid var(--Soft-Blue);
    box-shadow: none;
}

.apropos .box h3 {
    font-size: 2rem;
    padding: 1rem 0;
    color: var(--Very-Dark-Blue);
}



.apropos .box p {
    font-size: 1.7rem;
    padding-bottom: 2rem;
    color: var(--Grayish-Blue);
}

/* apropos section ends */

/* faq section starts  */

.faq .row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5rem;
    margin: 3rem 0;
}

.faq .row .image {
    flex: 1 1 45rem;
}


.faq .row .image img {
    width: 80%;
}


.faq .row .content {
    flex: 1 1 45rem;
}


.faq .row .content h1 {
    font-size: 4rem;
    padding: 1rem 0;
    color: var(--Very-Dark-Blue);
}


.faq .row .content p {
    font-size: 1.7rem;
    padding: 1rem 0;
    color: var(--Grayish-Blue);
    padding-bottom: 4rem;
}

/* faq section ends */

#tailles-2 .form-container .image {
    width: 250px; /* Agrandir l'image uniquement sur la page tailles_2.html */
    height: auto;
}

/* footer section starts */
.footer .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
    gap: 2rem;
}

.footer .box-container .box h3 {
    font-size: 2.5rem;
    color: var(--black);
    padding: 1rem 0;
}

.footer .box-container .box a {
    display: block;
    font-size: 1.5rem;
    color: var(--light-color);
    padding: 1rem 0;
}

.footer .box-container .box a i {
    padding-right: .5rem;
    color: var(--green);
}

.footer .box-container .box a:hover i {
    padding-right: 1rem;
}


.footer .credit {
    padding: 1rem;
    padding-top: 2rem;
    margin-top: 2rem;
    text-align: center;
    font-size: 2rem;
    color: #000;
    border-top: .1rem solid rgba(0, 0, 0, .1);
}


.footer .credit span {
    color: var(--Soft-Red);
    cursor: pointer;
}


/* footer section ends */