* {
    margin: 0;
    padding: 0;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;   
}

/* En lo que ajuste todo hay que quitarlo */
html, 
body { 
    overflow-x: hidden;
}

/*     intro     */ 

#intro {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000f1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#intro-logo {
    width: clamp(260px, 5vw, 300px);
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

#intro.show-logo #intro-logo {
    opacity: 1;
    transform: scale(1);
}

/*    fin intro          */ 

/*   Desde aquí es el menú navegador   */
.menu{
    position: fixed;
    top: 0;
    left: 0;
    height: 3.7rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgb(235, 125, 125);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: top 0.5s ease-in-out;
    z-index: 5;
    pointer-events: auto;
}


.logo-menu {
    display: flex;
    align-items: center;
    filter: drop-shadow(1px 1px 2px black);
}

.logo-hiru {
    height: 55;
    width: auto;
}

.menu .menu-links{
    display: flex;
    list-style: none;
    gap: 7px;
    margin: 0;
    padding: 0;
}

.menu .menu-links li{
    margin: 0;
    list-style: none;
    font-family: 'Oswald', sans-serif;
}

.menu-links li a{
    position: relative;
    padding: 5;
    font-size: clamp(12px, 5vw, 22px);
    font-weight: 500;
    color: white;
}

.menu-links:hover a {
    filter: blur(1px);
    transition: filter 0.1s ease;
}

.menu-links li a:hover {
    filter: blur(0px);
    opacity: 1;
    padding: 5;
}

.menu-links li a:hover{
    background-color: rgb(244, 19, 19);
    color: white;
    border-radius: 8px;
}

.fa-cerrar {
    display: none;
    color: white;
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    border: none;
    font-size: 30px;
    margin-bottom: 15px;
    cursor: pointer;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}


.menu #menu-hamburguer {
    display: none;
    color: white;
    width: 50px;
    height: 50px;
    right: 40;
    font-size: 40px;
    position: absolute;
    background-color: transparent;
    border: none;
    cursor: pointer;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}


/*  Hasta aquí es la barra   */

/*  Footer  */

.footer {
    display: flex;
    align-items: center;
    justify-content: center;
    position: bottom;
    top: 0;
    left: 0;
    height: 90px;
    width: 100%;
    background-color: rgb(235, 125, 125);
    box-shadow: 0 -10px 8px rgba(0, 0, 0, 0.1);
}


.footer .icon-footer{
    margin: 5;
    padding-bottom: 10px;
    list-style: none;
}

#contacto-footer {
    font-family: 'Oswald', sans-serif;
    font-size: 30px;
    text-align: center;
    font-style: normal;
    color: white;
    filter: drop-shadow(1px 1px 2px black);
    padding: 5px;
    padding-top: 5px;
    padding-bottom: 10px;
} 

.footer .icon-footer a:hover{
    padding: 0.625rem;
    border-radius: 35px;
    background-color: rgb(244, 19, 19);
    filter: blur(0);
    opacity: 1;
}

.ig-footer:hover, .gm-footer:hover {
    filter: blur(0);
}

.icon-footer:hover a {
    filter: blur(1px);
    transition: filter 0.2s ease;
} 

.ig-footer, .tf-footer, .gm-footer {
    font-size: 35px;
    padding: 0rem 0.625rem;
    color: white;
    transition: filter 0.2s ease, opacity 0.2s ease;
}

/*  Hasta aquí */

/*  Cartel y countdown   */

