/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body base */
body {
  font-family: Arial, sans-serif;
  background-color: #fff;
  color: #222;
  transition: background-color 0.3s, color 0.3s;
  padding-top: 60px; /* space for sticky navbar */
  padding-bottom: 40px; /* space for footer */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Dark mode */
body.dark-mode {
  background-color: #121212;
  color: #eee;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 60px;
  background: linear-gradient(to bottom, red, black);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  z-index: 1000;
}

/* Left side nav */
.nav-left {
  display: flex;
  align-items: center;
  gap: 40px;
}

/* Logo */
.logo img {
  height: 125px;
  width: auto;
}


/* Nav links */
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links a,
.dropbtn {
  color: white;
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
  background: none;
  border: none;
  font-size: 1rem;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.nav-links a:hover,
.dropbtn:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

/* Dropdown container */
.dropdown {
  position: relative;
}

/* Dropdown content */
.dropdown-content {
  display: none;
  position: absolute;
  top: 40px;
  left: 0;
  background-color: #222;
  min-width: 160px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
  border-radius: 6px;
  z-index: 2000;
  flex-direction: column;
}

.dropdown-content li {
  list-style: none;
}

.dropdown-content li a {
  color: white;
  padding: 10px 15px;
  display: block;
  font-weight: normal;
  text-decoration: none;
  transition: background-color 0.3s;
}

.dropdown-content li a:hover {
  background-color: #555;
}

/* Show dropdown on .show class */
.dropdown.show .dropdown-content {
  display: flex;
  flex-direction: column;
}

/* Mode toggle container */
.mode-toggle {
  display: flex;
  align-items: center;
}

/* General body */
.first-body {
  margin: 20px 0;
}

main{
  padding: 0 2%
}


/* Footer */
footer {
  background: linear-gradient(to bottom, black, red);
  color: white;
  text-align: center;
  padding: 10px 20px;
  position: fixed;
  bottom: 0;
  width: 100%;
}

/* Toggle Switch Style */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:checked + .slider:before {
  transform: translateX(26px);
}

/* Bands Page */
.band-form {
  margin: 30px 0;
}
.band-form {
  margin: 20px 0; /* Default margin for mobile/small screens */
}

/* Medium screens and up (tablets and small laptops) */
@media (min-width: 600px) {
  .band-form {
    margin: 40px 0;
  }
}

/* Large screens (desktops) */
@media (min-width: 1024px) {
  .band-form {
    margin: 60px 0;
  }
}
