body {
  background-image: url("../assets/img/waterColor2.png");
  background-size: cover;
  background-position: center;
  color: #e0e0e0;
  font-family: "Lato", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Navigation Bar */
nav {
  background-color: rgba(28, 28, 28, 0.9);
  padding: 15px 20px; /* Padding added to bring content away from edges */
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px; /* Limits max width for better alignment */
  margin: 0 auto;
}

nav .logo {
  font-size: 24px;
  color: #d601cc;
  text-decoration: none;
  font-weight: bold;
}

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

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

nav ul li:first-child {
  margin-left: 0; /* Removes extra margin on the first item */
}

nav ul li a {
  color: #e0e0e0;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
  color: #d601cc;
  font-weight: bold;
}

.menubutton {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.menubutton img {
  width: 24px;
  height: 24px;
}

@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(28, 28, 28, 0.9);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }

  nav ul.show {
    display: flex;
  }

  nav ul li {
    margin: 10px 0;
    text-align: center;
  }

  .menubutton {
    display: block;
  }
}

.main-content {
  padding-top: 20px;
  padding-bottom: 20px;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card {
  background-color: #3f3f3f6c;
  color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 0 20px #d601cc;
  max-width: 400px;
  width: 90%;
  text-align: center;
}

.card:hover {
  box-shadow: 0 0 30px #d601cc;
}

h2 {
  margin-bottom: 20px;
}

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

.form-group label {
  color: #d601cc;
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
}

.form-control {
  background-color: #333;
  color: #d601cc;
  border: 1px solid #555;
  padding: 10px;
  font-size: 16px;
  width: 100%;
  border-radius: 5px;
  box-sizing: border-box;
}

.form-control:focus {
  background-color: #444;
  border-color: #d601cc;
  outline: none;
}

.buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.btn {
  background-color: #d601cc;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  cursor: pointer;
  font-size: 16px;
}

.btn-secondary {
  background-color: #444;
}

p {
  margin-top: 20px;
  color: #e0e0e0;
}

p a {
  color: #d601cc;
  text-decoration: none;
}

p a:hover {
  text-decoration: underline;
}
