@font-face {
    font-family: 'Chillax';
    src: url('fonts/Chillax-Regular.otf') format('truetype'),
         url('fonts/Chillax-Bold.otf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Chillax', Arial, sans-serif; /* Custom font applied */
    background-color: #F4F4FC; /* Background color */
    color: #4942E4; /* Default text color */
    line-height: 1.5;
}

h1 {
    text-align: center;
    color: #11009E;
    padding-bottom: 25px;
    font-size: 18px; /* Ajuste la taille du texte */
    line-height: 1.1;
}

h2 {
    text-align: center;
    color: #11009E;
    padding-bottom: 25px;
}

h3, p {
    padding-bottom: 5px;
}

.txtoffre {
    color: #e2afd9;
}

.promo {
    margin: 0 auto;
    padding: 0 0 0 0;
}

h6 {
    display: flex;
    justify-content: center;

    margin: 10px auto;

    color: #e2afd9;
}

header {
    background-color: #4942E4; /* Header color */
    box-shadow: 0 0 1em 0.5em #e2afd9;
    color: white;
    padding: 10px 0;
    position: relative;
    padding: 10px;
}

header .logo {
    width: 80px;
    justify-content: start;
    display: block;
    margin: 0 auto;
    top: -15px;
    position: absolute;
}

header .straightline {
    display: flex;
    position: relative;
    transform: rotate(90deg);
    width: 30px;
}

/* Masquer le menu de navigation sur les petits écrans */
/* Styles par défaut pour les grands écrans */
header .boutons {
    display: flex;
    flex-direction: column; /* Alignement vertical */
    justify-content: center; /* Centrage vertical si nécessaire */
    align-items: flex-end; /* Alignement à droite */
    gap: 10px; /* Espacement entre les boutons */
}

header .boutons ul {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

/* Affichage horizontal des liens du menu */
header .boutons ul li {
    margin-right: 30px;
}

header .boutons ul li a {
    color: white;
    text-decoration: none;
}

header .boutons ul li:hover {
    background-color: #e2afd9;
}

/* Masquer le menu hamburger sur les grands écrans */
header .menu-toggle {
    display: none;
}

/* Sur les petits écrans, cacher les liens et afficher le hamburger */
@media screen and (max-width: 895px) {
    header .boutons ul {
        display: none; /* Cacher les liens de navigation */
    }

    header .menu-toggle {
        display: flex; /* Afficher le bouton hamburger */
        flex-direction: column;
        justify-content: space-around;
        width: 25px;
        height: 20px;
        cursor: pointer;
    }

    /* Le hamburger */
    header .menu-toggle div {
        width: 25px;
        height: 4px;
        background-color: #F4F4FC;
        border-radius: 5px;
    }
    
    /* Lorsque le menu est actif, afficher les liens sous forme de menu déroulant */
    header .boutons ul.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        right: 10px;
        background-color: #4942E4;
        border-radius: 10px;
        top: 50px;
    }

    header .boutons ul li {
        padding: 10px 20px;
    }

    header .boutons ul li:hover {
        background-color: #e2afd9;
    }
}

header a {
    color: #F4F4FC;
    text-decoration: none;
}

.wave {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40%;  /* Augmentation de la largeur */
    height: auto; /* Ajustement automatique de la hauteur */
    max-width: 600px; /* Optionnel : limite la taille max */
    
    padding: 40px 0; /* Augmente l'espace autour si nécessaire */
    margin: 0 auto;
}

.pres {
    display: flex;
    color: #11009E;
    justify-content: center;

    margin: 0 auto;
}

.hero {
    text-align: center;
    color: #11009E; /* Hero text color */
}

.hero .banner {
    width: 100%; /* Adjust to fit the banner size */
    height: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 15px 15px 15px 15px;
}

.cta-buttons .btn {
    background-color: #e2afd9; /* Button color */
    color: #F4F4FC; /* Button text color */
    box-shadow: 0px 0px 7px rgba(73, 66, 228, 0.5);
    padding: 10px 20px ;
    text-decoration: none;
    border-radius: 50px;
    transition: background-color 0.3s;
}

.cta-buttons .btn:hover {
    background-color: #4942E4; /* Button hover color */
    box-shadow: 0px 0px 7px rgba(73, 66, 228, 0.5);
}

#offers, #team, #community, #contact {
    text-align: center;
}

.offer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 80px;
    padding: 50px 50px;
}

@media (min-width: 768px) {
    .offer-container {
        flex-direction: row;
        justify-content: center; /* Centre les cards */
        gap: 100px; /* Espacement entre les cards */
    }
}

.offer {
    padding: 20px;
    border-radius: 10px;
    width: 250px; /* Taille fixe pour un carré */
    height: 250px; /* Même hauteur que largeur */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 0px 7px rgba(73, 66, 228, 0.5);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.offer:hover {
    box-shadow: 0px 0px 10px rgba(73, 66, 228, 0.7);
    transform: translateY(-5px);
}

.offer:nth-child(1) {
    background-color: #FAE7F3;
}

.offer:nth-child(2) {
    background-color: #E6B9DE;
}


.offer:hover {
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2); /* Hover shadow */
    transform: translateY(-5px); /* Slight lift on hover */
}

.offer-separator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    font-weight: bold;
    color: #4942E4;
}

.team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 50px 15px;
    border-radius: 10px;
}

.team-member p {
    width: 100%;
    font-size: large;
    text-align: center;
    line-height: 1.6;
    margin: 0;
}

.teamtxt {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.profile-photo {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
}

@media (min-width: 768px) {
    .team-member {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 50px;
    }

    .team-member p {
        width: 50%;
        text-align: left;
    }

    .teamtxt {
        width: 50%;
        align-items: flex-start;
    }

    .profile-photo {
        width: 50%;
        height: auto;
        object-fit: cover;
    }
}

@media (min-width: 1024px) {
    .team-member {
        padding: 50px;
    }

    .team-member p {
        font-size: 1.2rem;
        line-height: 1.8;
    }

    .profile-photo {
        max-width: none;
        height: 100%;
    }
}

.community-image {
    width: 100%; /* Adjust to fit the image size */
    height: auto;
    padding: 50px;
}

.txtaide {
    display: flex;
    font-size: large;
    width: 75vw;
    margin: 0 auto;
    justify-content: start;
    text-align: center;
}

.rejoindretxt {
    display: flex;
    font-size: x-large;
    width: 50vw;
    justify-content: center;
    margin: 0 auto;
}

footer {
    background-color: #11009E; /* Footer color */
    padding: 10px;
    justify-content: end;
    text-align: end;
}

footer .square-logo {
    width: 43px; /* Adjusted size */
    opacity: 0.8; /* Slightly transparent */
    position: absolute;
    left: 0%;
}

footer .boutons {
    justify-content: end;
}

footer a {
    color: #FAE7F3; /* Footer link color */
    text-decoration: none;
    justify-content: end;
}

.labelcontact {
    color: #e2afd9;
    outline-color: #e2afd9;
}

/* Contact Form Styling */
#contact form {
    display: inline;
}

#contact form .left-column {
    color: #e2afd9;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
}

#contact form .right-column {
    color: #e2afd9;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
}

#contact form input, #contact form textarea {
    border: 2px solid #e2afd9;
    border-radius: 10px;
    padding: 15px;
    width: 100%;
    box-sizing: border-box;
    background-color: #f4f4fc;
    color: #e2afd9;
    font-weight: normal;
}
