
.entete {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    padding: 10px 20px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 0 0 10px 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    box-sizing: border-box;
}

.entete a:nth-of-type(2) {
    margin-left: 2%;
}

.entete p {
    color: white;
    font-family: "Oswald", sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s ease;
}
.entete a{
    position: relative;
}
.entete a:hover{
    transform: scale(1.1);
}
a {
    text-decoration: none;
    color: inherit;
    outline: none;
}

.entete p:hover {
    color: #c62828;
}

.entete img {
    width: 70px;
}

.menu {
    display: flex;
    flex: 1;
    justify-content: space-evenly;
    align-items: center;
}

.menu-toggle {
    display: none;
    font-size: 2rem;
    color: white;
    cursor: pointer;
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
        margin-right: 5%;
    }

    .menu {
        display: none;
        flex-direction: column;
        align-items: center;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.4);
        position: absolute;
        top: 100%;
        left: 0;
        padding: 20px 0;
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
        gap: 15px;
    }

    .menu.open {
        display: flex;
    }

    .menu p {
        margin: 0;
        padding: 10px 0;
        text-align: center;
    }

    .entete {
        flex-wrap: nowrap;
        justify-content: space-between;
        position: relative;
        position: fixed;
    }

    .menu.open ~ a:nth-of-type(2) {
    display: none;
}
}
