.relouselect-go{
    background-color: var(--e-global-color-accent) !important;
    font-family: 'Rammetto One',sans-serif;
    font-size: 32px !important;
    font-weight: 700 !important;
    fill: var(--e-global-color-text) !important;
    color: var(--e-global-color-text) !important;
    border-style: solid !important;
    border-width: 8px 8px 8px 8px !important;
    border-color: var(--e-global-color-text) !important;
    border-radius: 50px 50px 50px 50px !important;
    padding: 15px 15px 15px 15px !important;
    cursor: pointer !important;
}

.relouselect-go:hover{
    font-family: "Rammetto One", sans-serif !important;
}

.relouselect-button{

}

#relouselect_niveau{
    max-width: 33%;
}

#relouselect select{
    color: white;
    border: 4px solid var(--e-global-color-text) !important;
}


/* Popup Container (initially hidden) */
.popup-container {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top of other content */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent background */
    opacity: 0; /* Start with no opacity */
    transition: opacity 0.5s ease-in-out; /* Apply fade-in transition */
}

/* Popup Content */
.popup-content {
    background-color: #fff;
    margin: 15% auto; /* Center the popup */
    padding: 20px;
    border-radius:50px;
    width: 50%; /* Adjust width as needed */
    text-align: center;
    border: 8px solid var(--e-global-color-text);
}

@media screen and (max-width: 480px) {
    .popup-content {
        background-color: #fff;
        margin: 15% auto; /* Center the popup */
        padding: 20px;
        border-radius: 50px;
        width: 95%; /* Adjust width as needed */
        text-align: center;
    }

    #relouselect_niveau{
        max-width: 100% !important;
    }

    #relouselect_permis{
        width: 100% !important;
    }

    #relouselect_vehicule{
        width: 100% !important;
        padding-top: 25px;
    }

    #relouselect_bouton{
        width: 100%;
        text-align: center;
        padding-top: 15px;
    }

    .titre_formation, .titre_formation:hover{
        font-size: 18px !important;
    }

    .detail_formation, .detail_formation:hover{
        font-size: 14px !important;
    }

}

/* Close Button */
.close-btn {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    position: relative;
    top: 10px;
    right: 20px;
}

.close-btn:hover,
.close-btn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* When the popup is shown */
.popup-container.show {
    display: block;
    opacity: 1; /* Make it fully visible */
}

.titre_formation:hover{
    font-family: "Rammetto One", sans-serif !important;
    font-size: 25px !important;
    cursor: pointer;
}

.detail_formation a:hover{
    font-family: "Outfit", sans-serif !important;
    font-size: 16px !important;
    cursor: pointer;
}
