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

#cursos h1{
    text-align: center;
    padding-bottom: 10px;
    padding-top: 25px;
    font-weight: 300;
}

#cursos .linea{
    border-top: 10px solid #fac167;
    margin-bottom: 20px;
}

#cursos .contenedor-imagenes{
   
    display:flex;
    max-width: 1200px;
    width: 85%;
    margin: auto;
 
    justify-content: space-around;
    flex-wrap: wrap;
    border-radius:10px;
}

#cursos .contenedor-imagenes .imagen{
    width: 32%;
    position: relative;
    height:250px;
    margin-bottom:15px;
    box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, .75)
}
#cursos .imagen img{
    width: 100%;
    height:100%;
    object-fit: cover;
}

#cursos .overlay{
    position: absolute;
    bottom: 0;
    left: 0;
    background:rgba(253,237,201,0.9);
    width: 100%;
    height: 0;
    overflow: hidden;
    transition: .5s ease;
}

#cursos .overlay h2{
    color: #000;
    background-color: #0000;
    font-weight: 200;
    font-size:20px;
    position: absolute;
    top: 50%;
    left:50%;
    text-align: center;
    transform: translate(-50%, -50%);
}

#cursos .imagen:hover .overlay{
    height:40%;
    cursor: pointer;
}
#cursos .rotulo {
    position: absolute;
    top: 10%;
    left: 10%;
    padding: 10px;
    font-size: 20px;
    font-weight: 600;
	background-color: #fdedc9;
    text-align: center;
    border-style: solid;
    border-color:#966245;
    border-radius: 20px;
}

@media screen and (max-width:1000px){
    #cursos .contenedor-imagenes{
        width: 90%;
    }
    #cursos .contenedor-imagenes .imagen{
        width: 48%;
    }
}

@media screen and (max-width:600px){
    #cursos h1{
        font-size:22px;
    }
    #cursos .contenedor-imagenes{
        width: 98%;
    }
    #cursos .contenedor-imagenes .imagen{
        width: 80%;
    }
}