@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap");

/* Resets básicos para todo el archivo*/
* {
  font-size: 10px;
  box-sizing: border-box;
  margin: 0;
  color: white;
  font-family: "Roboto", sans-serif;
  text-decoration: none;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/****************/
.container_background {
  display: flex;
  justify-content: center;
  background-image: url("../assets/binario.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  width: 100vw;
}

.container_wraper {
  width: 80vw;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.808);
}

.navbar {
  position: fixed;
  width: 80vw;
  list-style-type: none;
  display: flex;
  justify-content: center;
  padding: 1.5rem 10rem;
  background-color: rgb(0, 0, 0);
  z-index: 5;
}

.navbar .navbar_link {
  display: inline;
  font-size: 2rem;
  font-weight: 200;
  color: #dec5ffc4;
  text-shadow: 4px 4px 8px rgba(255, 255, 255, 0.897);
  padding-right: 5rem;
}

/* HERO */
.hero {
  margin-top: 2rem;
  text-align: center;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 0 15rem;
}

.hero .hero_name {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero .hero_name .arrows {
  position: absolute;
  z-index: 1;
  opacity: 0.30;
  width: 100%;
  height: auto;
}

.hero div>h1 {
  font-size: 7.5rem;
  font-weight: 300;
  color: #fde0f7;
  letter-spacing: 0.4rem;
  text-shadow: 5px 5px 9px rgba(255, 255, 255, 0.555);
  position: relative;
  z-index: 2;
}

.hero div>h2 {
  font-size: 5rem;
  font-weight: 300;
  color: #c5e5ff;
  letter-spacing: 0.4rem;
  text-shadow: 5px 5px 9px rgba(255, 255, 255, 0.548);
  position: relative;
  z-index: 2;
}

.hero .hero_social {
  margin-top: 7rem;
}

.hero .hero_social a {
  font-size: 1.6rem;
  font-weight: 200;
  padding: 2rem .5rem;
}

.hero .hero_social i {
  font-size: 2rem;
  padding: 0.5rem;
  transition: transform 0.6s ease, text-shadow ease;
}

.hero .hero_social i:hover {
  transform: scale(1.3);
  cursor: pointer;
  text-shadow: 4px 4px 6px rgba(255, 255, 255, 0.326);
}

.hero .hero_social .icons {
  margin-top: 1rem;
  font-size: 1.5rem;
}

.hero .hero_social .icons span {
  font-size: 1.7rem;
}

.hero .hero_social .hero_photo {
  border-radius: 100%;
  height: 20rem;
  width: auto;
  object-position: top;
  object-fit: cover;
  transition: transform 0.6s, box-shadow 0.6s ease;
}

/* efecto glow en la foto */
.hero .hero_photo:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 14px 4px #ffffff54, 0 0 18px 7px rgba(255, 0, 255, 0.534),
    0 0 30px 18px rgba(0, 255, 255, 0.26);
}



/* MAIN */
.main_container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 1rem 2rem;
  padding: 3rem;
  background-color: rgba(0, 0, 0, 0.174);
}

.main_container_presentation {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  /* Cambia a espacio entre para que queden alineados */
  align-items: flex-start;
  /* Alinea los elementos en la parte superior */
  gap: 2rem;
  border-radius: 20px;
  border: solid 3px rgba(255, 255, 255, 0.09);
  padding: 2rem;
}

.main_presentation {
  padding: 2rem;
}

.main .main_presentation .main_presentation_title {
  text-transform: uppercase;
  color: #b7dfff;
  font-size: 4rem;
  text-shadow: 5px 5px 9px rgba(255, 255, 255, 0.508);
  padding: 0 0 0 2.2rem;
  position: relative;
  z-index: 2;
}

.main .main_presentation .main_presentation_text {
  color: #e7d9f9;
  font-size: 1.8rem;
  padding: 1rem;
  font-weight: 300;
  line-height: 2.8rem;
  position: relative;
  z-index: 2;
}

/* Tabla */
.main_table {
  display: flex;
  justify-content: center;
  border-radius: 10px;
  background-color: rgba(0, 0, 0, 0.185);
  width: 70vw;
  margin: auto;
}

/* TABLA */
.table {
  width: 70%;
  margin: 5% 0 3rem 0;
  border-spacing: 1rem;
  border-radius: 20px;
  border: solid 3px rgba(255, 255, 255, 0.09);
  padding: 3rem;
}

.table_head_cell_title {
  font-weight: 400;
  font-size: 1.8rem;
  text-transform: uppercase;
  color: #b7dfff;
  padding-bottom: 1rem;
  text-align: center;
  text-shadow: 3px 3px 6px rgba(255, 255, 255, 0.311);
}

/* Filas pares */
.table tbody tr:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Filas impares */
.table tbody tr:nth-child(odd) {
  background-color: rgba(0, 0, 0, 0.1);
}

