

@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,700');


body {
    margin: 0px;
    font-family: 'Open Sans', sans-serif;
    
    
}

body, html {
    height: 100%;
}

.clear {
    clear: both;
}


/*MENU*/

nav {
    height: 100%;
    width: 25%;
    background-color: aqua;
    position: absolute;
    left: 0px;
    top: 0px;
    z-index: 1000;
    
}

nav ul {
    margin: 0px;
    padding: 50% 0px 0px 0px;
    list-style-type: none;
}

nav ul li a {
    display: block;
    color: #fff;
    font-size: 36px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    height: 25px;
    letter-spacing: -5px;
    
}

nav ul li a:hover {
    color: #589086;
}

.padding_1 {
    padding-left: 40px;
}


/*Menú hamburguesa*/
        
        .hamburger {
            position: fixed;
            top: 20px;
            right: 20px;
            width: 30px;
            z-index: 1500;
        }
        
        
        .menu_hamburger {
            width: 100%;
            height: 0px;
            overflow: hidden;
            background-color: rgba(0, 0, 0, 0.9);
            position: fixed;
            top: 0px;
            left: 0px;
            z-index: 1200;
            -webkit-transition: all 300ms ease-in-out;
            -moz-transition: all 300ms ease-in-out;
            -ms-transition: all 300ms ease-in-out;
            -o-transition: all 300ms ease-in-out;
            transition: all 300ms ease-in-out;
        }
        
        .menu_hamburger ul {
            margin: 0px;
            padding-top: 200px;
            box-sizing: border-box;
            -webkit-box-sizing: border-box;
            list-style-type: none;
        }
        
        .menu_hamburger ul li a {
            display: block;
            color: #fff;
            text-align: center;
            text-decoration: none;
            width: 100%;
            height: 80px;
            font-size: 24px;
            
        }
        
        .menu_hamburger ul li a:hover {
            color: gray;
        }


/*CABECERA*/

header {
    text-align: center;
    font-size: 32px;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    padding: 40px 0px;
    font-weight: 300;
    background-color: #333333;
    color: #fff;
    width: 100%;
    margin: auto auto 5px auto;
} 


/*Redes sociales*/

.contenedor_rrss {
    position: absolute;
    top: 3%;
    left: 1%;
    z-index: 1500;
}

.imagen_rrss {
    width: 1.5%;
    margin-right: 5px;
}

/**/


.contenedor {
    width: 99%;
    margin: auto;
    height: 100%;
    
}

.foto {
    width: 30%;
    height: auto;
    position: fixed;
    left: 2%;
    bottom: 5%;
}

.contenedor_foto {
    width: 50%;
    height: 100%;
    float: left;
    margin: 0px 0.5% 0px 0px;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    padding: 35px;
    background-color: #589086;
    
}

.contenedor_texto {
    width: 49.5%;
    text-align: justify;
    font-size: 12px;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    padding: 10px;
    height: 100%; 
    background-color: #fff390;
    float: left;
    
    
}

.texto {
    width: fit-content;
    margin: auto;
    
}

iframe {
    width: 100%;
}

/*QUERIES*/

/*Tablet 1024px*/

@media screen and (max-width:1024px) {
    header {
        z-index: 900;
    }
    
    .contenedor_texto {
        width: 69.5%; 
    }
    
    .contenedor_foto {
        width: 30%;
    }
    
    .foto {
        width: 25%;
    }
     
    .contenedor_rrss {
        top: 2%;
        left: 2%;
    }
    
}

/*Tablet 768px*/

@media screen and (max-width:768px) {
    .imagen_rrss {
        width: 2.5%;
        margin-right: 5px;
    }
   
     .contenedor_rrss{
      top: 2%;
      left: 2%;
    }  
    
    
    .imagen_rrss {
        width: 3%;
        margin-right: 10px;
    }
}



/*Móvil 667px*/

@media screen and (max-width:667px){
    
    header {
        box-sizing: border-box;
        -webkit-box-sizing: border-box;
        padding: 20px 0px;
        font-size: 20px;
        position: fixed;
    }
   
    .hamburger {
        padding: 0px 15px !important;
    
    }
    
    .contenedor_texto {
        width: 99%; 
        float: none;
        height: auto;
        margin: auto;
    }
    
    .contenedor_foto {
        width: 99%;
        float: none;
        height: auto;
        padding-bottom: 0;
        margin: auto auto 5px auto;
    }
    
    .foto {
        width: 30%;
        position: relative;
        left: -25px;
        margin-top: 35px;
    }
    
    .imagen_rrss {
        width: 2%;
    }
    
     .contenedor_rrss{
          position: fixed; 
    }  
    
}

/*Móvil 414px*/

@media screen and (max-width:414px){
    
    .contenedor_rrss {
        top: 1%;
        left: 2%;
    }

    .imagen_rrss {
        width: 3.5%;
    }
}
    