.presentacion {
    background-image: url('img/cartel.png');
    padding: 80px 10px 0;
    min-height: 600px;
    width: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.t-pres {
    text-align: center;
    align-items: center;
}

.titulo-presentacion {
    font-size: clamp(24px, 5vw, 34px);
    font-family: 'Oswald', sans-serif;
    text-decoration: none;
    color: rgb(255, 255, 255);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.texto-presentacion {
    font-size: clamp(22px, 5vw, 32px);
    font-family: 'Oswald', sans-serif;
    color: rgb(255, 255, 255);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    margin-bottom: 40px;
}

.texto-presentacion a {
    text-decoration: none;
    color: rgb(177, 70, 70);
    text-shadow: 1.5px 1px 2px rgb(255, 255, 255);
    font-weight: bold;
}

.cuenta-tras {
    width: 35%;
    min-width: 250px;
    max-width: 350px;
    height: 18%;
    min-height: 35px;
    max-height: 120px;
    margin: 0 auto;
    text-align: center;
    border-radius: 0.4375rem;
    line-height: 1.2;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: clamp(10px, 5vw, 16px);
    font-family: 'Oswald', sans-serif;
    color: white;
    text-shadow: 2px 2px 4px black;
    line-height: 1.2;
}

.countdown div span {
    font-size: clamp(26px, 5vw, 32px);
    font-weight: 700;
}

.countdown div p {
    font-size: clamp(16px, 5vw, 20px);
}

.titulo-cuenta {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(16px, 5vw, 20px);
    color: white;
    text-shadow: 2px 2px 4px black;
}

/*     Fin cartel y countdown     */

/*   Patrocinadores   */
#sponsor-zone{
    background-image: url(img/fondo-patrocinadores.jpg);
    margin-top: 0.625rem;
    margin-bottom: 0.625rem;
    padding: 10px 0;
    min-height: 600px;
    background-position: center center;    
    background-size: cover;                
    background-repeat: no-repeat;  
}

.sponsors-text {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(10px, 5vw, 16px);
    text-align: center;
    color: rgb(255, 255, 255);
    text-shadow: 2px 2px 4px black;
    position: absolute;
    border-radius: 1.875rem;
    left: 0;
    right: 0;
    padding: 10px 2px;
    opacity: 0; 
    overflow: hidden;
    transition: opacity 1s 1s;
    background-color: rgba(255, 255, 255, 0);
    backdrop-filter: blur(8px);
}

.titulo-patrocinador {
    text-align: center;
    padding: 0 0.5%;
    margin: 0 auto 20px;
    max-width: 800px;
    width: 95%;
    background-color: rgba(255, 255, 255, 0);
    backdrop-filter: blur(8px);
    box-shadow: 1px 1px 5px rgb(0, 0, 0);
    border-radius: 20px;
    box-sizing: border-box;
}

#titulo-patrocinadores {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(24px, 5vw, 50px);
    margin-bottom: 5px;
    padding-bottom: 5px;
    text-shadow: 2px 2px 4px black;
    color: white;
}

#titulo-patrocinadores, .status {
    width: 100%;
    max-width: 780px;
}

.img-sponsor {
    width: 100%;
    object-fit: cover;
    display: block;
    border-radius: 1.875rem;
    filter: drop-shadow(5px 5px 5px #000);
}

.patrocinadores {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
    justify-content: center;
}

.targeta-patrocinador {
    flex: 0 1 200px;
    position: relative;
    max-width: 220px;
} 

.targeta-patrocinador:hover .sponsors-text {
    animation: show-data 1s forwards;
    opacity: 1;
    transition: opacity 0.3s;
}

.targeta-patrocinador:hover {
    animation: remove-overflow 2 forwards;

}

.targeta-patrocinador:not(:hover){
    animation: show-overflow 2s forwards;

}

.targeta-patrocinador:not(:hover) .sponsors-text{
    animation: remove-data 1s forwards;
    
}

/*     Fin patrocinadores  */

/*  Sobre Hirugorri  */

#sobrehiru { 
    padding: 10px 0;
    min-height: 600px;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    background:
        linear-gradient(rgba(0, 0, 0, 0.7)),
        url(img/grupal-hiru.jpg) center center / cover no-repeat;
}

.texto-hiru {
    width: 85%;
    color: white;
    text-align: center;
    font-family: 'Oswald', sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.texto-hiru h2 {
    font-size: clamp(35px, 5vw, 46px);
}

.texto-hiru p {
    font-size: clamp(22px, 5vw, 32px);
}

/* Atletas Hirugorri */

#slider {
    margin: 10px auto;
    position: relative;
}

#slider img {
    display: none;
    object-fit: cover;
    width: 100%;
    height: auto;
    min-height: 400px;
}

#slider img.active {
    display: block;
}

#slider-content {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    font-family: 'Oswald', sans-serif;
    z-index: 3;
    filter: drop-shadow(5px 5px 5px #000);
}

#slider-content .slide {
    display: none;
    justify-items: center ;
}

#slider-content .slide.active {
    display: block;
}

#slider-content h2 {
    font-size: clamp(35px, 5vw, 46px);
    margin-bottom: 5px;
}

#slider-content .status {
    font-size: clamp(22px, 5vw, 32px);
    line-height: 1.2;
}

#slide-status {
    font-size: clamp(20px, 3vw, 26px);
    line-height: 1.3;
    color: #acaaaa;
}

#pagination {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    z-index: 3;
}

#pagination button {
    display: block;
    border: 0;
    width: 16px;
    height: 16px;
    background-color: #ff0000;
    border-radius: 50%;
    margin: 20px 0;
    cursor: pointer;
    opacity: 0.5;
    animation: pulse 1.5s infinite ease-in-out;
}

