html   {
    overflow-x: hidden;
}

/* Definición de variables de color */
:root {
    --azul-rey: #013473; /* Color predominante */
    --verde: #218341; /* Color para botones */
    --rojo: #E83417; /* Color resaltante */
    --hueso: #F9F9F9; /* Color de fondo */
    --blanco: #FFFFFF; /* Color de letras */
    --morado: #EE82EE; /* Color para áreas específicas */
    --negro: #000000; /* Color para texto */
    --gris: #808080;
}


/*----------------------------------------------------------------------------------------------------------------------*/
/*                                      Estilos para la sección de Deportes y Gimnasio                                  */
/*----------------------------------------------------------------------------------------------------------------------*/
.sport-content {
    margin-top: 0px;
    width: 100%; /* Ocupa todo el ancho del contenedor */
    display: flex; /* Flexbox para alinear contenido */
    
}

/* Estilo para el contenedor de texto */
.text-content {
    display: flex;
    flex-direction: column;
    width: 50%; /* Ajuste del ancho */
    height: auto;
    gap: 10px;
    align-items: flex-start; /* Alinea a la izquierda */
    position: static;

}

/* Estilo para los encabezados dentro del texto */
.text-content h2 {
    color: var(--azul-rey);
    margin-left: 4.5%;
    margin-right: 2.5%;
    word-wrap: normal; /* Evita desbordamientos */
    position: static;

}

/* Estilo para los párrafos dentro del texto */
.text-content p {
    color: var(--azul-rey);
    text-align: left;
    font-weight: normal;
    margin-left: 4%; /* Elimina márgenes innecesarios */
    margin-right: 4%;
    position: static;
    margin-bottom: auto;
    transform: none;
}

/* Estilo para el botón dentro del texto */
.boton-content {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--verde); /* Fondo verde */
    color: var(--blanco); /* Texto blanco */
    text-transform: uppercase; /* Texto en mayúsculas */
    font-weight: bold; /* Texto en negrita */
    font-size: calc(1rem + 1vw); /* Tamaño de la fuente */
    border-radius: 2rem; /* Bordes redondeados */
    width: 95%; /* Ancho del botón */
    position: static;
    transform: none; /* Ajusta para centrar el botón */
    margin-left: 3%;
}

.boton-content:hover,
.boton-formulario:hover {
    background-color: var(--rojo); /* Cambia a rojo al pasar el ratón sobre cualquiera de los dos */
}

/* Estilo para el video adicional */
.imagen-chica {
    width: 50%; /* Ancho del video */
    height: 100%; /* Ocupa toda la altura del contenedor padre */
    overflow: hidden; /* Oculta cualquier contenido que sobresalga */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Estilo para el video dentro de video-chico */
.imagen-chica img {
    width: 95%; /* Ocupa todo el ancho del contenedor */
    height: 95%; /* Ocupa toda la altura del contenedor */
    border-radius: 2rem;
    object-fit: cover; /* Asegura que el video cubra todo el contenedor sin distorsionar */
}


/*----------------------------------------------------------------------------------------------------------------------*/
/*                                      Estilos para la la ventana modal                                                */
/*----------------------------------------------------------------------------------------------------------------------*/
/* Estilo para el botón de cierre */
.close {
    background-color: var(--blanco);
    border-radius: 5px;
    color: var(--verde);
    font-size: calc(1rem + 4vw);
    font-weight: bold;
    position: absolute;
    top: 2px; /* Se sitúa a 10px del borde superior */
    right: 2px; /* Se sitúa a 10px del borde derecho */
    cursor: pointer;
    width: 4.5%;
    height: 9%;
    display: flex;
    justify-content: center;
    align-items: center;

}

.close:hover,
.close:focus {
    color: var(--blanco);
    text-decoration: none;
    cursor: pointer;
    background-color: var(--rojo);
    border-radius: 5px;

}

#modalTenis, #modalPadel, #modalPickleball, #modalReboteadero, #modalMultiusos, #modalVoleyball, #modalGimnasio {
    display: none; /* Se oculta por defecto */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Fondo semitransparente */
    align-items: center;
    justify-content: center;

}

