:root {
  --primary-color: #22254b;
  --secondary-color: #373b69;
  --accent-color: #77bb44;
}

/* ---------------- Hamburger Menu ---------------- */
.burger-container {
  position: relative;
  padding-bottom: 15px;
  height: 70px;
  width: 90px;
  display: none;
}

@media (max-width: 1060px) {
  .burger-container {
    display: block;
  }
}

.burger-container-closed {
  transition: 0.3s;
  display: flex;
  align-items: center;
  position: relative;
  height: 40px;
  width: 90px;
}

@media (min-width: 1061px) {
  .burger-container-closed {
    display: none;
  }
}

.burger {
  z-index: 2;
  height: 70px;
  width: 90px;
}

.burger-top {
  z-index: 1;
  position: absolute;
  left: 0;
  top: 0;
}

.burger-meat {
  position: absolute;
  z-index: 0;
  left: 8px;
  top: 25px;
  filter: drop-shadow(1px 1px 16px black);
  background-color: gold;
}

.burger-meat-closed {
  transition: 0.3s;
  position: absolute;
  z-index: 0;
  left: 8px;
  top: 25%;
}

.burger-bottom {
  position: absolute;
  left: 0;
  bottom: 0;
}

/* ---------------- Spill / Mustard Images ---------------- */
#spill {
  z-index: 1;
  position: absolute;
  top: 10px;
  left: 75px;
  filter: drop-shadow(0 0 0.75rem var(--accent-color));
}

.mustard {
  width: 320px;
  height: 440px;
  max-width: none;
  transition: opacity 0.4s;
  opacity: 1;
}

/* ---------------- Popout Menu ---------------- */
.popout-menu {
  position: absolute;
  top: 30px;
  left: 75px;
  overflow: hidden;
}

.popout-menu p {
  font-size: 36px;
  margin: 6px;
  text-decoration: none;
}

.popout-menu a {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  text-decoration: none;
  color: #000;
}

.popout-menu a:hover {
  color: var(--accent-color);
  transition: 0.3s;
}

/* ---------------- Main Menu ---------------- */
.main-menu {
  display: flex;
}

.main-menu a {
  text-decoration: none;
  color: #fff;
  font-size: 24px;
  margin-right: 16px;
}

@media (max-width: 1060px) {
  .main-menu a {
    display: none;
  }
}

.main-menu a:hover {
  color: var(--accent-color);
  transition: 0.3s;
}

/* ---------------- Hero Section ---------------- */
.hero {
  background-color: var(--primary-color);
  background-image: linear-gradient(180deg, black, transparent 50%), url("https://via.placeholder.com/1500x600");
  background-size: cover;
  background-position: center;
  padding: 64px 0;
  text-align: center;
}

.hero-content {
  background: rgba(0, 0, 0, 0.5);
  padding: 24px;
  margin-top: 40px;
  border-radius: 16px;
  display: inline-block;
}

.hero h2 {
  font-size: 2.5em;
  margin-bottom: 16px;
}

.hero p {
  margin-bottom: 32px;
}

@media (min-width: 739px) {
  .hero p {
    font-size: 1.2em;
  }
}

@media (max-width: 738px) {
  .hero h2 {
    font-size: 1.8em;
  }
}

/* ---------------- TV / Twitch Section ---------------- */
.tv {
  max-width: fit-content;
  margin-inline: auto;
}

.tv img {
  width: 60vw;
  max-width: 740px;
  min-width: 360px;
  filter: drop-shadow(2px 4px 6px black);
}

.twitch {
  height: 480px;
  width: 720px;
}

@media (max-width: 900px) {
  .twitch {
    height: 240px;
    width: 360px;
  }
}

/* ---------------- Twitch Status ---------------- */
#twitch-status {
  margin-top: 20px;
  padding: 10px;
  background: #333;
  color: #fff;
  border-radius: 5px;
  text-align: center;
}

#twitch-status p {
  margin: 0;
  font-size: 1.2em;
}

#twitch-status .live {
  color: #4caf50;
}

#twitch-status .offline {
  color: #ff0000;
}

/* ---------------- Pagination ---------------- */
#games-per-page {
  padding: 8px 12px;
  font-size: 16px;
  border-radius: 4px;
  border: 1px solid #ccc;
  background-color: #ffffff;
  color: #333333;
  cursor: pointer;
  outline: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  width: 190px;
}

@media (max-width: 768px) {
  #games-per-page {
    width: 150px;
    font-size: 14px;
  }
}

#pagination-container button {
  padding: 10px 15px;
  font-size: 16px;
  border: none;
  border-radius: 4px;
  background-color: #4caf50;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin: 0 5px;
  width: 90px;
}

@media (max-width: 768px) {
  #pagination-container button {
    width: 100px;
    font-size: 14px;
  }
}

#pagination-container button:disabled {
  background-color: #ddd;
  cursor: not-allowed;
}

#pagination-container button:hover:not(:disabled) {
  background-color: #45a049;
}

/* ---------------- Game Cards ---------------- */
.card-container {
  display: flex;
  flex-direction: row;
  background-color: #f5f5f5;
  border-radius: 0.75rem;
  border: 1px solid #ddd;
  margin-bottom: 16px;
  cursor: pointer;
  height: fit-content;
  position: relative;
  transition: all 0.3s ease-in-out;
  z-index: 1;
  overflow: hidden;
}

.card-container.expanded {
  z-index: 0;
}

.art-box {
  width: 16rem;
  height: fit-content;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.art-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.art-box p {
    color: black;
    padding-left: 4px;
    padding-bottom: 2px;
}

.info-box {
  width: 70%;
  overflow: hidden;
  transition: width 0.3s ease-in-out;
  background-color: #fff;
  padding: 1rem;
  border-left: 1px solid #ddd;
}

.info-box p {
  margin: 0.25rem 0;
  font-size: 1.2rem;
}

.info-box a {
  margin: 0.25rem 0;
  font-size: 0.9rem;
  color: rgb(201, 201, 254);
  width: 70%;
}

.info-box button {
  margin-top: 8px;
  padding: 6px 12px;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 2rem;
}

.info-box button:hover {
  background-color: rgb(185 28 28 / var(--tw-bg-opacity, 1));
}

@media (max-width: 1200px) {
  .info-box button {
    font-size: 3rem;
  }

.card-container.expanded .info-box {
  width: 16rem;
}

@media (max-width: 1200px) {
  .card-container.expanded .info-box {
    width: 100%;
  }

  @media (max-width: 1200px) {
  .card-container.expanded .info-box p{
    font-size: 3rem;
  }

@media (max-width: 768px) {
  .card-container {
    flex-direction: column;
    height: auto;
  }

  .art-box {
    width: 100%;
    height: 16rem;
  }

  .card-container.expanded .info-box {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .info-box p, .info-box a {
    font-size: 4rem; 
  }



