html{
    font-size: 15px;
}
body{
    margin: 0;
    padding: 0;
    background-color: black;
    color: white;
    font-family: 'Open Sans', sans-serif;
    --color-amarillo1: #ffed00;
    --color-amarillo2: #d2a128;
    --color-rosado1: #ff99cc;
    --color-rosado2: #f34ea1;
    --color-rosado3: #b56d91;
    --color-rosado4: #ffbbdd;
    background-image: url(../img/background.jpg);
    background-size: contain;
}
h1{
    font-family: 'Bebas Neue', sans-serif;
    font-size: 4rem;
    margin: 0;
}
h2{
    color: var(--color-rosado1);
    font-size: 3.5rem;
    margin: 0;
}
p{
    font-size: 1.7rem;
}
button{
    font-size: 2rem;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    color: white;
}
section{
    padding: 30px;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    height: auto;
    align-items: center;    
}
s{
    color: rgb(201, 60, 60);
}
a{
    text-decoration: none;
    color: white;
}

body::-webkit-scrollbar{
    width: 12px;
}
body::-webkit-scrollbar-track {
    background: rgb(57, 56, 56);
}
body::-webkit-scrollbar-thumb {
    /* background: linear-gradient(135deg, #d0ba4c, #f5fe7b); */
    background: linear-gradient(135deg, #ff66b2, #ffd6e8);

    border-radius: 20px;
    border: 3px solid  rgb(57, 56, 56);
}
button.btn-disabled{
    cursor: not-allowed;
    background-color: #b56d91!important;
    color: rgb(85, 85, 85)!important;
    border-color: red!important;
}

/* ********** Modal Whatsapp ********** */

div.wpp{
    position: fixed;
    border-radius: 30px;
    background-color: green;
    display: flex;
    justify-content: center;
    align-self: center;
    padding: 5px;
    right: 7px;
    bottom: 7px;
    width: 50px;
    z-index: 100;
}
div.wpp img{
    width: 100%;
}

/* ********** FIN Modal Whatsapp ********** */

.animate-rotate {
    animation: balanceo 5s ease-in-out infinite;
}

@keyframes balanceo {
    0%   { transform: rotate(2deg); }
    16%  { transform: rotate(-2deg); }
    32%  { transform: rotate(0deg); }
    48%  { transform: rotate(2deg); }
    64%  { transform: rotate(-2deg); }
    80% { transform: rotate(0deg); }
    100% { transform: rotate(2deg); }

}
/* ********** Header ********** */

header{
    padding: 5px;
    background-color: black;
    width: 100%;
    height: 90px;
    /* box-shadow: 0px 0px 0px 1px rgb(70, 70, 32); */
    box-shadow: 0px 0px 0px 1px rgb(204, 102, 153);

    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
header h1{
    margin: 0;
}
header div{
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 100%;
}
header a.logoAtletas{
    height: 100%;
}
header a.logoAtletas img{
    height: inherit;
    border-radius: 15px;
}
header a.iniciarSesion{
    width: auto;
    padding: 10px;
    text-decoration: none;
    color: white;
    border: 1px solid red;
    border-radius: 10px;
    cursor: not-allowed;
    visibility: hidden;
}
header div img{
    height: 100%;
}
#texto-atletasone{
    display: none;

}
/* ********** FIN Header ********** */


/* ********** Seccion portada ********** */
section.portada{
    gap: 30px;
}
section.portada h1{
    font-size: 5rem;
}
section.portada h2{
    font-size: 3rem;
}
section.portada img {
    /*height: 90vh;*/
    height: 75vh;
}

section.portada div {
    /*text-align: center;*/
    /*border: 1px solid var(--color-rosado2);*/
    padding: 20px;
    border-radius: 10px;
    width: 40vw;
}
section.portada p{
    margin: 1px 0px;
    font-size: 2rem;
}
section.portada button{
    width: 65%;
    height: 60px;
    border-radius: 10px;
    background-color: inherit;
    color: white;
    background-color: var(--color-rosado2);
    border: 1px solid white;
    font-weight: bold;
    font-size: 1.5rem;
    margin-top: 20px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;

}
section.portada button:hover{
    color: white;
    border: 1px solid var(--color-rosado2);
}

/* ********** FIN Seccion portada ********** */


/* ********** Seccion info 1 ********** */

section.info1{
    flex-direction: row;
    display: flex;
    justify-content: space-around;
    text-align: center;
}
section.info1 video{
    height: 90vh;
}
section.info1 div{
    width: 40vw;
    /*text-align: center;*/
}
.razones-img{
    /* height: 100%; */
    flex-shrink: 1;      /* permite que la imagen se reduzca */
    width: 100%;          /* tamaño inicial */
    min-width: 100px; 
}
/* ********** FIN Seccion info 2 ********** */
.btn-medio button{
    color: white;
    padding: 20px;
    font-weight: bold;
    width: 60%;
    border-radius: 20px;
    background: linear-gradient(45deg, var(--color-rosado1), var(--color-rosado2));
}

/* ********** Seccion info 2 ********** */

section.info2{
    flex-direction: column;
    gap: 60px;
}
section.info2 div{
    text-align: center;
}
.incluye{
    width: 90%;
}
.incluye img{
    width: 100%;
}
div.info-precio{
    margin: 20px 0px;
    padding: 20px 10px;
    width: 70vw;
    border: 1px solid var(--color-rosado3);
    border-radius: 10px;
    background-color: black;
}
div.info-precio p{
    margin-top: 0;
}
p.precio{
    font-size: 2.5rem;
}
div.info-precio button{
    color: white;
    padding: 20px;
    font-weight: bold;
    width: 60%;
    border-radius: 20px;
    background: linear-gradient(45deg, var(--color-rosado1), var(--color-rosado2));
}
div.metodos{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-direction: row;
    margin-top: 5px;
}
div.metodos img{
    width: 40px;
}

    .alternate-pay {
      padding: 1.5rem;
      max-width: 800px;
      margin: 0 auto;
      text-align: center;
      font-family: sans-serif;
    }

    .alternate-pay h2 {
      font-size: 1.25rem;
      margin-bottom: 1rem;
    }

    .pay-buttons {
      display: flex;
      flex-direction: row;
      gap: 1rem;
      align-items: center;
    }

    .pay-button {
      display: block;
      background-color: #fff;
      padding: 1rem;
      border-radius: 0.75rem;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
      transition: box-shadow 0.3s ease;
      width: 100%;
      max-width: 300px;
      text-align: center;
    }

    .pay-button:hover {
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    }

    .pay-button img {
      max-width: 100%;
      height: 40px;
      object-fit: contain;
    }

/* ********** FIN Seccion info 2 ********** */


/* ********** Seccion info 3 ********** */

section.info3{
    flex-direction: column;
    justify-content: center;
    padding: 60px;
}

div.bef-and-aft{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    gap: 30px;
}
div.bef-and-aft img{
    width: 40vw;
}
.bef-and-aft div{
    position: absolute;
    width: 25vw;
    background-color: black;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid white;
    
}
.bef-and-aft h2{
    font-size: 2rem;
    text-align: center;
}
.bef-and-aft p{
    font-size: 1.7rem;
    text-align: center;
}
.posible-mobile{
    display: block;
}
.posible-pc{
    display: none;
}
section.info4{
    flex-direction: column;
    justify-content: center;
    padding: 20px;
}
section.info4 button{
    margin-top: 20px;
    padding: 20px;
    font-weight: bold;
    width: 500px;
    border-radius: 20px;
    background: linear-gradient(45deg, var(--color-rosado1), var(--color-rosado2));
    color: white;

}
div.testimonio-video{
    text-align: center;
} 
div.testimonio-video video{
    height: 90vh;
} 
img.quienes-somos{
    width: 30vw;
}


/* CSS sugerido */
.slider-container {
    overflow: hidden;
    width: 100%;
}

.slider {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    /* El ancho se asignará vía JS para que cada slide ocupe el ancho correcto */
    flex-shrink: 0;
    box-sizing: border-box;
    padding: 20px;
}
.slide img{
    width: 100%;
    height: 100%;
    border-radius: 5px;
    box-shadow: 0px 0px 0px 1px var(--color-rosado2);
    /* object-fit: cover;       recorta la imagen sin deformar */
    /* object-position: center; centra el recorte */

}

footer{
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: 10px 0px;
    background-color: black;
    border-top: 1px solid white;
}
footer p{
    font-size: 1rem;
}
footer img{
    width: 120px;
}
div.footer-data{
    text-align: center;
}
div.footer-data p{
    margin: 0;
}
div.contactos img{
    width: 40px;
    margin: 3px 5px;
    cursor: pointer;
}

div.contactos img:hover{
    box-shadow: 0 0 0 1px yellow;
    border-radius: 5px; 
}

/* ********** FIN Seccion info 3 ********** */

section.info5 div{
    z-index: 10;
}

p.sub-btn{
    font-size: 1.5rem!important;
    font-weight: bold;
}
.preins{
    margin-top: 10px!important;
    text-decoration: underline;
    font-size: 1.2rem!important;
    color: var(--color-rosado4);
}
.inicio-reto{
    font-size: 1.5rem!important;
    color:var(--color-rosado1);
}


  /* Estilos para la animación */
  section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s, transform 0.5s;
  }
  .visible {
    opacity: 1;
    transform: translateY(0);
  }


