/* Styles pour la page */
body {
    margin: 0;
    background-color: #F6EFE5; /* Crème pour l'arrière-plan */
    color: #333; /* Texte en gris foncé */
    padding: 0;
	}

header {
    padding: 20px 0;
}

.top-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(to right, #89CFF0, #579CDA); /* Dégradé pour la barre de navigation */
    color: #fff;
    height: 150px;
    padding: 1em;
}

.menu {
    display: flex;
    flex-direction: row;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.menu > li {
    margin: 0 1rem;
    overflow: hidden;
}

.menu-button-container {
    display: none;
    height: 100%;
    width: 30px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#menu-toggle {
    display: none;
}

.menu-button,
.menu-button::before,
.menu-button::after {
    display: block;
    background-color: #fff;
    position: absolute;
    height: 4px;
    width: 30px;
    transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 2px;
}

.menu-button::before {
    content: '';
    margin-top: -8px;
}

.menu-button::after {
    content: '';
    margin-top: 8px;
}

#menu-toggle:checked + .menu-button-container .menu-button::before {
    margin-top: 0px;
    transform: rotate(405deg);
}

#menu-toggle:checked + .menu-button-container .menu-button {
    background: rgba(255, 255, 255, 0);
}

#menu-toggle:checked + .menu-button-container .menu-button::after {
    margin-top: 0px;
    transform: rotate(-405deg);
}

@media (max-width: 700px) {
    .menu-button-container {
        display: flex;
        position: relative;
        top: 0;
        right: 0;
    }
    .menu {
        position: relative;
        top: 5px;
        margin-top: 5px;
        left: 5%;
        flex-direction: column;
        width: 100%;
        justify-content: center;
        align-items: center;
    }
    #menu-toggle ~ .menu li {
        height: 0;
        margin: 0;
        padding: 0;
        border: 0;
        transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
    }
    #menu-toggle:checked ~ .menu li {
        border: 1px solid #89CFF0;
        height: 1em;
        padding: 0.5em;
        transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
    }
    .menu > li {
        display: flex;
        justify-content: center;
        margin: 5px;
        padding: 0.5em 0;
        width: 45%;
        color: white;
        background: linear-gradient(to right, #89CFF0, #579CDA);
    }
    .menu > li:not(:last-child) {
        border-bottom: 1px solid #F293A4; 
    }
}

/* Réduire la taille du logo sur les écrans plus petits */
.logo {
	 border-radius: 50px; 
    margin: 10px;
    padding: 10px;
    max-width: 80%;
}

@media (max-width: 700px) {
    .logo {
	border-radius: 50px; 
        max-width:90%;
	 border-radius: 10px; 
    }
}

h2 {    
    margin: 10px;
    padding: 1px;    
    color: #F293A4; 
}

p {
    font-size: 16px;
}

iframe {
    width: 80%;
    height: 450px;
    border: none;
}

/* Styles pour le corps de la page */
main {
	  min-height: 50vh; 
    padding: 20px;
    background-color: #fff; 
    text-align: center;
    margin: 0 auto;
    padding: 20px;
    background-color: #F6EFE5; 
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Styles pour le corps de la page */
section2 {
    padding: 20px;
    text-align: center;
    margin: 0 auto;
    padding: 20px;
    display: flex;
      justify-content: space-between;
}



/* Appliquer un style spécifique à la section en pleine largeur */
section.full-width {
    margin: 10px;
    padding: 10px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    flex: 1;
    border: none;
}

/* Styles pour la section avec une image à gauche et du texte à droite */
.image-and-text {
    display: flex;
    align-items: center;
}

.image {
    flex: 1;
    padding: 20px;
}

.image img {
	border-radius: 50px; 
    max-width: 600px;
    height: auto;
}

.text {
    flex: 1;
    padding: 20px;
    background-color: #F293A4; /* Rose pâle pour le texte */
    color: #fff;
}

.text h2 {
    color: #FFF;
    font-size: 24px;
    margin-bottom: 10px;
}

text p {
    font-size: 16px;
    line-height: 1.5;
}

h1 {
    text-align: center;
}

/* Style pour les formulaires */
#login-form {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px; 
}

#login-form label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
}

#login-form input[type="text"],
#login-form input[type="password"] {
    width: 90%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#login-form input[type="submit"] {
    background-color: #FF6B6B; /* Rouge clair pour le bouton du formulaire */
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#login-form input[type="submit"]:hover {
    background-color: #FF4949; /* Rouge plus foncé au survol */
}

#reponse {
    height: 300px;
	width: 300px;
}

form {
	
	    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

label {
    display: block;
    margin-bottom: 10px;
}

/* Style pour centrer les champs de saisie */
input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 5px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

input[type="submit"] {
    background: linear-gradient(to right, #FF6B6B, #FF4949); /* Dégradé pour le bouton du formulaire */
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

input[type="submit"]:hover {
    background: linear-gradient(to right, #FF7F7F, #FF5D5D); /* Dégradé plus foncé au survol */
}

footer {
	 margin: 0;
    background-color: #333; /* Gris foncé pour le pied de page */
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.contact-info h3 {
    margin: 0;
}

.contact-info p {
    margin: 5px 0;
}

.social-icons {
    margin-top: 20px;
}

.social-icons a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
    font-size: 24px;
}
