@font-face {
    font-family: "roboto";
    src: url("../fonts/Roboto-Black.ttf")
}

html,
body {
    height: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
    font-family: "roboto", serif;
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu {
    display: flex;
    padding-inline: 0;
    position: absolute;
    max-height: 80%;
    height: fit-content;
    width: fit-content;
    background-color: rgba(255, 255, 255, 0.75);
    border-radius: 10px;
    /* justify-content: center; */
    flex-direction: column;
    overflow: auto;
    gap: 15px;
    /* visibility: hidden; */

}

.membres-famille:first-child {
    margin-top: 15px;
}

.membres-famille:last-child {
    margin-bottom: 15px;
}

.membres-famille {
    display: block;
    margin: 0px 50px;
    white-space: nowrap;
    cursor: pointer;
    text-align: center;
    font-size: large;
}

.menu.close {
    max-height: 0;
    transition-duration: 500ms;
    transition-property: max-height;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: rgba(100, 100, 100, 0.5);
    border-radius: 10px;
}

.name {
    display: flex;
    padding-inline: 0;
    position: absolute;
    height: fit-content;
    width: fit-content;
    max-width: 95%;
    background-color: rgba(255, 255, 255, 0.75);
    border-radius: 10px;
    font-size: 75px;
    overflow: hidden;
    visibility: hidden;
}