/* Estilo para el contenido de la modal */
.modal-content {
    background-color: var(--hueso);
    border-radius: 10px;
    width: 90%;
    height: 85%;
    max-height: 100vh;
    max-width: 100%;
    margin: 0 auto;
    padding: 50px;
    position: static;
    display: flex; /* Flexbox para organizar contenido */
    flex-direction: column; /* Coloca el contenido en columnas */
    justify-content: flex-start; /* Alinea al inicio verticalmente */
    align-items: center; /* Centra horizontalmente */
    overflow-y: scroll; /* Permite el desplazamiento vertical */
    text-align: center;
    overflow-x: hidden;

}
.madeiras-barra {
    background-color: var(--azul-rey);
    width: 98%;
    margin-top: 0%;
    margin-bottom: 20px;
    display: flex;

}

.logo-modal img{
    width: 300px;
}

/* Estilo para el h2 de la ventana Modal */
.modal-content h2{
    position: static;
    gap: 15px; /* Espaciado uniforme entre elementos */
    color: #000000;
    margin-bottom: 1%;
    margin-left: 0%;
}

.membresia-gym td {
    font-size: 300%;
}
.paquete-membresias {
    width: 90%;
    height: auto;
    border-color: var(--azul-rey);
    border-width: 10px;
    border-style: solid;
    margin: 0px;
    align-items: center;
    text-align: center;

}

.paquete-membresias h3 {
    font-size: calc(1rem + 5vw); /* Tamaño de la fuente */
    color: var(--azul-rey);
    text-align: center;
    margin: 1%;

}

.paquete-membresias h1 {
    font-size: 50px; /* Tamaño de la fuente */
    color: var(--negro);
    text-align: center;
    margin: 40px;
    margin-top: 10px;

}

.paquete-membresias-texto{
    text-align: center;
    margin: 40px;
    margin-top: 10px;
    position: static;
    align-items: center;

}

.paquete-membresias-texto p {
    transform: translateX(0%);
    position: static;
    font-size: 35px; /* Tamaño de la fuente */
    color: var(--azul-rey);
    
}

.rectangulo-verde-paquete {
    position: static;
    width: 90%;
    background-color: var(--verde);
    height: 30px;
    margin-top: 5px;
    margin-bottom: 40px;
}

/* Estilo para el video de la ventana modal */
.video-modal-content{
    width: 100%; /* Ocupa todo el ancho del contenedor */
    gap: 20px;
    position: static;
    
}

