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

* {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    width: 100%;
    min-height: 100vh;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background-color: #f3f3f3;
}

.logo-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.titulo{
    text-align: center;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: .5px;
    color: #95C11F;
}

.logo{
    width: 200px;
    /* filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.288)); */
}

.buscador{
    background-color: white;

    padding: 20px;

    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.295);

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-evenly;

    margin: 30px 0;

    width: 90%;
    max-width: 500px;
    min-height: 175px;

}

.buscador-input{
    width: 100%;
    
    margin: 10px 0;
}

.buscador-input input{

    border-radius: 5px;
    text-align: center;
    width: 100%;

    color: rgba(0, 0, 0, 0.651);

    border: 2px solid #f3f3f3;
    border-bottom: 2px solid #f3f3f3;
    padding: 7px 20px;
    font-size: 18px;
    outline: none;

    transition: .5s ease all;
}

.input-b:focus{
    border-bottom: 2px solid #95C11F;
    color: black;
    font-weight: 500;
}

.btn{
    min-width: 150px;
    min-height: 40px;

    padding: 10px 15px;

    background-color: #F59E12;
    
    border: 1px white solid;
    border-radius: 10px;
    outline: none;

    color: white;
    font-size: 14px;
    font-weight: 700;

    /* box-shadow: 0 0 5px rgba(0, 0, 0, 0.466); */
    transition: .3s ease all;
}

.btn:hover{
    background-color: white;
    color: #F59E12;
    border: 1px solid #F59E12;
    transform: scale(.9);
    font-size: 18px;
}

.leyenda{
    display: none;
    margin: 5px 0;
    font-size: 16px;
    font-weight: 600;
    color: #dd3333ab;
}

.cerrar-btn{
    margin-top: 25px;
    color: white;
    background-color:#dd3333ab;
    outline: none;
    border-radius: 10px;

    min-width: 150px;
    min-height: 40px;
    border: 1px white solid;

    transition: .3s ease all;

    cursor: pointer;
}

.cerrar-btn:hover{
    font-size: 16px;
    font-weight: 500;
    background-color: white;
    color: #dd3333ab;
    border: #dd3333ab solid 1px;
    transform: scale(.9);
}


.modal {
    position: fixed;
    padding: 10px;
    overflow: auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #11111171;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s .1s;
    --transform: translateY(-100vh);
    --transition: transform .5s;
    font-family: 'Poppins', sans-serif;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 600px;
    max-height: 750px;

    background-color: white;

    border-radius: 30px;
    padding: 30px;

    display: flex;
    flex-direction: column;
    align-items: center;

    box-shadow: rgba(0, 0, 0, 0.564) 0px 0px 3px;
}

.modal--show {
    opacity: 1;
    pointer-events: unset;
    transition: opacity .6s;
    --transform: translateY(0);
    --transition: transform .2s .1s;
}

.modal-header{
    width: 100%;
    height: 70px;

    border-radius: 20px;
    padding: 20px;

    margin-bottom: 10px;

    background: url(https://sfo3.digitaloceanspaces.com/e-fuente/e-fuentedevida.net/iq98/admin/elrecurso/FONDOS-03.jpg);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 1px 1px 20px rgba(0, 0, 0, 0.526);
}

.certif-tit{
    font-size: 24px;
    font-weight: 700;
    color: white;
}

.titulo-body-modal{
    font-size: 18px;
    font-weight: 500;
    color: #95C11F;
}

.modal-body{
    width: 100%;

    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.field{
    min-width: 49%;

    margin: 10px 0px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.res{
    width: 100%;
    font-weight: 300;
    font-size: 18px;
}

.tag{
    font-size: 16px;
    font-weight: 500;
}

.matricular{
    margin-top: 25px;
    color: white;
    background-color:#95C11F;
    outline: none;
    border-radius: 10px;

    min-width: 150px;
    min-height: 40px;
    border: 1px white solid;

    transition: .3s ease all;

    cursor: pointer;
}

.matricular:hover{
    font-size: 16px;
    font-weight: 500;
    background-color: white;
    color: #95C11F;
    border: #95C11F solid 1px;
    transform: scale(.9);
}

.dowline{
    color: red;
    margin: 5px 0;
    font-size: 13px;
    font-weight: 500;
}

.close-modal{
    position: absolute;
    top: 15px;
    right: 15px;

    font-size: 18px;

    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.452));

    background-color: transparent;
    border: none;
    outline: none;

    cursor: pointer;
}

.icon{
    height: 40px;
    margin-right: 10px;
}

.alerta{
    display: none;
    padding: 10px 30px;
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.438);
}

.alert--show{
    position: fixed;

    display: flex;
    align-items: center;
    justify-content: space-evenly;

    top: -120px;
    left: 50%;
    transform: translateX(-50%);

    animation: show 3s ease;
}

@keyframes show{
    0%{
        top: -100px;
    }

    20%{
        top: 20px;
    }

    80%{
        top: 20px;
    }

    100%{
        top: -120px;
    }
}

.alert--out{
    animation: out .7s ease;
    top: -100px;
}

@keyframes out{
    0%{
        top: 20px;
    }

    100%{
        top: -100px;
    }
}