/* =========================
   ACCEUIL.CSS
   ========================= */

/* SECTION PROFIL */
.profile-section {
    display: flex;
    justify-content: center;
    margin-top: 100px;
}

.profile-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    max-width: 800px;
    padding: 20px;

    background-color: #312f2f;
    border-radius: 12px;
}

/* HEADER PROFIL */
.profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
}

.profile-header img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
}

/* TEXTE */
.profile-card p {
    margin-top: 10px;
}

/* =========================
   MENU CENTRAL
   ========================= */

.home-menu {
    display: flex;
    justify-content: center;
    margin: 50px 0 200px 0;
}

.home-menu-box {
    display: flex;
    flex-direction: column;
    gap: 10px;

    text-align: center;

    background-color: rgba(128, 128, 128, 0.5);
    padding: 20px;
    border-radius: 15px;
}

/* BOUTONS */
.home-menu-box a {
    display: inline-block;
    padding: 10px 20px;

    background-color: #007BFF;
    color: white;

    text-decoration: none;
    border-radius: 5px;

    transition: 0.2s;
}

.home-menu-box a:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

/* responsive */

@media (max-width: 600px) {
    .profile-card {
        max-width: 90%;
        padding: 15px;
    }

    .profile-header {
        flex-direction: column;
        gap: 15px;
    }

    .profile-header img {
        width: 80px;
        height: 80px;
    }

    .home-menu {
        margin: 30px 0 100px 0;
    }

    .home-menu-box {
        padding: 15px;
    }

    .home-menu-box a {
        padding: 8px 16px;
        font-size: 14px;
    }
}