* {
  box-sizing: border-box;
}

@font-face {
  font-family: "ABC Pelikan";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/ABCPelikanCondensed-Medium.woff2") format("woff2");
}

@font-face {
  font-family: "Rhetorik";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/RhetorikSerif-Regular.woff2") format("woff2");
}

body {
  display: grid;
  justify-items: center;
  grid-template-areas: "links" "logo" "info" "video" "location" "ntLogo";

  min-height: 100svh;
  margin: 0;

  color: #ff170e;
  background: #f2f1ec;
  white-space: nowrap;
  font-size: clamp(1rem, 2.5dvh, 1.25rem);

  --page-padding: clamp(8px, 2dvh, 24px);
  padding: calc(var(--page-padding) * 1.5) var(--page-padding)
    var(--page-padding);
}

#links {
  grid-area: links;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
  margin-bottom: clamp(16px, 4.5dvh, 48px);
  height: fit-content;
}

a {
  color: inherit;
  text-transform: uppercase;
  font-family: "ABC Pelikan", sans-serif;
}

#logo {
  grid-area: logo;
  margin-bottom: clamp(4px, 2dvh, 12px);
  width: 100%;
  height: clamp(100px, 15dvh, 135px);
}

#info {
  grid-area: info;
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: clamp(4px, 0.5dvh, 8px);
}

#info p {
  margin: 0;
  font-family: "Rhetorik", sans-serif;
}

#video {
  grid-area: video;
  display: block;
  height: clamp(275px, 40dvh, 400px);
  margin-top: clamp(16px, 3.5dvh, 32px);
  aspect-ratio: 2/3;
  object-position: center;
}

#location {
  grid-area: location;
  width: fit-content;
  height: clamp(32px, 5dvh, 48px);
  margin-top: clamp(8px, 2dvh, 24px);
}

#nt-logo {
  grid-area: ntLogo;
  height: 12px;
}

#nt-logo svg {
  height: 12px;
}

@media (min-width: 480px) {
  body {
    grid-template-areas: "links links" "logo info" "video video" "location location" "ntLogo ntLogo";
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto 1fr auto auto auto;
    align-items: center;
    gap: 24px;
  }

  #links,
  #video,
  #location {
    margin: unset;
  }

  #logo {
    width: 100%;
    height: auto;
    margin: 0;
    justify-self: start;
  }

  #nt-logo {
    margin-top: -24px;
  }
}

@media (min-width: 768px) {
  body {
    --page-padding: clamp(24px, 5dvh, 32px);

    grid-template-areas: "links links" "logo info" "location video" "ntLogo video";
    grid-template-rows: auto 1fr auto auto;
    grid-template-columns: 1fr auto;
  }

  #location {
    align-self: end;
    translate: 0 12px;
  }

  #video {
    width: 100%;
    height: unset;
    align-self: end;
    max-width: 40dvw;
    max-height: 50dvh;
    object-position: bottom;
  }

  #nt-logo {
    height: 16px;
    align-self: baseline;
    margin-top: 0;
  }

  #nt-logo svg {
    height: 16px;
  }
}

@media (min-width: 1192px) {
  body {
    font-size: clamp(1rem, 2.5dvh, 1.375rem);
    grid-template-areas: "logo logo logo info" "links location ntLogo video";
    grid-template-rows: auto auto;
    grid-template-columns: repeat(4, auto);
    gap: 32px;
  }

  #logo {
    max-width: 700px;
  }

  #info {
    align-self: start;
  }

  #links {
    width: fit-content;
    justify-self: start;
    align-self: end;
  }

  #video {
    max-height: 60dvh;
  }

  #nt-logo {
    align-self: end;
  }

  #nt-logo {
    height: calc(16px + 0.75dvh);
  }

  #nt-logo svg {
    margin-bottom: 0.75dvh;
  }
}
