@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond&display=swap');
@import url(/css/estilos.css);
@import url(/css/Capacitacion/bannerlistadocap.css);

.contenedor{
    display: flex;
    flex-direction: column;
    top: 5vh;
    position: relative;
    gap: 2rem;
    margin-bottom: 2rem;
}

.bannercapacitacion{
    display: flex;
    position: relative;
    height: 30%;
    width: 100%;
}

.imagen{
    padding: 5%;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: flex-end;
}

.imagen img{
    width: 60%;
}

.texto-imagen{
    top: 25%;
    left: 25%;
    display: flex;
    position: absolute;
    width: 25%;
    height: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.9);
    background-color: rgba(255, 255, 255, .1);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    
}

.texto{
    display: flex;
    position: relative;
    width: 100%;
    height: 100%;
    align-items: center;
    padding: 5% 0%;
    justify-content: space-around;
    flex-direction: column;
}

.texto h2{
    color: white;
    letter-spacing: .2rem;
    font-size: 3rem;
}

.texto h3{
    margin-top: -10%;
    color: white;
    font-size: 3rem;
    font-style: italic;
    font-family: 'Franklin Gothic Medium';
}

.frase{
    margin-top: -10%;
    color: white;
    font-size: 1.2rem;
    padding: 5% 10%;
    letter-spacing: .1rem;
}

.autor{
    width: 100%;
    color: white;
    letter-spacing: .1rem;
    font-style: italic;
    text-align: right;
    padding: 0% 15%;
    font-weight: 900;
}


@media (min-width: 720px) {
    .texto h3, .texto h2{
        font-size: 2rem;
    }

    .frase{
        padding: 5% 15%;
        font-size: 1rem;
    }

    .autor{
        font-size: .8rem;
    }

}




