@view-transition {
  navigation: auto;
}

* {
  box-sizing: border-box;

  --background-color: #404ccc;
  --background-secondary: rgb(206, 34, 21);
  --text-color: #ffffff;
  --font-family: "National Park", -ui-sans-serif, sans-serif;
}

html {
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
}

body {
  background-color: var(--background-color);

  display: flex;
  flex-direction: column;

  margin: 0;
  font-family: var(--font-family);
  font-size: 1.3rem;
  color: var(--text-color);
}

header, footer {
  padding-right: 10%;
  padding-left: 10%;

  flex-direction: row;
  justify-content: start;
}

footer {
  border-top: dotted white 1pt;
}

.top-bar {
  display: flex;
  width: 100%;

  align-items: center;
  justify-content: space-between;
}

.top-bar > .hack-club-banner {
  max-width: 30%;
}

.frame-background {
  width: 100%;
  position: absolute;
  top: 0;
  z-index: -1;
}

.frame-background img {
  width: 100%;
}

.frame-background::after {
  content: "";
  position: absolute;
  bottom: -1;
  left: 0;
  height: 10%;
  width: 100%;
  background: linear-gradient(to bottom, rgba(41, 50, 149, 0) 0%, var(--background-color) 100%);
  pointer-events: none;
}

main {
  display: flex;
  flex-direction: column;
  max-width: 75%;
  align-self: center;
  width: 100%;
}

section {
  padding-top: 3vh;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero img {
  max-width: 70%;
  height: auto;
  image-rendering: pixelated;
}

button {
  padding: 0.5rem 0.8rem;
  background-color: white;
  color: black;

  border: none;
  text-align: center;
  text-decoration: none;
  font-family: inherit;
  font-size: 1rem;
  border-radius: 100pt;
  cursor: pointer;
  transition: transform 0.3s
}

button:hover {
  transform: scale(1.1);
}

.large-button {
  font-size: 1.5rem;
  padding: 0.8rem 1.2rem;
  color: white;
  background-color: var(--background-secondary);
}

.large-button:hover {
  transform: rotate(5deg)
}

h1 {
  font-size: clamp(2rem, 4vw, 5rem);
  max-width: 100%;
}
a, a:visited {
  color: unset
}

code {
  font-size: 0.8rem;
  padding: 0.2rem;
  border-radius: 2pt;
  background-color: rgb(255, 255, 255);
  color: rgb(39, 39, 39);
}

.margin-top {
  margin-top: 3vh;
}