body {
  background-image: url("background.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  color: white;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  position: relative;
}

.logo {
  width: 150px;
  margin-top: 40px;
  margin-bottom: 20px;
  z-index: 2;
}

.twitch-container {
  width: 100%;
  max-width: 900px;
  padding: 0 20px;
  z-index: 2;
}

.twitch-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

.twitch-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: auto;
  padding: 20px;
  z-index: 2;
  flex-wrap: wrap;
}

.card {
  background: rgba(0, 0, 0, 0.7);
  border-radius: 10px;
  padding: 10px;
  width: 200px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s, background 0.3s;
  text-decoration: none;
  color: white;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
}

.card:hover {
  transform: scale(1.05);
  background: rgba(0, 0, 0, 0.9);
}

.card img {
  height: 40px;
}

.footer {
  position: relative;
  bottom: 10px;
  width: 100%;
  text-align: center;
  font-size: 14px;
  color: #3d0000;
  z-index: 2;
}

@media (max-width: 768px) {
  .logo {
    width: 120px;
  }

  .card {
    width: 150px;
    height: 50px;
  }

  .card img {
    height: 30px;
  }
}
@media (min-width: 1024px) {
  .logo {
    width: 100px;
  }

  .twitch-container {
    max-width: 1000px;
  }

  .card {
    width: 220px;
    height: 70px;
    font-size: 26px;
  }

  .card img {
    height: 50px;
  }

  .links {
    gap: 40px;
  }
}
@media (min-width: 1440px) {
  .twitch-container {
    max-width: 55vw;
    min-width: 40vw;
  }

  .card {
    width: 264px;
    height: 80px;
    font-size: 28px;
  }

  .card img {
    height: 60px;
  }
}
@media (min-width: 2500px) {
  .logo {
    width: 175px;
  }

  .twitch-container {
     max-width: 60vw; 
  }

  .card {
    width: 264px;
    height: 80px;
    font-size: 28px;
  }

  .card img {
    height: 60px;
  }
}