#pagination button:hover,
#pagination button:focus {
    animation: none;
    opacity: 1;
}

#pagination button:hover {
    opacity: 0.8;
}

/*   Fin Sobre Hirugorri   */

/*    Zona merch        */

#merch {
    margin: 10px 0;
    min-height: 400px;
    width: 100%;
    background:
        linear-gradient(rgba(0, 0, 0, 0.7)),
        url(img/group-merch.jpg) center / cover no-repeat;
    font-family: 'Oswald', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

#titulo-merch {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-height: 60px;
    justify-content: center;
    color: white;
    text-shadow: 2px 2px 4px black;
    margin-top: 10px;
    margin-bottom: 20px;
}

#titulo-merch h2 {
    font-size: clamp(24px, 5vw, 50px);
    width: 85%;
    text-align: center;
}

.foto-option {
    z-index: 3;
    position: absolute;
    align-items: center;
}

#merch-group {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    width: 100%;
    justify-content: center;
}

.tarjeta-merch {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    background-color: #00000041;
    height: 400px;
    width: min(300px, 90%);
    border-radius: 10px;
    overflow: hidden;
}
.tarjeta-merch img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    opacity: 0;
    transition: transform .6s ease;
    position: relative;
}

.tarjeta-merch img.activa {
    height: 100%;
    width: 100%;
    object-fit: cover;
    opacity: 1;
    transition: transform .6s ease;
    position: relative;
}

.foto-option {
    margin-top: 240px;
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.product-images {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.product-images img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.fotoimg label{
    background-color: #000;
}

.product-images img.active {
    opacity: 1;
}

.desc-merch {
    margin-top: 330px;
}

.desc-merch {
    position: absolute;
    z-index: 2;
    text-align: center;
    color: white;
    filter: drop-shadow(1px 1px 2px black);
    background-color: #000;
    height: 70px;
    width: 300px;
}

.desc-merch p {
    font-size: clamp(16px, 3.125vw, 20px);
}

#basa-proved {
    color: #acaaaa;
    font-size: 16px;
}

.fa-check {
    color: rgb(3, 167, 3);
}

#pedir-text {
    color: #acaaaa;
    font-size: clamp(16px, 3.125vw, 20px);
    text-align: center;
    filter: drop-shadow(1px 1px 2px black);
    line-height: 1.2;
}

#merch-pedir {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0);
    backdrop-filter: blur(2px);
    box-shadow: 0 0 10px  rgb(0, 0, 0);
    border-radius: 23px;
    width: 200px;
    margin: 20px;
    padding: 15px;
}

.merch-boton {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 70px;
    flex-direction: column;
}

#pedir-merch {
    text-align: center;
    font-size: 30px;
    color: white;
    filter: drop-shadow(2px 2px 4px black);
}

#merch-pedir:hover {
    box-shadow: 0 0 20px  rgb(194, 101, 101), 0 0 30px red;
    backdrop-filter: blur(8px);
}

/*  Fin Zona merch    */

/*  Instalaciones     */

#instalaciones-nav {
    min-height: 650px;
    width: 100%;
    background:
        linear-gradient(rgba(0, 0, 0, 0.7)),
            rgba(0, 0, 0, 0.7)
        url(img/Fronton-Lakua.jpg) center / cover no-repeat;
    font-family: 'Oswald', sans-serif;
    display: grid;
    place-items: center;
    margin-bottom: 10px;
}

#present-instal {
    margin-top: 5px;
}

#tit-instal {
    margin-top: 10px;
    color: white;
    filter: drop-shadow(1px 1px 2px black);
    font-size: clamp(24px, 5vw, 50px);
}

#desc-instal {
    color: rgb(145, 143, 143);
    filter: drop-shadow(1px 1px 2px black);
    font-size: clamp(10px, 5vw, 20px);
    line-height: 1.2;
}

#tit-instal, #desc-instal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.services-side {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    column-gap: 50px;
    row-gap: 40px;
    width: 70%;
    max-width: 600px;
    margin: 30px auto;
}


.id-zone {
    justify-items: center;
}

.desc-boton {
    color: rgb(145, 143, 143);
    filter: drop-shadow(1px 1px 2px black);
    font-size: clamp(16px, 5vw, 20px);
}

.service-icon {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    height: 60px; 
    min-width: 220px; 
    width: 80%;
    border-radius: 23px;
    margin-top: 20px;
    background-color: rgba(255, 255, 255, 0);
    backdrop-filter: blur(2px);
    box-shadow: 0 0 10px rgb(0, 0, 0);
    gap: 5px;
    color: white;
    filter: drop-shadow(1px 1px 2px black);
    font-size: clamp(18px, 5vw, 24px);
}

