@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-space-start{
    display: flex;
    justify-content: space-around;
    align-items: start;
    flex-wrap: wrap;
}

main,footer,header{
    max-width: 1920px;
}

header{
    width: 100%;
    background-color: rgb(255, 255, 255);
    padding: 10px 0;
}

header img{
    width: 300px;
}

.imagen-cabecera{
    width: 25%;
    min-width: 400px;
    padding-left: 100px;
    margin-right: 10px;
}

.texto-cabecera{
    width: 75%;
    font-size: 1.8rem;
    font-weight: 300;
    color: #722369;
    border-left: 4px solid #ffae17;
    padding-left: 10px;
}

.contenedor-principal{
    position: relative;
    width: 100%;
    background-color: rgb(245, 245, 245);
}

.cabecera-curso{
    position: relative;
    width: 100%;
    height: 400px;
    background-image:  url('./rsc/cabecera-cfgs-sonido.jpg');
    background-size: cover;
    background-position: center;
}

.contenido-curso{
    width: 80%;
    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: 0px;
    font-size: 1.5rem;
}

.titulo-curso p:nth-child(2){
    font-size: 2.1rem;
}


.datos-curso{
    width: 90%;
    margin: 60px auto 60px;
    padding: 0 50px 0 100px;
}

.imagen-certiprof{    
    margin: 15px 0;
}

.imagen-certiprof img{
    width: 100%;
    min-width: 220px;
}

.numero-apartado-curso{
    text-align: center;
    display: inline-block;
    width: 50px;
    padding: 10px 0px;
    background-color: #722369;
    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: 10px;
    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;
}

summary::marker{
    font-size: 1rem;
    font-weight: 700;
    color: #ffae17;
}

.imagen-titulo{
    margin-top: 40px;
    width: 100%;
}

.imagen-titulo img{
    width: 70%;
    max-width: 400px;
}

.profesor{
    width: 100%;
    margin-bottom: 30px;
}

.profesor img{
    border-radius: 50%;
    width: 100%;
    max-width: 136px;
}

.profesor div:nth-child(1){
    width: 10%;
}

.profesor div:nth-child(2){
    width: 80%;
    margin-left: 20px;
    border-left: 3px solid #ff321b;
}

.salidas-profesionales{
    width: 100%;
}

.salida{
    width: 45%;
    margin: 10px 10px;
}

.salida p:nth-child(1){
    font-size: 1rem;
    font-weight: 700;
    background-color: #3666360c;
    margin: 0;
    padding-left: 10px;
}

.salida p:nth-child(2){
    font-size: 1rem;
    background-color: #e8e8e8;
    margin: 0px;
    padding-left: 10px;
}

.opiniones{
    width: 100%;
}

.opiniones img{
    width: 30%;
    margin-left: 10px;
}

.opinion{
    width: 40%;
}

.formulario{
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    right: 0;
    width: 20%; 
    min-width: 400px;
    height: 100vh;   
    background-color: #e8e8e8;
}

.cta-formulario-1{
    width: 100%;
    background-color: #722369;
    padding: 20px 0 20px;
}

.cta-formulario-1 p{
    font-size: 1.3rem;
    font-weight: 500;
    text-align: center;
    color:white;
}

.cta-formulario-2{
    width: 100%;
    background-color: #000000;
    padding: 20px 0 20px;
}

.cta-formulario-2 p{
    font-size: 1.1rem;
    text-align: center;
    color:rgb(255, 255, 255);
}

.componentes-formulario{
    width: 80%;
    margin: 60px auto 30px;
}

.componentes-formulario input,select{
    width: 100%;
    padding: 12px 15px;
    margin-top: 30px;
    color: #545454;
}

.componentes-formulario input[type=checkbox]{
    width: 20px;
    margin: 30px 10px 0 5px;
}

.componentes-formulario p{
    margin-top: 0px;
    font-weight: 700;
}

button{
    margin-top: 40px;
    width: 100%;
    border-radius: 10px;
    background-color: #ffae17;
    color:rgb(34, 34, 34);
    padding: 17px 10px;
    font-size: 1.1rem;
    cursor: pointer;
}

button:hover{
    background-color: #bb3526;
    color:white;
}

button:active{
    background-color: #ad7610;
}

.iconos-caracteristicas{
    width: 100%;
    padding: 20px 0 20px;
    background-color: #3666360c;
    flex-wrap: wrap;
}

.iconos-caracteristicas div{
    width: 17%;
    text-align: center;
    font-size: 3rem;
    margin: 0 15px
}

.iconos-caracteristicas p{
    font-size: 1rem;
    color:#722369;
    font-weight: 700;
}

footer{
    width: 100%;
    background-color: #000000;
    color:white;
    text-align: center;
    padding: 40px 10px;
}

.mas-info{
    display: none;
    position: fixed;
    z-index: 10;
    bottom: 12px;
    right: 25px;
    padding: 10px 25px;
    background-color: #ff841b;
    color:white;
    cursor: pointer;
    border-radius: 10px;
}

.mas-info a{
    text-decoration: none;
    color:white;
}

.imagen-pie img{
    width: 100%;
}

@media screen and (max-height: 800px){

    .formulario{
        height:100%;
    }

}

@media screen and (max-width: 1150px){

    .titulo-curso{
        width: 100%;
        padding-left: 80px;
    }

    .datos-curso{
        padding-left: 70px;
    }
    
    .imagen-titulo{
        width:100%;
    }

    .imagen-titulo img{
        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;
    }

}

@media screen and (max-width: 950px){

    header{
        justify-content: center;
    }

    .imagen-cabecera{
        padding-left: 50px;
    }

    .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;
    }

    .salida{
        width: 100%;
    }

    .opinion{
        width: 100%;
        margin-bottom: 30px;
    }

    .formulario{
        position: static;
        width: 100%;
        height: 100%;
        padding-bottom: 30px;
    }

    .iconos-caracteristicas div{
        width: 25%;
    }

    .mas-info{
        display: block;
    }

    footer{
        padding-bottom: 70px;
    }

    .titulo-curso span{
       display: block; 
       margin-left: 0 !important;
       margin-top: 5px;
    }

    .titulo-curso p:nth-child(1){
        padding-left: 0;
    }
    .titulo-curso p:nth-child(2){
        line-height: 50px;
    }

}