@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;;
}

.todos{
    display: flex;
    justify-content: center;
    padding: 30px;
}

.todos img{
    width: 600px;
}

.foto{
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    display: flex;
}

.foto img{
    width: 100%;
}

.curso{
    width: 100%;
    position: absolute;
    bottom: 0;
    background-color: rgba(11, 4, 18, 0.8);
}

.curso p{
    text-align: center;
    padding: 30px;
    font-weight: 300;
    font-size: 25px;
    letter-spacing: 2px;
    color: white;
}


.contenido{
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 30px;
    margin-top: 20px;
}

.cuadros{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 140px;
    height: 130px;
    border-radius: 10px;
    background-color: brown;
    box-shadow: 2px 2px 4px 0px rgba(0,0,0,.6);
}

h1{
    font-size: 15px;
    font-weight: 300;
    padding: 20px;
    text-align: center;
    color: white;
}

.cuadros a{
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    letter-spacing: 1px;
    font-weight: 300;
    top: 115px;
    width: 100px;
    height: 25px;
    padding: 10px;
    font-size: 10px;
    text-align: center;
    border-radius: 10px;
    text-decoration: none;
    background-color: rgb(239, 152, 52);
    border: 3px solid white;
}

.cuadros a:hover{
    background-color: rgb(135, 116, 116);
    font-weight: bold;
}

.aula {
    display: flex;
    justify-content: center;
    margin: 40px
}

.aula a{
    position: ;
    background-color: rgb(239, 152, 52);
    display: flex;
    width: 120px;
    height: 60px;
    border-radius: 30px;
    justify-content: center;
    align-items: center;
    padding: 15px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    color: white;
    box-shadow: 2px 2px 4px 0px rgba(0,0,0,.6);
}

.aula a:hover{
    background-color: brown;
    font-weight: bold;
}




/* Móviles en horizontal o tablets en vertical*/
@media (max-width: 767px){
     .foto{
        width: 100%;
    }

    .contenido{
        width: 100%;
    }

    .curso p{
        font-size: 20px;
        padding: 10px;
    }

    .todos img{
        width: 600px;
}


}


/* Móviles en vertical*/
@media (max-width: 480px){
     .foto{
        width: 100%;
    }

    .contenido{
        width: 100%;
    }

    .curso p{
        font-size: 15px;
        padding: 10px;
    }

    .todos img{
        width: 300px;
    }


}