/* GLOBAL SETTINGS */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&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&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
}

body {
    font-family: 'Poppins', sans-serif;
}

html{
    font-size: 52%;
    scroll-behavior: smooth;
}



:root {
    --white: #ffffff;
    --dark: #000000;
    --grey: #2F2F2F;
    --teal: #8FD0F3;
    --blue: #548DFB;
}

/* NAVBAR  */

header {
    display: flex;
    flex-direction: row;
    background-color: var(--white);
    width: 90%;
    border-radius: 0rem 5rem 5rem 0rem;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    margin-top: 2rem;
    position: fixed;
    height: 13rem;
    z-index: 10;
}

header img{
    height: 100%;
}

.header-image2{
    display: none;
}

.list-nav {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: 100%;
    align-items: center;
}

.list-nav li a {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    font-size: 2.8rem;
    font-weight: 600;
}

/* FOOTER */

footer{
    background-color: #000;
    background-image: url('../images/footer-bg.png');
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height:50rem;
    display: flex;
    flex-direction: row;
}

.footer-img{
    width: 30%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-img img{
    width: 30rem;
}

.footer-content{
    width: 70%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 8rem;
}

.footer-content ul li{
    color: #000;
font-size: 2.15rem;
font-style: normal;
font-weight: 600;
line-height: normal;
border-radius: 1rem;
background: #FFF;
padding: 2rem 4rem;
}

.footer-content ul li a{
    color: #000;
}

.footer-content ul{
    width: 100%;                                
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    height: 7rem;
}

/* FOOTER BOTTOM */
.footer-bottom{
    background-color: #262626;
    padding: 1.5rem 0;
    color: #FFF;
font-family: Poppins;
font-size: 1.9rem;
font-style: normal;
font-weight: 600;
line-height: normal;
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
}


.active {
    border-radius: 1rem;
border: 2px solid #8FD0F3;
padding: 0.6rem 1rem;/* Couleur de fond lorsque le lien est actif */
}


@media screen and (min-width: 901px) {
    .list-nav {
        display: flex; /* Affichez la liste de navigation en tant que ligne */
        flex-direction: row;
        justify-content: space-around;
        width: 100%; /* Utilisez la largeur automatique pour que la liste s'adapte à son contenu */
    }

    .list-nav li {
        background-color: transparent; /* Supprimez l'arrière-plan coloré des éléments de la liste */
        border: none; /* Supprimez la bordure des éléments de la liste */
        padding: 0; /* Supprimez le remplissage des éléments de la liste */
    }

    .list-nav li a {
        font-size: 2.7rem;
        font-weight: 600;
        color: var(--dark);
    }
}

@media screen and (max-width: 1150px) {
    html{
        font-size: 46%;
    }
}

@media screen and (max-width: 900px) {

    header{
        margin-top: 0 ;
        border-radius: 0 ;
        width: 100% ;
        flex-direction: column;
        background-color: #e5f1fa;
    }

    .list-nav{
        width: 100%;
        justify-content: space-around;
        flex-direction: column;
    }

    .list-nav li{
        background-color: var(--white);
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 2rem 0;
        border-bottom: #ebebeb 0.1rem solid;
    }

    .header-image1 {
        display: none;
    }

    .header-image2{
        display: flex;
        height: 80%;
        justify-content: center;
        align-items: center;
        padding: 1rem 0;
    }

    .active {
        border-radius: 0rem;
    border: none;
    padding: 0;
    }

    .active2{
        color:rgb(82, 186, 255) !important;
    }

    .menuToggle {
        position: relative;
        width: 4rem;
        height: 5rem;
        cursor: pointer;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column; /* Changer la direction des barres pour créer l'icône burger */
        margin: 7rem 2rem;
    }
    
    .menuToggle .bar {
        width: 80%;
        height: 0.3rem;
        background: #030303;
        margin: 0.4rem 0;
    }
    
    header.open .menuToggle .bar:nth-child(1) {
        transform: rotate(45deg);
        transform-origin: left center;
    }
    
    header.open .menuToggle .bar:nth-child(2) {
        opacity: 0;
    }
    
    header.open .menuToggle .bar:nth-child(3) {
        transform: rotate(-45deg);
        transform-origin: left center;
    }
    
    .list-nav {
        display: none;
        flex-direction: column;
        background-color: #e5f1fa;
        width: 100%;
    }
    
    header.open .list-nav {
        display: flex;
    }

    header {
        transition: all 0.3s ease; /* Animation pour tous les changements */
    }
    
    .menuToggle .bar {
        transition: transform 0.3s ease, opacity 0.3s ease; /* Animation pour les barres */
    }

.list-nav {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.list-nav li {
    transition: transform 0.3s ease, opacity 0.3s ease; 
}

.list-nav.active {
    transform: translateX(0);
    opacity: 1;
}

.list-nav.active li {
    transform: translateY(0); 
    opacity: 1; 
}

.header-menu{
    display: flex;
    width: 100%;
    height: 12rem;
    justify-content: flex-end;
    align-items: center;
}

.header-image2{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
}

@media screen and (max-width: 1040px) {
    .footer-content ul li{
        font-size: 2rem;
        padding: 1.8rem 3.6rem;
    }
}

@media screen and (max-width: 950px) {
    .footer-content ul{
        flex-direction: column;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
        height: auto;
    }

    .footer-content ul li{
        border-radius: 0;
        background: none;
        padding: 3rem;
    }

    .footer-content ul li a{
        color: #FFF;
        font-size: 3rem;
    }

    .footer-content  {
        margin-top: 0;
    }
}




