/* style.css */

/* Allgemeines Styling */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: #ffffff;
  background-color: #1e1e2e;
}

/* Header Styling */
.page-header {
  background-color: #2a2a3e;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #3a3a5e;
}

.header-left {
  display: flex;
  align-items: center;
}

.header-title {
  margin-left: 20px;
  font-size: 1.5em;
  color: #ff79c6;
}

.back-link {
  text-decoration: none;
  color: #8be9fd;
  transition: color 0.3s;
}

.back-link:hover {
  color: #50fa7b;
}

/* Main Content */
main {
  padding: 20px;
}

.big-heading {
  font-size: 2.5em;
  margin-bottom: 10px;
  text-shadow: 0 0 8px #ff79c6;
}

.info-text {
  font-size: 1.2em;
  line-height: 1.6;
}

/* Link-Box Styling */
.link-box {
  margin: 20px 0;
  text-align: center;
}

.twitch-connect {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  background-color: #9146ff;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s, transform 0.3s;
}

.twitch-connect:hover {
  background-color: #772ce8;
  transform: scale(1.05);
}

.twitch-logo {
  width: 24px;
  height: 24px;
  margin-right: 10px;
}

/* Footer Styling */
.page-footer {
  background-color: #2a2a3e;
  padding: 10px;
  text-align: center;
  border-top: 2px solid #3a3a5e;
}

.footer-text {
  font-size: 1em;
}

.footer-link {
  color: #8be9fd;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-link:hover {
  color: #50fa7b;
}

/* Ladeanimation */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.spinner {
  border: 8px solid rgba(255, 255, 255, 0.2);
  border-top: 8px solid #ffffff;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Fade-in Animation */
.fade-in {
  animation: fadeIn 1.5s ease-in;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
