* {
  font-family: "Poppins", sans-serif;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  background-color: #121212;
  color: white;
}
.rankings-container {
  display: flex;
  flex-direction: column;
  gap: 25px;
  max-width: 40%;
  margin: 0 auto;
  margin-top: 150px;
}

.fighter-card {
  background-color: r#1e1e1e;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(229, 9, 20, 0.6);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fighter-card:hover {
  transform: translateY(-10px);
}

.fighter-photo {
  width: 35%;
  max-height: 300px;
  object-fit: cover;
}

.fighter-info {
  padding: 15px 20px;
  text-align: center;
}

.rank {
  font-size: 2.5rem;
  font-weight: 700;
  color: #e50914;
  margin-bottom: 10px;
}

.name {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.stats {
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 15px;
  line-height: 1.4;
}

.stats span {
  display: inline-block;
  margin: 4px 12px;
}

.reach,
.height {
  font-weight: 500;
  color: #f4f4f4;
}

@media (max-width: 400px) {
  .rankings-container {
    padding: 0 10px;
  }
}
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 40px 20px;
  background-color: #231d1d;
  transition: background-color 0.3s ease, padding 0.3s ease;
}
.navbar-photo img {
  transition: transform 0.3s ease, opacity 0.3s ease;
  cursor: pointer;
}

.navbar-photo img:hover {
  transform: scale(1.1) rotate(-2deg);
  opacity: 0.85;
}
#menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

#menu-toggle img {
  width: 40px;
  height: 40px;
}

.navbar-links a {
  color: white;
  text-decoration: none;
  margin: 0 15px;
  font-size: 19px;
  position: relative;
}

.navbar-links a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: #e50914;
  transition: width 0.3s;
}

.navbar-links a:hover::after {
  width: 100%;
}

#sign-up {
  background-color: #e50914;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
}

#sign-up:hover {
  background-color: #ff1b26;
  transform: scale(1.05);
}

#login {
  border: 1px solid white;
  padding: 10px 20px;
  color: white;
}
#menu-toggle img {
  width: 40px;
  height: 40px;
  filter: invert(1);
}
#login:hover {
  background-color: white;
  color: #231d1d;
}
@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

@media (max-width: 1097px) {
  .navbar {
    flex-wrap: wrap;
  }
  .navbar-photo img {
    width: 120px;
  }
  .navbar-links {
    width: 100%;
    right: 0;
    left: 0;
  }
}
@media (max-width: 1240px) {
  .navbar {
    justify-content: space-between;
    padding: 20px;
  }
  .navbar-links {
    display: none;
    flex-direction: column;
    background-color: #231d1d;
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    padding: 20px;
    z-index: 999;
    animation: slideDown 0.3s ease-in-out;
  }

  .navbar-links.show {
    display: flex;
  }

  #menu-toggle {
    display: block;
  }

  .navbar-links a {
    margin: 10px 0;
    font-size: 20px;
  }
}
@media (max-width: 768px) {
  .name {
    font-size: 15px;
    font-weight: 700;
  }
  .rank {
    font-size: 1.5rem;
    font-weight: 700;
    color: #e50914;
    margin-bottom: 10px;
  }
  .stats {
    font-size: 0.8rem;
    color: #ccc;
    margin-bottom: 15px;
    line-height: 1.4;
  }
  .fighter-photo {
    width: 40%;
    height: auto;
    display: flex;
    justify-content: center;
  }
  .rankings-container {
    max-width: 90%;
    margin-top: 100px;
  }
}
footer {
  background-color: black;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 40px 20px;
  margin-top: 50px;
}

.support-text {
  color: white;
  text-align: center;
  font-size: 20px;
  padding: 20px;
  margin-bottom: 50px;
}

.support a {
  color: #e50914;
  text-decoration: none;
  font-weight: bold;
}

.support a:hover {
  text-decoration: underline;
}

.support {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.logos {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
  align-items: center;
}

.logos img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logos img:hover {
  transform: scale(1.2);
}

#fb {
  width: 70px;
  height: 70px;
}

#footer-main-logo {
  margin-top: 40px;
}
@media (max-width: 371px) {
  .support {
    flex-direction: column;
    align-items: center;
  }
  .support-text {
    font-size: 16px;
  }
}
