:root {
    --60: #ED6A5A;
    --30: #F4B942;
    --10: #CB48B7;
    --card: #D8572A;
    --text: #FFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--60);
    display: flex;
    flex-direction: column;

    font-family: 'Lato', sans-serif;
    font-size: 17px;
}

a {
    text-decoration: none;
    color: var(--text);
}

h1, p {
    color: var(--text);
    margin: 5px;
}

header {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;

    background-color: var(--30);
    padding: 20px;
    gap: 15px;
}

.current-page {
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-thickness: 2px;
    text-decoration-color: #000;
}
nav a {
    color: #000;
}

.nava:hover {
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-thickness: 2px;
    text-decoration-color: #000;
}

/* Petits carrés dans la barre de navigation */
.square {
    margin: 10px;
    font-size: 15px;
}

/* Message d'accueil*/
.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: var(--card);
    color: #FFF;

    text-align: center;

    padding: 50px;
    margin: 100px;

    border-radius: 20px;
}

button {
    background-color: var(--10);
    padding: 10px;
    margin: 10px;
    border: none;
    border-radius: 10px;
}

/* Menu déroulant au survol de MASSAGES */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-trigger {
    cursor: pointer;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--10);
    min-width: 140px;
    border-radius: 8px;
    box-shadow: 0 4px 15px #000;
    padding: 6px 0;
    z-index: 100;
    margin-top: 8px;
}

/* Zone tampon invisible pour faciliter le passage de la souris du lien au menu */
.dropdown-menu::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
}

/* Affichage au survol et au focus clavier */
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
    display: block;
    animation: fadeInDropdown 0.2s ease-in-out;
}

@keyframes fadeInDropdown {
    from {
        opacity: 0;
        transform: translate(-50%, -6px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

nav .dropdown-menu a {
    display: block;
    color: #333333;
    padding: 10px 16px;
    text-align: center;
    font-size: 14px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

nav .dropdown-menu a:hover {
    background-color: var(--60);
    color: #ffffff;
}