/* ============================================================
   FONTS
   Drop your font files into assets/fonts/ and update the
   src paths below. Set font-family in the :root block.
   ============================================================ */

@font-face {
  font-family: 'TAYLennon';
  src: url('../assets/fonts/TAYLennonRegular.woff2') format('woff2'),
       url('../assets/fonts/TAYLennonRegular.woff') format('woff'),
       url('../assets/fonts/TAYLennonRegular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ============================================================
   TOKENS
   ============================================================ */

:root {
  --color-bg: #ECC052;
  --color-wordmark: #EEE272;
  --color-text: #1B3A52;

  --wordmark-width: 110vw;
  --wordmark-top: -15%;
  --wordmark-max-h: calc(100vh - 120px);

  --font-brand: 'TAYLennon', system-ui, sans-serif;

  --headline-size: 1rem;
  --headline-bottom: 100%;

  --social-label-size: 1rem;
  --social-label-mb: 0.625rem;
  --social-icon-size: clamp(32px, 5vw, 48px);
  --social-top: 130%;

  --mascot-width: 104px;
  --mascot-bottom: 110%;
}

@media (min-width: 640px) {
  :root {
    --headline-size: 1.875rem;

    --social-label-size: 1.5rem;
    --social-label-mb: 1.25rem;

    --mascot-width: 196px;
  }
}

@media (min-width: 1024px) {
  :root {
    --wordmark-width: 124vw;

    --headline-bottom: 80%;

    --social-top: 100%;

    --mascot-width: 289px;
    --mascot-bottom: 0;
  }
}

@media (min-width: 1280px) {
  :root {
    --wordmark-top: -10%;
    --wordmark-width: 115vw;

    --headline-bottom: 70%;

    --social-top: 95%;
  }
}

@media (min-height: 500px) and (max-height: 800px) {
  :root {
    --wordmark-top: -5%;
  }
}

@media (min-width: 1440px) {
  :root {
    --headline-position: 150px;
  }
}

@media (min-width: 1600px) {

  :root {
    --wordmark-width: 100%;
    --wordmark-top: -5%;
  }
}

/* ============================================================
   RESET
   ============================================================ */

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

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


html {
  overflow-x: hidden;
}

body {
  background: var(--color-bg);
  font-family: var(--font-brand);
  color: var(--color-text);
  overflow-x: hidden;
  padding-bottom: 60px;
}

main {
  height: calc(100vh - 60px);
  width: 100vw;
}


.wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.wordmark-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--wordmark-top);
}

.wordmark-svg {
  width: var(--wordmark-width);
  position: relative;
  left: 0;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  color: var(--color-wordmark);
  /* leave some space above and below with max-height */
  max-height: var(--wordmark-max-h);
}

.headline {
  position: absolute;
  z-index: 2;
  bottom: var(--headline-bottom);
  left: 50%;
  transform: translateX(-50%);
  font-size: var(--headline-size);
  font-weight: normal;
  letter-spacing: -2%;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.25;
  color: var(--color-text);
  width: 100%;
}

.social {
  position: absolute;
  top: var(--social-top);
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 80%;
}

.social-label {
  font-size: var(--social-label-size);
  margin-bottom: var(--social-label-mb);
}

.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.social-icons img {
  width: var(--social-icon-size);
  height: var(--social-icon-size);
}

.mascot {
  width: var(--mascot-width);
  position: absolute;
  right: 0;
  bottom: var(--mascot-bottom);
}

/*
    Above tablet
 */
@media (min-width: 1024px) {

  .social {
    width: auto;
  }

  .mascot {
    right: unset;
    left: 100%;
  }
}

/*
    Large screens
 */
@media (min-width: 1600px) {
  .wordmark-svg {
    max-width: 90%;
  }
}

/*
    Very large screens
 */
@media (min-width: 2000px) {
  .wordmark-svg {
    max-width: 80%;
  }
}
