.language-menu {
    position: absolute;
    top: 50%;
    right: 4em;
    transform: translateY(-50%);
    font-size: 18px;
    z-index: 1000;
}

.language-button {
    background-color: transparent;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 5px 10px;
    display: flex;
    align-items: center;
}

.language-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    background: rgb(0, 0, 0);
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    z-index: 1001;
    right: 0;
}

.lang-option {
    padding: 10px;
    cursor: pointer;
    white-space: nowrap;
    color: rgb(255, 255, 255);
    transition: background 0.3s;
}

.language-menu.active .language-dropdown {
    display: block;
}

body {
    font-family: Arial, sans-serif;
    background-color: rgb(75, 75, 75);
    color: white;
    margin: 0;
    overflow: hidden;
}
header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 4em;
    background-color: #1d1d1d;
    z-index: 10;
}

.bandeau {
    width: 100%;
    height: 4em;
    background-color: #1d1d1d;
}

.nom {
    position: absolute;
    top: 50%;
    left: 1em;
    transform: translateY(-50%);
    font-size: 1.5em;
    font-weight: bold;
    color: aliceblue;
    text-decoration: none;
}

.profile {
    width: 3em;
    height: 3em;
    border-radius: 50%;
    position: absolute;
    top: 0.5em;
    right: 0.5em;
    object-fit: cover;
    border: 2px solid white;
}

.text-container {
    position: absolute;
    transform: translateX(-50%);
    left: 50%;
    top: 4em;
}

.Titre {
    top: 4em;
    margin-bottom: 0;
}

.p {
    font-weight: 100;
    margin-bottom: 0;
    margin-top: 0;
}

@media (max-width: 1200px) and (orientation: portrait) {
    .section-container {
        flex-direction: column;
    }
    .nom {
        position: absolute;
        top: 50%;
        left: 1vh;
        transform: translateY(-50%);
        font-size: 16px;
        color: white;
        font-weight: bold;
    }
    .profile {
        object-fit: cover !important;
        height: 70% !important;
        right: 0.5vw !important;
    }  
    .buttons {
        text-align: center;
    }
    .language-menu {
        position: absolute;
        top: 50%;
        right: 6vw;
        transform: translateY(-50%);
        font-size: 18px;
        z-index: 1000;
    }
}