@charset "utf-8";
* {
    margin: 0;
    padding: 0;
}
/*header*/
/*NOTA: El menú cuando está en formato móvil se abre a la derecha y no se ve, no sé
como cambiarlo, intenté con gpt pero nada sirve, a preguntar mañana*/
header {
    background-color: #F1F0EC;
    display: flex;
    padding: 16px;
    justify-content: space-between;
    font-family: 'League Gothic';
    font-size: medium;
    font-style: normal;
    text-transform: uppercase;
}
header img {
    height: 32px;
}

/*menu*/
nav ul li {
    list-style-type: none;
    line-height: 2rem;
    position: relative;
}

nav ul li ul {
    position: absolute;
    background-color: black;
    transition: 1s all;
}

nav ul li a {
    text-decoration: none;
    color: white;
    padding: 0 2rem;
    display: block;
    transition: 1s all;
}

nav ul li a:hover {
    background-color: black;
}

nav ul#principal li:hover>ul {
    max-height: 500px;
    overflow: visible;
}

/*menu hamburguesa*/
nav ul#hamburguesa>li {
    background-color: transparent;
    line-height: 0;
}

nav ul#hamburguesa li:hover>ul {
    max-height: 500px;
    overflow: visible;
}

/* menu principal */
ul#principal {
    background-color: #fd572a;
    display: flex;
    flex-direction: column;
}

ul#principal li {
    border-bottom: 0.5px solid #ccc;
}


/* menu secundario y terciario */
ul#principal li ul, ul#principal {
    max-height: 0;
    overflow: hidden;
}

ul#secundario {
    top: 100%;
    left: 50%;
    z-index: 1;
}

/* menu terciario */
ul#terciario {
    top: 100%;
    left: 50%;
    z-index: 2;
    background-color: #fd572a;
}

/*Slider*/
#slider img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

#festival {
    margin: 0;
    background-color: #202020;
    padding: 32px;
    position: relative;
}

#festival::after {
    content: "";
    position: absolute;
    left: 32px;   
    right: 32px;  
    bottom: 0;
    height: 3px;
    background-color: #a663e4;
    border-radius: 2px;
}

#festival h1 {
    font-family: 'League Gothic', sans-serif;
    font-size: 3rem;
    font-style: normal;
    text-transform: uppercase;
    color: #d1fd0b;
}

#festival p {
    font-family: 'League Gothic', sans-serif;
    font-size: 1.5rem;
    font-style: normal;
    color: #fd572a;
}

/*seccion botones*/
#botones {
    background-color: #202020;
    color: #F1F0EC;
    font-family: 'League Gothic', sans-serif;
    font-size: 2rem;
    font-style: normal;
    margin: 0;
    padding: 32px;
    display: flex;
    justify-content: center;
}

#botones nav ul {
    list-style: none;
    display: flex;
    flex-direction: column; 
    align-items: center;    
    gap: 16px;              
    margin: 0;
}

#botones nav ul li a {
    display: flex;                
    justify-content: center;      
    align-items: center;          
    text-decoration: none;
    color: #F1F0EC;              
    background-color: #a663e4;   
    padding: 16px 60px;           
    text-transform: uppercase;
    transition: all 0.3s ease;
    min-width: 220px;             
    text-align: center;
}

#botones nav ul li a:hover {
    background-color: #202020;
    color: #a663e4;
}

#info {
    background-color: #fd572a;
    font-family: 'League Gothic', sans-serif;
    font-style: normal;
    color: #202020;
    padding: 32px;
}

#info h2 {
    font-size: 2rem;
    text-transform: uppercase;
}

#info p {
    font-size: 1.2rem;
    margin-top: 16px;
}   

/*Footer*/
#footer {
    background-color: #F1F0EC;  
    color: #202020;             
    font-family: 'League Gothic', sans-serif;
    padding: 40px 20px;
}

.footer-contenedor {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 32px;
}

.footer-links h4 {
    margin-bottom: 12px;
    text-transform: uppercase;
    color: #a663e4; 
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 8px;
}

.footer-links ul li a {
    text-decoration: none;
    color: #202020;
    transition: 0.3s;
}

.footer-links ul li a:hover {
    color: #a663e4;
}

.footer-social h4 {
    margin-bottom: 12px;
    text-transform: uppercase;
    color: #a663e4;
    font-size: 1.2rem;
}

.footer-social .iconos a {
    display: flex;
    flex-direction: column;
    margin-right: 12px;
}

.footer-social .iconos img {
    width: 24px;
    height: 24px;
    transition: 0.3s;
    padding: 8px;
}

.footer-social .iconos a:hover img {
    filter: brightness(0.7); 
}

.footer-contacto p {
    margin: 6px 0;
    font-size: 0.9rem;
}
.footer-contacto p span {
    display: block;
    margin-bottom: 16px;
}

/*Responsive*/
@media all and (min-width: 530px) {

    ul#hamburguesa > li > img {
    display: none;
    }

    nav ul#principal {
    display: flex;
    flex-direction: row;
    position: relative;
    max-height: none;
    background-color: transparent; 
    }

    nav ul#principal li {
    border: none;
    }

    nav ul#principal li a {
    color: #202020;
    background-color: transparent;
    padding: 8px 12px;
    }

    nav ul#principal li a:hover {
    background-color: rgba(0, 0, 0, 0.1);
    }

    nav ul#secundario {
    color: #F1F0EC;
    top: 100%;
    left: 0;
    }
    nav ul#secundario li a {
        color: white;
    }

    nav ul#secundario li a:hover {
        color: #202020; 
        background-color: #fd572a;
    }
}

