@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap'); /*font-family: 'Inter', sans-serif;*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

:root {
  --main-font: 'Inter', sans-serif;
  --main-color: #39BEFF;
  --background-color: #24272B;
  --white-color: #FFFFFF;
  --black-color: #000000;
  --description-color: #D2D0D0;

  --green-color: #4AFF6B;
  --ip-copied-background: rgba(74, 255, 107, 0.17);
  --ip-copied-icon-background: rgba(74, 255, 107, 0.5);

  --copy-ip-button-background: rgba(57, 190, 255, 0.7);
  --how-to-join-button-background: rgba(210, 208, 208, 0.2);
  --stats-background: rgba(210, 208, 208, 0.05);
  --stat-icon-background-2: rgba(57, 190, 255, 0.5);

  --scroll-bar: rgba(210, 208, 208, 0.3);
  --scroll-bar-hover: #555555FF;

  --red-color: #FF7C7C;
  --warning-background: rgba(255, 124, 124, 0.17);
  --warning-icon-background: rgba(255, 124, 124, 0.5);
  --warning-color: #F5C1C1;

  /*Admin-Team rank colors*/
  --default-rank-color: rgba(210, 208, 208, 0.3);
}

body {
  background: var(--background-color);
  font-family: var(--main-font);
}

  .page-links {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 1.5rem;
      margin-top: 1rem;
  }

  .page-links a {
      text-decoration: none;
      color: rgb(0, 0, 0);
      font-weight: 500;
      font-size: 1rem;
      transition: all 0.2s ease;

      /* Contorno riempitivo */
      background-color: #00c3ff; /* leggero sfondo trasparente */
      padding: 0.5rem 1rem;
      border-radius: 10px;
      border: 1px solid rgba(255, 255, 255, 0.3);
      backdrop-filter: blur(4px); /* effetto vetro se vuoi */
  }

  .page-links a:hover {
      background-color: rgba(255, 255, 255, 0.2);
      color: #00c3ff;
      border-color: #00c3ff;
  }

    @media (max-width: 768px) {
        .page-links {
            flex-direction: row;
            flex-wrap: wrap;
        }

        .page-links a {
            padding: 6px 12px;
            font-size: 14px;
        }
    }
.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.logo-img {
    width: 80px; /* o quanto vuoi */
    height: auto;
}
.server-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
}
/*Navbar*/
.navbar {
    display: flex;
    flex-direction: column; /* impilamento verticale */
    align-items: center; /* centra tutto */
    justify-content: center;
    padding: 3rem 0;
    background-color: trasparent; /* o qualsiasi colore tu voglia */
    text-align: center;
}
.navbar a {
  text-decoration: none;
}

.navbar .menu-mobile {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.navbar .menu-mobile .logo {
  display: flex;
  flex-direction: row;
  justify-content: left;
  align-items: center;
  gap: 10px;
}

.navbar .menu-mobile .logo img {
  max-width: 40px;
  height: 40px;
}

.navbar .menu-mobile .logo h3 {
  color: var(--white-color);
  font-weight: 900;
  font-size: 20px;
}

.navbar .links {
  display: flex;
  flex-direction: row;
  gap: 30px;
  transition: 0.3s ease-in-out;
}

.navbar .links .link {
  color: var(--description-color);
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  transition: 0.2s;
}

.navbar .links .link.active {
  color: var(--white-color);
}

.navbar .links .link.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 40px;
  height: 3px;
  border-radius: 5px;
  background: var(--main-color);
}

.navbar .links .link:not(.active):hover {
  color: var(--white-color);
}

.navbar .menu-mobile .hamburger {
  color: var(--white-color);
  font-size: 20px;
  cursor: pointer;
  transition: 0.5s;
  display: none;
}

.navbar .menu-mobile .hamburger:hover {
  opacity: 0.8;
}

.navbar.active {
  max-height: 1000px;
}

.navbar.active .links {
  opacity: 1;
  z-index: 2;
}

/*Footer*/
#footer {
  padding: 20px 150px;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

#footer p {
  color: var(--description-color);
  font-size: 17px;
}

#footer p span {
  color: var(--white-color);
}

#footer .social-links {
  display: flex;
  flex-direction: row;
  gap: 15px;
}

#footer .social-links .link {
  color: var(--description-color);
  text-decoration: none;
  font-size: 20px;
  transition: 0.2s;
}

#footer .social-links .link:hover {
  color: var(--white-color);
}

/*Scrollbar*/
::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: var(--stats-background);
}

::-webkit-scrollbar-thumb {
  background: var(--scroll-bar);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--scroll-bar-hover);
}

/*Other*/
section:not(#header) .content {
  padding: 90px 150px;
  width: 100%;
}

/*Responsive*/
@media screen and (max-width: 1625px) {
  .navbar {
    padding: 20px 90px;
  }
}

@media screen and (max-width: 819px) {
  .navbar {
    padding: 20px 30px;
  }
}

@media screen and (max-width: 867px) {
  .navbar .menu-mobile {
    position: relative;
    width: 100%;
    justify-content: center; /* centra tutto */
    align-items: center;
  }

  .navbar .menu-mobile .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .navbar .menu-mobile .hamburger {
    position: absolute;
    right: 0;
  }
}




  .navbar .links {
    flex-direction: column;
    order: 2;
    width: 100%;
    opacity: 0;
    z-index: -1;
  }
}

@media screen and (max-width: 1625px) {
  section:not(#header) .content {
    padding: 90px;
  }

  #footer {
    padding: 20px 90px;
  }
}

@media screen and (max-width: 819px) {
  section:not(#header) .content {
    padding: 50px 30px;
  }

  #footer {
    padding: 20px 30px;
  }
}

@media screen and (max-width: 564px) {
  #footer {
    flex-direction: column;
    gap: 30px;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
}
/* Header Responsive */
@media screen and (max-width: 1024px) {
  #header .content {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  #header .left .buttons {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  #header .right {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #header .right .stats {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
}

/* About Us Responsive */
@media screen and (max-width: 1024px) {
  #about .content {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  #about .right img {
    width: 100%;
    max-width: 300px;
  }
}

/* Minigames Responsive */
@media screen and (max-width: 1024px) {
  #minigames .miniGames-list {
    flex-direction: column;
    gap: 50px;
  }

  #minigames .game {
    flex-direction: column;
    text-align: center;
  }

  #minigames .game img {
    width: 100%;
    max-width: 400px;
  }
}

/* Discord Responsive */
@media screen and (max-width: 768px) {
  #discord .content {
    text-align: center;
  }
}

/* Vote Responsive */
@media screen and (max-width: 768px) {
  #vote .content {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  #vote .links {
    flex-direction: column;
    gap: 20px;
  }
}

/* FAQ Responsive */
@media screen and (max-width: 768px) {
  #faq .content {
    text-align: center;
  }
}
