
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&display=swap');

.modal-container{
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #000000aa;
    z-index: 999;
    align-items: center;
    justify-content: center;
    display: none;
    font-family: 'Poppins', sans-serif;
}

.modal{
    width: 30%;
    min-width:220px;
    min-height: 120px;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    position: relative;
}

.fechar{
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background-color: #ff0000;
    color: #fff;
    font-weight: 700;
    font-size: 14pt;
    cursor: pointer;
}

.modal h1{
    margin-bottom: 20px;
    font-size: 25px;
    font-weight: 600;
    text-align: center;
}

.modal a{
    display: block;
    text-align: center;
}

.modal a button{
    width: 70%;
    margin-bottom: 20px;
    padding: 10px 20px;
    font-size: 22px;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    background-color: #0053AD;
    color: #fff;
    border: 0;
    transition: .2s;
    border-radius: 30px;
}

.modal a button:hover{
    background-color: #00BDD1;
    transform: scale(.95);
}

@keyframes animate-modal {
    from{
        opacity: 0;
        transform: translate3d(0, -20px, 0);
    }

    to{
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.modal-container.mostrar{
    display: flex;
}

.mostrar .modal{
    animation: animate-modal .3s;
}

@media screen and (max-width: 900px){
    .modal{
        width: 90%;
    }

    .modal a button{
        width: 100%;
    }
}