@font-face {
  font-family: 'Bw Beto';
  src: url('BwBeto-Regular.eot');
  src: url('BwBeto-Regular.eot?#iefix') format('embedded-opentype'), url('BwBeto-Regular.woff2') format('woff2'), url('BwBeto-Regular.woff') format('woff'), url('BwBeto-Regular.ttf') format('truetype'), url('BwBeto-Regular.svg#./BwBeto-Regular') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Bw Beto black';
  src: url('BwBeto-Black.eot');
  src: url('BwBeto-Black.eot?#iefix') format('embedded-opentype'), url('BwBeto-Black.woff2') format('woff2'), url('BwBeto-Black.woff') format('woff'), url('BwBeto-Black.ttf') format('truetype'), url('BwBeto-Black.svg#./BwBeto-Black') format('svg');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
/* Ahora puedes usarla en tu CSS */
* {
  font-family: 'Bw Beto', sans-serif;
  font-weight: bold;
  transition-duration: 0.3s;
}
nav {
  position: fixed;
  top: 0;
  background-color: #01594D;
  padding: 0px 20% 0px 20%;
  width: 60%;
  z-index: 3;
  border-bottom: solid 1px #F7EEDD;
}
nav a {
  width: 30.5%;
  font-family: 'Bw Beto', sans-serif;
  font-weight: bold;
  background-color: #01594D;
  border: none;
  color: white;
  padding: 10px 1%;
  text-decoration: none;
  display: inline-block;
  font-size: 18px;
  cursor: pointer;
  align-items: center;
  /* centra verticalmente */
  /* centra horizontalmente */
  text-align: center;
}
nav a:hover {
  background-color: #01332E;
  color: white;
}
@media screen and (max-width: 800px) {
  nav {
    width: 90%;
    padding: 0 5%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 100000;
    display: none;
  }
  nav a {
    width: 100%;
    margin: 10px auto;
  }
}
.menu-hamburguesa {
  display: none;
}
/* Solo se muestra en pantallas menores de 800px */
@media (max-width: 800px) {
  .menu-hamburguesa {
    display: block;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000000;
  }
  .menu-hamburguesa input {
    display: none;
  }
  .menu-hamburguesa label {
    cursor: pointer;
    display: inline-block;
  }
  .menu-hamburguesa span {
    display: block;
    width: 30px;
    height: 3px;
    margin: 6px;
    background: white;
    transition: 0.4s;
  }
  .menu-hamburguesa input:checked ~ nav {
    right: 0;
  }
  /* Animación en X */
  .menu-hamburguesa input:checked + label span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  .menu-hamburguesa input:checked + label span:nth-child(2) {
    opacity: 0;
  }
  .menu-hamburguesa input:checked + label span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }
}
.texto {
  font-family: 'Bw Beto', sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.5;
  text-align: justify;
  color: white;
}
.botonverde {
  font-family: 'Bw Beto', sans-serif;
  font-weight: bold;
  background-color: #01594D;
  border: none;
  color: white;
  padding: 10px 5%;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 18px;
  margin: 8px auto;
  cursor: pointer;
  border-radius: 12px;
  float: none;
  width: 90%;
}
.borderdorado2 {
  border-radius: 5px;
  margin: 0 auto;
}
.botonverde:hover {
  background-color: #01332E;
}
.contenedor h2 {
  text-align: center;
  font-family: 'Bw Beto', sans-serif;
  font-size: 2em;
}
html,
body {
  height: 100%;
  margin: 0;
  background-color: #01594D;
}
html p,
body p {
  font-family: 'Bw Beto', sans-serif;
  font-size: 18px;
}
.section {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  overflow: hidden;
}
.section2 {
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  overflow: hidden;
  background-color: #01332E;
}
.heightauto {
  height: auto !important;
}
.uno {
  background-image: url('../img/fondo/fondo1.jpg');
  background-repeat: repeat;
  background-size: cover;
  background-attachment: fixed;
}
.contenedormedio {
  position: relative;
  width: 40%;
  max-width: 600px;
  margin: 0% 5%;
  float: left;
  align-items: center;
  justify-content: center;
}
.contenedormedio img {
  width: 100%;
  margin: 0 auto;
}
.contenedormedio #botonesmenu {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}
.contenedormedio .botonverde {
  font-family: 'Bw Beto', sans-serif;
  font-weight: bold;
  background-color: #01594D;
  border: none;
  color: white;
  padding: 10px 5%;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 18px;
  margin: 8px auto;
  cursor: pointer;
  border-radius: 12px;
  float: none;
  width: 90%;
}
.borderdorado {
  border-radius: 5px;
  margin: 0 auto;
  height: 60vh;
}
span {
  font-family: 'Bw Beto', sans-serif;
  font-size: 16px;
  font-weight: 300;
  margin-top: -20px;
  margin-left: 10px;
}
.contenedortercio {
  width: 30%;
}
.contenedortercio h2 {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: -100px;
}
.contenedortercio img {
  width: 90%;
  border: solid 4px #A66C26;
  border-radius: 5px;
  margin: 0 auto;
}
.contenedortercio p {
  width: 90%;
  font-size: 18px;
  margin: 0 auto;
  font-weight: 300;
}
#tercio div {
  width: 30%;
  padding: 0 1.5%;
  float: left;
}
#tercio div img {
  width: 100%;
  border-radius: 5px;
  margin: 0 auto;
  height: 60vh;
}
@media (max-width: 1200px) {
  .contenedormedio {
    width: 80%;
    margin: 0 auto;
    float: none;
  }
  .contenedormedio img {
    width: 100%;
    margin: 0 auto;
  }
  .contenedormedio #botonesmenu {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  .contenedormedio .botonverde {
    font-family: 'Bw Beto Black', sans-serif;
    font-weight: bold;
    background-color: #01594D;
    border: none;
    color: white;
    padding: 10px 5%;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 18px;
    margin: 8px auto;
    cursor: pointer;
    border-radius: 12px;
    float: none;
    width: 90%;
  }
  section {
    display: block;
    height: auto;
    padding-bottom: 20px;
  }
}
.textoimportante {
  display: block;
  position: relative;
  padding: 20px 0px;
}
.contenedorcuarto {
  width: 20%;
}
.contenedorcuarto h2 {
  display: block;
  width: 100%;
  margin-top: -100px;
}
.contenedorcuarto img {
  width: 90%;
  border: solid 4px #F7EEDD;
  border-radius: 5px;
  margin: 0 auto;
}
.contenedorcuarto p {
  width: 90%;
  font-size: 18px;
  margin: 0 auto;
  font-weight: 300;
}
.dos {
  background: #01594D;
}
.tres {
  background: #01594D;
}
.imgmovil {
  display: none;
}
.tres img {
  height: 95vh;
}
@media (max-width: 1200px) {
  .dos {
    display: block;
    height: auto;
    text-align: center;
  }
  .contenedorcuarto {
    width: 80%;
    float: left;
    margin: 40px 5%;
  }
  .contenedorcuarto h2 {
    margin-top: 40px;
  }
  .contenedorcuarto p {
    font-size: 16px;
  }
  .imgpc {
    display: none;
  }
  .imgmovil {
    display: block;
    width: 100%;
    margin: 0 auto;
    height: auto;
  }
}
.cuatro {
  background-color: #F7EEDD;
  background-repeat: repeat;
  background-size: cover;
  background-attachment: fixed;
}
#campeonatodeportivo {
  padding-top: 40px;
  width: 80%;
  margin: 0 auto;
  max-width: 600px;
}
#campeonatodeportivo img {
  width: 100%;
  margin: 0 auto;
}
#campeonatodeportivo .textoverde {
  font-family: 'Bw Beto', sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: #01594D;
  text-align: justify;
  margin: 20px auto;
  line-height: 24px;
  letter-spacing: 1px;
}
#campeonatodeportivo .imagentorneo {
  height: 30vh;
}
.cinco {
  background: #01594D;
  padding: 20px 2%;
}
.cinco .contenedormedio h2 {
  width: 70%;
  float: left;
}
.cinco .contenedormedio img {
  width: 20%;
  float: left;
}
.cinco .contenedormedio p {
  width: 100%;
  float: left;
  font-size: 16px;
  font-weight: 300;
  text-align: justify;
  margin-top: 20px;
  line-height: 24px;
  letter-spacing: 1px;
  font-family: 'Bw Beto', sans-serif;
}
.diferente {
  flex: none;
  height: auto;
}
.clear {
  clear: both;
}
#carruseles {
  max-width: 1000px;
  margin: 0 auto;
}
#carruseles p {
  width: 80%;
  margin: 0 auto;
}
#carruseles h2 {
  width: 80%;
  margin: 0 auto;
  margin-bottom: 20px;
}
h1 {
  font-family: 'Bw Beto', sans-serif;
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
  margin: 40px 0 20px;
  font-size: 3em;
}
h2 {
  font-size: 2em;
}
p {
  font-weight: 300;
}
.textocarusel {
  font-family: 'Bw Beto', sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.5;
  text-align: justify;
  color: white;
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.6em;
  padding: 40px 20px 00px 20px;
}
.carrusel-container {
  position: relative;
  width: 100%;
  height: 300px;
  margin: 0 auto;
  overflow: hidden;
  border: 4px solid #01332E;
}
.carrusel {
  display: flex;
  width: max-content;
  animation: scroll 40s linear infinite;
}
.carrusel img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  flex-shrink: 0;
  margin: 0 0px;
  border-left: 10px solid #01332E;
}
/* Animación para scroll infinito */
@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
:root {
  --popup-backdrop: rgba(247, 238, 221, 0.75);
  --popup-radius: 16px;
  --popup-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --close-size: 38px;
}
.vp-overlay {
  position: fixed;
  inset: 0;
  background: var(--popup-backdrop);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 24px;
}
.vp-overlay.is-open {
  display: flex;
}
.vp-dialog {
  position: relative;
  width: min(900px, 92vw);
  border-radius: var(--popup-radius);
  overflow: hidden;
  box-shadow: var(--popup-shadow);
  background: #01594d;
}
.vp-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: var(--close-size);
  height: var(--close-size);
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(6px);
  z-index: 10000;
}
.vp-close:hover {
  background: rgba(255, 255, 255, 0.2);
}
.vp-close svg {
  width: 18px;
  height: 18px;
}
.vp-video {
  width: 100%;
  height: auto;
  max-height: 90vh;
  display: none;
  object-fit: cover;
  background: #000;
}
/* Desktop */
@media (min-width: 769px) {
  .vp-video.desktop {
    display: block;
  }
}
/* Mobile */
@media (max-width: 768px) {
  .vp-video.mobile {
    display: block;
    max-width: 100%;
    height: auto;
    aspect-ratio: 5 / 7;
    /* Forzamos formato vertical */
  }
}
body.vp-locked {
  overflow: hidden;
}
/* Preloader ocupa toda la pantalla */
#preloader {
  position: fixed;
  inset: 0;
  background-color: #ffffff;
  /* fondo blanco */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#preloader img {
  width: 120px;
  /* tamaño del gif */
  height: auto;
}
#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}
.thesociety {
  width: 150px;
  padding: 40px 0px;
  float: right;
  margin-top: -200px;
}
@media (max-width: 800px) {
  h2 {
    font-size: 1em !important;
  }
  .thesociety {
    width: 100%;
    padding: 40px 0px;
    float: right;
    margin-top: 0px;
    margin: 0 auto;
  }
}
.contenedormedio {
  position: relative;
  width: 40%;
  max-width: 600px;
  margin: 0% 5%;
  float: left;
  align-items: center;
  justify-content: center;
}
.contenedormedio img {
  width: 100%;
  margin: 0 auto;
}
.contenedormedio #botonesmenu {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}
.contenedormedio .botonverde {
  font-family: 'Bw Beto', sans-serif;
  font-weight: bold;
  background-color: #01594D;
  border: none;
  color: white;
  padding: 10px 5%;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 18px;
  margin: 8px auto;
  cursor: pointer;
  border-radius: 12px;
  float: none;
  width: 90%;
}
@media (max-width: 1200px) {
  .contenedormedio {
    position: relative;
    width: 80%;
    margin: 0% 10%;
    float: left;
    align-items: center;
    justify-content: center;
  }
  .section {
    width: 100%;
  }
  .section {
    display: block !important;
    height: auto;
    padding-bottom: 20px;
  }
  .section2 {
    display: block !important;
    height: auto;
    padding-bottom: 20px;
  }
  .thesociety {
    position: relative;
    width: 40%;
    padding: 0 !important;
    margin: 0 auto !important;
    float: none !important;
  }
  .thesociety img {
    width: 100%;
    margin: 0 auto;
    right: 30%;
  }
}
.notificacion {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #fff;
  border: 1px solid #ccc;
  padding: 15px 20px;
  width: 260px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  font-family: sans-serif;
  opacity: 0;
  transform: translateY(-50px);
  pointer-events: none;
  transition: all 0.5s ease;
  z-index: 9999;
}
.notificacion.mostrar {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.notificacion p {
  margin: 0;
  font-size: 14px;
  color: #333;
}
.notificacion .botonverde {
  background: #01594D;
  color: #fff;
  padding: 8px 12px;
  text-decoration: none;
  border-radius: 4px;
  font-size: 13px;
}
.notificacion .botonverde:hover {
  background: #013d34;
}
.notificacion .cerrar {
  position: absolute;
  top: 5px;
  right: 10px;
  cursor: pointer;
  font-size: 18px;
  color: #666;
}
.contenedorimagen {
  width: auto;
  height: 60vh;
  max-width: 40vh;
}
