/*=======================
ESTILO GENERAL, PLANTILLA
=======================*/

/*================
RESET DE DOCUMENTO
================*/

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
} 

body{
    display: flex;
    justify-content: center;
    background-image: url("../img/fondo.png");
}

/*===============
CONTENIDO GENERAL
===============*/

.contenido-general{    
    display: flex;
    flex-direction: column;
    width: 1366px;
    border: 5px solid black;
}

/*=======
CONTENIDO
=======*/

.contenido{
    width: 100%; 
    display: flex;
    justify-content: center;
}

.caja-interior{
    width: auto;
    height: 1000px;
}

.margen{
    width: 1000px;
    height: 100%;
    margin: 0px 80px;
}

/*============
MENU DE INICIO
============*/

.header{
    width: 100%;
    height: 40px;       
    display: flex;
    justify-content: space-between;
    z-index: 3;
    color: white;
    background: #000000;   
}

#btn-menu{
    display: none;
}

.header label{
    cursor: pointer;
    display: none;        
    font-size: 15pt;
    margin-left: -5px;
}

.menu{ 
    font-size: 12pt;
    font-weight:500;
}

.menu ul{
    height: 100%;
    display: flex;
    align-items: center;
    list-style: none;
}

.menu ul a{
    cursor: pointer;
    font-family: sans-serif;
}

.submenu{
    display: none;
}

.menu ul ul{
    display: none;
    background: #F799D1;
    position: absolute;
    width: auto;
    height: auto;
    margin-top: 0px;
    margin-left: 30px;
}

.menu a{
    display: block;
    padding: 11px 10px;
    color: #fff;
    font-weight: bolder;
    text-decoration: none;
    border-right: 2px solid white;
}

.menu a span{
    margin-left: 5px;
}

.menu a:hover{
    background: #F9AD0D;
}

.menu ul li:hover ul{
    display: block;
    position: absolute;
}

.menu ul li ul li a{
    padding: 11px 50px 11px 30px;
}

/*=================
MENU DE INICIO - RS
=================*/

.caja-rs{
    width: 130px;
    margin-right: 5px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.img-rs{
    width: 20px;
    height: 20px;
}

.img-rs img{
    width: 100%;
    height: 20px;
}

.img-rs:hover{
    background: #F9AD0D;
}

.img-rs img:hover{
    opacity: 0.8;
}

/*===========
Banner inicio
===========*/

.margen{
    padding: 30px 0px 0px 0px;
}

.caja-banner{
    width: 100%;
    height: auto;
    margin-bottom: 40px;
}

.caja-banner img{
    width: 100%;
    height: auto;
}

.banner-500px{
    display: none;
}

/*====
Footer
====*/

footer{
    margin-top:0px;
    width: 100%;
    padding: 5px 10px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    color: white;
    background-color: #000000;
}

.text-footer a{
    text-decoration: none;
    color: white;
    padding: 2px 5px;
    margin-right: 10px;
    font-size: 10pt;
    font-weight: 600;
    line-height: 8pt;
}

.img-footer{
    text-decoration: none;
    margin-top: 40px;
    margin-bottom: 10px;
    width: 100%;
    display: flex;
    justify-content: center;
    color: white;
}

.img-footer{
    width: 100%;
    margin-top: 5px; 
}

/*========
RESPONSIVO
========*/

/*= 1400px =*/
@media (max-width:1400px){
    .header{
        position: fixed;
    }
    .contenido{
        margin-top: 40px;
    }
}

@media (max-width:1366px){
    .contenido-general{
        border: none;
    }
}

@media all and (max-width:1200px){
    .margen{
        margin: 0px 20px;
    }
}

@media all and (max-width:1100px){
    .margen{
        width: 900px;
    }
}

@media all and (max-width:1000px){
    .margen{
        width: 95%;
        margin: 0px;
    }
    
    .caja-interior{
        display: flex;
        justify-content: center;
    }
}

@media (max-width:970px){
    .header{
        position: relative;
        margin-bottom: -40px;
    }
    
    .header label{
        display: block;
        padding: 10px 10px; 
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .menu{
        position: absolute;
        top: 40px;
        left: 0px;
        width: 50%;
        
        transform: translateX(-100%);
        transition: all 0.3s;
    }
    
    .menu ul{
        display: block;    
        background: #EC008B;
    }
    
    .menu ul li:hover ul{
        display: none;
        position: static;
    }
    
    .menu ul li{
        border-bottom: 2px solid white;
    }
    
    .li-rs-contacto-gde{
        display: none;
    }
    
    .submenu{
        display:block;
    }
    
    .menu a span{
        display: none;
        position: absolute;
        right: 10px;
    }
    
    #btn-menu:checked ~ .menu{
        transform: translateX(0%);
    }
    
    .menu ul ul{
        margin-left: 0px;
        position: relative;
    }
    
    .menu ul ul a{
        padding: 4px 40px;
    }  
}

@media (max-width:930px){
    .img-footer{
        height: 50px;
    }
}

@media (max-width:900px){
    .caja-banner{
        margin-bottom: 20px;
    }
}

@media (max-width:820px){
    .menu{
        width: 60%;
    }
}

@media (max-width:510px){
    .img-footer{
        height: 40px;
    }
}

@media (max-width:500px){
    .menu{
        width: 100%;
    }
    
    .contenido{
        margin-top: 30px;
    }
    
    .banner-1000px{
        display: none;
    }
    .banner-500px{
        display: block;
    }
}

@media (max-width:400px){   
    
    .img-footer{
        height: 30px;
    } 
}