.table_cell {
  padding: 1.5rem;
  border-radius: 8px;
  color: #c1bddb;
  font-size: 1.6rem;
  text-align: center;
  background-color: transparent;
}

/* FORM */
.form_container {
  width: 45%;
  margin: 3rem auto;
  border-radius: 10px;
  background-color: rgba(0, 0, 0, 0.174);
}

.form_title {
  text-transform: uppercase;
  font-size: 2.4rem;
  font-weight: 400;
  color: #b7dfff;
  text-align: center;
  text-shadow: 5px 5px 9px rgba(255, 255, 255, 0.508);
  margin-bottom: 2rem;
}

.form>label {
  margin-top: 5rem;
  font-size: 1.8rem;
  font-weight: 400;
  color: #b7dfff;
  padding-top: 1rem;
}

.form input[type="text"],
.form input[type="email"],
.form input[type="tel"] {
  width: 100%;
  padding: 1rem;
  margin: 1.2rem 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 1.6rem;
  transition: border-color 0.3s;
}

.form input[type="text"]::placeholder,
.form input[type="email"]::placeholder,
.form input[type="tel"]::placeholder {
  color: #b98ba166;
}

.form input[type="text"]:focus,
.form input[type="email"]:focus,
.form input[type="tel"]:focus {
  border-color: #b7dfffbc;
  outline: none;
}

.form #submit {
  width: 10rem;
  padding: 1rem;
  font-size: 1.9rem;
  font-weight: 500;
  background-color: #cfe9ff;
  color: black;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.6s ease, transform 0.6s ease, box-shadow ease;
  margin-top: 1.5rem;
}

.form #submit:hover {
  background-color: #ffd6e9f4;
  transform: scale(1.1);
  box-shadow: 4px 4px 8px rgba(255, 255, 255, 0.484);
}


/* Tablet horizontal (max-width: 1080px) */
@media (max-width: 1080px) {
  .container_wraper {
    width: 85vw;
  }

  .hero div>h1 {
    font-size: 5rem;
  }

  .hero div>h2 {
    font-size: 4rem;
  }

  .hero {
    padding: 0 3.5rem;
  }

  .hero .hero_social a {
    font-size: 1.2rem;
    padding: 0;
  }

  .navbar {
    padding: 1rem 5rem;
  }
}

/* Tablet vertical (max-width: 768px) */
@media (max-width: 768px) {
  .container_wraper {
    width: 95vw;
  }

  .hero {
    margin-top: 3rem;
    padding: 0 2rem;
  }

  .hero div>h1 {
    font-size: 5rem;
  }

  .hero div>h2 {
    font-size: 3rem;
  }


  .hero .hero_social .icons a>*:not(i) {
    display: none;
  }

  .hero .hero_social .hero_photo {
    height: 17rem;
    width: auto;
  }

  .main_container_presentation {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .table {
    width: 100%;
    border-spacing: 0;
  }


  .form_container {
    width: 65%;
  }
}

/* Mobile 1 (max-width: 480px) */
@media (max-width: 480px) {

  .hero {
    margin-top: 1rem;
    padding: 0 1rem;
  }

  .hero div>h1 {
    font-size: 3.2rem;
  }

  .hero div>h2 {
    font-size: 2.5rem;
  }

  .navbar {
    padding: 1rem 0;
    width: 100vw;
  }

  .navbar .navbar_link {
    font-size: 1.8rem;
    padding: 0 1rem;
  }


  .hero .hero_social {
    margin-top: 4rem;
  }

  .hero .hero_social .hero_photo {
    height: 12rem;
    width: auto;
  }


  .main_presentation {
    padding: 0;
  }

  .hero .hero_social .hero_photo {
    height: 12rem;
    width: auto;
  }

  .main .main_presentation .main_presentation_title {
    font-size: 2.5rem;
  }

  .main .main_presentation .main_presentation_text {
    font-size: 1.8rem;
  }

  .form_container {
    width: 80%;
  }

  .table {
    width: 70%;
    padding: 1rem;
  }
}


/* Mobile 1 (max-width: 375px) */
@media (max-width: 375px) {
  .container_background {
    width: 100vw;
    margin: 0;
    padding: 0;
  }

  .container_wraper {
    width: 100vw;
  }

  .main_container_presentation {
    padding: 1rem 0;
  }

  .main .main_presentation .main_presentation_text {
    font-size: 1.6rem;
  }

  .form_container {
    width: 90%;
  }

  .main_table {
    width: 100vw;
    margin: 0;
  }

  .table {
    padding: 1rem;
  }


  .table_head_cell_title {
    font-size: 1.5rem;
  }

  .table_cell {
    font-size: 1.4rem;
    padding: 1.2rem;
  }
}