body {
  max-width: 1400px;
}

#navbar-container {
  height: 50px;
  background-color: var(--background);
}

img {
  max-width: 100%;
  max-height: 100%;
}

.flex-row {
  display: flex;
  flex-direction: row;
  gap: 12px;
}

.flex-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.margin-vertical {
  margin-top: 15px;
  margin-bottom: 15px;
}

.padding-vertical {
  padding-top: 10px;
  padding-bottom: 10px;
}

.no-padding {
  padding: 0;
}

.no-margin {
  margin: 0;
}

.no-gap {
  gap: 0;
}

.align-center {
  align-items: center;
  align-content: center;
}

.justify-center {
  justify-items: center;
  justify-content: center;
}

meter {
  width: 100%;
}

.user-image-small {
  width: 80px;
  height: 80px;
  border-radius: 100px;
}

.user-image-medium {
  width: 160px;
  height: 160px;
  border-radius: 100px;
}

.rank-image {
  width: 40px;
  height: 40px;
}

.border-bottom {
  border: none;
  border-bottom: 1px solid var(--background-alt);
}

.divider {
  border: none;
  border-bottom: 1px solid var(--background-alt);
  margin-top: 5px;
  margin-bottom: 5px;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #ccc;
  border-top-color: #007bff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Responsive styles for smaller screens */
@media screen and (max-width: 600px) {
  .user-row {
    display: flex;
    flex-direction: row;
    gap: 15px;
    padding: 5px 15px 5px 15px;
    border-radius: 10px;
    height: 70px;
    align-items: center;
  }

  .user-image-small {
    width: 70px;
    height: 70px;
    border-radius: 100px;
  }
}
