@font-face {
  font-family: Athleas;
  src: url("../../../public/fonts/Athelas-Bold.ttf");
  font-weight: 700;
}
@font-face {
  font-family: Athleas;
  src: url("../../../public/fonts/Athelas-BoldItalic.ttf");
  font-weight: 700;
  font-style: italic;
}
@font-face {
  font-family: Athleas;
  src: url("../../../public/fonts/Athelas-Italic.ttf");
  font-weight: 400;
  font-style: italic;
}
@font-face {
  font-family: Athleas;
  src: url("../../../public/fonts/Athelas-Regular.ttf");
  font-weight: 400;
}
:root {
  --blue: #2d6f9c;
  --light-blue: #009ee3;
  --light-blue2: #40b6ea;
  --l: 72px;
  --m: 64px;
  --s: 48px;
  --xs: 24px;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Roboto", sans-serif;
  color: var(--blue);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-size: 24px;
}
h1,
h2,
h3 {
  font-weight: 700;
  margin: 0;
  padding: 0;
}
h2 {
  font-size: 24px;
}
h3 {
  font-size: 18px;
}
p {
  margin: 0;
}
.athleas {
  font-family: Athleas, Times, serif;
}
.light-blue {
  color: var(--light-blue);
}
.light-blue-alt {
  color: var(--light-blue2);
}
.white {
  color: #fff;
}
.black {
  color: #000;
}
.light {
  font-weight: 300;
}
.pt-l {
  padding-top: var(--l);
}
.pb-l {
  padding-bottom: var(--l);
}
.pt-m {
  padding-top: var(--m);
}
.pb-m {
  padding-bottom: var(--m);
}
.pt-s {
  padding-top: var(--s);
}
.pb-s {
  padding-bottom: var(--s);
}
.pt-xs {
  padding-top: var(--xs);
}
.pb-xs {
  padding-bottom: var(--xs);
}
.content {
  max-width: 1260px;
  margin: auto;
  width: 80%;
  z-index: 99999;
  position: relative;
}
.grid {
  display: flex;
  gap: 16px;
}
.grid .half {
  flex: 0 0 calc(50% - 16px);
}
.grid.align-center {
  align-items: center;
}
.center {
  text-align: center;
}
.main-title {
  font-size: 52px;
}
.bigger {
  font-size: 26px;
}
#herramientas {
  background: var(--light-blue);
}
#app {
  background: var(--blue);
}
.relative {
  position: relative;
}
#app .add-padding,
#app .add-padding > * {
  padding-right: var(--l);
}
.large {
  font-size: 32px;
}
.small {
  font-size: 18px;
  margin-bottom: 5px;
}
#videos-grid {
  flex-wrap: wrap;
}
#videos-grid .video-title {
  padding-top: 8px;
  padding-bottom: 8px;
  width: 100%;
  border-top: 4px solid var(--light-blue);
}

.footer-content .grid.bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.disclaimers {
  flex: 1; /* Hace que el texto ocupe el espacio disponible */
  max-width: 70%; /* Limita el ancho del texto */
}

.nobreak {
  margin-left: auto; /* Empuja el código hacia la derecha */
  white-space: nowrap; /* Evita que el texto se divida en varias líneas */
}

.footer-content img {
  max-width: 220px;
  height: auto;
  margin-left: 20px; /* Espacio entre el código y el logo */
}
.footer-content {
  width: 90%;
  margin: auto;
}
.footer-content .grid {
  align-items: flex-end;
  gap: var(--m);
}
.disclaimer strong {
  font-size: 16px;
}
.disclaimer {
  font-size: 14px;
}
.disclaimer.nobreak {
  text-wrap: nowrap;
}
#open-modal {
  padding: 0;
  background: none;
  text-decoration: underline;
  border: none;
  color: var(--light-blue);
  font-weight: 700;
}
#aviso-legal {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100%;
  z-index: 999999;
}
#aviso-legal .modal {
  background: #fff;
  max-width: 1260px;
  margin: auto;
  max-height: 80%;
  font-size: 14px;
  padding: 24px;
  border-radius: 24px;
  position: relative;
  margin-top: var(--m);
}
#aviso-legal button {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 18px;
  background-color: var(--blue);
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 4px 7px;
  cursor: pointer;
}
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99999;
}
#aviso-legal p {
  margin-bottom: 5px;
}
#aviso-legal h2 {
  font-size: 24px;
  padding-right: 24px;
}
#aviso-legal h3 {
  font-size: 18px;
  margin-top: 12px;
}
.opened {
  display: block;
  visibility: visible;
  opacity: 1;
}
.closed {
  display: none;
  visibility: hidden;
  opacity: 0;
}
.visible {
  opacity: 1;
  transform: translateX(0);
  transition: all 1s ease;
}
.visible.not {
  opacity: 0;
  transform: translateX(-100vw);
  transition: all s ease;
}
#cookiescript_reject {
  background-color: #2d6f9c !important;
  border: none !important;
}