.horario-modal {
    position: static;
    background-color: var(--azul-rey);
    border-radius: 2rem;
    width: 100%;
    transform: translateX(0%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1rem solid var(--verde);
    margin-top: 5rem;

}

.horario-modal h1{
    color: white;
    font-size: 55px;

}

.modal-content-texto {
    position: static;
    align-items: center;
    flex-direction: column;
}

.modal-content-texto p{
    position: static;
    text-align: center;
    transform: translateX(0%);
    font-size: calc(1rem + 1vw);
}

.rectangulo-verde-eslogan{
    position: static;
    width: 100%;
    background-color: var(--verde);
    height: 30px;
    margin-top: 0px;
    margin-bottom: 0px;
}

.background-texto-ventana-modal{
    width: 100%;
    background-color: var(--azul-rey);
    position: static;
    margin: 0%;
    display: flex;
    align-items: center;
    justify-content: center;

}

.texto-ventana-modal p{
    position: static;
    text-align: center;
    transform: translateX(0%);
    width: 100%;
    font-size: 50px;
    background-color: var(--azul-rey);
    color: var(--blanco);
    margin: 0px;
}

.texto-ventana-modal-02 p{
    position: static;
    text-align: center;
    transform: translateX(0%);
    width: 100%;
    font-size: 50px;
    background-color: var(--blanco);
    color: var(--negro);
    margin: 5px;
}

.rectangulo-rojo-eslogan{
    position: static;
    width: 100%;
    background-color: var(--rojo);
    margin-top: 0px;
    margin-bottom: 0px;
}

.varios-paquetes{
    display: flex; /* Activa el modelo flexbox */
    justify-content: center; /* Centra horizontalmente los elementos */
    align-items: center; /* Centra verticalmente los elementos */
    height: 100vh; /* Opcional: para que el contenedor ocupe toda la altura de la pantalla */

}

.paquete-y-rectangulo{
    margin: 30px;
}

 .promocionGym {
    width: 80%;
 }

 .membresia-gym{
    width: 100%;
    border: 1px solid black;
    border-collapse: collapse;

 }
 
 .celda-Encabezado{
    background-color: #cce7ff; /* Fondo azul claro */
    border: 1px solid black;
    font-weight: bold;
    font-size: calc(1rem + 1vw);
 }

 .tabla {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr; /* Define el ancho de las columnas */
    border: 1px solid black;
    border-collapse: collapse;
    width: 100%;
  }

  /* Estilo para cada celda */
  .celda {
    border: 1px solid black;
    padding: 10px;
    text-align: center;
  }

  /* Encabezados */
  .encabezado {
    font-weight: bold;
    background-color: #cce7ff; /* Fondo azul claro */
  }

/*----------------------------------------------------------------------------------------------------------------------*/
/*                                     Media Queries para diferentes resoluciones                                       */
/*----------------------------------------------------------------------------------------------------------------------*/
/* Pantallas grandes */
@media (min-width: 1199px) {
    /*----------------------------------------------------------------------------------------------------------------------*/
    /*                                      Estilos para la sección de Deportes y Gimnasio                                  */
    /*                                      Dispositivos móviles de 320px a 599px                                           */
    /*----------------------------------------------------------------------------------------------------------------------*/
    
    /* Estilo para los encabezados dentro del texto */
    .text-content h2 {
        color: var(--azul-rey);
        font-size: 550%;
        margin-left: 4.5%;
        margin-right: 2.5%;
        word-wrap: normal; /* Evita desbordamientos */
        position: static;

    }

    /*----------------------------------------------------------------------------------------------------------------------*/
    /*                                      Estilos para la la ventana modal                                                */
    /*----------------------------------------------------------------------------------------------------------------------*/
    
    .celda{
        font-size: 140%;
        padding: 3%;
        font-weight: 600;
    }

    .modal-content-texto p {
        position: static;
        text-align: center;
        transform: translateX(0%);
        font-size: 200%;
    }
    
}

/* Pantallas grandes */
@media (min-width: 899px) and (max-width: 1199px) {
    /*----------------------------------------------------------------------------------------------------------------------*/
    /*                                      Estilos para la sección de Deportes y Gimnasio                                  */
    /*                                      Dispositivos móviles de 320px a 599px                                           */
    /*----------------------------------------------------------------------------------------------------------------------*/
    .sport-content {
        border: 10px solid var(--azul-rey);
    }    

    .boton-content{
        margin-bottom: 5%;
    }
    /*----------------------------------------------------------------------------------------------------------------------*/
    /*                                      Estilos para la la ventana modal                                                */
    /*----------------------------------------------------------------------------------------------------------------------*/
    
    .celda{
        font-size: 140%;
        padding: 3%;
        font-weight: 600;
    }

}

/* Pantallas medianas*/
@media (min-width: 520px) and (max-width: 899px) {
    /*----------------------------------------------------------------------------------------------------------------------*/
    /*                                      Estilos para la sección de Deportes y Gimnasio                                  */
    /*                                      Dispositivos móviles de 320px a 599px                                           */
    /*----------------------------------------------------------------------------------------------------------------------*/
    .sport-content {
        border: 10px solid var(--azul-rey);
    }    

    .boton-content{
        margin-bottom: 5%;
        margin-left: 0%;
    }

    .text-content{
        width: 100%;
        align-items: center; 
    }

    /* Estilo para los encabezados dentro del texto */
    .text-content h2 {
        color: var(--azul-rey);
        font-size: 350%;
        margin-left: 4.5%;
        margin-right: 4.5%;
        word-wrap: normal; /* Evita desbordamientos */
        position: static;
        width: 100%;
    }
    
    /*----------------------------------------------------------------------------------------------------------------------*/
    /*                                      Estilos para la la ventana modal                                                */
    /*----------------------------------------------------------------------------------------------------------------------*/
 

}


/* Pantallas pequeñas */
@media (min-width: 320px) and (max-width: 520px) {
    /*----------------------------------------------------------------------------------------------------------------------*/
    /*                                      Estilos para la sección de Deportes y Gimnasio                                  */
    /*                                      Dispositivos móviles de 320px a 599px                                           */
    /*----------------------------------------------------------------------------------------------------------------------*/

    .text-content {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: auto;
        gap: 10px;
        align-items: flex-start;
        position: static;
    }

    .text-content h2 {
        color: var(--azul-rey);
        font-size: 300%;
        word-wrap: normal;
        margin-left: auto;
        margin-right: auto;
        position: static;
        text-align: center;
        margin-top: 5%;
    }

    .imagen-chica {
        width: 100%;
        height: 100%;
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
    
    }

    .imagen-chica img {
        width: 95%;
        height: 95%;
        border-radius: 2rem;
        object-fit: cover;
        margin: 3%;
    }


    /*----------------------------------------------------------------------------------------------------------------------*/
    /*                                      Estilos para la la ventana modal                                                */
    /*----------------------------------------------------------------------------------------------------------------------*/

    .sport-content {
        border: 10px solid var(--azul-rey);
    }
    
    .modal-content {
        padding: 3%;
    }
    .modal-content-texto p {
        position: static;
        text-align: center;
        transform: translateX(0%);
        font-size: 130%;
    }

    .texto-ventana-modal p {
        position: static;
        text-align: center;
        transform: translateX(0%);
        width: 100%;
        font-size: 150%;
        background-color: var(--azul-rey);
        color: var(--blanco);
        margin: 0px;
    }

    .texto-ventana-modal-02 p {
        position: static;
        text-align: center;
        transform: translateX(0%);
        width: 100%;
        font-size: 150%;
        background-color: var(--blanco);
        color: var(--negro);
        margin: 5px;
    }
     
    .celda{
        font-size: 80%;
        padding: 3%;
        font-weight: 600;
    }

    .membresia-gym td{
        font-size: 150%;
        padding: 3%;
        font-weight: bold;
    }

    .logo-modal img {
        width: 65%;
    }

    .boton-content{
        margin-bottom: 5%;
    }

    .paquete-membresias {
        width: 100%;
        height: auto;
        border-color: var(--azul-rey);
        border-width: 10px;
        border-style: solid;
        margin: 0px;
        align-items: center;
        text-align: center;
    }

    .rectangulo-verde-paquete {
        position: static;
        width: 100%;
        background-color: var(--verde);
        height: 3%;
        margin-top: 5px;
        margin-bottom: 1%;
    }

    .rectangulo-verde-eslogan {
        position: static;
        width: 100%;
        background-color: var(--verde);
        height: 3%;
        margin-top: 0px;
        margin-bottom: 0px;
    }

    .horarios p, .lista-horarios li, .lista-horarios li strong {
        font-size: 100%;
    }

    .close {
        background-color: var(--blanco);
        border-radius: 5px;
        color: var(--verde);
        font-size: calc(1rem + 4vw);
        font-weight: bold;
        position: absolute;
        top: 2%;
        right: 5%;
        cursor: pointer;
        width: 6%;
        height: 3.5%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

}