@-webkit-keyframes exibe-alerta {
    from {top:-300px; opacity:0} 
    to {top:0; opacity:1}
}

@keyframes exibe-alerta {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

#aviso-header {
    background-color: #018df0;
}

#aviso-botao:hover {
    color: white;
    background-color: #018df0;
}

#confirmacao-header {
    background-color: #fcba03;
}

#confirmacao-botao:hover {
    color: white;
    background-color: #fcba03;
}

#sucesso-header {
    background-color: #01f084;
}

#sucesso-botao:hover {
    color: white;
    background-color: #01f084;
}

#erro-header {
    background-color: #f03101;
}

#erro-botao:hover {
    color: white;
    background-color: #f03101;
}

#exclusao-header {
    background-color: #f03101;
}

#exclusao-botao:hover {
    color: white;
    background-color: #f03101;
}

.alerta-titulo {
    font-size: 140%;
    text-align: center;
}

.alerta-texto {
    font-size: 90%;
    text-align: center;
}

.alerta-close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.alerta-close:hover,
.alerta-close:focus {
    color: rgb(218, 218, 218);
    text-decoration: none;
    cursor: pointer;
}

.alerta-body {
    padding: 2px 16px;
}

.alerta-header {
    padding: 2px 16px;
    color: white;
    border-radius: 2px;
}

.alerta-acoes {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 10px 0px;
}

.alerta-botao {
    width: 150px;
    height: 50px;
    text-align: center;
    vertical-align: middle;
    border-radius: 3px;
    border: none;
    transition: all .2s cubic-bezier(.22, .61, .36, 1);
}

.alerta-botao:hover {
    transform: translateY(-2px);
    cursor: pointer;
}

@media screen and (min-width:1008px) {
    .alerta {
        display: none;
        position: fixed;
        z-index: 9999;
        padding-top: 150px;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgba(0,0,0,0.7);
        font-family: NotoSans;
    }

    .alerta-conteudo {
        position: relative;
        background-color: #fefefe;
        margin: auto;
        padding: 0;
        border-radius: 3px;
        width: 40%;
        box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
        -webkit-animation-name: exibe-alerta;
        -webkit-animation-duration: 0.4s;
        animation-name: exibe-alerta;
        animation-duration: 0.4s
    }
}

@media screen and (min-width: 641px) and (max-width:1007px) {
    .alerta {
        display: none;
        position: fixed;
        z-index: 9999;
        padding-top: 250px;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgb(0,0,0);
        background-color: rgba(0,0,0,0.7);
        font-family: NotoSans;
    }

    .alerta-conteudo {
        position: relative;
        background-color: #fefefe;
        margin: auto;
        padding: 0;
        border-radius: 3px;
        width: 60%;
        box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
        -webkit-animation-name: exibe-alerta;
        -webkit-animation-duration: 0.4s;
        animation-name: exibe-alerta;
        animation-duration: 0.4s
    }
}

@media screen and (max-width:640px) {
    .alerta {
        display: none;
        position: fixed;
        z-index: 9999;
        padding-top: 350px;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgb(0,0,0);
        background-color: rgba(0,0,0,0.7);
        font-family: NotoSans;
    }

    .alerta-conteudo {
        position: relative;
        background-color: #fefefe;
        margin: auto;
        padding: 0;
        border-radius: 3px;
        width: 80%;
        box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
        -webkit-animation-name: exibe-alerta;
        -webkit-animation-duration: 0.4s;
        animation-name: exibe-alerta;
        animation-duration: 0.4s
    }
}