.form-box {
  max-width: 400px;
  margin: 0 auto;
  background-color: #1e1e1e;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-box label {
  font-weight: bold;
  color: #e0e0e0;
  margin-bottom: 5px;
}

.form-box input {
  padding: 10px;
  border: none;
  border-radius: 6px;
  background-color: #2a2a2a;
  color: #fff;
  font-size: 16px;
}

.form-box input::placeholder {
  color: #888;
}

.form-box button {
  padding: 12px;
  background-color: #4e54c8;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.form-box button:hover {
  background-color: #5f65d8;
}


/* ?? Dark Mode Grundlayout mit Emoji-Unterstützung */
:root {
  --bg-color: #121212;
  --container-bg: #1e1e1e;
  --text-color: #e0e0e0;
  --accent-color: #4e54c8;
  --accent-hover: #5f65d8;
}

body {
  font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', 'Segoe UI', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  margin: 0;
  padding: 20px;
  font-size: 20px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* ?? Responsive Anpassungen */
@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  .gallery {
    flex-direction: column;
    align-items: center;
  }

  .gallery-item img {
    width: 80%;
  }
}

/* ?? Container */
.container {
  background-color: var(--container-bg);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ?? Überschrift */
h2 {
  margin-bottom: 20px;
  color: #ffffff;
}

/* ?? Auth Buttons */
.auth-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.btn {
  position: relative;
  padding: 10px 20px;
  background-color: var(--accent-color);
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.4s ease;
}

.btn:hover {
  background-color: var(--accent-hover);
}

.btn:hover::after {
  left: 0;
}

/* ??? Galerie Layout */
.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 40px 20px;
  background-color: #111;
}

.gallery-item {
  flex: 0 1 250px;
  text-align: center;
  color: #ccc;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.05);
}

.caption {
  margin-top: 10px;
  font-size: 16px;
}

.button-link {
  display: inline-block;
  padding: 10px 16px;
  background-color: #4e54c8;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.button-link:hover {
  background-color: #5f65d8;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 10px;
  justify-content: center;
  padding: 0;
  margin: 20px 0;
}
