/* HOJA DE ESTILOS */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    font-family: 'Raleway', sans-serif;
}
header{
    width: 100%;
    height: 60px;
    background: rgba(100,100,100,0.1);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}
.contenedor{
    width: 98%;
    margin: auto;
}
.contenedor img{
    float: left;
}
header .contenedor{
    display: table;
}

/* MENU */
#menu-bar{
    display: none;
}
header label{
    float: right;
    font-size: 35px;
    margin: 12px 0;
    cursor: pointer;
}
.menu{
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(51,51,51,0.9);
    transition: all 0.5s;
    transform: translateX(100%);
}
.menu a {
    display: block;
    color: #fff;
    height: 50px;
    text-decoration: none;
    padding: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.5);
}
.menu a:hover{
    background: rgba(255,255,255,0.3);
}
#menu-bar:checked ~ .menu{
    transform: translateX(0%);
}

section{
    width: 100%;
    margin-bottom: 25px;
}

/* BANNER */
#banner .contenedor{
    position: absolute;
    top: 35%;
    left: 46%;
    transform: translateX(-50%) translateY(-50%);
    color: #fff;
}
#banner img{
    position: relative;
    width: 100%;
    margin-top: 12.5%;
}
#banner h1{
    position: absolute;
    margin: 5%;
    margin-left: 8.5%;
    margin-top: -21%;
    font-size: 85px;
    font-style: bold;
    color: firebrick;
}
#banner p{
    margin: 10px;
    margin-left: 45px;
    font-size: 25px;
    font-style: thin;
    color: white;
    background-color: firebrick;
    margin-right: 9%;
    margin-top: -3%;
}


/* BARRA LIKE */
#catedra .contenedor{
    position: relative;
    background-color: firebrick;
    margin-top: -29.5px;
    width: 100%;
    height: 50px;
}
#catedra h2{
    margin: 20px;
    margin-bottom: -1.5%;
    margin-top: -13%;
    font-size: 30px;
}
#catedra p{
    margin: 20px;
    margin-top: -2.5%;
    font-size: 17px;
    color: white;
}

#catedra img{
    position: absolute;
    margin-left: -35%;
    margin-top: -3%;
}
/* INFORMACION */
#informacion .contenedor{
    text-align: justify;
    margin: 25px;
    margin-top: -4%;
    margin-right: 11px;
    width: 90%;
    font-size: 13px;
}

/* COMENTARIOS */
#comentarios0 img{
    position: relative;
    margin: -2%;
    margin-top: -16%;
    width: 115%;
}
#comentarios0 h2{
    position: absolute;
    margin-left: 35%;
    margin-top: -3%;
    font-size: 14px;
    font-style: italic;
    color: gray;
}
#comentarios1 img{
    position: relative;
    margin: -2%;
    margin-top: -20%;
    width: 115%;
}
#comentarios1 p{
    position: absolute;
    text-align: justify;
    margin: 35%;
    margin-top: 18%;
    width: 58%;
    font-size: 13px;
    font-style: italic;
    color: gray;
}
#comentarios2 img{
    position: relative;
    margin: -2%;
    margin-top: -20%;
    margin-bottom: -1.2%;
    width: 115%;
}
#comentarios2 p{
    position: absolute;
    text-align: justify;
    margin: 35%;
    margin-top: 39%;
    width: 58%;
    font-size: 13px;
    font-style: italic;
    color: gray;
}

@media (min-width:1024px){
    .menu{
        position: static;
        width: auto;
        height: auto;
        transform: translateX(0%);
        float: right;
        display: flex;
        background: rgba(100,100,100,0.1);
    }
    .menu a{
        border: none;
        color: firebrick;
    }
    header label {
        display: none;
    }
    .contenedor{
        width: 1500px;
    }
    #banner .contenedor {
        width: 1500px;
    }
    #banner img{
        width: 1000px;
        margin-left: 25%;
        margin-top: 3%;
    }
    #banner h1{
        width: 1000px;
        margin-left: 29%;
        margin-top: 24%;
    }
    #banner p{
        width: 800px;
        margin-left: 29.4%;
        margin-top: 30%;
    }
    #catedra .contenedor{
        width: 1000px;
        margin-left: 25%;
        margin-top: 5%;
    }
    #catedra h2{
        width: 1000px;
        margin-left: 5%;
    }
    #catedra p{
        width: 1000px;
        margin-left: 5%;
        margin-top: 0.4%;
    }
    #catedra img{
        width: 600px;
        margin-left: 35%;
        margin-top: -1%;
    }
    #informacion .contenedor{
        width: 920px;
        margin-left: 27.5%;
        margin-top: -1%;
    }
    #comentarios0 img{
        width: 1150px;
        margin-left: 17%;
        margin-top: -8%;
    }
    #comentarios0 h2{
        width: 500px;
        margin-left: 33%;
        margin-top: 1%;
        font-size: 17px;
    }
    #comentarios1 img{
        width: 1150px;
        margin-left: 17%;
        margin-top: -13%;
    }
    #comentarios1 p{
        width: 500px;
        margin-left: 33%;
        margin-top: 12%;
        font-size: 17px;
    }
    #comentarios2 img{
        width: 1150px;
        margin-left: 17%;
        margin-top: -13%;
    }
    #comentarios2 p{
        width: 500px;
        margin-left: 33%;
        margin-top: 23%;
        font-size: 17px;
    }
}
