* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Raleway', sans-serif;
}

body {
  background-color: #0f0f0f;
  color: white;
  line-height: 1.6;
  overflow-x: hidden;
}

header {
  background: url('../imgs/back.webp');
  box-shadow: 0px -18px 150px 120px #100D0D inset;
  background-size: cover;
  background-position: center;
  height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

nav {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  width: 100%;
}

.nav-logo img {
  height: 75px;
}

.nav-links ul {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.nav-button .discord-button {
  background-color: #5865f2;
  border: none;
  color: white;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
}

.main-logo {
  width: 300px;
  align-self: center;
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.hero-title {
  color: #FFF;
  text-align: center;
  font-size: 50px;
  font-weight: 800;
  text-transform: capitalize;
}

section {
  padding: 50px 20px;
  text-align: center;
}

.subtitle {
  margin-top: 100px;
  color: #29E7CD;
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
}

.section-title {
  color: #FFF;
  font-size: 48px;
  font-weight: 800;
}

.event-box {
  margin: 50px auto;
  max-width: 800px;
  display: flex;
  text-align: left;
}

.event-image {
  border-radius: 6px;
  width: 300px;
  height: 169px;
  object-fit: cover;
}

.event-content {
  padding: 20px;
}

.event-title {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: -20px;
}

.event-info {
  display: flex;
  gap: 20px;
  margin: 10px 0;
  color: #bbb;
  font-size: 0.9rem;
}

.team-section {
  padding: 50px 20px;
  text-align: center;
}

.team-members {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 180px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-image {
  width: 180px;
  height: auto;
}

.team-name {
  font-size: 32px;
  font-weight: 800;
  margin-top: 15px;
  color: white;
}

.team-role {
  font-size: 26px;
  font-weight: 700;
  color: #29e7cd;
  margin-top: 2px;
}

footer {
  padding: 0;
  margin-top: 50px;
  font-size: 0.9rem;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
}

.footer-top {
  background-color: #29e7cd;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 15px 30px;
}

.footer-icons {
  display: flex;
  gap: 20px;
}

.footer-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.footer-icon:hover {
  transform: scale(1.2);
}

.footer-bottom {
  background-color: #0f0f0f;
  color: #ccc;
  padding: 10px 30px;
}

/* Media Queries for Mobile and Tablet */

@media only screen and (max-width: 768px) {
  header {
    height: 40vh;
  }

  .main-logo {
    width: 200px;
  }

  .hero-title {
    font-size: 30px;
  }

  .nav-links ul {
    gap: 20px;
  }

  .event-box {
    flex-direction: column;
    align-items: center;
  }

  .event-image {
    width: 100%;
    height: auto;
  }

  .event-title {
    font-size: 30px;
  }

  .section-title {
    font-size: 36px;
  }

  .team-members {
    gap: 100px;
  }

  .team-member {
    width: 100%;
    margin-bottom: 20px;
  }

  .team-name {
    font-size: 28px;
  }

  .team-role {
    font-size: 22px;
  }
}

@media only screen and (max-width: 480px) {
  header {
    height: 35vh;
  }

  .main-logo {
    width: 150px;
  }

  .hero-title {
    font-size: 25px;
  }

  .nav-logo img {
    height: 50px;
  }

  .nav-links ul {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .event-box {
    flex-direction: column;
    align-items: center;
  }

  .event-image {
    width: 100%;
    height: auto;
  }

  .event-title {
    font-size: 26px;
  }

  .section-title {
    font-size: 28px;
  }

  .team-members {
    gap: 50px;
  }

  .team-name {
    font-size: 24px;
  }

  .team-role {
    font-size: 18px;
  }

  footer {
    padding: 20px 10px;
    font-size: 0.8rem;
  }
}
