@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.2/font/bootstrap-icons.min.css");

@font-face {
    font-family: "poppins-regular";
    src: url("./rsc/poppins/Poppins-Regular.ttf");
}

*{
    box-sizing: border-box;
    padding: 0;
    border: 0;
    margin: 0;
}

html{
    font-size: 16px;
    font-family: 'poppins-regular';
}

.flex-wrap{
    flex-wrap: wrap;
}

.flex-start-start{
    display: flex;
    justify-content: start;
    align-items: start;
}

.flex-start-center{
    display: flex;
    align-items: center;
}

.flex-center-start{
    display: flex;
    justify-content: center;
    align-items: start;
}

.flex-center-center{
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-space-start{
    display: flex;
    justify-content: space-around;
    align-items: start;
    flex-wrap: wrap;
}

header{
    width: 100%;
    background-color: #6f0f24;
    padding: 10px 0;
}

header img{
    width: 200px;
}

.imagen-cabecera{
    width: 20%;
    min-width: 400px;
    padding-left: 100px;    
}

.texto-cabecera{
    width: 80%;
    font-size: 1.8rem;
    font-weight: 300;
    color: #ffffff;
    border-left: 4px solid #ff7f00;
    padding-left: 10px;
}

.contenedor-principal{
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    position: relative;
    width: 100%;
    background-color: rgb(245, 245, 245);
}

.cabecera-curso{
    position: relative;
    width: 100%;
    height: 400px;
    background-image:  url('./rsc/cabecera-esah-empresas.jpg');
    background-size: cover;
    background-position:left ;
}

.contenido-curso{
    width: 90%;
    background-color: rgb(245, 245, 245);
}

.titulo-curso{
    position: absolute;
    bottom: 0;
    padding: 30px 25px 30px 200px;
    background-color: #000000ab;
    color:white;
}

.titulo-curso p:nth-child(1){
    padding-left: 10px;
    font-size: 1.5rem;
}

.titulo-curso p:nth-child(2){
    font-size: 2.2rem;
}

.titulo-curso p:nth-child(3){
    font-size: 1.8rem;
    color:#ff7f00;
}

.datos-curso{
    width: 90%;
    margin: 60px auto 60px;
    padding: 0 50px 0 100px;
}

.numero-apartado-curso{
    box-shadow: -4px 6px 25px 0px rgba(201,201,201,1);
    text-align: center;
    display: inline-block;
    width: 50px;
    padding: 10px 0px;
    background-color: rgba(181,22,22,1);
    color:white;
    margin-right: 10px;
    margin-bottom: 5px;
}

.apartado-curso{
    margin-top: 60px;
    color:black;
}

.apartado-curso h2{
    margin: 0 0 35px;
}

.apartado-curso p{
    font-size: 1rem;
    margin-top: 10px;
    margin-left: 30px;
    color:rgb(7, 7, 7);
}

.apartado-curso ul{
    font-size: 1rem;
    margin-top: 10px;
    margin-left: 30px;
}

.apartado-curso details{
    font-size: 1rem;
    margin-top: 10px;
    margin-left: 30px;
    margin-right: 30px;
    background-color: #e8e8e8;
    padding: 15px;
    cursor: pointer;
}

.instituciones{
    width: 100%;
    margin-top: 50px;
    text-align: center;
}

.institucion{
    width: 45%;    
}

.logo-institucion{
    background-color: rgb(111, 15, 36);
    padding: 10px 0;
    border-radius: 15px 15px 0 0;
}

.logo-institucion img{
    width: 60%;
}

.logo-institucion img.lezama{
    width: 30%;
}

.texto-institucion p:nth-child(1){
    background-color: #ffffff;
    color:#000000;    
    margin: 0;    
    padding: 10px 15px;
}  

.texto-institucion p:nth-child(2){ 
    background-color: #000000;
    font-size: 1.2rem;
    color: #ffffff;
    margin: 0;
    padding: 10px 0;
    border-radius: 0 0 15px 15px;
}    

.video{
    padding: 50px 0 60px;
    width: 90%;
}

.video p{
    font-size: 1.5rem;
    font-weight: 700;
    padding-bottom: 5px;
}

iframe{
    width: 70%;
    aspect-ratio: 16 / 9;
}

summary::marker{
    font-size: 1rem;
    font-weight: 700;
    color: rgba(181,22,22,1);
}

.imagen-titulo{
    margin-top: 15px;
    width: 65%;
}

.imagen-titulo img{
    width: 100%;
}

.profesores{
    width: 100%;
}

.profesor{
    width: 100%;
    margin-bottom: 30px;
}

.profesor img{
    border-radius: 50%;
    width: 80%;
    max-width: 136px;
}

.profesor div:nth-child(1){
    width: 10%;
}

.profesor div:nth-child(2){
    width: 80%;
    margin-left: 20px;
    border-left: 3px solid #ff7f00;
}

.porque-esah{
    margin-top: 25px;
    background-color: rgb(111, 15, 36);
    color: #ffffff;
    padding: 10px 15px 25px;
    border-radius: 15px;
}

.porque-esah p{
    color: #ff7f00;
    font-size: 1.5rem;
}

.empresas{
    width: 100%;
    margin-top: 35px;
}

.empresas img{
    width: 80%;
}

.iconos-caracteristicas{
    width: 100%;
    padding: 20px 0 20px;
    background-color: #f0efed;
    flex-wrap: wrap;
}

.iconos-caracteristicas div{
    width: 17%;
    text-align: center;
    font-size: 3rem;
    margin: 0 5px
}

.iconos-caracteristicas p{
    font-size: 1rem;
    color:#6f0f24;
    font-weight: 700;
}

footer{
    width: 100%;
    background-color: #000000;
    color:white;
    text-align: center;
    padding: 40px 10px;
}

@media screen and (max-width: 1150px){

    .titulo-curso{
        width: 100%;
        padding-left: 80px;
    }

    .datos-curso{
        padding-left: 70px;
    }
    
    .imagen-titulo{
        width:80%;
    }

    .iconos-caracteristicas div{
        width: 30%;
    }
    
    .profesor{
        flex-direction: column;
    }
   
    .profesor div:nth-child(1){
        display: flex;
        justify-content: center;
        width: 100%;
        margin: 10px 0;
    }

    .profesor div:nth-child(2){
        width: 100%;
        margin: 0;
    }

    iframe{
        width: 90%;
    }

    .institucion{
        width: 90%;
        margin-bottom: 30px;
    }

    .empresas img{
        width: 80%;
    }

}

@media screen and (max-width: 950px){

    header{
        justify-content: center;
    }

    .texto-cabecera{
        display: none;
    }
    
    .contenedor-principal{
        flex-direction: column;
    }

    .titulo-curso{
        padding-left: 50px;
    }

    .contenido-curso {
        width: 100%;
    }

    .datos-curso{
        width: 97%;
        padding: 0px 10px;
    }

    .iconos-caracteristicas div{
        width: 25%;
    }

}