.popup {
    position: fixed;
    background: var(--principal-cream);
    padding: 20px;
    z-index: 1000;
    border-radius: 100px 0px 100px 0px;
    text-align: center;
    font-size: var(--font-size-20);
    overflow: hidden;
    height: -moz-available; /* Firefox */
    height: -webkit-fill-available; /* Chrome */
    height: 100%; /* Fallback */
    width: -moz-available; /* Firefox */
    width: -webkit-fill-available; /* WebKit-based browsers (Chrome, Safari, Edge) */
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup .close-btn {
    cursor: pointer;
    color: var(--principal-lightgreen);
    border: 2px solid var(--principal-lightgreen);
    border-radius: 100%;
    position: absolute;
    right: 20px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.popup > .container{
    position: absolute;
    top: 10px;
    left: 20px;
    bottom: 10px;
    right: 20px;
    overflow: auto;
    margin-top: 20px;
}

.popup .container h3{
    margin-top: 5px;
    margin-bottom: 5px;
}

.popup .container::-webkit-scrollbar {
    width: 8px;
}

.popup .container::-webkit-scrollbar-thumb {
    background-color: var(--principal-lightgreen);
    border-radius: 10px;
}

.popup .container::-webkit-scrollbar-track {
    background-color: var(--principal-cream);
    border-radius: 10px;
}

.popup .container scrollbar {
    scrollbar-width: thin;
    scrollbar-color: var(--principal-lightgreen) var(--principal-cream);
    border-radius: 10px;
}

/* Firefox */
.popup .container {
    scrollbar-width: thin; /* Estilo del scroll: thin, auto o none */
    scrollbar-color: var(--principal-darkgreen) var(--principal-cream); /* Colores del scroll */
    border-radius: 10px;
}

.popup:has(.close-btn) > .container{
    margin-top: 40px;
}

.popup .left ul{
    text-align: left;
}

.popup .container .center{
    width: 100%;
}

.popup .container a{
    cursor: pointer;
    text-decoration: underline;
}
@media (max-width: 979px) {
    .popup .container .center {
        width: auto;
    }

    .popup {
        margin-top: 5%;
        margin-bottom: 5%;
        margin-left: 5%;
        margin-right: 5%;
        font-size: var(--font-size-16);
    }

    .popup h3{
        font-size: var(--font-size-20);
    }
}

