@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  font-family: "Saira", sans-serif;
}

html {
  overflow-y: scroll;
}

html::-webkit-scrollbar {
  width: 0.5rem;
  background-color: rgb(0, 0, 0, 0.473);
  border-radius: 3rem;
}

html::-webkit-scrollbar-thumb {
  background-color: #000000;
  border-radius: 3rem;
}

body {
  background-repeat: repeat;
  background-size: cover;
  height: 100vh;
}

ul, ol {
  list-style: none;
}

.fas:hover {
  color: #ffffff;
}

.actGymEnlaces a {
  text-decoration: none;
  color: #000000;
}
.actGymEnlaces a:hover {
  color: #000000;
}

/*----Menú de Navegación Big Screens----*/
header {
  background-image: url(../images/fondo-headerrrr2.jpg);
  background-repeat: no-repeat;
  background-position: cover;
  background-size: 100%;
  width: 100%;
}

#logo__superior {
  background-position-y: 25%;
  background-position-x: center;
  background-image: url(../logolovefit.png);
  background-size: 35%;
  background-repeat: no-repeat;
}

#logo__superior img {
  width: 500px;
}

#menu__nav {
  position: relative;
  top: -6rem;
  width: 100%;
}

.container__menu {
  background-color: #c9c9c9;
  height: 5rem;
  width: 100%;
  padding-top: 1.75rem;
  text-align: center;
  box-shadow: 0px 5px 5px rgba(29, 29, 29, 0.377), 0px -5px 5px rgba(32, 32, 32, 0.329);
}

.nav__inline li a {
  background-color: #c9c9c9;
  color: #ffffff;
  padding: 1.25rem 0.5rem;
  text-decoration: none;
  font-weight: bold;
  align-items: center;
  font-size: 20px;
}

.nav__inline--li {
  display: inline-block;
  margin-right: 1rem;
}

.nav__inline li a:hover {
  background-color: #ffffff;
  color: black;
  height: auto;
}

/* Updated Button Styles */
.btnGym {
    color: #ffffff;
    padding: 0.8rem 1.5rem; /* Increased padding for better clickability */
    background-color: #000;
    font-weight: bold;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer; /* Indicate it's clickable */
    transition: background-color 0.3s ease, transform 0.2s ease; /* Smooth transition for hover effects */
    text-decoration: none; /* Ensure no underline if used as a link */
    display: inline-block; /* Allows padding and transitions to work consistently */
}

.btnGym:hover {
    background-color: #333; /* Slightly lighter black on hover */
    transform: translateY(-2px); /* Subtle lift effect on hover */
    color: #ffffff;
}

.btnGym:active {
    background-color: #555; /* Even lighter on click */
    transform: translateY(0); /* Return to original position */
}


/*----Menú de Navegación Small Screens----*/
#menu__nav--responsive {
  margin: auto;
  width: 100%;
}

#ulNavResponsive {
  margin-left: 5%;
}

.nav__responsive {
  padding-left: 0;
}

.nav__responsive li a {
  background-color: #c9c9c9;
  color: #ffffff;
  text-decoration: none;
  display: block;
  text-decoration: none;
  font-weight: bold;
  align-items: center;
  text-align: center;
  align-self: center;
  padding: 0.5rem;
}

.nav__responsive li a:hover {
  background-color: #ffffff;
  color: black;
  background-position: center;
}

.nav__responsive li ul {
  display: none;
  position: absolute;
  font-weight: bold;
  text-align: center;
  width: 80%;
  /*esto es el tamaño de la caja de los elementos del submenu */
}

.nav__responsive li:hover > ul {
  display: block;
  z-index: 100;
}

.container__menu--res {
  background-color: #c9c9c9;
  height: 3rem;
  width: 100%;
  padding-top: 0.75rem;
  background-position-x: center;
  text-align: center;
  box-shadow: 0px 5px 5px rgba(29, 29, 29, 0.377), 0px -5px 5px rgba(32, 32, 32, 0.329);
}

/*--------------------------*/
/*----------TRAINING GENERADOR--------*/
.form__contact {
  color: #000000;
  font-weight: bold;
  background-color: rgb(0, 0, 0, 0.473);
  border-radius: 5px;
  margin-top: 0%;
  margin-left: 10%;
  margin-right: 10%;
  margin-bottom: 5%;
  box-shadow: 0px 5px 5px rgba(29, 29, 29, 0.377), 0px -5px 5px rgba(32, 32, 32, 0.329);
}

