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

html,
body {
  width: 100%;
  min-height: 100%;
}

body {
  min-height: 100vh;
  overflow: hidden;
  background-image: url("../img/bg-desktop-yoga.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  font-family: Arial, Helvetica, sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

.page {
  width: 100vw;
  height: 100vh;
  display: grid;
  grid-template-columns: 58vw 42vw;
  align-items: center;
}

/* Lado izquierdo */

.flyer-section {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 4.5vw;
}

.flyer {
  width: 47vw;
  height: auto;
  object-fit: contain;
}

/* Lado derecho */

.buttons-section {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.7vh;
  padding-right: 5.5vw;
  padding-left: 1vw;
}

.ticket-link {
  display: block;
  width: 100%;
  max-width: 32vw;
  text-decoration: none;
  transition: transform 0.25s ease;
}

.ticket-button {
  width: 100%;
  height: auto;
}

.ticket-link:hover {
  transform: scale(0.96);
}

.ticket-link:focus-visible {
  outline: 0.2vw solid #ffb400;
  outline-offset: 0.4vw;
  border-radius: 2vw;
}

/* Versión mobile */

@media (max-width: 900px) {
  body {
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    background-image: url("../img/bg-mobile-yoga.png");
    background-position: center top;
    background-size: cover;
  }

  .page {
    width: 100vw;
    height: auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 3.5vh 0 5vh;
  }

  .flyer-section {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    padding: 0;
  }

  .flyer {
    width: 84vw;
    height: auto;
  }

  .buttons-section {
    width: 100%;
    height: auto;
    gap: 2vh;
    padding: 4.5vh 0 0;
  }

  .ticket-link {
    width: 86vw;
    max-width: none;
  }

  .ticket-link:hover {
    transform: none;
  }

  .ticket-link:active {
    transform: scale(0.98);
  }
}