@media (max-width: 1024px){
    section.portada h1{
        font-size: 4rem;
    }
    section.portada h2{
        font-size: 2.5rem;
    }
    section.portada p{
        font-size: 1.8rem;
    }

    section.info1 div{
        width: 100%;
    }
    .razones-img{
        height: auto;
        width: 80vw;
    }
    section.info1{
        flex-direction: column;
        gap: 0px;
    }

}

@media (max-height: 750px){
  section.portada img{
      height:90vh
  }
}
  

@media (max-width: 750px) {
    div.wpp{
        bottom: 50px;
    }
    section.info5{
        height: 500px;
        gap: 10px;
        text-align: center;
    }
    img.quienes-somos{
        position: absolute;
        z-index: 0;
        height: 100%;
        object-fit: cover;
        width: auto;
        opacity: 0.7;
        max-width: 94%;
    }
    html{
        font-size: 12px;
    }
    h1{
        font-size: 4rem;
    }
    h2{
        font-size: 2.5rem;
    }
    #texto-atletasone{
        display: none;
    }
    .btn-a{
        width: 100%;
    }

    header{
        padding: 1px;
        height: 50px;
        justify-content: space-around;        
    }
    header a.iniciarSesion{
        visibility: hidden;
        padding: 0px;
        /* width: 10vw; */
        width: 55px;
    }
    header div img{
        height: 60%;
    }
    header a.logoAtletas img{
        height: 100%;
    }

    section{
        padding: 10px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: auto;
        align-items: center;
        gap: 30px;
        margin: 20px 0px;
    }
    button{
        width: 90%!important;
    }


    section.portada{
        gap: 10px;
    }
    section.portada div{
        width: 90vw;
        padding: 10px;
    }
    section.portada img{
        height: auto;
        width: 100%;
    }
    section.portada h1{
        font-size: 4rem;
    }
    section.portada h2{
        font-size: 2.5rem;
    }
    section.portada p{
        font-size: 1.5rem;
    }


    section.info1{
        flex-direction: column;
        gap: 0px;
    }
    section.info1 p{
        text-align: left;
    }
    section.info1 video{
        width: 94vw;
    }
    section.info1 div{
        width: 94vw;
    }    
    section.info1 video{
        height: 83vh;
    }


    div.incluye ul{
        gap: 30px;
    }
    div.incluye ul li{
        padding: 10px 5px;
        width: 40%;
        font-size: 1.2rem;
    }
    div.incluye ul li h3{
        font-size: 1.5rem;
    }
    div.incluye ul li img{
        width: 40px;
        margin-bottom: 10px;
    }

    section.info2{
        gap: 20px;
    }
    section.info2 div{
        width: 94vw;
    }
    div.metodos img{
        width: 25px;
    }

    section.info3{
        padding: 0px;
        gap: 0px;
        text-align: center;
    }
    section.info3 p{
        text-align: left;
        padding: 0px 10px;
    }
    section.info3 button{
        width: 98vw;
    }
    div.info-precio button{
        width: 94vw;
    }
    div.bef-and-aft img{
        height: auto;
        width: 45vw;
    }
    .posible-mobile{
        display: block;
    }
    .posible-pc{
        display: none;
    }

    .pay-buttons {
        flex-direction: column;
        justify-content: center;
    }

    .pay-button {
        max-width: none;
        width: 200px;
    }
    .alternate-pay {
      padding: 0;
    }
    p.precio{
        font-size: 2rem;
    }
    section.info4{
        padding: 5px;
        gap: 0px;
        text-align: center;
    }


    .slide {
        padding: 5px;
    }

    footer{
        padding: 1vw;
        width: 98vw;
    }
    footer img{
        width: 90px;
    }
}