/*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;
    box-shadow: 0 0 10px 10px black;
}

/*.container*/
main .container img {
    height: 113vh;
    width: 100%;
}

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

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

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

main .time {
    display: none;
}

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

main .datos_nombre {
    justify-items: center;
}

main .datos_registro {
    display: flex;
    justify-content:center;
}

main .datos_registro img {
    width: auto;
    height: 10vh;
    margin: 12vh 5vh;
    background-image: url("../img/ajedrez.gif");
    background-size:cover ;
}

main .registro {
    width: auto;
    height: 100%;
    font-size: 4vh;
    background-color:rgb(205, 205, 205);
    text-align: center;
    margin-top: 10vh;
    box-shadow: 0 0 10px 5px var(--azul);
}

main .registro a {
    color: red;
    text-align: center;
}

main .datos_registro :hover {
    background-color: black;
    color: white;
    box-shadow: 0 0 5px 0 white;
}

main .datos_generales {
    display: flex;
    justify-content: space-evenly;
}

main .maestro {
    font-size: 3vh;
    height: 100%;
    padding: 1vh 3vh;
}

/*main .time {
    font-size: 3vh;
    height: 100%;
}*/

main .contacto {
    display: block;
    font-size: 3vh;
    padding: 1vh 3vh;
}

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: 25px 13px;
    }

    main .container img {
        height: 103vh;
        width: 100%;
    }

    main .datos img {
        height: 10vh;
        width: auto;
    }

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

    main .maestro {
        margin-top: 12vh;
        font-size: 2vh;
    }

    main .contacto {
        font-size: 2vh;
        margin-top: 5vh;   
    }

    /*main .time {
        font-size: 2vh;
        margin-top: 5vh;
    }

    main .cel {
        font-size: 2vh;
        margin-top: 5vh;
    }*/

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

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

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

    main .container img {
        height: 95vh;
        width: 100%;
    }

    main .datos img {
        height: 10vh;
        width: auto;
    }

    main .maestro,
    main .contacto  {
        font-size: 1.5vh;
    }

    /*main .cel {
        font-size: 3vh;
        margin-top: 5.5vh;
    }*/

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