.contact__h5 {
  font-weight: bold;
}

fieldset {
  border: 2px solid rgb(222, 222, 222, 0.473);
  padding-left: 1rem;
  padding-bottom: 1rem;
}

/* Updated Modal Window Styles */
.modalContainerRutinas {
    height: 100vh;
    width: 100vw;
    background-color: rgba(0, 0, 0, 0.6); /* Slightly darker overlay */
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: all 0.4s ease-in-out; /* Slower and smoother transition */
    z-index: 1000; /* Ensure it's above everything else */
}

.modalRutinasActive {
    visibility: visible;
    opacity: 1;
}

.modalRutinas {
    color: #333; /* Darker text for readability */
    background-color: #ffffff;
    width: 90%; /* Slightly smaller width */
    max-width: 800px; /* Max width for large screens */
    height: 90%; /* Slightly smaller height */
    max-height: 90vh; /* Max height to prevent overflowing screen */
    border-radius: 0.75rem; /* More rounded corners */
    text-align: center;
    padding: 2rem; /* More padding inside */
    margin: auto;
    overflow-y: auto; /* Use 'auto' instead of 'scroll' for scrollbar only when needed */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); /* More prominent shadow */
    position: relative; /* For positioning the close button */
    display: flex;
    flex-direction: column; /* Arrange content vertically */
}

/* Style for the close button within the modal */
#cerrarRutina {
    position: sticky; /* Sticky position to keep it visible while scrolling */
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 1.5rem; /* Space above the button */
    padding: 0.6rem 1.8rem;
    z-index: 1001; /* Ensure close button is above modal content */
}

/* Improve modal content styling */
#rutinaElegidaImpresa h3 {
    font-size: 2.2rem; /* Larger title */
    margin-bottom: 1.5rem;
    color: #007bff; /* Use the accent blue */
}

#rutinaElegidaImpresa p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0.8rem;
}

.modalRutinas div h6 {
    font-size: 1.3rem;
    margin-top: 1rem;
    color: #555;
}

.modalRutinas div p {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.modalForm {
  color: black;
  background-color: #ffffff;
  background-size: contain;
  width: 50%;
  border-radius: 0.5rem;
  text-align: center;
  padding: 1rem;
  margin: auto;
}

/*-------------------INDEX---------------*/
.container__actividad {
  margin-top: -5rem;
  padding: 5%;
  display: flex;
  flex-wrap: wrap;
}

.contenedor {
  position: relative;
  margin: 2%;
}

.img__index--act {
  border-radius: 100%;
  filter: grayscale(1);
}

.filtro__hov {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 100%;
  background: rgb(0, 0, 0, 0.473);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
}
.filtro__hov p {
  transform: translateY(2.5rem);
  font-size: 28px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.815);
}

.filtro__hov:hover {
  opacity: 1;
}
.filtro__hov:hover p {
  transform: translateY(0rem);
  color: #ffffff;
}

@media screen and (min-width: 360px) {
  .container__actividad {
    padding: 0%;
    width: 100%;
    margin-top: 2rem;
  }

  .img__index--act {
    height: 15rem;
    width: 15rem;
  }

  #menu__nav {
    display: none;
  }

  #logo__superior {
    padding: 15%;
  }
}
@media only screen and (min-width: 480px) and (max-width: 767px) {
  #ulNavResponsive {
    margin-left: 7%;
  }
}
@media screen and (min-width: 768px) {
  .container__actividad {
    margin-top: -5rem;
  }

  #logo__superior {
    text-align: center;
    padding: 20%;
  }

  #menu__nav {
    display: inline;
  }

  #menu__nav--responsive {
    display: none;
  }

  .mainSpace {
    margin-top: -5rem;
  }
}
@media only screen and (min-width: 1024px) {
  .nav__inline li a {
    padding: 1.25rem 1.25rem;
  }

  .img__index--act {
    height: 13rem;
    width: 13rem;
  }
}
h4 {
  color: #000000;
}

p {
  color: black;
}

