html {
    font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  }



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


body {
    display: flex;
    margin-top: 40px;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* Utiliser min-height au lieu de height */
    background-color: black;
}


li {
    list-style-type: none;
}

a {
    text-decoration: none;
    color: white;
    font-size: 1rem;
}

a:hover {
    color: gray;
}

/* --------- HEADER --------- */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0 2rem;
    background-color: rgba(0, 0, 0, 0.383);
}


.navbar {
    width: 100%;
    max-width: 1200px;
    height: 60px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar .logo a {
    font-size: 1.5rem;
    font-weight: bold;
}

.navbar .links {
    display: flex;
    gap: 2rem;
}

.navbar .button-menu {
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
}

.buttons {
    display: flex;
    gap: 10px;
}

.action-button {
    background-color: rgb(19, 163, 149);
    color: #120d31;
    border: 1px solid rgb(19, 163, 149);
    padding: 0.5rem 1.2rem;
    outline: none;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
}

.action-button:hover {
    color: #fff;
    border: 1px solid #fff;
}

.Pro {
    background-color: transparent;
    color: #fff;
    border: 1px solid #fff;
}

.Pro:hover {
    background-color: #fff;
    color: #120d31;
}

/* --------- MENU --------- */
.button-menu-ph {
    display: none;
    height: 0;
    position: absolute; 
    right: 2rem;
    top: 60px;
    width: 200px;
    background: rgba(128, 128, 128, 0.2);
    backdrop-filter: blur(15px);
    border-radius: 10px;
    overflow: hidden;
    transition: height 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 10; 
}

.button-menu-ph.open {
    height: 280px;
    z-index: 10; 
}

.button-menu-ph li {
    padding: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.divider {
    height: 1px;
    background-color: #fff;
    width: 80%;
    margin: 1rem auto;
}

.button-menu-ph .action-button {
    width: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.button-ph {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.button-menu-ph1 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

/* --------- RESPONSIVE --------- */
@media (max-width: 700px) {
    header {
        background: none;
    }

    .navbar .links,
    .navbar .action-button {
        display: none;
    }

    .navbar .button-menu {
        display: block;
    }

    .button-menu-ph {
        display: block;
    }
}