@import url('https://fonts.googleapis.com/css2?family=Geologica&family=Monomaniac+One&display=swap');

/* Basic styling */
body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #222;
  color: #f8f8f8;
}

a {
  color: #f8f8f8;
  text-decoration: none;
}

/* Header */
header {
  position: relative;
  background-color: #333;
  padding: 20px;
  text-align: center;
}

header #logo {
  display: inline-block;
  text-shadow: none;
  color: transparent;
  background: url(../img/vibez-motd.png);
  background-size: 100% 100%;
  width: 25vw;
  height: 10em;
  border: 2px solid #ffffff;
  border-radius: 10px;
  opacity: 0;
  animation: dropLogo 5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

@keyframes dropLogo {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  
  25% {
    transform: translateY(25%);
  }
  
  50% {
    transform: translateY(-50%) rotate(180deg);
  }
  
  75% {
    transform: translateY(0%) rotate(360deg);
  }
  
  100% {
    transform: translateY(0%);
    opacity: 1;
  }
}

@media screen and (max-width: 768px) {
  header #logo {
    width: 80vw;
  }
}

header #logo:hover {
  transform: scale(1.1);
}

h1 {
  font-size: 2.5em;
  letter-spacing: 1px;
  line-height: 1.2;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 10px;
}

h1 span {
  display: block;
  font-size: 0.7em;
  color: #c0a843; /* Anpassung der Farbe zu einem dezenteren Gold */
  font-family: 'Geologica Variable', sans-serif;
}

body span {
  font-size: 1em;
  color: #c0a843; /* Anpassung der Farbe zu einem dezenteren Gold */
  font-family: 'Roboto', sans-serif;
}

header p {
  font-size: 0.7em;
  color: gold;
  font-style: italic;
}

/* Navigation */
#main-nav ul {
  list-style-type: none;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #333;
  border-radius: 5px;
  overflow: hidden;
}

#main-nav ul li {
  margin: 10px;
}

#main-nav ul li a {
  color: #f8f8f8;
  text-decoration: none;
  display: inline-block;
  padding: 10px 20px;
  border-radius: 20px;
  transition: transform 0.3s ease;
  font-weight: bold;
  font-size: 1.1em;
}

#main-nav ul li a:hover {
  background-color: #ffd700;
  color: #222;
  transform: scale(1.05);
}

#main-nav ul li a.active {
  background-color: #ffd700;
  color: #222;
  transform: scale(1.05);
}

#main-nav ul li a.active:hover {
  background-color: #ffd700;
  color: #222;
  transform: scale(1.05);
}

/* Main content */
main {
  padding: 20px;
}

#review {
  background-color: #444;
  padding: 20px;
}

/* Footer */
footer {
  background-color: #333;
  padding: 20px;
}

#discord-widget {
  position: fixed;
  bottom: 20vh;
  right: 20px;
  z-index: 9999;
}

#discord-toggle {
  position: fixed;
  top: 50%;
  right: 0;
  z-index: 10000;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  display: none;
}

@media (max-width: 768px) {
  #discord-widget {
    display: none;
  }
  #discord-toggle {
    display: block;
  }
}

.img-right,
.img-left {
  z-index: 20;
}

.img-right {
  animation: slide-in-from-right 4s ease-in-out forwards;
}

.img-left {
  animation: slide-in-from-left 4s ease-in-out forwards;
}

@keyframes slide-in-from-left {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slide-in-from-right {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

#cookie-banner {
  position: fixed;
  bottom: 0;
  background-color: #333;
  padding: 20px;
  width: 100%;
  animation: slide-up 2s ease-in-out forwards;
}