:root {
    --primario: #008fd1;
    --primarioOscuro: #004d70;
    --secundario: #f2f2f2;
    --negro: #000;
    --blanco: #ffffff;
    --gris: #eeeeee;
    --tips: #eca300;
    --restaurantes: #9800d1;
    --festivales: #db008d;
    --padding: 1rem;
    --padding2: 2rem;
}

html {
    box-sizing: border-box;
}
*, *:after, *:before {
    box-sizing: inherit;
}
body {
    box-sizing: border-box;
    background-color: var(--secundario);
    font-family: Arial, Helvetica, sans-serif;
}
.contenedor {
    width: min(90%, 120rem);
    margin: 0 auto
}
h2 {
    flex: 0 1 100%;
    text-align: center;
    font-size: 1.6rem;
}
h3 {
    font-family: 'Libre Baskerville', serif;
    margin:0;
    font-weight: 700;

}
img {
    max-width: 100%;
}

/* Header */
.hero {
    background-image: url(../img/hero.jpg);   
    height: 100vh;
    background-repeat: no-repeat;
    background-position: center center;
    background-size:cover;
    background-attachment: fixed;
}

.header {
    display: flex;
    position: relative;
    flex-direction: column;
    justify-content: center;
}
.barra {
    position: absolute;
    background-color: var(--primario);
    width: 100%;
    top: 1rem;
    padding: 1rem 0;
}

.barra .contenedor {
    display: flex;
    flex-direction: column;
}
@media (min-width: 768px) {
    .barra .contenedor {
        flex-direction: row;
        justify-content: space-between;
    }
}

.logo,
.navegacion {
    text-align: center;
}

.navegacion ul{
    list-style: none;
    display: flex;
    gap: 1rem;
    flex-direction: column;
}

@media (min-width: 768px) {
    .navegacion {
        flex: 0 0 20rem;
    }
    .navegacion ul{
        flex-direction: row;
        justify-content: space-between;
    }
}

.navegacion ul li a {
    color: var(--blanco);
    text-decoration: none;
    font-size: 1.2rem;
    text-transform: uppercase;
    transition: all .5s ease-in-out;
}
.navegacion ul li a:hover {    
    color: var(--primarioOscuro);
}

.logo-img {
    max-width: 20rem;
}

.header-contenido h1 {
    color: var(--primario);
    font-size: 2.4rem;
    text-transform: uppercase;
    max-width: 25rem;
}

/* Contenido */
.contenido {
    background-color: var(--blanco);
    margin-bottom: 1rem;
    text-transform: uppercase;
}
.contenido {
    padding: 1rem;
    text-align: center;
}
.contenido h3 {
    text-align: center;
    font-size: .9rem;
    line-height: 1.4rem;
}
.contenido span {
    color: var(--festivales);
}
.boton {
    background-color: var(--primario);
    color: var(--blanco);
    padding: .6rem 2rem;
    margin-top: 1rem;
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 5px;
    transition: all .3s ease-in-out;
}
.boton:hover {
    background-color: var(--primarioOscuro);
}
@media screen and (min-width:480px) {
    .contenido-principal {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    .entrada {
        flex: 0 1 calc(50% - 1rem);

    }
}
@media screen and (min-width:768px) {
    .entrada {
        flex: 0 1 calc(33% - 1rem);
    }
}

/* Contenido paginas */

.centrar-texto {
    text-align: center;
}

@media (min-width: 768px) {
    .sobre-nosotros {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        column-gap: 2rem;
    }
}

.centrar-texto {
    padding: 2rem;
    text-transform: uppercase;
}

.imagenes-dentro {
    border-radius: 10px;
    margin-bottom: 2rem;
}

/* Categorias */
.categorias ul {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    list-style: none;
}

.categorias ul li {
    flex: 1 0 calc(50%);
    padding: 2rem;
}

@media (min-width: 768px) {
    .categorias ul li {
        flex: 1;
    } 
}

.categorias ul li:nth-child(1) {
    background-color: var(--primario) ;
    opacity: 0.85;
    transition: all .3s ease-in-out;
}

.categorias ul li:nth-child(2) {
    background-color: var(--festivales) ;
    opacity: 0.85;
    transition: all .3s ease-in-out;
}
.categorias ul li:nth-child(3) {
    background-color: var(--restaurantes) ;
    opacity: 0.85;
    transition: all .3s ease-in-out;
}
.categorias ul li:nth-child(4) {
    background-color: var(--tips) ;
    opacity: 0.85;
    transition: all .3s ease-in-out;
}
.categorias ul li:nth-child(1):hover, 
.categorias ul li:nth-child(2):hover, 
.categorias ul li:nth-child(3):hover, 
.categorias ul li:nth-child(4):hover {
    opacity: 1;
    font-size: 120%;
        
}

.categorias ul li a{
    color: var(--blanco);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

.categorias ul li svg {
    font-size: 2rem;
    margin-bottom: 1rem;
}


/* Footer */
.footer {
    background-color: var(--primario);
    padding-top: 1rem;
    color: var(--blanco);
}
.footer h2 {
 text-transform: uppercase;
}
.footer .contenedor {
    gap: 3rem;
    padding-left: 1rem;
}

@media (min-width: 768px) {
    .footer .contenedor {
        display: flex;        
    }
    .footer .caja {
        flex: 1;
    }
}

.footer .entradas {
    transition: all .5s ease-in-out;
}


.footer .entradas a,
.footer .entradas li {
    color: var(--blanco);
    text-decoration: none;
    line-height: 30px;
    list-style: none;
}


.copyright {
    background-color: var(--primarioOscuro) ;
    margin: 2rem 0 0 0;
    padding: .5rem 0;
    text-align: center;
}

/* Redes Sociales< */
.sociales ul li span {
    display: none;

}

.sociales ul {
    display: flex;
    justify-content: space-evenly;
    cursor: pointer;
    text-decoration: none;
    list-style: none;
    margin-right: 1rem;
    transition: all .5s ease-in-out;
    
}

.sociales ul li:hover, 
.footer .entradas li a:hover {
    background-color: var(--primarioOscuro);
    border-radius: 3px;
}
