header {
  margin-top: -20px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 30px 10%;
  animation: fadeInUp 0.8s ease-out 0.2s;
  animation-fill-mode: backwards;
}

.logo-group {
    display: flex;
    align-items: center;
    margin-right: auto;
}

.logo {
  margin-right: 15px;
  transition: transform 0.3s ease;
}
.logo:hover {
    transform: scale(1.05);
}

.logo img{
  height: 120px;
}

.server-status-group {
    display: flex;
    align-items: center;
    color: #FFFFFF;
    font-family: "Titillium Web", sans-serif;
    font-size: 17px;
    font-weight: 300;
}

.status-indicator {
    width: 18px;
    height: 18px;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    margin-left: 10px;
}

.status-indicator svg {
    width: 100%;
    height: 100%;
    display: block;
}

.status-indicator svg circle {
    fill: #DB2C19; 
}

.status-indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background-color: rgba(219, 44, 25, 0.35);
    animation: pulse-status 1.6s infinite ease-out;
    z-index: -1;
}

.nav__links {
  list-style: none;
  display: flex;
}

.nav__links li {
  padding: 0px 50px;
}
.nav__links li a {
  transition: color 0.3s ease 0s;
  color: #A3A1A1;
}
.nav__links li a.active {
  color: #FFFFFF;
}
.nav__links li a:hover {
  color: #ffffff;
}

.cta {
  margin-left: 20px;
  padding: 9px 25px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.3s ease 0s, transform 0.3s ease;
}
.cta:hover {
    transform: scale(1.05);
}

.discord {
  background-color: #D8281B;
  font-family: "Titillium Web", sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 17px 70px;
  color: #FFFFFF;
}
.discord:hover {
  background-color: #bd2217;
}
.menu {
  background-color: transparent;
  border: 2px solid #bd2217;
  background-color: rgb(0, 0, 0, 0.4);
  color: #FFFFFF;
}
.menu {
  display: none;
}

.overlay {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  overflow-x: hidden;
  transition: width 0.5s ease 0s;
  background-color: rgb(0, 0, 0); 
}
.overlay--active {
  width: 100%;
}
.overlay__content {
  background: 
      linear-gradient(rgba(15, 12, 12, 0.3), rgba(189, 34, 23, 0.3)),
      url("../img/background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.overlay a {
  padding: 15px;
  font-size: 36px;
  display: block;
  transition: color 0.3s ease 0s;
  color: #A3A1A1;
}
.overlay a.active {
  color: #FFFFFF;
}
.overlay .close {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 60px;
  color: #edf0f1;
  cursor: pointer;
  z-index: 10000;
  transition: transform 0.3s ease;
}
.overlay .close:hover {
    transform: rotate(90deg);
}

.hero {
    min-height: calc(80vh - 120px); 
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 10%;
    animation: fadeInUp 0.8s ease-out 0.4s;
    animation-fill-mode: backwards;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1800px; 
    margin: 0 auto;
}

.hero-text {
    max-width: 550px;
    z-index: 2; 
}

.hero-title {
    font-family: "Titillium Web", sans-serif;
    font-weight: 700;
    font-size: 48px;
    color: #DB2C19; 
    margin-bottom: 5px;
}

.white-text {
    color: white; 
}

.hero-description {
    max-width: 560px;
    font-family: "Titillium Web", sans-serif;
    font-weight: 300;
    font-size: 18px;
    line-height: 1.6;
    color: #AEAEAE;
    margin-bottom: 20px;
}

.hero-scroll-btn {
    display: inline-flex;
    align-items: center;
    font-family: "Titillium Web", sans-serif;
    font-weight: 400;
    font-size: 18px;
    text-decoration: none;
    color: #FFFFFF;
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px solid #DB2C19;
    padding: 12px 30px;
    border-radius: 50px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.hero-scroll-btn svg {
    margin-left: 8px;
    fill: #DB2C19;
    transition: fill 0.3s ease;
}
.hero-scroll-btn:hover svg {
    fill: #ffffff;
}
.hero-scroll-btn:hover {
    background-color: #DB2C19;
    color: #FFFFFF;
    transform: translateY(-3px);
}

.hero-image-group {
    position: absolute;
    right: 0;
    top: 60%;
    transform: translateY(-50%);
    width: 40%;
    max-width: 1800px;
    z-index: 1; 
    right: 10%; 
    animation: fadeIn 1.2s ease-out 0.8s;
    animation-fill-mode: backwards;
}

.hero-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

@media screen and (max-height: 450px) {
  .overlay a {
    font-size: 20px;
  }
  .overlay .close {
    font-size: 40px;
    top: 15px;
    right: 35px;
  }
}
@media only screen and (max-width: 800px) {
    .server-status-group {
        display: none;
    }
  .nav__links,
  .cta {
    display: none;
  }
  .menu {
    display: initial;
  }

  .hero {
      padding: 50px 20px;
      min-height: auto;
  }

  .hero-content {
    margin-top: 100px;
      flex-direction: column;
      align-items: flex-start;
  }

  .hero-text {
      max-width: 100%;
      text-align: center;
  }

  .hero-title {
      font-size: 35px;
  }

  .hero-description {
      font-size: 15px;
  }

  .hero-scroll-btn {
      margin: 0 auto 50px auto;
  }

  .hero-image-group {
      position: relative;
      top: auto;
      transform: none;
      width: 100%;
      right: auto;
      max-width: 500px;
      margin: 0 auto;
  }
  .hero-image {
    display: none;
  }
}