#language-selector
{
    display: flex;
    align-items: center;
}

#language-image
{
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

select.custom-select
{
    border: none;
    background-color: #1C1E39;
}

.navbar-custom {
    position: relative;
}

.navbar-custom::after {
    content: "";
    position: absolute;
    bottom: -3px; /* Distance de la ligne par rapport à la navbar */
    left: 0;
    width: 100%;
    height: 1px; /* Épaisseur de la ligne */
    background-color: white; /* Couleur de la ligne */
}

.max-image {
    max-width: 100%;
    max-height: 100%;
}

.popup-container {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    max-width: 300px;
    text-align: center;
}

.popup-close {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    color: #FF385C;
    font-size: 18px;
    display: block;
    margin-top: -35px;
}

.popup-content {
    color: #333;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.popup-container {
    background-color: #ffffff;
    color: #333333;
}

@media (min-width: 768px) {
    .max-image {
        max-width: 65%;
        max-height: auto;
    }
    .font-text {
        font-size:150%;
    }
    .image-column img {
        width: 60%;
        height: auto;
    }
    .second-column {
        font-size: 130%;
    }
}

/* Styles pour les écrans de taille normale */
section {
    color: white;
    text-align: center;
    margin-right: 3%;
}

/* Styles pour les écrans de taille inférieure ou égale à 767px */
@media screen and (max-width: 767px) {
    .max-image {
        max-width: 80%;
        max-height: auto;
    }

    .font-text {
        font-size: 100%;
    }

    .popup-content {
        font-size: 13px;
    }

    section {
        text-align: left;
        margin: 1%;
    }

    h2 {
        text-align: left;
        margin: 1%;
        font-weight: bold;
        text-decoration: underline;
    }

    ul.font-text {
        font-size: 70%;
        text-align: justify;
        margin-right: 1%;
        list-style-type: none;
    }

    .first-column {
        width: 100%;
        text-align: center;
    }

    .image-column {
        width: 100%;
        text-align: center;
        padding: 0;
    }

    .image-column img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .second-column {
        width: 100%;
        vertical-align: top;
        padding-left: 0;
        font-size: 80%;
    }

    .title {
        font-size: 125%;
    }
    .image-resto {
        width: 50%;
    }
    article a h6 {
        font-size: 80%;
    }
    .info {
        font-size: 80%;
    }
    .info2 {
        font-size: 100%;
    }
}
