* {
  transition: all ease-in-out 0.2s;
}

/* Fonts */

@font-face {
  font-family: "Minecraft";
  src: url("./fonts/Minecraftia-Regular.ttf");
}

@font-face {
  font-family: "Panton";
  src: url("./fonts/PantonBlackCaps.otf");
}

@font-face {
  font-family: "Nexa";
  src: url("./fonts/NexaBold.otf");
}

/* Navbar */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  height: 60px;
}

.navbar-height {
  z-index: 1;
  height: 60px;
  width: 100vw;
}

.scrolled {
  background: #0000002f;
  backdrop-filter: blur(6px);
}

.navbar-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
}

.search-form {
  margin-left: auto;
  display: flex;
  align-items: center;
}

.search-form input {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 10px;
  border: none;
  border-radius: 5px;
  background: #00000034;
  color: white;
  font-family: "Minecraft", sans-serif;
  font-size: 12px;
  padding-bottom: 2px;
  margin-right: 10px;
  transition: ease-in-out 0.1s;
  height: 40px;
}

.search-form input:focus {
  color: white;
  background: #00000050;
}

.search-form input::placeholder {
  color: lightgray;
}

.form-control:focus {
  border-color: #00000000;
  box-shadow: none;
}

.search-form button {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #00000034;
  border: none;
  border-radius: 5px;
  color: white;
  cursor: pointer;
  transition: ease-in-out 0.1s;
}

.search-form button:hover {
  background: #ffffff1f;
}

.navbar a {
  color: #f7f7f7;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Panton";
  font-size: 20px;
}

.nav-item, .nav-link, .dropdown-item {
  font-family: "Nexa", sans-serif;
  color: #f7f7f7;
  gap: 5px;
}

.dropdown-menu {
  margin: 0;
  padding: 2px;
  backdrop-filter: blur(6px);
  border-radius: 5px;
  background-color: #000000b6;
  border: 1px solid #00000065;
}

.dropdown-item {
  color: #f7f7f7;
  border-radius: 5px;
}

.dropdown-item:hover {
  background-color: #ffffff27;
  color: #f7f7f7;
}

.navbar-nav:hover>
:not(:hover) {
  opacity: 0.75;
}
.nav-link:hover, .nav-link:focus {
  color: #ffffff;
}

.navbar-brand img {
  width: 50px;
  height: auto;
  margin-right: 10px;
}

/* Footer */

footer {
  color: white;
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 100px;
  border-top: 1px solid #0000003b;
  background: #0000002f;
}

footer .cont {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding-top: 10px;
}

footer .cont img {
  width: 50px;
  height: auto;
  margin-right: 10px;
}

footer .cont span {
  font-family: "Panton";
  font-size: 16px;
}

footer .cont a {
  color: white;
  text-decoration: none;
  font-family: "Nexa";
  font-size: 16px;
}

footer .cont a:hover {
  color: #dcb6ff;
}

@media (max-width: 768px) {
  footer {
    flex-direction: column;
  }
}

/******************************************************
                    Sections
******************************************************/

body {
  background: linear-gradient(to top, #00000080, #00000080),
    url("./images/bg.webp") no-repeat center center/cover fixed;
}

/* Cover Section */
.cover .fixed {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
}

.cover-logo {
  width: 200px;
  height: auto;
  margin-bottom: 20px;
  animation: logo-anim 5s infinite;
}
@keyframes logo-anim {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
  
}

h1 {
  margin-top: 0;
  font-size: 2rem; /* Adjusted font size for mobile */
  font-weight: 500;
  text-align: center;
}

.cover p {
  text-align: center;
}

.button-primary {
  background: none;
  border: 1px solid #fff;
  padding: 5px 20px;
  cursor: pointer;
  color: white;
  border-radius: 5px;
  transition: ease-in-out 0.2s;
  backdrop-filter: blur(4px);
}

/* Lbs section */
.lbs {
  min-height: 100vh;
  display: flex;
  flex-direction: column; /* Stack content vertically on mobile */
  margin: 20px; /* Adjusted margin for mobile */
  color: white;
}

.container {
  margin-top: 40px;
  display: flex;
  /* align-items: center; */
  justify-content: center;
}

.leaderboard-container {
  width: 500px;
  border: 1px solid #434343;
  border-radius: 6px;
  background: #1e1f27;
  /*padding: 10px;*/
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.2)
  color: white;
  margin-bottom: 20px;
}

.table thead th {
  border-top: none;
  border-bottom: none;
}

.table td,
.table th {
  border-top: none;
}
tr:hover {
    background: #373946 !important;
}

table .player {
  width: 250px;
}

table .tier {
  width: 80px;
}

.lb-head {
  margin-right: 10px;
  border-radius: 5px;
  user-select: none;
}

table {
  border-color: #00000000;
}

.head-text {
  font-family: "Minecraft";
  color: #fff;
  font-size: 1.5rem;
  margin-top: 10px;
}

.quote-container {
  width: 400px;
  height: fit-content;
  border: 1px solid #434343;
  border-radius: 10px;
  background: #1e1f27;
  padding: 10px; /* Adjusted padding for mobile */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  color: white;
  /* Making it stick to the right */
  position: static;
  top: 0;
  margin-left: 200px; /* Adjusted margin for mobile */
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .leaderboard-container {
    width: 400px;
  }
  .quote-container {
    margin: auto;
    width: 400px;
  }
}

/* Staff Section */
.staffs {
  min-height: 100vh;
  display: flex;
  flex-direction: column; /* Stack content vertically on mobile */
  margin: 20px; /* Adjusted margin for mobile */
  color: white;
}

.staff-list {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.yt {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.category {
  margin-bottom: 30px;
}

.staff-card {
  padding: 10px;
  border: 1px solid #00000075;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.1);
  /* filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.5)); */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Style for staff member username */
.staff-username {
  margin-top: 10px;
  margin-bottom: auto;
  text-align: center;
  font-family: "Minecraft";
  font-size: 1rem;
}

/* Style for the Minecraft skin image */
.staff-skin {
  max-width: 100px;
  height: auto;
  user-select: none;
}
.yt-skin {
  max-width: 250px;
  height: auto;
  user-select: none;
}

.divider {
  width: 100%;
  height: 1px;
  background-color: #ffffff;
  margin: 10px 0;
}

/* Partner page */

.partner-container {
  width: 800px;
  border: 1px solid #000000;
  border-radius: 10px;
  background: #1e1f27;
  padding: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  color: white;
  margin-bottom: 20px;
  transition: all ease-in-out 0.2s;
}

.partner-container:hover {
  scale: 1.01;
}

.partner-container a {
  color: #ffffff;
}

a:hover {
  color: #fff;
  text-decoration: none !important;
}

.partner-container h1 {
  font-size: 2rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 10px;
}

.partner-container p {
  margin-left: 10px;
  margin-right: 10px;
}

.partner-img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  margin-bottom: 10px;
  user-select: none;
}

@media (max-width: 768px) {
  .partner-container {
    width: 400px;
  }
  .partner-container h1 {
    font-size: 1.5rem;
  }
}
