@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: 1001;
  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;
}

.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;
}

@media (min-width: 768px) {
  .menu-toggle {
    visibility: hidden;
  }
  .nav-links {
    position: relative;
    display: flex;
    flex-direction: row;
  }
}

@media (max-width: 769px) {
  .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;
  }
}

@keyframes borderAnimation {
  0% {
    border-color: #fa828e;
  }
  25% {
    border-color: #ffc889;
  }
  50% {
    border-color: #ffff8b;
  }
  75% {
    border-color: #8fffa8;
  }
  90% {
    border-color: #96d0fc;
  }
  100% {
    border-color: #fa828e;
  }
}

.teams {
  padding: 10px;
}

.team-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

h1 {
  text-align: center;
}

.team-card {
  background-color: #141414b4;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  width: 450px;
  text-align: center;
  margin-bottom: 20px;
  overflow-x: auto;  
}

.team-card h2 {
  color: #1995ad;
}

.team-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
  table-layout: fixed; /* Prevents the table from expanding too wide */
}

.team-table td {
    padding: 8px;
    font-size: 14px;
    border-bottom: 1px solid #1995ad;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.team-table td:first-child {
  font-weight: bold;
}

.team-table td:last-child {
  text-align: right;
}

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);
}
