@charter "utf-8";

@font-face {
    font-family: 'robotoregular';
    src: url('roboto-regular-webfont.eot');
    src: url('roboto-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('roboto-regular-webfont.woff2') format('woff2'),
         url('roboto-regular-webfont.woff') format('woff'),
         url('roboto-regular-webfont.ttf') format('truetype'),
         url('roboto-regular-webfont.svg#robotoregular') format('svg');
    font-weight: normal;
    font-style: normal;

}


/* COLORES

back #000000
cuadros #959595
amarillo #ffbd1f
tipo robotoreg

*/



/*      BODY       */

body {
    background-color: black;
    display:block;
    align-content: center;
    font-family: 'robotoregular';
    max-width: 960px;
    height: auto;
    margin: auto;
}

h3 {
    font-family: 'robotoregular';
    padding-bottom: 1.3em;
    padding-top: 0.5em;
}

body section header {
    padding-top: 2em;
    text-align: center;
    color: black;
    background-color: #ffbd1f;
    font-family: 'robotoregular';
}


/*      HEADER      */

header {
    margin-bottom: 5px;
    background-color: #161b24;    
    width:100%;
}

header h3{
    font-size: 25px;
    font-family: 'roboto';
}


@media (max-width:766px) {
    header{
        width: auto;
    }
}




/*     MENU DESPLEGABLE   */

* {
    padding:0;
    margin:0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-family: 'robotoregular';
}

header nav {
    background-color: black;
    border: 3px solid #ffbd1f;
    color: #ffbd1f;
    width:100%;
    z-index:1000;
    max-width:1000px;
    width:100%;
    font-size: 15px;
    margin-bottom: 2em; 
}

header nav ul{
    list-style: none;
    
}

header nav ul li{
    display:inline-block;
    position: relative;
    align-content: space-between;
    justify-content: space-between;
    justify-content: space-around;
}

header nav ul li:hover{
    background: rgba(224, 224, 224, 0.19);
}

header nav ul li:hover .children{
    display:block;
}

header nav ul li .children{
    display:none;
    background-color: black;
    position: absolute;
    width: 150%;
    z-index: 1000;
    
}

header nav ul li .children li{
    display:block;
    border-bottom: 1px solid rgba(255,255,255,0.3);
        
}

header nav ul li .children li a{
    display:none;
    
}


header nav ul li a {
    color: #959595;
    text-decoration: none;
    display:block;
    padding:20px;
    font-family: 'robotoregular'; 
}

@media screen and (max-width:800px) {
    header nav {
    width: 100%;
    margin:0;
    }
    
    header nav ul li {
    display:block;
    border-bottom: 1px solid rgba(255,255,255,0.3)
    }
    
    header nav ul li a{
        display:block;
        margin: -5px;
    }
    
    header nav ul li .children{
        width:100%;
        position:relative;
    }
    
    header nav ul li:hover .children{
        display:block;
    }
    
    header nav ul li .children li a{
        margin-left: 20px;
    }
}

/*     SECTION   */

.perfil {
    background-color: #959595;
    width: 960px;
    display: flex;
    justify-content: space-between;
    flex-flow: row;
}

.infoperfil{
    display: block;
    width: 487px;
    padding: 3em 3.5em;
    background-color: black;
    margin: 1.5em;
    justify-content: center;
}

.infoperfil img{
    margin-bottom: 2em;
}

.materias h2{
    display: block;
    justify-content: center;
    width: 398px;
    color: #ffbd1f;
    text-align: left;
    font-size: 17px;
    padding-left: 0.5em
}


.materias p{
    display: block;
    justify-content: center;
    width: 370px;
    background-color: #ffbd1f;
    color: black;
    text-align: left;
    font-size: 13px;
    padding: 1em 1.5em;
}
@media (max-width:766px) {
    .perfil{
        display: flex;
        width: auto;
        flex-flow: column;    
    }
       
    .infoperfil{
        display: block;
        width: auto;
    }
    
    .materias{
        display: flex;
        flex-flow: column;
        width: auto;
    }
    
    .materias h2{
        font-size: 13px;
        width: auto;
    }
    
    .materias p{
        width: auto;
        font-size: 10px
    }
}



.iconos-textos{
    width: 366px;
    display: flex;
    flex-flow: column;
    margin-top: 5em;
    margin-bottom: 2em;
    margin-right: 3em;
    
}

.cajas{
   display: flex;
    flex-flow: row;
    margin-top: 1.5em;
    border: 2px solid #ffbd1f;
    padding: 0.7em 3em 0.7em 2em;

}

.cajas p{
    font-size: 13px;
    margin-left: 1em;
    margin-top: 1.5em;
    color: black;
}

.iconos-textos a{
    text-decoration: none;
}



@media (max-width:766px) {
    .iconos-textos{
        display: block;
        width: auto;
        margin-top: 0.7em;
        margin-left: 2.7em
    }
    .cajas p{
    font-size: 11px;
    margin-left: 1em;
    margin-top: 2.2em;
    color: black;
    
}
    .cajas{
        justify-content: flex-start;
        text-align: left;
        padding-left: 3.9em;
    }

}

@media screen and (max-width:800px){
    section img{
        width:100%;
    }
    section div article img {
        width:auto; 
        margin-bottom: 2px;
    }   
}

    
/*    TEXTO HOBBIES  */

.hobbies {
    background-color: #ffbd1f;
    color: #161b24;
    text-align: center;
    margin-top: 2em;
    padding: 1em;
    border: 2px solid black;
}

.hobbies h4{
    font-size: 20px;
    color: #959595;
    text-decoration:underline;
}

.hobbies p{
      font-size: 13px;
      
}

.hobbies a{
    text-decoration: none;
    color: black;
}


.hobbies a:hover{
    color: #959595;
}



/*     SLIDER           */


.superdiv{
    width: 960px;
    display: flex;
    flex-flow: row;
}

.slider {
    width: auto;
    background-color: black;
    padding: 2em 2em;
    display: flex;
    flex-flow: column;
    justify-content: center;
    border: 2px solid #959595;
    margin-top: 2em;
}

.slider p{
    color: #959595;
    font-size: 16px;
    text-align: center;
    padding-bottom: 1em;
}


.fotos {
    width: 25%;
    background-color: black;
    padding: 2em 0.5em 2em 1.5em;
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    
}

.fotos img{
    padding-bottom: 1em;
    padding-top: 1em;
}



@media (max-width:768px) {
    .superdiv{
        display: flex;
        flex-flow: column;
        width: auto;
    }
    
    .fotos{
        display: block;
        flex-flow: column;
        width: auto;
        padding: 2em 5em;
    }
}



/*    ROTULO Y PROPUESTA    */

.rotulo{
    width: 960px;
    background-color: #959595;
    margin-bottom: 1em;
    color: black;
    text-align: center;
    font-size: 12px;
    padding: 1em 2em;
}

.texto-rotulo{
    margin: 0.5em 2em
}

.texto-rotulo h4{
    font-size: 15px;
    text-decoration: underline;
    margin-bottom: 0.3em
}

.comitente{
    margin: 0 5em 1em 5em;
}

.comitente a{
    margin-top: 1.5em;
    font-size: 12px;
    color: black;
}

.comitente a:hover{
    color: white;
}

.comitente a{
    text-decoration: none;
}

.comitente p{
    text-align: left;
    margin-top: 0.3em;
    margin-bottom: 1em;
    color: black;
}


@media (max-width:768px) {
    .rotulo{
        width: auto;
    }   
    .texto-rotulo{
        margin-top: 2em;
        width: 90%;
    }

    .comitente{
        margin-top: 3em;
        width: 90%;
        margin: 0 1.5em;
        margin-bottom: 2em;
    }
}


/*    FOOTER   */

footer{
    padding: 1.5em 0.5em 1em 0.5em;
    margin: 0;
    background-color: #ffbd1f;    
    font-family: 'robotoregular';
    text-align: center;
    font-size: 11px;
}

footer p {
    color:black;
}

@media (max-width:768px) {
    footer{
        font-size: 9px;
    }
    }

