body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #0a0a23;
  color: #ffffff;
  margin: 0;
  padding: 0;
}

.container {
  width: 90%;
  margin: auto;
  max-width: 1200px;
  align-items: center;
}

header {
  width: 100%;
  padding: 20px;
  background-color: #12123b;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  color: #fff;
  font-size: 28px;
  font-weight: bold;
}

.content {
  text-align: center;
}

.welcome {
  text-align: center;
  padding: 50px;
}

.events h3 {
  text-align: center;
}

.event-list li {
  display: flex;
  justify-content: center;

}

nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 20px;
}

a {
  text-decoration: none;
  color: #ff4444;
  transition-duration: 300ms;
}

a:hover {
  color:#ffcc00;
  transition-duration: 300ms;
  text-decoration: underline;
}
nav ul li a {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
}

.navigation li a {
  padding: 10px 15px;
  background-color: #1a1a3d;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-weight: bold;

}

.navigation li a:hover {
  background-color: #3e3e8f;
  color: #ffcc00;  
}

footer {
  text-align: center;
  padding: 20px;
  background-color: #0d0d26;
  color: #aaa;
}

@media (max-width: 768px) {
  .logo, nav {
      text-align: center;
  }

  nav ul li {
    display: block;
    margin: 10px 0;
  }

  .welcome-text h2 {
    font-size: 24px;
  }
}

.register-container {
  background-color: #2b2b5c;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
  text-align: center;
  width: 100%;
  max-width: 400px;
  margin: 80px auto;
}

.register-container input[type="text"],
.register-container input[type="password"] {
  width: 90%;
  padding: 14px;
  margin: 10px 0;
  border: none;
  border-radius: 8px;
  font-size: 16px;
}

.register-container input[type="submit"] {
  width: 100%;
  padding: 14px;
  margin-top: 15px;
  background-color: #3e3e8f;
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.register-container input[type="submit"]:hover {
  background-color: #5757c0;
}

.success, .error {
  font-size: 16px;
  margin-top: 15px;
}

.success {
  color: #00ff99;
}

.error {
  color: #ff4444;
}

.login-container {
  background-color: #2b2b5c;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
  text-align: center;
  width: 100%;
  max-width: 400px;
  margin: 80px auto;
}

.login-container input[type="text"],
.login-container input[type="password"] {
  width: 90%;
  padding: 14px;
  margin: 10px 0;
  border: none;
  border-radius: 8px;
  font-size: 16px;
}

.login-container input[type="submit"] {
  width: 100%;
  padding: 14px;
  margin-top: 15px;
  background-color: #3e3e8f;
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.login-container input[type="submit"]:hover {
  background-color: #5757c0;
}

.error-message {
  color: #ff4444;
  margin-top: 15px;
  font-size: 16px;
}

.add-post-container {
  background-color: #2b2b5c;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
  max-width: 600px;
  margin: 60px auto;
  text-align: center;
}

.add-post-container input[type="text"],
.add-post-container textarea {
  width: 90%;
  padding: 14px;
  margin: 10px 0;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  background-color: #1e1e3f;
  color: #fff;
}

.add-post-container textarea {
  height: 200px;
  resize: vertical;
}

.add-post-container input[type="submit"] {
  width: 100%;
  padding: 14px;
  background-color: #3e3e8f;
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.add-post-container input[type="submit"]:hover {
  background-color: #5757c0;
}

.message {
  font-size: 16px;
  margin-top: 20px;
  color: #00ff99;
}

.post {
   background-color: #2b2b5c;
   padding: 20px;
   border-radius: 10px;
   margin-bottom: 20px;
   box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.post h3 {
   font-size: 22px;
   color: #ffcc00;
}

.post p {
   font-size: 16px;
   color: #ccc;
}

.post img {
   max-width: 100%;
   margin-top: 15px;
   border-radius: 10px;
}