/* mainMenu.css */

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #e0f7fa, #80deea); /* Bleu clair pour un style apaisant */
    color: #333;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    text-align: center;
}

h1 {
    color: #004d40;
    font-size: 3rem;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    margin-bottom: 40px;
}

.logged-in {
    font-size: 1.2rem;
    color: #004d40;
    margin-bottom: 20px;
}

ul {
    list-style: none;
    padding: 0;
}

ul li {
    margin-bottom: 15px; /* Espacement entre les boutons */
}

a {
    display: inline-block;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    color: #ffffff;
    background: #00796b; /* Vert bleuté pour un contraste agréable */
    padding: 15px 30px;
    border-radius: 10px;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
    width: 300px; /* Taille uniforme pour les boutons */
    text-align: center;
    margin-bottom: 5px;
}

a:hover {
    background: #004d40; /* Couleur plus foncée au survol */
    transform: translateY(-3px);
}

nav a {
    display: inline-block;
    margin: 10px auto;
    background: #004d40; /* Couleur complémentaire pour la navigation */
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

nav a:hover {
    background: #00332b;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    a {
        font-size: 1rem;
        padding: 12px 20px;
        width: 250px;
    }

    nav a {
        font-size: 1rem;
        padding: 10px 15px;
    }
}


/* Style pour le bouton "Se déconnecter" */
.logout-button {
    background: #e0633b; /* Rouge pour se déconnecter */
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
    transition: background 0.3s ease, transform 0.2s ease;
    display: inline-block;
    text-align: center;
    width: 300px; /* Taille uniforme avec les autres boutons */
    margin-bottom: 5px;
}

.logout-button:hover {
    background: #b71c1c; /* Rouge plus foncé au survol */
    transform: translateY(-3px);
}

/* Couleurs et styles des boutons de navigation */
.navigation-buttons {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.nav-btn {
    padding: 15px 30px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: background 0.3s ease, transform 0.2s ease, color 0.3s ease;
    width: 90%; /* Adapte la largeur à l'écran */
    max-width: 400px; /* Limite la taille sur grands écrans */
}

/* Bouton pour la page de présentation */
.presentation-btn {
    background: #1565c0; /* Bleu vif */
    color: #ffffff;
}

.presentation-btn:hover {
    background: #0d47a1; /* Bleu plus foncé */
    transform: translateY(-3px);
    color: #ffeb3b; /* Texte jaune pour un contraste visible */
}

/* Bouton pour la page du projet */
.project-btn {
    background: #ff7043; /* Orange vif */
    color: #ffffff;
}

.project-btn:hover {
    background: #e64a19; /* Orange plus foncé */
    transform: translateY(-3px);
    color: #ffffff;
}

/* Style général pour boutons */
.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

/* Responsiveness pour petits écrans */
@media (max-width: 768px) {
    .nav-btn {
        font-size: 1rem;
        padding: 12px 20px;
        width: 95%; /* Plus de largeur pour petits écrans */
    }

    h1 {
        font-size: 2rem;
    }
}