.form__contact {
  color: #000;
  background-color: rgb(204, 204, 204, 0.473);
  border-radius: 5px;
  margin-top: 0%;
  margin-left: 5%;
  margin-right: 5%;
  margin-bottom: 5%;
  box-shadow: 0px 5px 5px rgba(29, 29, 29, 0.377), 0px -5px 5px rgba(32, 32, 32, 0.329);
}
.form__contact i {
  font-size: 1.5rem;
}

.contact__h5 {
  font-weight: bold;
}

.servOfrecidos {
  color: #000000;
  background-color: #000000;
}

.form-check-input:checked {
  background-color: rgb(0, 0, 0, 0.473);
  border-color: #000000;
}

.formuario__label {
  display: block;
  font-weight: 1.5rem;
  padding: 1rem;
  cursor: pointer;
}

/* Updated Form Input Styles */
.formulario__input,
.formulario__input--mensaje {
    width: 100%;
    background-color: #f8f8f8; /* Light grey background for inputs */
    border: 1px solid #ddd; /* Subtle border */
    border-radius: 0.35rem;
    height: 2.8rem; /* Slightly increased height */
    line-height: normal; /* Reset line-height */
    padding: 0 1rem; /* More balanced padding */
    transition: all 0.3s ease; /* Smooth transition for focus and validation */
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.07); /* Inner shadow for depth */
}

.formulario__input--mensaje {
    height: 7rem; /* Increased height for textarea */
    padding: 1rem; /* Adjust padding for textarea */
    resize: vertical; /* Allow vertical resizing of textarea */
}

.formulario__input:focus,
.formulario__input--mensaje:focus {
    border-color: #007bff; /* A nice blue for focus */
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); /* Bootstrap-like focus glow */
    background-color: #fff;
}

.formulario__input-error {
    font-size: 0.85rem;
    color: #dc3545; /* Red for error messages */
    margin-top: 0.25rem;
    display: none;
}

.formulario__input-error-activo {
  display: block;
}

.formulario__validacion-estado {
    position: absolute;
    right: 1rem;
    top: 50%; /* Center vertically */
    transform: translateY(-50%); /* Adjust for perfect vertical centering */
    font-size: 1.2rem; /* Slightly larger icon */
    opacity: 0;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.formulario__mensaje {
  height: auto;
  padding: 20%;
  align-items: center;
  text-align: center;
  margin: auto;
  background-color: #241d1b;
  padding: 0 15px;
  border-radius: 3px;
  display: none;
  color: #ffffff;
}

.formulario__mensaje-activo {
  display: block;
}

.formulario__mensaje p {
  padding: 5px;
}

/* Updated Validation State Styles */
.formulario__grupo-correcto .formulario__validacion-estado {
    color: #28a745; /* Green check */
    opacity: 1;
}

.formulario__grupo-incorrecto .formulario__label {
  color: black;
}

.formulario__grupo-incorrecto .formulario__validacion-estado {
    color: #dc3545; /* Red cross */
    opacity: 1;
}

.formulario__grupo-incorrecto .formulario__input {
    border: 3px solid #dc3545; /* Red border for incorrect */
}

.recibir__novedades:focus {
  background-color: #000000;
  color: #ffffff;
}

.recibir__novedades:hover {
  background-color: #000000;
  color: #ffffff;
}

#contenedorMercadoPago {
  color: black;
  background-color: #ffffff;
  width: 90%;
  height: auto;
  border-radius: 0.5rem;
  text-align: center;
  padding: 1rem;
  margin: auto;
}
#contenedorMercadoPago fieldset {
  border: 0.25rem solid #000000;
  padding: 1rem;
  border-radius: 0.5rem;
}
#contenedorMercadoPago h3 {
  color: #000000;
  font-weight: bold;
}
#contenedorMercadoPago a {
  text-decoration: none;
  color: #000000;
}
#contenedorMercadoPago a:hover {
  color: #000000;
}

footer {
  background-color: black;
  background-size: cover;
  background-position: center;
  width: 100%;
}
footer div {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-around;
  width: 70%;
  margin: auto;
  padding-top: 1rem;
}
footer div p {
  text-align: center;
  align-content: space-around;
  color: #ffffff;
  font-size: 0.75rem;
}
footer div p a {
  text-decoration: none;
  color: #ffffff;
}
footer div p a:hover {
  color: #000000;
}
footer .fab {
  font-size: 1.5rem;
  color: #ffffff;
  padding-bottom: 2rem;
}
footer .fab:hover {
  color: #000000;
}