* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Monaco";
  color: black;
}

.background {
  position: fixed;
  inset: 0;
  background-image: url("assets/background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
}

.top-nav {
  display: flex;
  justify-content: space-between;
  padding: 2.5rem 12rem;
}

.top-nav button {
  background: linear-gradient(to right, #E45E54, #ED9E3F);
  border: 3px solid #3A6626;
  border-radius: 15px;
  padding-right: 4rem;
  padding-left: 0rem;
  width: 200px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.top-nav button:hover {
  border-color: #4D9733;
  animation: nav-wiggle 0.4s ease-out;
}

.top-nav button.active {
  border-color: #619141;
}

.card {
  position: relative;
  max-width: 720px;
  margin: 5rem auto;
  background: #E8C2CF;
  border: 4px solid #EAA6C2;
  border-radius: 30px;
  padding: 4.5rem 3rem 3rem;
}

.card-title {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  background: #EAA6C2;
  padding: 0.75rem 2rem;
  border-radius: 10px;
  font-weight: bold;
}

.avatar {
  position: absolute;
  top: -17px;
  left: -17px;
  width: 128px;
  height: 128px;
  border: 4px solid #EAA6C2;
  border-radius: 45%;
  object-fit: cover;
}

.leaf {
  position: relative;
  top: -22px;
  left: -2px;
  width: auto;
  height: 48px;
  transform: rotate(15deg);
  object-fit: cover;
}

.leaf2 {
  position: relative;
  top: -22px;
  left: 2px;
  width: auto;
  height: 48px;
  transform: rotate(15deg);
  object-fit: cover;
}

.leaf3 {
  position: relative;
  top: -22px;
  left: -2px;
  width: auto;
  height: 48px;
  transform: rotate(15deg);
  object-fit: cover;
}

.page {
  font-size: 18px;
  display: none;
  padding-left: 2.6rem;
  padding-right: 2.6rem;
  text-align: center;
}

.page.active {
  display: block;
}

.page p {
  line-height: 1.4;
  margin-bottom: 1rem;
}

.page a {
  color: black;
  font-weight: bold;
  text-decoration: none;
}

.page a:hover {
  text-decoration: underline;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.socials a {
  display: inline-block;
  border-radius: 5px;
  }

.twitch {
  position: relative;
  left: -57px;
  height: 75px;
  width: auto;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.youtube {
  position: relative;
  right: -76px;
  top: -11.5px;
  height: 100px;
  width: auto;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.socials img:hover {
  transform: scale(1.1);
  filter: brightness(1.15);
}

.social-line {
  display: flex;
  justify-content: space-between;
  width: 85%;
  padding-left: 6rem;
}

@keyframes nav-wiggle {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-4px) rotate(-2deg);
  }
  50% {
    transform: translateY(-6px) rotate(2deg);
  }
  75% {
    transform: translateY(-4px) rotate(-1deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

.sponsor-entry,
.sponsor-entry * {
  text-decoration: none !important;
  color: black;
}

.sponsor-entry {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem 0;
  color: black;
  font-weight: normal;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.sponsor-divide {
  border-bottom: 3px solid rgba(122, 122, 122, 0.3);
}

.sponsor-entry:hover {
  transform: scale(1.05);
}

.sponsor-entry img {
  margin-top: -3px;
  height: 164px;
  width: auto;
  cursor: pointer;
}

.sponsor-text p {
  font-weight: normal;
  margin: 0;
  line-height: 1.4;
  color: black;
}

@media (max-width: 768px) {
  body {
    color: black;
    font-size: 14px;
  }

  .top-nav {
    flex-direction: column;
    gap: 2rem;
    justify-content: center;
    align-items: center;
  }
}
