@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Rubik+Mono+One&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
  user-select: none;
}
html {
  scroll-behavior: smooth;
}
/* MODAL */

.modal-cointainer {
  width: 100%;
  height: 100vh;
  opacity: 0;
  visibility: hidden;
  position: fixed;
  inset: 0;
  background-color: #00000048;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
  z-index: 10000;
}

.modal-cointainer.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  transform: translateY(-200%);
  transition: transform 0.3s ease; /* 👈 AQUÍ va la transición */
  width: auto;
  height: auto;
  max-height: 95vh;
  padding: 40px;
  background-color: #fff;
  border-radius: 10px;
  user-select: none;
  cursor: pointer;
  overflow: auto;
}

.modal-cointainer.open .modal {
  transform: translateY(0);
}
.close-modal {
  position: fixed;
  width: 30px;
  height: 30px;
  background-color: #2c3e50;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 5px;
  right: 5px;
  border-radius: 50%;
}
.seo-hidden {
  position: absolute;
  left: -9999px;
}
button:focus {
  outline: none;
}
button {
  border: none;
  cursor: pointer;
}
input {
  border: none;
  padding-left: 10px;
}
input:focus {
  outline: none;
}
ul,
ol {
  list-style: none;
}
a:link,
a:visited {
  text-decoration: none;
  color: inherit;
}
header {
  width: 100%;
  height: 120px;
  /*   background-color: #ff0385; */
  background: linear-gradient(to bottom, #ff7687 0%, #ff0085 50%, #ff7687 100%);
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

header ul {
  color: #fff;
  display: flex;
  gap: 30px;
}
header ul li a {
  font-size: 23px;
  font-weight: bold;
}

header button {
  width: 255px;
  height: 72px;
  font-size: 30px;
  border-radius: 15px;
  /* background-color: #f6275b; */
  background: linear-gradient(to bottom, #cd2557 0%, #f6275b 50%, #cd2456 100%);
  color: #fff;
  font-weight: bold;
  position: relative;
}

/* Apertur de link */
.texto {
  position: relative;
  text-decoration: none;
  color: black;
}
.texto::after {
  content: "";
  position: absolute;

  left: 50%;
  bottom: -5px;

  width: 0%;
  height: 3px;

  background: #fff;

  transform: translateX(-50%);
  transition: width 0.3s ease;
}
.texto:hover::after {
  width: 100%;
}

header button::after {
  content: "";
  width: 50px;
  height: 50px;
  position: absolute;
  right: -30%;
  top: 50%;
  transform: translateY(-50%);
  background-image: url("img/corazon.png");
  background-repeat: no-repeat;
  background-size: contain;
  animation: rebote 3s infinite;
}

main {
  position: relative;
  width: 100%;
  height: calc(100dvh - 120px);
  background-image: url("img/fondo.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 100%;
}
main::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 0.993),
    rgba(255, 255, 255, 0)
  );
  transition: opacity 0.4s ease;
}

main .info {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.titulathon {
  margin-top: 30px;
  width: 360px;
  height: 375px;
  background-color: #fff;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
}
.titulathon span {
  font-family: "Rubik Mono One", monospace;
  font-size: 45px;
}
.titulathon .gran {
  width: 85%;
}
.titulathon .mother {
  width: 180px;
}
.titulathon .thon {
  width: 85%;
}
.titulos {
  margin-top: -35px;
  width: 450px;
}
.info > button {
  width: 350px;
  height: 60px;
  border-radius: 15px;
  color: #fff;
  background-color: #fc137c;
  font-weight: bold;
  font-size: 16px;
  margin-top: -10px;
}

.disponibilidad {
  position: relative;
  margin-top: 20px;
  border-radius: 15px;
  width: 350px;
  height: 150px;
  background: linear-gradient(
    to bottom,
    #053660 0%,
    #0370a1 35%,
    #0370a1 75%,
    #053660 100%
  );
  z-index: 100;

  display: grid;
  grid-template-columns: 65% 35%;
  grid-template-rows: 100%;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}

.disponibilidad .mensaje {
  position: absolute;

  bottom: 0;
  right: 0;
  width: 250px;
  height: 45px;
  background: linear-gradient(
    to bottom,
    #f8fa00 0%,
    #f8c400 35%,
    #f8c400 75%,
    #f8fa00 100%
  );
  border: 3px solid #fdff00;

  /* empieza arriba */
  transform: translateY(0);

  opacity: 0;

  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: end;
  padding-right: 25px;
  font-weight: bold;
}

.disponibilidad .mensaje img {
  position: absolute;
  left: -30px;
  top: -30px;
  width: 80px;
}

/* hover */
.disponibilidad:hover .mensaje {
  /* baja */
  transform: translateY(45px);

  opacity: 1;
}
.disponibilidad .data {
  position: relative;
}
.disponibilidad .data img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
}
.disponibilidad .data p {
  font-size: 28px;
  font-weight: bold;
}
.disponibilidad .data span {
  font-size: 10px;
}

.lotes {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  gap: 10px;
}
.lotes img {
  width: 85%;
}

.lotes button {
  width: 70%;
  height: 40px;
  font-size: 16px;
  font-weight: bold;
  background: linear-gradient(
    to right,
    #4b7516 0%,
    #84ac2d 35%,
    #84ac2d 53%,
    #84ac2d 75%,
    #4b7516 100%
  );
  color: #fff;
  border-radius: 6px;
  border: 2px solid #00ff00;
}
.form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  gap: 20px;
}
.form .message {
  width: 300px;
  height: 125px;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  position: relative;
  margin-top: 30px;
}
.message img {
  width: 100%;
}
.message .heart {
  position: absolute;
  width: 60px;
}
.heart.a {
  top: 10px;
  left: -15px;
  animation: rebote 2s infinite;
}
.heart.b {
  bottom: -30px;
  right: -65px;
  animation: rebote 4s infinite;
}
form {
  width: 450px;
  height: 550px;
  background-color: #fff;
  z-index: 200;
  border-radius: 20px;
  background: linear-gradient(to right, #ffe0e9 0%, #ffffff 43%, #ffe0e9 100%);
  border: 8px solid #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
form h2 {
  font-size: 30px;
  color: #ff0080;
  font-weight: 800;
  text-align: center;
}
form p {
  font-weight: 500;
}
.input-form {
  width: 80%;
  height: 65px;
  border: 2px solid #dadada;
  background-color: #fff;
  border-radius: 15px;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}
.input-form i {
  font-size: 28px;
  color: #dadada;
}
.input-form input {
  height: 90%;
  width: 80%;
  font-size: 16px;
  border-radius: 15px;
}
.input-form input::placeholder {
  color: #dadada;
  font-weight: bold;
}
.check-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;

  cursor: pointer;

  font-family: Arial, sans-serif;

  width: 75%; /* MODIFICAS AQUÍ EL ANCHO */
}

/* ocultar checkbox original */
.check-container input {
  display: none;
}

/* caja */
.check {
  user-select: none;
  width: 34px;
  height: 34px;

  border: 4px solid #ff2d8d;
  border-radius: 10px;

  position: relative;

  box-sizing: border-box;

  flex: 0 0 34px; /* evita deformación */

  margin-top: 2px;

  transition: 0.25s ease;
}

/* check */
.check::after {
  content: "";

  position: absolute;

  left: 50%;
  top: 45%;

  width: 10px;
  height: 18px;

  border-right: 4px solid #3b3b3b;
  border-bottom: 4px solid #3b3b3b;

  transform: translate(-50%, -50%) rotate(45deg) scale(0);

  transition: 0.2s ease;
}

/* activo */
.check-container input:checked + .check::after {
  transform: translate(-50%, -50%) rotate(45deg) scale(1);
}

/* texto */
.txt {
  color: #706f6f;

  font-size: 11.5px;
  font-weight: 700;

  line-height: 1.15;

  flex: 1;
}
form button {
  width: 80%;
  height: 60px;
  border-radius: 15px;
  background-color: #ff5594;
  color: #fff;
  font-size: 25px;
  font-weight: bold;
}
.select-container {
  width: 150px;
  position: relative;
}

/* SELECT */

.custom-select {
  border-radius: 12px;
  padding: 14px 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.selected {
  display: flex;
  align-items: center;
  gap: 10px;
}

.selected img {
  width: 28px;
  height: 20px;
  object-fit: cover;
  border-radius: 3px;
}

/* DROPDOWN */

.dropdown {
  position: absolute;
  width: 100%;
  background: white;
  margin-top: 10px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  display: none;
  z-index: 100;
}

.dropdown.active {
  display: block;
}

/* SEARCH */

.search-box {
  padding: 12px;
  border-bottom: 1px solid #eee;
}

.search-box input {
  width: 100%;
  padding: 10px;
  border: none;
  outline: none;
  background: #f3f3f3;
  border-radius: 8px;
  font-size: 14px;
}

/* OPTIONS */

.options {
  max-height: 300px;
  overflow-y: auto;
}

.option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  cursor: pointer;
  transition: 0.2s;
}

.option:hover {
  background: #f5f7fb;
}

.option img {
  width: 28px;
  height: 20px;
  object-fit: cover;
  border-radius: 3px;
}

.country-info {
  display: flex;
  flex-direction: column;
}

.country-name {
  font-size: 14px;
  color: #222;
}

.country-code {
  font-size: 12px;
  color: #666;
}

.arrow {
  transition: 0.3s;
}

.arrow.rotate {
  transform: rotate(180deg);
}

/* live */

.live {
  width: 100%;
  height: 250px;
  background: linear-gradient(to right, #cd2557 0%, #f6275b 50%, #cd2456 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.first {
  text-align: center;
  color: #fff;
  font-size: 40px;
}
.first strong {
  font-size: 42px;
}
.second {
  text-align: center;
  color: #fff;
  font-size: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 4px solid #fff;
  border-right: 4px solid #fff;
  padding: 0 30px;
}
.second i {
  font-size: 100px;
}
.second span {
  font-size: 35px;
}
#contador {
  font-size: 24px;
}
.live-data {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  font-weight: bold;
}
.live-data a {
  width: 150px;
  height: 45px;
  background-color: #ff0000;
  color: #fff;
  border-radius: 10px;
  font-size: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.content {
  width: 100%;
  height: auto;
  padding: 30px 0;
  background: linear-gradient(to right, #ffc1d3 0%, #ffffff 41%, #ffe0e9 100%);
}

.titulo-seccion {
  padding: 25px;
  text-align: center;
  font-size: 50px;
  font-weight: bold;
  color: #fa2378;
  display: flex;
  align-items: center;
  justify-content: center;
}
.line {
  display: inline-block;
  width: 250px;
  height: 10px;
  background-color: #fa2378;
}
.rounda {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #fa2378;
  margin-left: 5px;
  margin-right: 15px;
}
.roundb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #fa2378;
  margin-left: 15px;
  margin-right: 5px;
}

.proyectos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.proyecto {
  position: relative;
  width: 750px;
  height: 550px;
  background-color: #fff;
  border-radius: 40px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.proyecto::before {
  content: "";

  position: absolute;

  left: 0;
  top: 0;

  width: 100%;
  height: 30%;
  border-radius: 40px 40px 0 0;
  background: linear-gradient(
    to bottom,
    rgb(255, 255, 255) 0%,
    rgba(255, 255, 255, 0.904) 50%,

    rgba(255, 255, 255, 0) 100%
  );

  pointer-events: none;
  z-index: 200;
}
.proyecto::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: 0;

  width: 100%;
  height: 50%;
  border-radius: 0 0 40px 40px;
  background: linear-gradient(
    to top,
    rgb(255, 255, 255) 0%,
    rgba(255, 255, 255, 0.904) 50%,

    rgba(255, 255, 255, 0) 100%
  );

  pointer-events: none;
}
.proyecto .image {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 40px;
  object-fit: cover;
  left: 0;
  top: 0;
}
.proyecto .logo {
  position: absolute;
  width: 50%;
  left: 50%;
  transform: translateX(-50%);
  top: 30px;
  z-index: 200;
}
.proyecto.b .logo {
  top: 50px;
}

.container-cards {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  z-index: 200;
}
.card {
  width: 150px;
  height: 180px;
  border-radius: 25px;
  border: 4px solid #fff;
  display: flex;
  flex-direction: column;
  color: #fff;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  font-size: 18px;
  position: relative;
}
.card .agua {
  position: absolute;
  top: 50%;
  scale: 1.1;

  transform: translateY(-50%);
}
.huracan {
  background: linear-gradient(
    to right,
    #053660 0%,
    #05369f 34%,
    #053695 75%,
    #053660 100%
  );
}
.tupac {
  background: linear-gradient(
    to right,
    #fe5a32 0%,
    #f29128 34%,
    #f29128 75%,
    #fe5a32 100%
  );
}

.proyecto a {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  z-index: 200;
  width: 60%;
  height: 70px;
  border-radius: 15px;
  border: 3px solid #fff;
  font-size: 28px;
  color: #fff;
  font-weight: bold;
  text-align: center;
}

.participation {
  width: 80%;
  height: 530px;
  background: linear-gradient(to right, #ffe0e9 0%, #fffdfd 42%, #ffe0e9 100%);
  margin: 40px auto;
  border-radius: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 200px;
}
.step figure {
  width: 180px;
  height: 180px;
  border: 5px solid #fc007a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffe0e9;
  position: relative;
}
.step figure span {
  display: inline-block;
  width: 50px;
  height: 50px;
  background-color: #fc007a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  position: absolute;
  left: 0;
  bottom: -20px;
  color: #fff;
  border-radius: 50%;
  font-weight: bold;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  text-align: center;
}
.step strong {
  font-size: 28px;
  font-weight: 800;
}
.step p {
  font-weight: 400;
  font-size: 20px;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  text-align: center;
  position: relative;
}

.step:not(:last-child)::after {
  content: "";

  position: absolute;

  top: 90px;
  right: -220px;

  width: 210px;
  height: 10px;

  background: radial-gradient(circle, #fc007a 35%, transparent 40%);

  background-size: 18px 10px;
  background-repeat: repeat-x;

  animation: moveDots 1s linear infinite;
}
.container-last {
  margin: 20px auto;
  width: 80%;
  height: 520px;
  display: grid;
  grid-template-columns: 40% 59%;
  grid-template-rows: 100%;
  justify-content: space-between;
}

.preguntas {
  padding: 30px;
  background-color: #ffffff;
  border-radius: 40px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: flex-start;
  gap: 15px;
}
.preguntas p {
  width: 90%;
  padding: 10px 20px;
  border-radius: 10px;
  border: 2px solid #ffc1d3;
  font-weight: bold;
}
.preguntas span {
  margin-left: 10px;
  width: calc(90% - 10px);
  padding: 10px 20px;
  border-radius: 10px;
  border: 2px solid #ffc1d3;
  font-weight: bold;
  color: #706f6f;
}
.preguntas h3 {
  font-size: 36px;
  color: #fa2378;
  margin-bottom: 20px;
}
.oportunidad {
  position: relative;
  background: linear-gradient(to right, #ff7687 0%, #ff0085 50%, #ff7687 100%);
  border-radius: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.oportunidad img {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 150px;
}
.oportunidad h3 {
  font-size: 50px;
  color: #fff;
  font-weight: bold;
  text-align: center;
}

.oportunidad p {
  color: #fff;
  text-align: center;
  font-size: 30px;
}

.oportunidad a {
  background: linear-gradient(
    to right,
    #fc137c 0%,
    #ff5594 35%,
    #ff5594 75%,
    #ff0080 100%
  );
  width: 50%;
  height: 80px;
  border-radius: 20px;
  border: 4px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 35px;
  color: #fff;
  font-weight: bold;
  text-align: center;
  z-index: 1000;
}
/* ANIMACION */

footer {
  width: 100%;
  height: 90px;
  background: linear-gradient(to bottom, #cd2557 0%, #f6275b 50%, #cd2456 100%);
  padding: 10px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
}
footer img {
  height: 100%;
}

footer ul {
  display: flex;
  font-size: 30px;
  gap: 10px;
}

.responsive-btn {
  display: none;
}
.container-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
}
.container-details img {
  width: 250px;
}
.container-details p {
  width: 300px;
}
.container-details p strong {
  font-size: 26px;
  font-weight: bold;
}
.container-details p strong.success {
  color: #ff7e0d;
}
.container-details p strong.error {
  color: tomato;
}
.container-details p span {
  margin-left: 5px;
  font-size: 20px;
}
#term {
  user-select: all;
  pointer-events: all;
}
.terms-section {
  width: 100%;

  padding: 80px 20px;

  background: linear-gradient(to right, #ffe0e9 0%, #ffffff 45%, #ffe0e9 100%);
}

.terms-container {
  max-width: 1100px;

  margin: auto;

  background: #fff;

  border-radius: 35px;

  padding: 60px;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.terms-container h2 {
  text-align: center;

  font-size: 48px;

  color: #fc007a;

  margin-bottom: 15px;
}

.subtitle {
  text-align: center;

  color: #666;

  font-size: 18px;

  margin-bottom: 50px;
}

.term-box {
  margin-bottom: 35px;

  padding: 25px 30px;

  border: 2px solid #ffd2e1;

  border-radius: 20px;

  transition: 0.3s ease;
}

.term-box:hover {
  transform: translateY(-4px);

  box-shadow: 0 8px 18px rgba(252, 0, 122, 0.12);
}

.term-box h3 {
  color: #fa2378;

  font-size: 26px;

  margin-bottom: 15px;
}

.term-box p {
  color: #555;

  line-height: 1.8;

  font-size: 17px;

  margin-bottom: 15px;
}

.terms-footer {
  margin-top: 50px;

  text-align: center;

  color: #888;

  font-size: 15px;
}

/* RESPONSIVE */

@media (max-width: 768px) {
  .terms-container {
    padding: 30px 20px;

    border-radius: 25px;
  }

  .terms-container h2 {
    font-size: 34px;
  }

  .term-box {
    padding: 20px;
  }

  .term-box h3 {
    font-size: 22px;
  }

  .term-box p {
    font-size: 15px;
  }
}
@keyframes moveDots {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 18px 0;
  }
}
@keyframes rebote {
  0% {
    transform: translate(-50%, -50%) scale(1);
  }

  20% {
    transform: translate(-50%, -60%) scale(1.15);
  }

  40% {
    transform: translate(-50%, -45%) scale(0.95);
  }

  60% {
    transform: translate(-50%, -55%) scale(1.08);
  }

  80% {
    transform: translate(-50%, -48%) scale(0.98);
  }

  100% {
    transform: translate(-50%, -50%) scale(1);
  }
}

/* Laptops comunes */
@media (1024px <= width <= 1599px) {
  nav ul li a {
    font-size: 14px;
  }
  header button {
    width: 230px;
    height: 50px;
    font-size: 25px;
    border-radius: 15px;
    background-color: #f6275b;
    color: #fff;
    font-weight: bold;
    position: relative;
  }
  header button::after {
    content: "";
    width: 40px;
    height: 40px;
    position: absolute;
    right: -20%;
    top: 50%;
    transform: translateY(-50%);
    background-image: url("img/corazon.png");
    background-repeat: no-repeat;
    background-size: contain;
    animation: rebote 3s infinite;
  }
  .tik {
    width: 120px;
  }
  .live {
    padding: 25px 20px;
    gap: 15px;
  }
  .first {
    text-align: center;
    color: #fff;
    font-size: 30px;
  }
  .first strong {
    font-size: 32px;
  }
  .second span {
    font-size: 24px;
  }
  .second i {
    font-size: 90px;
  }
  #contador {
    font-size: 12px;
  }
  .live-data p {
    font-size: 12px;
  }
  .live-data a {
    width: 100px;
    height: 25px;
    background-color: #ff0000;
    color: #fff;
    border-radius: 10px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .proyecto {
    position: relative;
    width: 500px;
    height: 550px;
    background-color: #fff;
    border-radius: 40px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }
  .container-cards {
    width: 95%;
    flex-wrap: wrap;
  }
  .card {
    width: 130px;
    height: 150px;
    font-size: 15px;
    border-radius: 15px;
  }
  .proyecto a {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    z-index: 200;
    width: 80%;
    height: 60px;
    border-radius: 15px;
    border: 3px solid #fff;
    font-size: 26px;
    color: #fff;
    font-weight: bold;
  }
  .participation {
    width: 95%;
    padding: 20px 40px;
  }
  .container-last {
    margin: 20px auto;
    width: 95%;
    height: auto;
    display: grid;
    grid-template-columns: 40% 59%;
    grid-template-rows: 100%;
    justify-content: space-between;
  }
  .oportunidad a {
    width: 70%;
    font-size: 30px;
  }
}

@media screen and (max-width: 1023px) {
  .modal {
    margin: auto 0;
    width: 95%;
    height: auto;
    padding: 5px;
  }
  .modal-cointainer {
    align-items: start;
  }
  body {
    overflow-x: hidden;
  }

  /* HEADER */
  header {
    flex-direction: column;
    height: auto;
    padding: 20px 0;
    gap: 10px;
  }
  nav {
    order: 2;
    width: 100%;
  }
  nav ul {
    flex-direction: column;
  }
  nav ul li {
    text-align: center;
  }
  nav ul li a {
    font-size: 12px;
    text-align: center;
  }
  main {
    background-image: none;
    background-color: #fff1ea;
    height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  main .info {
    width: 100dw;
  }
  .titulathon {
    margin-top: 30px;
    width: 80%;
    height: auto;
    padding: 30px 0;
    background-color: #fff;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .titulathon .gran {
    width: 55%;
  }
  .titulathon .mother {
    width: 100px;
  }
  .titulathon .thon {
    width: 55%;
  }
  .titulos {
    margin-top: -35px;
    width: 55%;
  }
  .info > button {
    margin-top: 10px;
    width: 90%;
  }
  .disponibilidad {
    position: relative;
    margin-top: 20px;
    border-radius: 15px;
    width: 90%;
  }
  .form {
    width: 100%;
  }
  .form .message {
    width: 90%;
    height: auto;
    margin-top: 20px;
  }
  .heart.a {
    top: 10px;
    left: 15px;
    animation: rebote 2s infinite;
  }
  .heart.b {
    bottom: -30px;
    right: -35px;
    animation: rebote 4s infinite;
  }
  .message img {
    width: 80%;
  }
  form {
    width: 90%;
  }
  .input-form {
    width: 95%;
    height: 65px;
    border: 2px solid #dadada;
    background-color: #fff;
    border-radius: 15px;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
  }
  form button {
    width: 90%;
    font-size: 20px;
  }
  .live {
    width: 100%;
    height: auto;
    background: linear-gradient(
      to right,
      #cd2557 0%,
      #f6275b 50%,
      #cd2456 100%
    );
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 30px 0;
  }
  .first {
    text-align: center;
    color: #fff;
    font-size: 20px;
  }
  .first strong {
    font-size: 22px;
  }
  .second {
    text-align: center;
    color: #fff;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: none;
    border-right: none;
    border-top: 4px solid #fff;
    border-bottom: 4px solid #fff;
    padding: 20px 30px;
    gap: 15px;
  }
  .second i {
    font-size: 60px;
  }
  .second span {
    font-size: 25px;
  }
  #contador {
    font-size: 16px;
  }
  .tik {
    width: 120px;
  }
  .titulo-seccion {
    padding: 15px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    color: #fa2378;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .line {
    display: inline-block;
    width: 150px;
    height: 8px;
    background-color: #fa2378;
  }
  .rounda {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #fa2378;
    margin-left: 5px;
    margin-right: 15px;
  }
  .roundb {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #fa2378;
    margin-left: 15px;
    margin-right: 5px;
  }
  .proyectos {
    flex-direction: column;
    gap: 20px;
  }
  .proyecto {
    position: relative;
    width: 90%;
    height: 500px;
    background-color: #fff;
    border-radius: 40px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }
  .container-cards {
    width: 100%;
    flex-wrap: wrap;
  }
  .card {
    width: 130px;
    height: 150px;
    font-size: 15px;
    border-radius: 15px;
  }
  .proyecto a {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    z-index: 200;
    width: 80%;
    height: 40px;
    border-radius: 15px;
    border: 3px solid #fff;
    font-size: 18px;
    color: #fff;
    font-weight: bold;
  }
  .participation {
    width: 90%;
    height: auto;
    margin: 30px auto;
    border-radius: 60px;
    flex-direction: column;
    padding: 30px;
    gap: 100px;
  }
  .step {
    gap: 5px;
  }
  .step:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%) rotate(90deg);
    width: 80px;
  }
  .step figure {
    width: 120px;
    height: 120px;
  }
  .step figure img {
    width: 50%;
  }
  .step figure span {
    display: inline-block;
    width: 35px;
    height: 35px;
    background-color: #fc007a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    position: absolute;
    left: 0;
    bottom: -10px;
    color: #fff;
    border-radius: 50%;
    font-weight: bold;
  }
  .step strong {
    font-size: 22px;
    font-weight: 800;
  }
  .step p {
    font-weight: 400;
    font-size: 14px;
  }
  .container-last {
    margin: 20px auto;
    width: 90%;
    height: auto;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    justify-content: none;
    gap: 30px;
  }
  .content {
    width: 100%;
    height: auto;
    padding: 30px auto;
    background: linear-gradient(
      to right,
      #ffc1d3 0%,
      #ffffff 41%,
      #ffe0e9 100%
    );
  }
  .preguntas {
    width: 100%;
    padding: 20px;
    border-radius: 10px;
  }
  .preguntas h3 {
    font-size: 36px;
    text-align: center;
  }
  .oportunidad {
    border-radius: 20px;
    padding: 30px;
  }
  .oportunidad h3 {
    font-size: 30px;
    color: #fff;
    font-weight: bold;
    text-align: center;
  }
  .oportunidad p {
    color: #fff;
    text-align: center;
    font-size: 18px;
  }

  .oportunidad a {
    background: linear-gradient(
      to right,
      #fc137c 0%,
      #ff5594 35%,
      #ff5594 75%,
      #ff0080 100%
    );
    width: 80%;
    height: 60px;
    border-radius: 20px;
    border: 4px solid #fff;
    font-size: 18px;
    color: #fff;
    font-weight: bold;
    text-align: center;
  }
  .oportunidad img {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
  }
  footer {
    height: auto;
    flex-direction: column;
    gap: 15px;
  }
  footer p {
    text-align: center;
  }
  .terms-section {
    padding: 20px 15px;
  }

  .terms-container {
    width: 100%;

    padding: 10px 18px;

    border-radius: 25px;
  }

  .terms-container h2 {
    font-size: 30px;

    line-height: 1.2;
  }

  .subtitle {
    font-size: 15px;

    line-height: 1.6;

    margin-bottom: 30px;
  }

  .term-box {
    padding: 18px;

    border-radius: 18px;

    margin-bottom: 20px;
  }

  .term-box h3 {
    font-size: 20px;

    line-height: 1.3;

    margin-bottom: 12px;
  }

  .term-box p {
    font-size: 14px;

    line-height: 1.8;

    margin-bottom: 12px;
  }

  .terms-footer {
    margin-top: 35px;

    font-size: 13px;

    line-height: 1.5;
  }
}
