
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #d61aeb;
}

header {
  background-color: rgb(244, 146, 234);
  background-image: url('comicshop.jpg');
  background-size: cover; /* Das Bild wird so skaliert, dass es den gesamten Header abdeckt */
  background-position: center; /* Das Bild wird zentriert im Header platziert */
  color: #fff;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  position: fixed;
  
}

.logo {
  position: relative;
  display: flex;
  align-items: center; /* Zentriert das Logo und den Text vertikal */
}

.logo img {
  width: 150px; /* Größe des Logos anpassen */
  height: auto;
  margin-right: 10px;
}

.logo h1 {
  margin: 0;
  font-size: 28px; /* Schriftgröße für den Header anpassen */
  font-weight: 700; /* Fettschrift */
}

/* Navigation */
nav ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
  display: fixed; /* Flexbox verwenden, um die Links nebeneinander anzuordnen */
}

nav ul li {
  margin-right: 20px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
}

/* Hauptinhalt */
main {
  text-align: center;
  margin-top: 20px;
}

h1 {
  color: #4d07e3;
  font-size: xx-large;
  font-family: "Fugaz One", sans-serif;
  font-weight: 800;
}

.loader-text {
  font-size: 300px; /* Größe erhöhen */
  text-align: center;
  color: transparent;
  background: linear-gradient(to right, #00f, #0ff, #f00);
  background-clip: text;
  -webkit-background-clip: text;
  animation: glitch 2s linear infinite 5s, slideIn 2s ease-in-out infinite alternate;
  font-family: 'Bangers', cursive; /* Schriftart ändern */
}

.s {
  color: #fff; /* Textfarbe des "s" */
}

@keyframes slideIn {
  0% {
      transform: translateY(-10%);
  }
  100% {
      transform: translateY(10%);
  }
}

h2 {
  color: whitesmoke;
  font-family: "Oleo Script Swash Caps", sans-serif;
  font-weight: 400;
}

@font-face {
  font-family: 'Oleo Script Swash Caps';
  src: url('fonts/OleoScriptSwashCaps-Regular.ttf') format('truetype');
  /* Füge hier weitere Formate hinzu, falls erforderlich (z. B. woff, woff2, otf) */
}

h3 {
  color: #e9a513;
  font-family: "Comic Neue", cursive;
  font-weight: 400;
  margin-bottom: -15px;
}

h4 {
  color: #45a049;
  font-family: "Fantasy";
  font-weight: 400;
}

.superman-gif {
  display: block;
  margin: auto; /* Zentriert das GIF horizontal */
  margin-top: 20px; /* Fügt einen Abstand zwischen den Bildern hinzu */
}

/* Slideshow */
#slideshow img {
  max-width: 50%;
  height: auto;
  margin-right: auto;
}

img {
  max-width: 100%;
  height: auto;
}

/* Video */
video {
  max-width: 50%;
  height: auto;
  text-align: center;
  margin-top: 20px; /* Abstand nach oben für das Video */
}

/* Buttons */
.buy-button,
.catalog-button,
.imprint-button,
.contact-button a {
  display: inline-block;
  padding: 10px 20px;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
}

.buy-button {
  background-color: #4CAF50;
  color: white;
}

.buy-button:hover {
  background-color: #45a049;
}

.catalog-button {
  background-color: #ff5733;
  color: white;
}

.catalog-button:hover {
  background-color: #e54d27;
}

.imprint-button {
  background-color: #008CBA;
  color: white;
}

.imprint-button:hover {
  background-color: #005f6b;
}

.contact-button a {
  background-color: #007bff;
  color: white;
}

.contact-button a:hover {
  background-color: #0056b3;
}

/* Social Icons */
.social-icons {
  text-align: center;
}

.social-icons a {
  margin: 0 10px;
}

/* Bildcontainer */
.image-container {
  display: flex;
  justify-content: space-between;
  animation: move-and-rotate 10s linear infinite;
}

.image-container img {
  max-width: 100px;
  height: auto;
  transition: transform 0.5s ease;
}

@keyframes move-and-rotate {
  0%, 100% {
      transform: translateX(0) rotate(0);
  }
  30% {
      transform: translateX(30%) rotate(0);
  }
  45% {
      transform: translateX(50%) rotate(180deg);
  }
  50%, 55% {
      transform: translateX(50%) rotate(180deg);
  }
  100% {
      transform: translateX(100%) rotate(0);
  }
}

/* Rotating Shape */
.rotating-shape {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, yellow 25%, red 75%);
  animation: rotate 4s linear infinite;
}

.caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  font-weight: bold;
  color: black;
  opacity: 0;
  animation: fade 4s linear infinite;
}

@keyframes rotate {
  from {
      transform: rotate(0deg);
  }
  to {
      transform: rotate(360deg);
  }
}

@keyframes fade {
  0%, 100% {
      opacity: 0;
  }
  50% {
      opacity: 1;
  }
}

/* Footer */
footer {
  background-color: #d61aeb;
  padding: 20px;
  color: #fff;
  text-align: center;
  display: flex;
  justify-content: space-between;
}

/* Footer Links */
#footer-impressum,
#footer-katalog {
  /* Stile für die Footer-Links */
  margin-top: 20px;
}

/* Kontaktbutton im Footer */
.contact-button a {
  display: inline-block;
  margin-top: 10px;
  background-color: #d4eb0c;
  color: #00f;
  text-decoration: none;
  border-radius: 5px;
}

.contact-button a:hover {
  background-color: #0056b3;
}

/* Burger-Menü */
.menu-toggle {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 30px;
  cursor: pointer;
  z-index: 1000;
}

.menu-toggle .hamburger {
  width: 25px;
  height: 3px;
  background-color: #fff;
  margin: 3px 0;
  transition: all 0.3s ease;
}

.menu-toggle.active .hamburger:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.menu-toggle.active .hamburger:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .hamburger:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}