
html, body {
  height: 100%;
  margin: 0;
  overflow-x: hidden;
}


body {
  color: rgb(255, 255, 255);
  padding-bottom: 80px;
  box-sizing: border-box;
  cursor: default;
  font-family: 'Arial', sans-serif;
}

#bgVideo {
  position: fixed;
  top: 0;
  left: 0;
  min-width: 100vw;
  min-height: 100vh;
  width: auto;
  z-index: -1;
  object-fit: cover;
  background: #000;
  pointer-events: none;
}

header {
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, #A662CD 3%, #86D0EB 95%);
  gap: 40px;
  position: fixed;
  width: 100%;
  padding: 10px 40px;
  box-sizing: border-box;
  top: 0;
  z-index: 1000;
}

h1 {
  font-size: 20px;
}

.headerItem {
  transition: color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.headerItem:hover,
.headerItem a:hover {
  color: rgb(152, 122, 221);
  transform: translateX(5px);
}

.headerItem a {
  color: inherit;
  text-decoration: none;
  font: inherit;
}

.left {
  margin-left: 20px;
  margin-right: 10px;
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.header-logged-out .left {
  margin-right: auto;
}

.header-user {
  margin: 0;
  margin-right: auto;
  font-size: 18px;
}


/* Signup Form Styles */
.signup-container {
  background: linear-gradient(180deg, rgba(170,37,228,0.9) 0%, rgba(121,126,247,0.7) 25%, rgba(128,178,234,0.7) 58%, rgba(215,82,255,0.7) 100%);
  border-radius: 24px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  padding: 40px 32px 24px 32px;
  max-width: 400px;
  margin: 60px auto 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 100px;
}

.signup-container h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 32px;
  color: #fff;
  text-align: center;
}

.signup-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.signup-form input[type="text"],
.signup-form input[type="password"] {
  padding: 12px 16px;
  border-radius: 8px;
  border: none;
  font-size: 1.1rem;
  background: #fff;
  color: #333;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  outline: none;
  transition: box-shadow 0.2s;
}

.signup-form input[type="text"]:focus,
.signup-form input[type="password"]:focus {
  box-shadow: 0 0 0 2px #a662cd44;
}

.signup-form button[type="submit"] {
  margin-top: 8px;
  padding: 12px 0;
  border-radius: 8px;
  border: none;
  background: #fff;
  color: #222;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.signup-form button[type="submit"]:hover {
  background: #a662cd;
  color: #fff;
}

.signup-footer {
  margin-top: 18px;
  color: #222;
  font-size: 1rem;
  text-align: center;
}

.signup-footer a {
  color: #ffffff;
  text-decoration: underline;
  margin-left: 4px;
}

.signup-error {
  color: #d32f2f;
  font-size: 1rem;
  margin-top: 8px;
  text-align: center;
}


/* --- Burger Menu Responsive Header --- */
.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}
.burger-menu span {
  display: block;
  width: 28px;
  height: 4px;
  margin: 4px 0;
  background: #333;
  border-radius: 2px;
  transition: 0.3s;
}

.header-nav {
  display: flex;
  flex-direction: row;
  gap: 40px;
  align-items: center;
}

@media (max-width: 900px) {
  .header-nav {
    display: none;
    position: absolute;
    top: 60px;
    right: 20px;
    background: linear-gradient(90deg, #A662CD 3%, #86D0EB 95%);
    flex-direction: column;
    gap: 20px;
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    z-index: 1050;
    min-width: 180px;
  }
  .burger-menu {
    display: flex;
  }
  .header-logged-in, .header-logged-out {
    flex-wrap: nowrap;
  }
  /* Show nav when burger-toggle is checked */
  .burger-toggle:checked ~ .burger-menu + .header-nav,
  .burger-toggle:checked + .burger-menu + .header-nav {
    display: flex;
  }
  /* Animate burger icon to X when checked */
  .burger-toggle:checked + .burger-menu span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .burger-toggle:checked + .burger-menu span:nth-child(2) {
    opacity: 0;
  }
  .burger-toggle:checked + .burger-menu span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}