@font-face {
    font-family: 'Roboto';
    src: url(../../Roboto-Mono-regular.woff2);
}
@font-face {
    font-family: 'Arapey';
    src: url(../../Arapey-Regular.woff2);
}
body{
    background-color: #363124;
    text-align: center;
    color: white;
    font-family: 'Roboto';
    margin: 0;
    overflow-x: hidden;
}
.flotantes{
    position: fixed;
    width:4vw;
    top:20%;
    z-index: 3;
}
.flotantes img{width: 100%;}
#redes{
    left: 1%;
    text-align: left;
}
#cuentas{
    right: 2vw;
}
#volver{
    position: fixed;
    left: 1vw;
}
section{
    width: 88vw;
    height: 100vh;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}
.contenedor{
    position: relative;
    display: block;
    height: 80%;
}
#directiva .contenedor{
    width: 50%;
}
#profesores .contenedor{
    width: 100%;
}
.fotos{
    text-align: center;
    height: 80%;
    display: flex;
}
figure{
    margin: 0;
}
figure img{
    width: 90%;
}
#directiva figure{
    width: 50%;
}
#profesores figure{
    width: 25%;
}
h1{
    font-size: x-large;
}
h2{
    font-size: large;
}
p{
    font-size: small;
}
a{
    color: #d68482;
    font-weight: bold;
    text-decoration: none;
}
hr{
    width: 80%;
}
@media screen and (max-width: 768px) {

    .flotantes{
        width:10vw;
    }
    #volver{
        position: absolute;
    }
    section{
        width: 77vw;
        height: auto;
    }
    .fotos{
        width: 100%;
        height: 80%;
        display: block;
    }
    #directiva .contenedor{
        width: 100%;
    }
    figure{
        display: flex;
        align-items: center;
    }
    figure img{
        width: 30%;
        height: 30%;
    }
    #directiva figure{
        width: 100%;
    }
    #profesores figure{
        width: 100%;
    }
    figcaption{
        padding: 2%;
        width: 70%;
        height: 100%;
    }
    p{
        font-size: small;
    }
    hr{
        width: 70%;
    }
}