.fa-location-pin {
    color: red;
}

.fa-parking {
    color: blue;
    margin-top: 7px;
}

.location {
    display: grid;
    place-items: center;
}

.parking {
    display: grid;
    justify-content: center;
}

.icon-parking {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    margin-top: 20px;
}

.parking a{
    color: white;
    gap: 1px;
} 

.parking-icon {
    width: 60px;
    height: 60px;
    display: flex;
    font-size: clamp(18px, 5vw, 24px);
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    box-shadow: 0 0 10px rgb(0, 0, 0);
    background-color: rgba(255, 255, 255, 0);
}

.service-icon:hover, .icon-parking a:hover {
    box-shadow: 0 0 5px rgb(150, 150, 150), 0 0 10px rgb(255, 255, 255);
    backdrop-filter: blur(8px);
}


/*  Fin instalaciones */

/*  Horarios    */

#horarios {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    min-height: 650px;
    width: 100%;
    color: #ffffff;
    font-family: 'Oswald', sans-serif;
    background:
        linear-gradient(rgba(0, 0, 0, 0.7)),
        rgba(0, 0, 0, 0.7) url(img/fondo-hora.jpeg) no-repeat;
    background-size: cover;
    background-position: top 10px center;
    text-shadow: 1px 1px 4px rgba(110, 110, 110, 0.63);
    text-align: center;
    padding-bottom: clamp(18px, 5vw, 24px);
}

.horarios-contenido {
    padding-top: 15px;
    width: 95%;
    align-items: center;
}

#tit-horario {
    font-size: clamp(24px, 5vw, 50px);
}

.tit-cat {
    font-size: clamp(14px, 5vw, 20px);
}

.horas-cat {
    font-size: clamp(18px, 5vw, 24px);
    color: rgb(68, 68, 252);
    font-weight: bold;
}

.grupos {
    display: flex;
    width: 60%;
    min-width: 350px;
    justify-content: space-between;
    font-size: clamp(15px, 5vw, 24px);

}

.grupos-g {
    display: grid;
    grid: auto;
    place-items: center;
    justify-items: center;
}

#tit-horario,
#exp-horario {
    display: grid;
    grid: auto;
    place-items: center;
}

.tit-cat,
.horas-cat {
    display: grid;
    grid: auto;
    place-items: center;
    justify-items: center;
}

.horas-cat {
    display: grid;
    grid: auto;
    place-items: center;
}

/*   Fin horarios   */

/*  Mediasquery y keyframes */

@keyframes show-data {
    50% {
        transform: translateY(-8rem);
    }

    100% {
        transform: translateY(-6rem);

    }
}

@keyframes remove-overflow {
    to {
        overflow: initial;
    }
}

@keyframes remove-data {
    0% {
        transform: translateY(-6rem);
    }

    50% {
        transform: translateY(-8rem);
    }

    100% {
        transform: translateY(0.5rem);
    }
}


@keyframes show-overflow {
    0% {
        overflow: initial;
        pointer-events: none;
    }

    50% {
        overflow: hidden;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 0.3;
    }
}

@keyframes fadeSlider {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 650px) {
    .nav-list {
        opacity: 0;
        display: flex;
        flex-direction: column;
        align-items: end;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        padding: 70px 15px;
        background-color: rgb(235, 125, 125);
        height: 100%;
        min-height: 1000px;
        width: 40%;
        min-width: 130px;
        max-width: 180px;
        transform: translateX(100%);
        transition:
            transform 0.4s ease,
            opacity 0.4s ease;
        box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .5);
    }

    .nav-list.visible {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    .fa-cerrar {
        display: block;
        background-color: rgb(235, 125, 125);
        border-color: none;
    }

    .menu-links {
        flex-direction: column;
        text-align: end;
        font-size: 16px;
    }

    .menu #menu-hamburguer {
        display: block;
        
    }
}

@media (max-width: 1020px) {

    .sponsors-text {
        opacity: 0;
        transition: none;
    }

    .targeta-patrocinador {
        flex-direction: column;
    }

    .targeta-patrocinador:hover .sponsors-text {
        opacity: 0;
        animation: none;
    }

    .targeta-patrocinador:hover {
        animation: none;
    }

    .targeta-patrocinador:not(:hover) .sponsors-text {
        opacity: 0;
        transition: none;
    }
}

@media (min-width: 769px) {
    #merch, .presentacion, #sobrehiru, #horarios {
        background-attachment: fixed;
    }
}
