@import url("https://fonts.cdnfonts.com/css/satoshi");
html,
body {
  overflow-x: hidden;
  font-family: "Satoshi", sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(to right, #6b7280, #374151);
  color: #e5e7eb;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background: rgba(30, 30, 30, 0.8);
  backdrop-filter: blur(5px);
  position: relative;
  z-index: 100;
}
p {
  margin: 0px;
}
.logo img {
  height: 50px;
}

.menu-toggle {
  display: block;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  color: #e5e7eb;
  transition: transform 0.3s ease;
  z-index: 1100;
  width: 30px;
  height: 30px;
  position: relative;
}
.menu-toggle div {
  width: 30px;
  height: 4px;
  background-color: #e5e7eb;
  margin: 5px 0;
  transition: 0.3s;
}
.menu-toggle.active div:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.menu-toggle.active div:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active div:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
  z-index: 1000;
  transition: right 0.4s ease-in-out;
}

@media (min-width: 768px) {
  .menu-toggle {
    visibility: hidden;
  }
  .nav-links {
    position: relative;
    display: flex;
    flex-direction: row;
  }
  .countdown {
    padding: 30px;
    max-width: calc(100dvw - 400px) !important;
  }
}

@media (max-width: 769px) {
  .hero {
    padding: 80px !important;
  }
  .hero-content {
    font-size: 16px !important;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100dvh;
    background: rgba(31, 41, 55, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .teams {
    font-size: 24px !important;
  }
  .vsicon {
    max-width: 40px !important;
    max-height: 40px !important;
  }
  .datetime {
    font-size: 18px !important;
  }
  .countdown {
    padding: 15px !important;
  }
  #countdown {
    font-size: 18px !important;
  }
}

.nav-links.active {
  width: 100%;
  right: 0;
}
.nav-links li {
  font-size: 24px;
}
.nav-links a {
  text-decoration: none;
  color: #e5e7eb;
  font-weight: bold;
  transition: color 0.3s;
}
.nav-links a:hover {
  color: #facc15;
}
.hero {
  text-align: center;
  padding: 120px;
  flex-grow: 1;
  background: url("./images/background.png") no-repeat center center/cover;
}
.hero-content {
  font-size: 18px;
  padding: 6px;
  border: 2px solid;
  border-radius: 10px;
  background-color: rgba(22, 22, 22, 0.774);
  color: rgb(255, 255, 255);
}
.nextmatch {
  margin: auto;
  margin-top: 20px;
  display: flex;
  max-width: fit-content;
}
.vsicon {
  position: relative;
  max-width: 55px;
  max-height: 55px;
  margin-top: 5px;
  z-index: 10;
  filter: invert();
}
.countdown {
  align-items: center;
  display: flex;
  flex-direction: column;
  margin: auto;
  margin-top: 10px;
  margin-bottom: 10px;
  max-width: calc(100dvw - 150px);
  padding: 25px;
  background-color: rgba(22, 22, 22, 0.774);
  border: 2px solid rgb(255, 255, 255);
  border-radius: 10px;
  text-align: center;
  font-size: 24px;
  font-weight: bold;
}

.teams {
  margin-bottom: 10px;
  font-size: 32px;
  font-weight: 700;
}
.datetime {
  margin-bottom: 10px;
  font-size: 24px;
  font-weight: 400;
}
#countdown {
  font-weight: 550;
}
footer {
  text-align: center;
  padding: 10px;
  background: rgba(30, 30, 30, 0.8);
  backdrop-filter: blur(5px);
  margin-top: auto;
}

/* Global scrollbar styles */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.5);
}
