
.modal-container{
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #0000004b;
    z-index: 999;
    align-items: center;
    justify-content: center;
    display: none;
}

.modal{
    width: 40%;
    min-width:100px;
    min-height: 200px;
    background-color: #ffffff;
    margin-top: 5%;
    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;
    color: #00D3EE;
}

.modal h4{
    color: var(--corVerde);
}

@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: 768px){
    .modal{
        width: 30%;
        min-width: 300px;
        min-height: 200px;
        /* padding: 15px 20px; */
    }
    .modal h1{
        margin-bottom: 20px;
        color: var(--corRoxa);
        font-size: 18px;
    }
    
    .modal h4{
        color: var(--corVerde);
        font-size: 16px;
    }

    .modal p{
        font-size: 12px;
    }
}

@media screen and (max-width: 320px){
    .modal{
        margin-top: 43%;
        margin-left: 5%;
        padding: 8px;
    }
}