:root {
  --primary-color: #ffd700; /* Leuchtendes Gelb */
  --secondary-color: #fdb813; /* Etwas dunkleres Gelb für Akzente */
  --dark-color: #2a2a2a;
  --light-color: #f9f9f9;
  --text-color: #333;
  --white-color: #ffffff;
}

html,
body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--light-color);
  color: var(--text-color);
  line-height: 1.7;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background: var(--white-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo {
  font-size: 1.6em;
  font-weight: 700;
  text-decoration: none;
  color: var(--dark-color);
}

.logo span {
  color: var(--primary-color);
}

nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}

nav ul li {
  margin-left: 25px;
}

nav ul li a {
  color: var(--dark-color);
  text-decoration: none;
  font-size: 1em;
  font-weight: 600;
  padding-bottom: 5px;
  border-bottom: 2px solid transparent;
  transition: color 0.3s, border-bottom-color 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

/* Hauptbereich */
main.content-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  padding: 20px;
  flex-wrap: wrap;
}

.text-content {
  flex: 1;
  max-width: 500px;
}

.spider-logo {
  max-width: 70px;
  margin-bottom: 10px;
}

.text-content h1 {
  font-size: 2.5em;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 10px;
}

.text-content h2 {
  font-size: 1.5em;
  font-weight: 600;
  color: var(--dark-color);
  margin-top: 20px;
  margin-bottom: 5px;
}

.text-content p {
  font-size: 1.1em;
  margin-bottom: 15px;
}

.image-content {
  flex: 1;
  max-width: 500px;
}

.image-content img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
  background: var(--dark-color);
  color: var(--light-color);
  text-align: center;
  padding: 25px 0;
}

/* Mobile Menu Logik */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle .bar {
  height: 3px;
  width: 25px;
  background-color: var(--dark-color);
  margin: 4px 0;
  transition: 0.3s;
}

/* Responsive Anpassungen */
@media (max-width: 900px) {
  .main-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  main.content-wrapper {
    align-items: flex-start;
  }

  .login-container {
    align-items: flex-start;
    padding-top: 0vh;
  }

  nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 70px;
    left: 0;
    background-color: var(--white-color);
    text-align: center;
  }

  nav ul.active {
    display: flex;
  }

  nav ul li {
    margin: 15px 0;
  }

  .menu-toggle {
    display: flex;
  }

  .main-content {
    gap: 20px;
    padding: 10px;
  }

  .text-content h1 {
    font-size: 1.8em;
    margin-bottom: 5px;
  }

  .text-content h2 {
    font-size: 1.3em;
    margin-top: 10px;
    margin-bottom: 5px;
  }

  .text-content p {
    font-size: 1em;
    margin-bottom: 10px;
  }

  .image-content img {
    max-width: 80%;
  }
}

/* Login Form Container */

.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
}

/* Login Box */

.login-box {
  background: var(--white-color);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 450px;
  min-width: 100%;
  text-align: center;
}

.login-box .spider-logo {
  max-width: 80px;
  margin-bottom: 20px;
}

.login-box h1 {
  font-size: 2em;
  margin-bottom: 10px;
  color: var(--dark-color);
}

.login-box p {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--text-color);
}

/* Formular-Styling */

.login-form .form-group {
  margin-bottom: 20px;
  text-align: left;
}

.login-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--dark-color);
}

.login-form input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1em;
  transition: border-color 0.3s;
  box-sizing: border-box;
}

.login-form input:focus {
  outline: none;
  border-color: var(--primary-color);
}

/* Button-Styling */

.btn {
  background-color: var(--primary-color);
  color: var(--dark-color);
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.3s, transform 0.2s;
  box-sizing: border-box;
}

.btn:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
}
