* {
    font-family: "Montserrat", sans-serif;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

#home {
    overflow: hidden;
}

#quienes, #clases {
    position: relative;
    overflow: hidden;
    display: flex;
    background: black;
}

#paquetes, #preguntas, #instructores {
    overflow: hidden;
}

.btnRe {
    color: white;
    background-image: linear-gradient(to right, #ff5af2, #ff6717);
}

.btnRe1 {
    color: white;
    font-size: medium;
    background-image: background: rgb(254,95,162);
background: -moz-linear-gradient(90deg, rgba(254,95,162,1) 0%, rgba(255,103,22,1) 100%);
background: -webkit-linear-gradient(90deg, rgba(254,95,162,1) 0%, rgba(255,103,22,1) 100%);
background: linear-gradient(90deg, rgba(254,95,162,1) 0%, rgba(255,103,22,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#fe5fa2",endColorstr="#ff6716",GradientType=1);
}
.text-gradient {
    font-weight: bold;
    background-image: linear-gradient(to right, #ff8df7, #f69661);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.home__content1 {
    position: relative;
    color: white;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.dual-background {
    position: relative;
    width: 100%;
    background-color: black; /* First background */
    padding: 50px 0; /* Adjust padding as needed */
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover; /* Ensure the image covers the section */
    z-index: 1;
    opacity: 0.7; /* Optional: Adjust opacity for better text visibility */
}

.content {
    position: relative;
    z-index: 2; /* Puts the content in front of the background images */
}

.section-title {
    color: white; /* Title in white for visibility */
    margin-bottom: 40px;
}

.title {
    margin-bottom: 100px;
}


.pricing-card {
    display: flex;
    align-items: center;
    text-align: center;
}

.card img {
    margin-bottom: 20px;
    width: 100%;
    height: auto;
}

.white-icon {
    filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(180deg);
    width: 2%;
    min-width: 15px;
}

.faq-separator {
    border: 0;
    border-top: 4px solid white; /* Cambia el grosor y color según sea necesario */
    margin: 20px 0; /* Espacio arriba y abajo de la línea */
}

a.google-link {
    text-decoration: none;
}

div.google-button {
    background-color: rgb(66, 133, 244);
    border-radius: 5px;
    color: white;
    font-weight: 500;
    padding: 0.75rem;
    position: relative;
    transition: all 0.25s ease-in-out;
}

div.google-logo {
    background-color: white;
    background-image: url('../images/Google.svg');
    background-size: 75%;
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 3px;
    width: 25px;
    height: 25px;
    position: absolute;
    left: 0.75rem;
    top: 0.75rem;
}

.program-card {
    transition: all 0.25s ease-in-out;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;

    .card__content {
        padding-top: 100px;
        padding-bottom: 100px;

        h3 {
            font-size: 32px;
        }

        p {
            font-size: 18px;
        }
    }

    @media (min-width: 725px) {
        padding-top: 100px;
        padding-bottom: 100px;
        background-size: 100%;

        .card__content {
            h3 {
                font-size: 50px;
            }

            p {
                font-size: 20px;
            }
        }

        .card__content-last {
            left: 50%;
        }
    }
}

.card__1 {
    right: 0;
    transform: translateY(-50%);
    @media (min-width: 725px) {
        transform: translateY(-130%) translateX(0);
    }
}

.card__2 {
    right: 0;
    transform: translateY(-50%);
    @media (min-width: 725px) {
        left: 0;
        transform: translateY(-140%) translateX(0);
    }
}

.card__3 {
    right: 0;
    transform: translateY(-50%);
    @media (min-width: 725px) {
        transform: translateY(-135%) translateX(0);
    }
}

.card__4 {
    right: 0;
    transform: translateY(-50%);
    @media (min-width: 725px) {
        left: 0;
        transform: translateY(-140%) translateX(0);
    }
}

.product-details {
    flex-wrap: wrap;
}

/*Estilo para el sidebar menu*/
.sidebar {
    top: 0;
    z-index: 2;
    width: 100%;
    right: -100%;
    height: 100%;
    position: fixed;
    background: rgba(0, 0, 0, 60%);
    animation: slide 0.2s forwards;
    animation-delay: 0.2s;
}

@keyframes slide {
    100% {
        right: 0;
    }
}

.sidebar__list {
    z-index: 10;
    padding: 24px;
    margin-left: 25%;

    button {
        right: 24px;
    }
}

.sidebar__close {
    animation-delay: 0.2s;
    animation: slide-out 0.5s forwards;
}

@keyframes slide-out {
    0% {
        right: -50%;
    }
}

.second__section-image {
    width: 100%;
    aspect-ratio: 1/1;
    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.second__section-title {
    top: 26px;
    @media (min-width: 1440px) {
        top: 40px;
    }
}


/* Estilo para el contenedor principal */
.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
}

.fondoinstructores {
    position: relative;
    overflow: hidden;
    transition: height 0.3s ease;
}

/* Estilo para el círculo y su fondo */
.circle-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    margin-bottom: 20px;
    transition: border 0.3s;
}

.circles-wrapper {
    display: flex;
    gap: 60px;
    justify-content: space-evenly;
}

.circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    background: radial-gradient(circle, rgba(255, 147, 192, 0.8), rgba(255, 95, 162, 0.8)); /* Fondo rosado degradado radial */
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid transparent;
    transition: border 0.3s;
    cursor: pointer;
}

.circle img {
    max-height: 165px;
    object-fit: cover;
    border-radius: 50%;
}

.circle-wrapper.active .circle {
    border: 3px solid white; /* Borde blanco cuando está seleccionado */
}

@media (max-width: 800px) {
    .info-wrapper {
        flex-direction: column; /* Cambia la dirección del flex a columna para pantallas pequeñas */
        align-items: center; /* Centra los elementos en el contenedor */
    }

    .info-container {
        width: 100%; /* Asegura que cada contenedor ocupe todo el ancho disponible */
        margin-bottom: 20px; /* Espacio entre los contenedores en vista de columna */
    }

    .info-text {
        text-align: center; /* Centra el texto dentro de cada contenedor */
    }

    .info-container.selected {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

}

.packages-background {
    background-image: url('../images/bouncess.webp');
    background-size: contain; /* O usa 'contain' según lo que necesites */
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px; /* Agrega un poco de padding si es necesario */
}

@media (max-width: 570px) {
    .packages-background {
        background-image: none;
        background-size: contain; /* O usa 'contain' según lo que necesites */
        background-position: center;
        background-repeat: repeat;
    }
}

/* Estilo para el nombre debajo del círculo */
.name {
    text-align: center;
    margin-top: 10px;
}

.info-container {
    display: none; /* Hide all info containers initially */
}

.info-container.selected {
    display: flex; /* Show the selected info container */
}

/* Estilo para la información adicional */
.info-container {
    display: none; /* Ocultar por defecto */
    width: 100%;
    top: 100%;
    left: 0;
    background: #FF5FA2;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 10; /* Asegurarse de que esté sobre los otros elementos */
    transition: max-height 0.3s ease;
    overflow: hidden;
    font-size: larger;
    color: white;
}

.info-container img {
    width: 300px;
    border-radius: 10px;
    margin-right: 10px;
}


.info-text {
    display: inline-block;
    vertical-align: top;
    font-size: x-large;
    padding-top: 20px;
}

.circle-wrapper.selected .circle {
    /* Añade aquí estilos para el círculo seleccionado si lo deseas */
    border: 3px solid #ffffff;
/
}

.circle-wrapper.active .info-container {
    display: block;
}

/* Nombre debajo del círculo */
.name {
    margin-top: 10px;
    font-size: 18px;
    color: #fff;
    text-align: center;
    margin-top: 10px;
}


.circle-wrapper.selected + .info-container {
    display: block;
}

@media (max-width: 800px) {
    .circles-wrapper {
        overflow-x: scroll; /* Habilitar desplazamiento horizontal */
        white-space: nowrap; /* Evitar que los elementos se envuelvan */
        width: 100%; /* Asegurarte de que tenga un ancho definido */
        box-sizing: border-box; /* Incluir el padding y borde en el ancho */
    }

    .circle-wrapper {
        display: inline-block; /* Asegurar que los círculos se muestren en línea */
        margin-right: 10px; /* Espaciado entre los círculos */
        min-width: 100px; /* Opcional: definir un ancho mínimo para los círculos */
    }

    .info-wrapper {
        display: flex;
        overflow-x: auto; /* Habilitar desplazamiento horizontal para el contenedor de información */
    }
}

.info-wrapper {
    display: none; /* Ocultar por defecto */
    flex-direction: column;
    gap: 20px; /* Espacio entre la información */
}


.carousel-container {
    width: 100%; /* Ancho del contenedor */
    overflow: hidden; /* Oculta el desbordamiento */
    position: relative;
}

.carousel-track {
    display: flex;
    width: calc(200px * 8); /* Ancho total, ajusta este valor según el número de imágenes */
    animation: scroll 20s linear infinite; /* Animación continua */
}

.carousel-track img {
    flex: 0 0 auto;
}

.carousel-indicators button {
    background-color: #6c757d !important; /* Color de los círculos */
    border-radius: 50%; /* Hace que el indicador sea un círculo */
    opacity: 0.5; /* Opacidad de los círculos */
}

.carousel-indicators .active {
background: rgb(255,147,192);
background: -moz-linear-gradient(90deg, rgba(255,147,192,0.8) 0%, rgba(255,95,162,0.8) 100%);
background: -webkit-linear-gradient(90deg, rgba(255,147,192,0.8) 0%, rgba(255,95,162,0.8) 100%);
background: linear-gradient(90deg, rgba(255,147,192,0.8) 0%, rgba(255,95,162,0.8) 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ff93c0",endColorstr="#ff5fa2",GradientType=1); !important;
    opacity: 1; /* Opacidad del círculo activo */
}

@keyframes scroll {
    0% {
        transform: translateX(0); /* Comienza desde la posición inicial */
    }
    100% {
        transform: translateX(-50%); /* Termina desplazándose a la mitad del track */
    }
}


.product-card {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 15px;
    text-align: center;
    overflow: hidden;
}

.product-card .product-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.product-info {
    margin-top: 10px;
}

.product-name {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 5px;
}

.product-price {
    font-size: 1em;
    color: #333;
}


.modal-content {
    border-radius: 15px;
}

.info-container {
    /* Estilos para cada instructor */
    margin-bottom: 20px;
}

.info-name {
    font-size: 1.5em;
    font-weight: bold;
}

.info-age {
    font-size: 1em;
    color: gray;
}

.info-tagline {
    font-style: italic;
    margin-top: 5px;
}

.info-description {
    margin-top: 10px;
    font-size: 1em;
    line-height: 1.5;
}

a.aclara img:hover {
    filter: brightness(0) saturate(100%) invert(27%) sepia(99%) saturate(5704%) hue-rotate(196deg) brightness(102%) contrast(105%);
}

/* Small (sm) */
@media (min-width: 576px) {
    #home {
        height: 85vh;
        min-height: 650px;
        max-height: 55vw;
    }
}

/* Medium (md) */
@media (min-width: 768px) {

    .program-card {
        padding-top: 100px;
        padding-bottom: 100px;
    }

    .card__content {
        width: 75%;
    }

    .program-card:hover {
        background-size: 115%;
    }
}

@media (max-width: 768px) {
    #home2 {
        padding-top: 50%; /* Ajusta el valor según lo necesites */
        padding-bottom: 50%; /* Ajusta el valor según lo necesites */
    }
}
/* Large (lg) */
@media (min-width: 992px) {
}

/* Extra large (xl) */
@media (min-width: 1200px) {
    .card__content {
        width: 50%;
    }
}

/* Extra extra large (xxl) */
@media (min-width: 1400px) {
    .element {
        /* Styles for xxl screens */
    }
}