@font-face {
  font-family: "Neue Haas Unica Pro";
  src: url("./fonts/NeueHaasUnicaPro-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Neue Haas Unica Pro";
  src: url("./fonts/NeueHaasUnicaPro-Heavy.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Neue Haas Unica Pro", Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff;
  background-color: #120e0b;
  height: 100vh;
  width: 100vw;
  font-weight: normal;
}

main {
  background-size: contain;
  background-repeat: no-repeat;
  background-attachment: fixed;
  height: 100%;
  width: 100%;
}

#main-section {
  display: flex;
}

#ending-section {
  width: 100%;
  height: 100%;
  background-image: url("./img/ending_desktop.jpg");
  background-size: contain;
  background-position: top center;
  background-repeat: no-repeat;
  display: none;
}

#visual-section {
  width: 50%;
  max-width: 50%;
  overflow: hidden;
}

.img-axel-qr {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top left;
}

.img-axel-mobile {
  display: none;
}

#instructions-section {
  width: 50%;
  max-width: 50%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.img-loquedecis {
  width: 80%;
  object-fit: contain;
  object-position: left;
  margin-bottom: 3rem;
}

.img-pasos-mobile {
  display: none;
}

#pasos {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.paso {
  display: flex;
  line-height: 1.2;
}

.paso h2 {
  margin-top: 0.6rem;
  font-weight: normal;
}

.paso h2 strong {
  font-weight: 800;
}

.img-paso {
  width: 100px;
  object-fit: contain;
  object-position: top;
}

.share-buttons-section {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.share-button {
  color: #fff300;
  background-color: transparent;
  border: 2px solid #fff300;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
}

.share-button:hover {
  background-color: #fff300;
  color: #120e0b;
}

#footer {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6rem;
  letter-spacing: 2px;
  white-space: nowrap;
}

#footer p:hover,
#footer a:hover {
  text-decoration: underline;
  cursor: pointer;
}

#footer a {
  text-decoration: none;
  color: white;
}

@media (max-width: 768px) {
  main {
    flex-direction: column;
    overflow-y: scroll;
    height: auto;
  }

  #visual-section {
    width: 100%;
    min-width: 100%;
  }

  .img-axel-qr {
    display: none;
  }

  .img-axel-mobile {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  #instructions-section {
    width: 100%;
    max-width: 100%;
    height: auto;
    padding: 0 1rem;
    justify-content: flex-end;
  }

  .img-loquedecis {
    width: 60%;
    margin: 1rem auto;
    display: none;
  }

  .img-pasos-mobile {
    display: block;
    width: 70%;
    object-fit: contain;
    margin: 2rem auto 3rem auto;
    cursor: pointer;
  }

  #pasos {
    padding-left: 1rem;
    margin-bottom: 1rem;
    display: none;
  }

  .paso {
    font-size: 0.6rem;
    line-height: 1.15;
  }

  .img-paso {
    width: 50px;
    margin-top: 0.1rem;
  }

  .share-buttons-section {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 0.8rem;
    margin-bottom: 1rem;
  }

  #share-experience-button-container {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .share-button {
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
  }

  .share-button svg {
    width: 1rem;
    height: 1rem;
  }

  #footer {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    margin-bottom: 1rem;
    font-size: 0.5rem;
  }

  #ending-section {
    width: 100%;
    height: 100vh;
    background-image: url("./img/ending_mobile.jpg");
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
  }
}