.content-text {
  font-size: 18px;
  text-align: justify;
}
.content-text h1 {
  margin-bottom: 20px;
  text-align: center;
}
.content-text p {
  margin-bottom: 10px;
}
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
}
.cont-vimeo {
  display: flex;
  background: url(../../../public/images/vimeo.jpg);
  background-size: contain;
  background-repeat: no-repeat;
  background-color: #595f6f;
  background-position: center;
  position: relative;
}
@media (max-width: 980px) {
  :root {
    --l: 64px;
    --m: 48px;
    --s: 24px;
    --xs: 16px;
  }
  .footer-content .grid.bottom {
    display: inline-block;
  }
  .disclaimers {
    max-width: 100%;
  }
  .nobreak {
    margin-left: 0;
    margin-top: 10px; /* Espacio entre el código y el texto */
  }

  .footer-content img {
    margin-left: 0;
    margin-top: 10px; /* Separa el logo del texto */
  }
  .main-title {
    font-size: 36px;
  }
  #app .add-padding > * {
    padding-right: 0;
  }
  #app .content > .grid {
    flex-direction: column;
  }
  #app .content .left {
    padding-bottom: 0;
  }
  #app .content .right {
    padding-bottom: var(--s);
  }

  .grid.bottom {
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--s);
  }
  .disclaimers {
    flex: 0 0 100%;
  }
  #cta-inner #cta-text {
    order: 1;
    width: calc(100% - 24px);
    flex: 0 0 calc(100% - 24px);
    padding: 12px !important;
  }
  #cta-inner #cta-image {
    order: 2;
    width: calc(60% - 24px);
    flex: 0 0 calc(40% - 24px);
    padding-right: 12px;
  }
  #cta-inner #cta-logos {
    order: 3;
    width: calc(40% - 24px);
    flex: 1;
    background: transparent;
    padding-right: 0 !important;
  }
  #cta-inner #cta-logos img {
    width: 100%;
  }
  #cta-inner #cta-text h2 {
    font-size: 20px;
  }
  #cta-inner #cta-text p {
    font-size: 16px;
    text-wrap: nowrap;
  }
  #promo .modal .main-modal-image.mobile {
    display: block;
  }
  #promo .modal .main-modal-image.desktop {
    display: none;
  }
  #promo .modal,
  #aviso-legal .modal {
    max-width: 80% !important;
  }
  #promo .modal-inner .modal-inner-content .modal-logos {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  #promo .modal-inner .modal-inner-content .modal-logos img {
    max-width: 60%;
  }
  #promo .modal-inner-content p {
    font-size: 18px !important;
  }
  #promo .modal-inner-content {
    max-width: 65% !important;
  }
  #cta-logos,
  #cta-image {
    display: none !important;
  }
  #cta-image-mobile {
    width: 100%;
    order: 3;
  }
}
@media (min-width: 981px) {
  #cta-image-mobile {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --l: 48px;
    --m: 32px;
    --s: 24px;
    --xs: 16px;
  }
  .main-title {
    font-size: 32px;
  }
  #videos-grid .half {
    flex: 0 0 100%;
  }
  #videos-grid iframe {
    height: 90vh;
  }
  #app .add-padding {
    padding-right: 0;
  }
  #app .buttons img {
    max-width: calc((80vw - 80px) / 2);
  }
}

@media (max-width: 500px) {
  #promo .modal-inner-content p {
    font-size: 12px !important;
}
}

#access-button .button {
  position: relative;
  display: inline-block;
  padding: 8px var(--m);
  border-radius: 40px;
  background-color: #1d7ca8;
  outline: none;
  border: none;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.4);
  text-decoration: none;
}
#access-button .button::before {
  content: "";
  mix-blend-mode: overlay;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  border-radius: 40px;
  border: 3px solid transparent;
  background: linear-gradient(#1d7ca8, #1d7ca8) padding-box,
    linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.4)) border-box,
    linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0))
      border-box;
}
#access-button .button::after {
  content: "";
  mix-blend-mode: overlay;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  border-radius: 40px;
  border: 3px solid transparent;
  background: linear-gradient(rgba(255, 255, 255, 0.3), rgba(0, 0, 0, 0.3))
      padding-box,
    linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)) border-box;
}
#access-button .button > span {
  position: relative;
  z-index: 3;
}
#access-button .button:hover {
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.4);
  cursor: pointer;
}
#access-button .button:hover::after {
  background: linear-gradient(rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.2))
      padding-box,
    linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)) border-box;
}
#cta {
  background: #e4e4e4;
  padding: 8px;
  box-shadow: 7px 7px 15px 3px #454545;
  margin-top: 24px;
  cursor: pointer;
}
.red {
  color: #cc342c;
}
#cta-inner {
  display: flex;
  flex-wrap: wrap;
}
#cta-image {
  flex: 0 0 35%;
  width: 35%;
  object-fit: cover;
  background: #fff;
}
#cta-text {
  flex: 0 0 calc(43% - 48px);
  width: calc(43% - 48px);
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 24px;
}
#cta-text h2 {
  font-size: 32px;
  text-align: center;
}
#cta-text p {
  font-size: 28px;
  text-align: center;
}
#cta-logos {
  flex: 0 0 calc(22% - 24px);
  width: calc(22% - 24px);
  padding: 24px 24px 24px 0;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
#cta-logos img {
  width: 100%;
}
#promo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100%;
  z-index: 999999;
}
#promo .modal {
  background: #fff;
  max-width: 1260px;
  margin: auto;
  max-height: 80%;
  font-size: 14px;
  position: relative;
  margin-top: var(--m);
}
#promo button {
  position: absolute;
    top: 13px;
    right: 10px;
    font-size: 13px;
    background-color: #fff;
    color: #000;
    border: none;
    border-radius: 100px;
    padding: 2px 6px;
    cursor: pointer;
}
#promo .main-modal-image {
  width: 100%;
}
#promo .main-modal-image.mobile {
  display: none;
}
#promo .modal-inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: center;
}
#promo .modal-inner-content {
  background: #fff;
  padding: 24px;
  box-shadow: 7px 7px 15px 3px #454545;
  max-width: 58%;
}
#promo .modal-inner-content .modal-logos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
}
#promo .modal-inner-content .modal-logos img {
  max-width: 28%;
}
#promo .modal-inner-content p {
  font-size: 24px;
  margin-bottom: 12px;
  text-align: center;
}
#aviso-legal,
#promo {
  pointer-events: none;
}
.modal {
  pointer-events: auto;
}
