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

html{
    font-size: 16px;
    scroll-behavior: smooth;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

header{
    margin-top: 15px;
    width: 100%;
}

header img{
    width: 100%;
}

.boton-cta:hover{
    background-color: #bb3526;
}

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

.center-ver{
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: start;
    align-items: center;
}

#contendor-cta{
    width: 100%;
    margin-top:20px;
    background-color: #f5f5f5;
}

.texto-cta{
    width:45%;
    padding: 20px 10px 0px 70px;
    font-weight: bolder;
}

.texto-cta p:nth-child(1){
    color:#545454;
    font-size: 3.75rem;
}

.texto-cta p:nth-child(2){
    color:#d4b042;
    font-size: 3.75rem;
}

.texto-cta p:nth-child(3){
    color:#545454;
    font-size: 1.563rem;
    margin-top: 20px;
    font-weight: 500;
    font-style: italic;
}

.boton-cta{
    display: inline-block;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.25rem;
    padding: 15px;
    background-color: #ff321b;
    color: white;
    text-decoration:none;
    cursor:pointer;
    border-radius:10px;
    transition: background-color 1s;
}

.img-cta{
    width: 65%;
}

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

#contenedor-subtitle{
    margin: 0 auto;
    padding-top: 50px;
    width: 65%;
    font-size: 1.875rem;
    color:#545454;
    text-align: center;
}

.texto-nivel-cursos{
    font-size: 1.375rem;
    margin-top: 50px;
    margin-bottom: 25px;
    padding: 20px 0;
    width: 90%;
    text-align: center;
    border-top: 1px solid #d4b042;
    border-bottom: 1px solid #d4b042;
    color:#545454;
}

#contenedor-cursos p{
    text-align: center;
    color:#545454;
    font-size: 1.25rem;
    margin-bottom: 40px;
    padding: 0 15px;
}

.listado-areas{
    width: 100%;
}

.area{
    width:35%;
    margin: 0 20px 20px 20px;
}

.texto-area{
    width:100%;
    background-color:#d4b042;
    text-align: center;
    color:white;
    padding: 25px 0;
    font-size: 1.4rem;
}

.imagen-area{
    width:100%;
    background-color: #f7f7f7;
}

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

.listado-area{
    width: 100%;
    background-color: #f7f7f7;
    padding: 20px 65px;
}

.listado-area li{
    font-size: 1.1rem;
}

#contenedor-formulario{
    margin-top: 50px;
}

#contenedor-formulario p:nth-child(1){
    text-align: center;
    padding: 20px 15px 10px;
    color:#d4b042;
    font-size: 1.6rem;
    font-weight: bolder;
}

#contenedor-formulario p:nth-child(2){
    text-align: center;
    padding: 5px 15px;
    color:#545454;
    font-size: 1.2rem;
    font-weight: 500;    
}

.formulario{
    width: 20%;
    min-width: 300px;
    margin: 25px 0;    
    background-color: #545454;
    padding: 30px;
}

.formulario input, select{
    width: 100%;
    margin-bottom: 15px;
    padding: 10px 5px;  
    border-radius: 5px;  
    color: #545454;
}

.formulario input::placeholder{
    color: #545454;
}

.formulario p{
    color: white;
    margin: 15px 0;    
}

button{
    margin-top: 25px;
    width: 100%;
    border-radius: 10px;
    background-color: #ff321b;
    color:white;
    padding: 10px;
    font-size: 1.1rem;
    transition: background-color 1s;
    cursor: pointer;
}

button:hover{
    background-color: #bb3526;
}

footer{
    text-align: center;
    margin-top: 50px;
    width: 100%;
    background-color: #545454;
    padding: 50px 0;
    color: white;
    font-size: 1rem;
}


@media all and (max-width:1200px){

    #contenedor-cta{
        width: 100%;
        flex-direction: column;
    }

    .texto-cta{
        width: 60%;
    }

    .boton-cta{
        margin-bottom: 25px;
    }

    .formulario{
        width: 30%;
    }

}

@media all and (max-width:980px){

    .texto-cta{   
        width: 90%;
    }
    
    .formulario{
        width: 50%;
    }
            
    .area{
        width: 100%;
    }
            
}      


@media all and (max-width:650px){

    html{
        font-size: 14px;
    }

    .texto-cta{   
        padding: 20px 0;
        text-align: center;
    }

    #contenedor-subtitle{
        width: 80%;
    }

}

