@font-face {
  font-display: auto;
  font-family: Poppins;
  font-style: italic;
  font-weight: 100;
  src: local("Poppins"),
    url("../fonts/Poppins/Poppins-Thin.ttf") format("truetype");
}

@font-face {
  font-display: auto;
  font-family: Poppins;
  font-style: normal;
  font-weight: 300;
  src: local("Poppins"),
    url("../fonts/Poppins/Poppins-Light.ttf") format("truetype");
}

@font-face {
  font-display: auto;
  font-family: Poppins;
  font-style: normal;
  font-weight: 600;
  src: local("Poppins"),
    url("../fonts/Poppins/Poppins-Bold.ttf") format("truetype");
}

:root {
  color-scheme: dark;
  --bg: #0a0924;
  --panel: rgba(10, 9, 36, 0.659);
  --panel-solid: #0a0924;
  --cyan: #a3e4f1;
  --green: #35a37d;
  --red: red;
  --shadow: 0 0 6px 0 rgba(229, 248, 251, 0.122);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg) url("../images/background.webp") center center / cover fixed no-repeat;
}

body {
  min-width: 320px;
  min-height: 100svh;
  margin: 0;
  color: var(--cyan);
  font-family: Poppins, ui-sans-serif, system-ui, sans-serif;
  font-weight: 300;
  line-height: 2rem;
  text-rendering: geometricPrecision;
  background: transparent;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: rgba(10, 9, 36, 0.3);
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

a {
  position: relative;
  color: inherit;
  font-weight: 600;
  text-decoration: none;
}

a::after {
  content: "";
  position: absolute;
  top: 90%;
  left: 0;
  width: 100%;
  height: 1px;
  background: #a3a3a3;
}

a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 5px;
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1000px, 86%);
  margin: 0 auto;
  padding: 1.25rem 0;
}

.brand {
  color: var(--cyan);
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 100;
  letter-spacing: 0;
}

.brand::after {
  display: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem 1.25rem;
}

.site-nav a {
  font-size: 0.95rem;
  line-height: 1.2rem;
}

.hero,
.section {
  width: min(1000px, 86%);
  margin: 0 auto;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content,
.section-heading,
.card,
.panel,
.sponsor-card {
  color: var(--cyan);
  background: var(--panel);
  border: 1px solid var(--cyan);
  border-radius: 1rem;
  box-shadow: var(--shadow);
}

.hero-content {
  width: min(800px, 100%);
  padding: 3rem 2rem;
  text-align: center;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--green);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0;
}

h1,
h2,
h3,
h4,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3,
h4 {
  color: var(--cyan);
  line-height: 1.1;
  font-weight: bold !important;
}

h1,
h2 {
  font-style: italic;
  font-weight: 100;
}

h1 {
  margin: 0 0 1rem;
  font-size: 3.5rem;
}

h2 {
  margin: 0;
  font-size: 3rem;
}

h3 {
  margin: 0 0 1rem;
  font-size: 1.6rem;
  font-weight: 600;
}

h4 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
}

.hero p {
  max-width: 720px;
  margin: 0 auto 1rem;
  font-size: 1.1rem;
  line-height: 2rem;
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 680px;
  margin: 2rem auto 0;
  overflow: hidden;
  border: 1px solid var(--cyan);
  border-radius: 1rem;
  background: var(--cyan);
}

.quick-facts div {
  min-width: 0;
  padding: 1rem;
  background: rgba(10, 9, 36, 0.82);
}

.quick-facts strong,
.quick-facts span {
  display: block;
}

.quick-facts strong {
  color: var(--cyan);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
}

.quick-facts span {
  margin-top: 0.35rem;
  font-size: 0.9rem;
  line-height: 1.25rem;
}

.section {
  padding: 1rem 0;
}

.section-heading {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 2rem;
  padding: 2rem;
  text-align: center;
}

.section-heading .eyebrow {
  margin-bottom: 0.25rem;
}

.prize-grid,
.sponsor-grid,
.info-grid {
  display: grid;
  gap: 2rem;
}

.prize-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 2rem;
}

.prize-grid li::marker {
  content: "🏆 " !important;
  font-size: 1rem !important;
}

.info-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sponsor-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.card,
.panel,
.sponsor-card {
  padding: 1.2rem 1rem 1rem;
}

.panel {
  padding: 3rem 2rem;
  text-align: center;
}

.card {
  text-align: left;
}

.card h3,
.panel h3 {
  color: var(--cyan);
}

.card ul,
.panel ul {
  margin: 0;
  padding: 1rem 0 0 1.2rem;
  text-align: left;
}

