* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  background: #080808;

  color: white;

  font-family: "Indie Flower", cursive;

  overflow-x: hidden;
}

nav {
  position: fixed;

  top: 0;

  width: 100%;

  padding: 20px 50px;

  display: flex;

  justify-content: space-between;

  align-items: center;

  background: #080808dd;

  backdrop-filter: blur(10px);

  z-index: 10;
}

.brand {
  display: flex;

  align-items: center;

  gap: 15px;
}

.brand img {
  width: 60px;
}

.brand h1 {
  font-size: 35px;

  color: #8b4de8;
}

.links a {
  color: white;

  text-decoration: none;

  margin-left: 25px;

  font-size: 20px;
}

.links a:hover {
  color: #8bd442;
}

.hero {
  height: 100vh;

  display: flex;

  justify-content: center;

  align-items: center;

  flex-direction: column;

  text-align: center;

  position: relative;

  background:
    linear-gradient(rgba(8, 8, 8, 0.65), rgba(8, 8, 8, 0.9)),
    url("assets/screenshot.png");

  background-size: cover;

  background-position: center;

  background-attachment: fixed;

  animation: fade 1.5s;
}

.hero-logo {
  width: 260px;
}

.hero h2 {
  font-size: 75px;

  margin: 10px;
}

.hero span {
  color: #8bd442;
}

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

.button {
  margin-top: 30px;

  padding: 15px 40px;

  background: #8b4de8;

  color: white;

  border-radius: 25px;

  text-decoration: none;

  font-size: 25px;

  transition: 0.3s;
}

.button:hover {
  background: #8bd442;

  color: black;

  transform: scale(1.1);
}

section {
  padding: 90px 10%;
}

section h2 {
  font-size: 50px;

  border-bottom: 3px solid #8b4de8;
}

.cards {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));

  gap: 20px;
}

.card,
.box,
.member {
  background: #111;

  border: 2px solid #8b4de8;

  border-radius: 20px;

  padding: 25px;

  transition: 0.3s;
}

.card:hover,
.member:hover {
  transform: translateY(-8px);

  border-color: #8bd442;
}

#server-status {
  font-size: 22px;
}

.online {
  color: #8bd442;
}

.offline {
  color: #ff5555;
}

#member-list {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));

  gap: 20px;
}

.member img {
  width: 100px;
}

footer {
  text-align: center;

  padding: 50px;

  color: #aaa;
}

@keyframes fade {
  from {
    opacity: 0;

    transform: translateY(40px);
  }

  to {
    opacity: 1;

    transform: none;
  }
}

@media (max-width: 700px) {
  .links {
    display: none;
  }

  .hero h2 {
    font-size: 45px;
  }

  .hero-logo {
    width: 180px;
  }
}
