/* GENERAL */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

body{
    background-image: url(../img/fondo.jpg);    
}

/* VARIABLES */
:root{
    --azul-oscuro: #042a83;
    --verde-wsp: #026e02;
}

/* Modal: imagen cuando se abre la pestaña */
.modalImg-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
 
.modalImg-overlay.active {
  opacity: 1;
  pointer-events: all;
}
 
.modalImg {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  transform: translateY(28px) scale(0.97);
  transition: transform 0.25s cubic-bezier(0.22, 0.8, 0.36, 1);
}
 
.modalImg-overlay.active .modalImg {
  transform: translateY(0) scale(1);
}
 
.modalImg-imagen {
    display: block;
    max-width: 100%;
    max-height: 90vh;
    border-radius: 14px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
    object-fit: contain;

}
 
.modalImg-close {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #1a237e;
    color: #fff;
    border: none;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: background 0.15s;
}
 
.modalImg-close:hover {
  background: #0d1257;
}

/* BOTON DE WHATSAPP */
.btn-wspp{
    position: fixed;
    bottom: 8rem;
    right: 1rem;
    padding: .3rem;
    border-radius: 100%;
    background-color: var(--verde-wsp);
    color: #fff;
    width: 4rem;
    height: 4rem;
    z-index: 1;
    
}

.btn-wspp img{
    filter: invert(1);
}

