@font-face {
  font-family: "Headliner";
  src: url("../fonts%20/HeadlinerNo.45%20DEMO.ttf") format("truetype");
  font-display: swap;
}

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

:root {
  --yellow: #f6ea00;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Headliner", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  background: #060035;
  overflow: hidden;
}

.poster {
  height: 100dvh;
  padding: clamp(1rem, 2.2vh, 2.2rem) clamp(1.2rem, 3vw, 3.6rem) 0;
  background: url("../background.png") center center / 100% 100% no-repeat;
  overflow: hidden;
}

.topbar {
  display: grid;
  grid-template-columns: minmax(180px, 300px) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(0.8rem, 1.5vw, 1.5rem);
}

.logo-link {
  display: block;
}

.logo-mark {
  width: min(100%, 300px);
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.8rem, 2vw, 2.25rem);
  text-align: center;
}

.main-nav a,
.register-button {
  color: var(--yellow);
  font-size: clamp(0.95rem, 1.85vw, 1.9rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: opacity 160ms ease;
}

.main-nav a:hover,
.register-button:hover,
.logo-link:hover {
  opacity: 0.85;
}

.main-nav .is-active {
  color: #ffffff;
}

.register-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.05rem;
  padding: 0.35rem 1rem 0.2rem;
  background: var(--yellow);
  color: #060035;
}

.contact-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: clamp(1rem, 2vw, 3rem);
  height: calc(100dvh - clamp(8rem, 14vh, 10rem));
}

.contact-copy {
  padding-left: clamp(2.5rem, 5vw, 7rem);
  padding-bottom: clamp(1rem, 5vh, 4rem);
}

.contact-block + .contact-block {
  margin-top: clamp(2.5rem, 7vh, 6rem);
}

.contact-label {
  margin: 0 0 1.2rem;
  color: var(--yellow);
  font-size: clamp(1.1rem, 1.8vw, 2rem);
  line-height: 1;
  font-family: "Poppins", system-ui, sans-serif;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.2vw, 1.25rem);
  margin-bottom: clamp(1rem, 2.1vh, 1.9rem);
  color: #ffffff;
  font-family: "Poppins", system-ui, sans-serif;
  font-size: clamp(1.00rem, 1.8vw, 2.1rem);
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
}

.contact-row:hover {
  opacity: 0.85;
}

.contact-icon-image {
  width: clamp(1.5rem,3vw, 2.5rem);
  height: clamp(1.5rem,3vw, 2.5rem);
  object-fit: contain;
  flex: 0 0 auto;
}

.contact-image-wrap {
  position: relative;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.contact-image {
  width: min(100%, 820px);
  height: 100%;
  max-height: min(84vh, 900px);
  object-fit: contain;
  object-position: right bottom;
  display: block;
}

@media (max-width: 1300px) {
  body {
    overflow: auto;
  }

  .poster {
    height: auto;
    min-height: 100vh;
    padding-bottom: 1.25rem;
  }

  .topbar {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .main-nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .contact-stage {
    grid-template-columns: 1fr;
    height: auto;
  }

  .contact-copy {
    padding-left: 0;
    padding-bottom: 0;
  }

  .contact-image-wrap {
    min-height: 50vh;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .poster {
    padding: 1rem 1rem 1.25rem;
    background: url("../background.png") center center / cover no-repeat;
  }

  .logo-mark {
    width: min(100%, 240px);
  }

  .main-nav a,
  .register-button {
    font-size: 1.1rem;
  }

  .register-button {
    min-height: 2.6rem;
    padding: 0.25rem 0.8rem 0.15rem;
  }

  .contact-stage {
    gap: 1rem;
    margin-top: 1rem;
  }

  .contact-block + .contact-block {
    margin-top: 1.5rem;
  }

  .contact-label {
    font-size: 1rem;
    margin-bottom: 0.85rem;
  }

  .contact-row {
    gap: 0.65rem;
    font-size: 1rem;
    margin-bottom: 0.85rem;
    word-break: break-word;
  }

  .contact-icon-image {
    width: 1.4rem;
    height: 1.4rem;
  }

  .contact-image-wrap {
    min-height: 38vh;
  }

  .contact-image {
    width: min(100%, 420px);
    max-height: 48vh;
  }
}
