/*Colores*/
:root {
    --adown: #3771d754;
    --rojo: #9c0312;
    --azul: #1d3968;
    --rdown: #c11627;
    --gris: #515151;
}

/*Reset*/
* {
    margin: 0;
    padding: 0;
    /*box-sizing: border-box;*/
    font-family: 'Times New Roman', Times, serif;
}

/* Main */
main {
    /*Tamaño de Altura*/
    height: auto;
    padding: 20px 10px;
    position: relative;
    min-width: 660px;
    display: block;
    align-items: center;
}

main .container {
    height: auto;
    width: 100%;
    padding: 0;
    margin: 0;
    display: flex;
}

main .container img {
    height: 120vh;
    width: 100%;
    box-shadow: 0 0 10px 10px black;
}

main .datos {
    display: block;
    position: absolute;
    height: auto;
    width: 99%;
}

main .nombre,
main .maestro,
main .time {
    background-color: white;
    text-align: center;
    box-shadow: 0 0 10px 5px var(--azul);
}

main .nombre {
    font-size: 5vh;
    margin-top: 3vh;
    justify-items: center;
}

main .datos_nombre {
    justify-items: center;
}

main .maestro {
    margin-top: 10vh;
    font-size: 5vh;
}


main .datos_maestro {
    display: flex;
    justify-items: flex-start;
    justify-content: space-around;
}

main .datos_maestro img {
    margin-top: 8vh;
    width: 65vh;
    height: 25vh;
    box-shadow: 0 0 10px 8px white;
}

main .time {
    font-size: 3vh;
    margin-top: 11vh;
    margin-bottom: 4vh;
}

main .datos_time {
    display: flex;
    justify-items: flex-end;
    justify-content: space-around;
}

main .datos_time img {
    margin-top: 17vh;
    width: 80vh;
    height: 25vh;
    box-shadow: 0 0 10px 8px white;
}

main .back {
    width: auto;
    margin: 40px 520px 0;
    font-size: 4vh;
    background-color: var(--rojo);
    border-radius: 10px;
    border: 2px solid black;
}
  
  main .back a {
    color: white;
    text-align: center;
    text-decoration: none;
}
  
  main .back :hover {
    color: black;
    background-color: white;
    box-shadow: 0 0 5px 5px black;
    border-radius: 10px;
}

/*Responsive 'Main'{769px}*/
@media screen and (max-width: 1000px) {

    /*Main*/
    main {
        width: 100%;
        height: auto;
        padding: 20px 10px;
    }

    main .nombre {
        font-size: 4vh;
    }

    main .maestro {
        margin: 13vh 0 0 0;
        font-size: 2.5vh;
        height: 13vh;
    }

    main .datos_maestro img {
        margin: 7vh 5vh 0 0;
        width: 30vh;
        height: 25vh;
    }

    main .time {
        font-size: 2.5vh;
        margin-top: 12vh;
        height: auto;
    }

    main .datos_time img {
        width: 40vh;
    }

    main .back {
        margin: 45px 280px 0;
        width: 30%;
    }
}

/*Responsive 'Header' {430px}*/
@media screen and (max-width: 550px) {

    /*Main*/
    main {
        padding: 12px;
        margin: 0;
    }

    main .container {
        height: auto;
        width: 100%;
    }

    main .datos_time img {
        width: 30%;
        margin-top: 12vh;
    }

    main .time {
        font-size: 2vh;
        margin-right: 3vh;
    }

    main .back {
        margin: 50px 240px 0;
    }
}