/* HEADER */
.header{
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.header-redes{
    padding: 1.5rem;
}

.header-redes a{
    font-size: 1.2rem;
    background-color: var(--verde-wsp);
    color: #fff;
    padding: .3rem;
    border: var(--verde-wsp) solid .2rem;
    text-decoration: none;
    border-radius: 1rem;
    display: flex;
    width: fit-content;
    align-items: center;
    gap: .5rem;
}

.header-redes a .caja-img{
    display: flex;
    padding: .4rem;
    border: 1px solid #fff;
    border-radius: 100%;
}

.header-redes a .caja-img .i-wsp{
    width: 24px;
    filter: invert(1);
}

.header-redes-idiomas{
    position: absolute;
    right: 18px;
    top: 18px;
    height: 50px;
    overflow: hidden;
    transition: height 0.3s ease;
    border-radius: 6px;
    cursor: pointer;
}

.header-redes-idiomas.abierto{
  height: 200px;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
}

.header-redes-idiomas .idioma{
    background-color: var(--azul-oscuro);
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: .5rem;
    color: #fff;
    height: 50px;
}

.header-redes-idiomas img{
    width: 60px;
    object-fit: contain;
    border-radius: 4px;
}

.header-redes-idiomas p{
    margin: .5rem 1.2rem .5rem .5rem;
}

.header-redes-idiomas .btnIdioma{
    width: 19px;
    position: absolute;
    top: 17px;
    right: 5px;
    color: #fff;
}

.header-logo-clubtnt{
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.header-logo-clubtnt a{
    background-color: var(--azul-oscuro);
    color: #fff;
    padding: 1rem;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.header-logo img{
    width: 12rem;
    object-fit: contain;
}

.header-nav{
    display: flex;
    margin: 2rem 0;
    transform: skew(-25deg);
}

.header-nav-ul{
    list-style: none;
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    transition: top .7s linear;
}

.header-nav-ul-li a{
    text-decoration: none;
    color: #fff;
    font-size: 1rem;
    padding: .6rem;
    border: 2px solid #fff;
    border-radius: .4rem;
    background-color: #9D9D9D;
}

.header-nav-ul-li a:active, .header-nav-ul-li a:hover{
    background-color: #042a8371;
}

.header-nav-ul-li-a-active{
    border: 2px solid #fff;
    background-color: #042a8371 !important;
}

/*SLIDER PROPAGANDA*/
.container-slider{
    width: 100%;
    overflow: hidden;
}

.slider{
    display: flex;
    width: 600%;
    max-height: 38.125rem;
    margin-left: -100%;
}

.slider-section{
    width: 100%;
    max-height: 38.125rem;
    position: relative;
}

.slider-img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    aspect-ratio: 1440 / 495;
}

/* DIV RESPONSIVE */
.div-contenedor-responsive{
    width: 100%;
}

/* SECTION 2 */
.section2{
    width: 100%;
    padding: 1.5rem;
}

.section2 .section2-img{
    width: 100%;
    height: 38rem;
    object-fit: contain;
}

.section2-caja-texto{
    width: 100%;
}

.section2 h2{
    margin: 1.4rem 0;
    color: var(--azul-oscuro);
}

.section2 p{
    line-height: 1.6rem;
}

/* SECTION 3 */
.section3{
    width: 100%;
    position: relative;
}

.section3-div1{
    width: 90%;
    margin: 1rem auto;
    background-color: hsla(195, 70%, 22%, 0.50);
    display: flex;
    flex-wrap: wrap;
    padding: .5rem;
}

.section3-div1 img{
    width: 16rem;
    height: 12rem;
    object-fit: contain;
}

.section3-div1-caja-texto{
    width: 100%;
}

.section3-div1 h2{
    width: min-content;
    color: #fff;
    padding-left: .5rem;
    align-self: center;
}

.section3-div1 p{
    padding-top: .8rem;
    color: #fff;
    line-height: 1.4rem;
}

.section3-div2{
    width: 90%;
    margin: 1rem auto;
    position: relative;
    overflow: hidden;
}

.section3-div2-img{
    position: absolute;
    z-index: -15;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section3-div2-sombra{
    position: absolute;
    z-index: -12;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(45deg, rgba(0, 0, 0, .5) 0, rgba(0, 40, 80, .5) 100%);
}

.section3-div2-titulo{
    padding: 2rem .5rem 1rem .5rem;
    color: #fff;
}

.section3-division{
    width: 80%;
    height: .1rem;
    background-color: #fff;
    margin-left: .5rem;
}

.section3-div2-texto{
    color: #fff;
    padding: 1rem .5rem 2rem .5rem;
}

/* FOOTER */
.footer{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.footer .footer-logo{
    width: 10rem;
    height: 10rem;
    object-fit: contain;
    margin-left: 1rem;
    border-radius: 100%;
}

.footer-contacto{
    margin-left: .8rem;
}

.footer-contacto h3{
    margin-bottom: .4rem;
    color: var(--azul-oscuro);
}

.footer-contacto ul{
    list-style: none;
}

.footer-contacto ul li{
    line-height: 1.4rem;
    display: flex;
    align-items: center;
}

.footer-contacto ul li svg{
    width: 20px;
    color: var(--azul-oscuro);
    margin-right: 4px;
}

.footer-redes{
    margin-left: .8rem;
}

.footer-redes h3{
    margin-bottom: .4rem;
    color: var(--azul-oscuro);
}

.footer-redes a{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    
    color: var(--azul-oscuro);
    border: .1rem solid var(--azul-oscuro);
    margin: 0 .5rem 0 0;
    border-radius: 100%;
    width: 2.8rem;
    height: 2.8rem;
}

.footer-redes a svg{
    width: 1.5rem;
    height: 1.5rem;
    transform: translateX(.5px);
}

.footer-redes a:last-child svg {
    transform: translateX(-.1px);
}

.footer-redes a:active, .footer-redes a:hover{
    background-color: var(--azul-oscuro);
    color: #fff;
}

.footer-horarios{
    margin-left: .8rem;
}

.footer-horarios h3{
    margin-bottom: .4rem;
    color: var(--azul-oscuro);
}

.footer-horarios p{
    line-height: 1.4rem;
}

.footer-division{
    width: 85%;
    height: .1rem;
    background-color: var(--azul-oscuro);
    margin: 2rem .8rem;
}

.footer-final{
    margin:  0 .8rem 1rem .8rem;
}

.creditos{
    margin: .5rem auto .8rem 1rem;
}

.creditos a{
    text-decoration: none;
    font-weight: 700;
    color: #00017B;
    padding: .8rem;
    border: 1px solid #00017B;
    border-radius: .4rem;
}

.creditos a:active, .creditos a:hover{
    background-color: var(--azul-oscuro);
    color: #fff;
}

/* RESPONSIVE */
@media screen and (min-width:622px){
    /* GENERAL */
        body{
            background-size: contain;
        }
}

@media screen and (min-width:625px){
    /* SECTION 3 */
    .section3{
        display: flex;
    }
}

@media screen and (min-width:646px){
    /* FOOTER */
    .creditos{
        margin: .5rem 1rem .8rem auto;
    }
}

@media screen and (min-width:900px){
    /* DIV RESPONSIVE | SECTION 2 | SECTION 3*/
    .div-contenedor-responsive{
        display: flex;
    }

    .section2 .section2-img {
        height: 42rem;
    } 

    .section3{
        flex-direction: column;
    }
}

@media screen and (min-width:1024px){
    /* HEADER */
    .header{
        position: relative;
        flex-direction: row;
        justify-content: space-between;
    }

    .header-redes{
        flex-shrink: 0;
        margin: auto 0 ;
        padding: .5rem;
    }

    .header-redes-idiomas{
        top: 8px;
        height: 35px;
        z-index: 10;
    }

    .header-redes-idiomas.abierto{
        height: 140px;
    }

    .header-redes-idiomas .idioma{
        padding: .25rem;
        height: 35px;
    }

    .header-redes-idiomas img{
        width: 40px;
    }

    .header-redes-idiomas .btnIdioma{
        top: 9.5px
    }

    .header-logo-clubtnt {
        gap: 1rem;
        padding: 1rem;
    }

    .header-redes a{
        padding: .6rem;
        font-size: 1rem;
    }

    .header-nav{
        margin: auto 0;
    }

    .header-nav-ul-li {
        margin: 0 1rem;
    }
}

@media screen and (min-width:1101px){
    /* HEADER */
    .header-redes{
        margin: auto 0 auto 2rem;
    }

    .header-nav{
        margin: auto 2rem auto 0;
    }
}

@media screen and (min-width:1115px){
    /* HEADER */
    .header-nav-ul-li {
        margin: 0 1.5rem;
    } 

    /* SLIDER */
    .container-slider,.slider{
        max-height: 42rem;
    }

    /* SECTION 3 */
    .section3-div1{
        max-width: 90%;
        position: relative;
        height: 42.688rem;
    }

    .section3-div1 img{
        height: 100%;
    }

    .section3-div1 h2{
        align-self: flex-start;
        width: max-content;
    }

    .section3-div1 p{
        position: absolute;
        left: 17rem;
        top: 2rem;
    }

    .section3-div2{
        max-width: 90%;
        height: 17rem;
    }

    /* FOOTER */
    .footer-contacto,.footer-contacto,.footer-direccion, .footer-redes, .footer-horarios{
        margin-left: 3rem;
    } 
}

@media screen and (min-width:1200px){
    /* SECTION 3 */
    .section3-div1{
        height: 35.688rem;
    }
}

@media screen and (min-width:1360px){
    /* SECTION 3 */
    .section3-div1{
        height: 28.688rem;
    }
}

@media screen and (min-width:1365px){
    /* HEADER */
    .header-nav-ul-li {
        margin: 0 2rem;
    } 

    /* FOOTER */
    .footer-contacto,.footer-direccion, .footer-redes, .footer-horarios{
        margin-left: 5rem;
    } 
}

@media screen and (min-width:1440px){
    .header-logo-clubtnt{
        gap: 4rem;
    }
}

@media screen and (min-width:1535px){
    /* SECTION 3 */
    .section3-div1{
        height: 22.688rem;
    } 
}