/* Estilos generales */
* {
    margin: 0px auto;
    padding: 0px;
}
/* variables para el color de fondo y de los botones del carrousel  */
:root {
    --fondo-cabecera: rgba(250, 237, 237,0.4);
    --fondo-cuerpo: rgb(94, 94, 94);
    --color-botones:white;
}

/*Fuentes añadidas*/
@font-face {
    font-family: "WebSymbolsRegular";
    src: url("fonts/websymbols-regular-webfont.eot");
    src: url("fonts/websymbols-regular-webfont.eot?#iefix") format("embedded-opentype"),
        url("fonts/websymbols-regular-webfont.woff") format("woff"),
        url("fonts/websymbols-regular-webfont.ttf") format("truetype"),
        url("fonts/websymbols-regular-webfont.svg") format("svg");
    font-weight: normal;
    font-style: normal;
}

/* he dividido el body en tres partes con grid */
#content {
    display: grid;
    width: 100%;
    height: 100%;
    grid-template-columns: repeat(4,1fr);
    grid-template-rows: 720px 1fr 300px;
    grid-template-areas: 
    "cabecera cabecera cabecera cabecera"
    "cuerpo cuerpo cuerpo cuerpo"
    "pie pie pie pie"
    ;
    background-color: var(--fondo-cuerpo);
}
/* Inicio de la cabecera */
#content #header{
    grid-area: cabecera;
    width: 100%;
    height: 100%;
    background-image: url("../img/fondo-cabecera.jpg");
    background-size:cover;
    display: grid;
    grid-template-rows: 40% 60%;
    grid-template-areas:
    "bienvenido"
    "menu";
    overflow: hidden;
}
#content #header #cabecera{
    background-color: var(--fondo-cabecera);
    width: 100%;
    height: 255%;
}
/* Estilos del mensaje de bienvenida */
#content #header #cabecera #welcome{
    grid-area: bienvenido;
    width: 100%;
    height: 58.1%;
    color: red;
    font-size: 55px;
    text-align: center;
    padding-top: 8%;
    text-shadow: 2px 2px 4px white;
    
}
#content #header #cabecera #welcome a{
    text-decoration: none;
    color: red;
    font-size: 60px;
}
#content #header #cabecera #welcome a:hover{
    text-shadow: 2px 2px 4px white;
    cursor: pointer;
    font-size: 65px;
    color: black;
}
/* Estilos del menu */
#content #header #cabecera #nav{
    grid-area: menu;
    width: 100%;
    height: 83%;
    margin-top: -10%;
}

#nav ul{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    list-style: none;
    width: 70%;
    
}
#nav ul li{
    text-align: center;
    height: 50px;
    line-height: 50px;
    width: 90%;
}

#nav ul li a{
    text-decoration: none;
    width: 100%;
    color: black;
    font-size: 40px;
    
}

#nav ul li a:hover{
    color: black;
    display: block;
    transition: all 300ms;
    background-color: red;
    border-radius: 50px;
}
/* Fin de la cabecera */
/* Inicio del content-body */

#content #content-body{
    grid-area: cuerpo;
    width: 100%;
    height: 100%;
    background: var(--fondo-cuerpo);
    display: grid;
    grid-template-rows: 800px 2200px;
}
/* Estilos de la ventana en donde se muestran las imagenes cuando le hacen click */
#fullImgBox{
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0, 0.9);
    position: fixed;
    top:0;
    left:0;
    display: none;
    align-items: center;
    justify-content: center;
}
/* Estilo de la imagen cuando se abre haciendole click */
#fullImgBox img{
    width: 90%;
    max-width: 70%;
    margin-left: 16%;
    height: 610px;
    margin-top: 2%;
}

/* Estilos del boton X en la ventana que se abre cuando le hacen click  */
#fullImgBox span{
    position: absolute;
    top:5%;
    right: 5%;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
    font-family: Arial, Helvetica, sans-serif;
}

/* Estilos del carrousel */

#content-body #carrusel{
    width: 100%;
    height: 90%;
    margin-top: 5%;
}

#carrusel h2{
    color: white;
    font-family: fantasy,Arial, Helvetica, sans-serif,Georgia, 'Times New Roman', Times, serif;
    font-size: 50px;
    text-align: center;
    margin-top: -2%;
    margin-bottom: 1%;
    
}
#carrusel h2:hover{
    color: black;
}
#carrusel #content-carrusel{
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.buttom-box{
    position: absolute;
    display: grid;
    grid-template-columns: 50% 50%;
    margin-top: 22%;
    width: 95%;
    height: 50px;
    margin-left: 2%;
}

.adelante-img{
    width: 10%;
    height: auto;
    margin-left: 90%;
    background-color: var(--color-botones);
    cursor: pointer;
}

.atras-img{
    width: 10%;
    height: auto;
    margin-right: 90%;
    background-color: var(--color-botones);
    cursor: pointer;
}


.imagen-carrusel-box{
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.imagen-carrusel-box img{
    width: 90%;
    height: 90%;
    cursor: pointer;
    margin-left: 5%;    
}

/* Estilo de la seccion de promociones */
#content-body #promociones{
    width: 100%;
    height: 100%;
    margin-top: 5%;
}

#promociones h3{
    color: red;
    background-color: black;
    width: 100%;
    font-size: 40px;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    text-align: center;
}

#promociones h2{
    font-size: 30px;
    color: white;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    text-align: center;
    margin-top: 2%;
    background: rgba(0,0,0,0.7);

}
#promociones .box-promociones{
    display: grid;
    grid-template-columns: 40% 60%;
    margin-top: 3%;

}
.box-promociones .img-box-promo{
    border: 1px solid white;
    margin-right: 3%;
    width: 95%;
    height:300px;
    overflow: hidden;
}

.img-box-promo img{
    width: 100%;
    height: 100%;

}

.box-promociones p{
    font-size: 20px;
    color: black;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    width: 95%;
    height: 100%;
    text-align: center;
}

/* Fin del content-body*/

/* Inicio del pie de pagina */

#content footer{
    grid-area: pie;
    width: 100%;
    height: 100%;
    background-color: black;
    margin-top: 100px;
    display: grid;
    grid-template-rows: 250px 50px;
    grid-template-areas: 
    "contenido"
    "desarrollado";
}

#content footer #content-pie{
    grid-area: contenido;
    width: 70%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    margin-top: 3.5%;

}
/* Estilos de los logos del pie de pagina*/
#content-pie #logo-pie{
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
#content-pie #logo-pie img{
    width: 210px;
    height: auto;
    display: block;
    margin-top: 7%;
}
#content-pie #logo-pie img:hover{
    width: 85%;
}

#content-pie a{
    font-family: WebSymbolsRegular;
    text-decoration: none;
    font-size: 800%;
    color: white;


}
/* Cada uno tiene su propia clase para poder hacerle el hover */
#content-pie #facebook:hover{ 
    color: rgb(4, 4, 227);
}
#content-pie #twitter:hover{
    color: rgb(11, 126, 226);
}
#content-pie #youtube:hover{
    color: red;
}


#content footer #desarrollado{
    grid-area: desarrollado;
    width: 100%;
    height: 100%;
    color: white;
    text-align: center;
    font-size: 20px;
    line-height: 50px;

}
#content footer #desarrollado:hover{
    background-color: grey;
    color: black;
}

#content footer #desarrollado a{
    text-decoration: none;
    color: red;
}

#content footer #desarrollado a:hover{
    color: blue;
}

/* Fin del pie de pagina */