.card li,
.panel li {
  padding-left: 0.2rem;
}

.card li::marker,
.panel li::marker {
  color: var(--red);
  content: "📕 ";
  font-family: Poppins, ui-sans-serif, system-ui, sans-serif;
  font-size: 1rem;
}

.panel p,
.sponsor-card p {
  margin: 0 0 1rem;
}

.panel p:last-child,
.sponsor-card p:last-child {
  margin-bottom: 0;
}

.sponsor-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  min-width: 0;
  text-align: center;
}

.sponsor-card a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

.sponsor-card a::after {
  display: none;
}

.sponsor-card img {
  width: 100px;
  height: 100px;
  border: 1px solid var(--cyan);
  border-radius: 100%;
  background: #fff;
  box-shadow: 0 0 6px 0 rgba(229, 248, 251, 0.49);
  object-fit: contain;
}

.sponsor-card span {
  min-width: 0;
  color: var(--cyan);
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 100;
  line-height: 1.2;
}

.site-footer {
  width: min(1000px, 86%);
  margin: 0 auto;
  padding: 2rem 0 3rem;
  color: var(--cyan);
  font-size: 1rem;
  line-height: 1.3rem;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
    padding-top: 3rem;
  }

  h1 {
    font-size: 2.7rem;
  }

  h2 {
    font-size: 2.4rem;
  }

  .hero p {
    font-size: 1rem;
    line-height: 1.7rem;
  }

  .quick-facts,
  .prize-grid,
  .info-grid,
  .sponsor-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .hero,
  .section,
  .site-header,
  .site-footer {
    width: min(100% - 1.25rem, 1000px);
  }

  .hero {
    padding-bottom: 3.5rem;
  }

  .hero-content,
  .section-heading,
  .panel {
    padding: 1.25rem 1rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  h1 {
    font-size: 2.1rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  .sponsor-card img {
    width: 72px;
    height: 72px;
  }
}

#countdown {
  margin-top: 50px;
  text-align: center;
  height: 50px;
  font-family: monospace;
  font-size: 2.7rem;
  color: white;
  font-weight: bold;
}

/* customizable snowflake styling */
.snowflake {
  color: #fff;
  font-size: 1em;
  font-family: Arial, sans-serif;
  text-shadow: 0 0 5px #000;
}

.prize-grid h3 {
  text-align: center;
}
 
.snowflake,.snowflake .inner{animation-iteration-count:infinite;animation-play-state:running}@keyframes snowflakes-fall{0%{transform:translateY(0)}100%{transform:translateY(110vh)}}@keyframes snowflakes-shake{0%,100%{transform:translateX(0)}50%{transform:translateX(80px)}}.snowflake{position:fixed;top:-10%;z-index:-9999;-webkit-user-select:none;user-select:none;cursor:default;pointer-events:none;animation-name:snowflakes-shake;animation-duration:3s;animation-timing-function:ease-in-out}.snowflake .inner{animation-duration:10s;animation-name:snowflakes-fall;animation-timing-function:linear}.snowflake:nth-of-type(0){left:1%;animation-delay:0s}.snowflake:nth-of-type(0) .inner{animation-delay:0s}.snowflake:first-of-type{left:10%;animation-delay:1s}.snowflake:first-of-type .inner,.snowflake:nth-of-type(8) .inner{animation-delay:1s}.snowflake:nth-of-type(2){left:20%;animation-delay:.5s}.snowflake:nth-of-type(2) .inner,.snowflake:nth-of-type(6) .inner{animation-delay:6s}.snowflake:nth-of-type(3){left:30%;animation-delay:2s}.snowflake:nth-of-type(11) .inner,.snowflake:nth-of-type(3) .inner{animation-delay:4s}.snowflake:nth-of-type(4){left:40%;animation-delay:2s}.snowflake:nth-of-type(10) .inner,.snowflake:nth-of-type(4) .inner{animation-delay:2s}.snowflake:nth-of-type(5){left:50%;animation-delay:3s}.snowflake:nth-of-type(5) .inner{animation-delay:8s}.snowflake:nth-of-type(6){left:60%;animation-delay:2s}.snowflake:nth-of-type(7){left:70%;animation-delay:1s}.snowflake:nth-of-type(7) .inner{animation-delay:2.5s}.snowflake:nth-of-type(8){left:80%;animation-delay:0s}.snowflake:nth-of-type(9){left:90%;animation-delay:1.5s}.snowflake:nth-of-type(9) .inner{animation-delay:3s}.snowflake:nth-of-type(10){left:25%;animation-delay:0s}.snowflake:nth-of-type(11){left:65%;animation-delay:2.5s}
