@import url(estilos.css);
@import url(fontello.css);

/*encabezado*/
header{
    width: 100%;
    height: 50px;
    background: rgb(40, 55, 122);
    color: #fff;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
}
/*link a login del menu*/
#link_index{
    position: relative;
    display: block;
    float: right;    
    color: rgb(255,255,255);
    text-decoration: none;  
    text-transform: uppercase;   /*mayusculas*/   
    padding: 15px;
    cursor:default ;   
}
/*menu*/

header.contenedor{
    display: table;
    width: auto;
}

.contenedor{
    width: 80%;
    margin: 0 auto;
}

#btn_menu{
    display: none;
}

header label{
float: left;
font-size: 28px;
margin: 9px 0;
cursor: pointer;
}
.menu{
position: absolute;
top: 50px;
left: 0;
width: 100%;
height: 100vh;
background-color: rgba(40, 55, 122, 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);
}

#btn_menu:checked~.menu{
    transform: translateX(0%);
}
/* fin de menu*/


footer{

    background-color: black;
    /*position: absolute;*/
    position:fixed;
    bottom: 0;
    width: 100%;
    height: 40px;
    color: white;
    text-align: center;
    font-size: 14px;
    padding: 15px;
    margin-top:50px;
    /*
    text-align: center;
    background: rgba(20,19,19);
    color: white;
    font-size: 14px;
    padding: 15px;
    margin-top: 20px;*/
}


@media screen and (min-width:769px){
    .menu{
        position: static;
        width: auto;
        height: auto;
        transform: translateX(0%);
        float: left;
        display: flex;
        background-color: rgb(40, 55, 122);
        
        }
        .menu a:hover{
            background: rgba(255,255,255,0.2);
        }
        
        .menu a{
            border:none;
         }
        header label{
            display: none;
        }
    }

@media screen and (min-width:481px) and (max-width:768px){
    section img{
        display: inline-block;
        width:100%;
       }
    .contenedor{
        width: 100%;
        margin: auto;
    }

    #link_index{
    font-size: 14px;   
    padding: 15px;
    }
}

@media screen and (max-width:480px){
    body{
        padding: 0;
        margin: 0;
    }
    
    section img{
        max-width: 100%;
        display: block;
        margin: 0 auto;
       }
    .contenedor{
        width: 100%;
        margin: auto;  
      }

    #link_index{
    font-size: 14px;   
    padding: 15px;
    }
}
/*Fin de @mediaqueries*/

/*
@media(min-width:1024){
   

    section img{
        width:1000px;
        height: auto;

    }
    .contenedor{
        width: 1000px;
        margin: auto;
    }

  
    

   
}

@media(max-width:768px){
   

    section img{
        width: 80%;
        height: auto;

    }
    .contenedor{
        width: auto;
        margin: auto;
    }

   
}
   

@media(max-width:768px){
   

    section img{
        width:100%;
        height: auto;

    }
    .contenedor{
        width: 100%;
        margin: auto;
    }

    #link_index{
 font-size: 14px;   
 padding: 15px;
    }

   
} */