:root {
  --bg-color: 17, 61, 26;
  --body-color: white;
}

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

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

body {
  position: relative;
  background-color: rgb(var(--bg-color));

  font-family: "Geist";
  color: var(--body-color);
  display: flex;
  flex-direction: column;
  align-items: center;
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(var(--bg-color));
  background-image: url("./assets/bg.jpg");
  background-size: cover; /* Adjust as needed */
  background-position: center;
  opacity: 0.5; /* Set your desired opacity (0.0 to 1.0) */
  background-blend-mode: darken;
  z-index: -1; /* Places the background behind the content */
}

a {
  color: currentColor;
}

p {
  max-width: 400px;
}

#snow-canvas {
  height: 100vh;
  position: fixed;
  pointer-events: none;
  top: 0;
  left: 0;
  opacity: 0.6;
}

main {
  width: 85%;
  max-width: 600px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;

  margin-top: 45px;
}

main > :nth-child(n + 2),
footer {
  margin-top: 2em;
}
iframe {
  margin-top: 0em !important;
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio (9/16 = 0.5625) */
  height: 0;
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

footer {
  font-size: small;
  text-align: center;
}
