.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 0;
    display: none;
    z-index: 100;
    overflow-y: auto;
}

.popup .close{
    transition: all .2s;
    position: absolute;
    top: 10px;
    right: 2%;
    width: 100%;
    max-width: 3.5vw;
    cursor: pointer;
}

.popup .close:hover{
    transition: all .2s;
    transform: scale(1.02, 1.02);
}

.popup-container {
    position: relative;
    width: 40vw;
    /* border-radius: 30px; */
    /* background-color: rgba(0, 4, 73, 0.5); */
    background-color: #000049;
    /* border-style: solid; */
    /* border-color: white; */
    /* color: white; */
    padding: 2%;
    animation: popupShow .3s forwards;
    text-align: center;
    /* border: 1px solid; */
    padding: 10px;
    box-shadow: 0px 0px 10px 10px #aaaaaa;
}

/* .popup-container img {
    max-width: 80%;
    margin-bottom: 2vw;
} */

.popup-title {
    font-weight: bold;
    color: var(--color-green);
    font-size: 2vw;
}

.popup-text {
    text-align: justify;
    font-size: 1rem;
    color: white;
}

#popup-password .popup-text {
    text-align: center;
}

.message.error, .message.success {
    background-color: rgba(0, 0, 0, 0.8);
    border: none;
}

@media screen and (max-width: 1024px) and (orientation: portrait) {
    .popup .close{
        top: 1%;
        right: 1%;
        width: 100%;
        max-width: 10vw;
        cursor: pointer;
    }
    
    .popup-container {
        width: 70vw;
    }
    
    .popup-title {
        font-size: 6vw;
        padding-top: 1vh;
    }
    
    /* .popup-text {
        font-size: 3.2vw;
    } */
}

@media screen and (max-width: 1024px) and (orientation: landscape) {
    .popup .close{
        top: 12px;
        right: 4%;
        width: 100%;
        max-width: 5vw;
        cursor: pointer;
    }
    
    .popup-container {
        width: 70vw;
    }
    
    .popup-title {
        font-size: 3vw;
    }
    
    .popup-text {
        font-size: 2.2vw;
    }
}
