body {
    background-color: #121212;
    color: white;
    font-family: Arial, sans-serif; 
  }

  .question-container {
    display: none;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
  }

  .answer {
    cursor: pointer;
    padding: 5px;
    border: 1px solid #ddd;
  }

  .answer:hover {
    background-color: #df19db;
  }

  .petal {
    width: 20px;
    height: 20px;
  }

  .lines-container {
    display: flex;
    align-items: center;
    gap: 5px;
  }

  .line {
    height: 20px;
    width: 4px;
    display: inline-block;
    margin-right: 2px;
  }

  .grid-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
  }

  .user-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    background-color: #090909;
  }

  .user-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background-color: #211e1e;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
    overflow: hidden;
  }

  .profile-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
  }

  .profile-picture {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
  }

  .name-and-points {
    text-align: center;
  }

  .vibe-bars-container {
    display: flex;
    justify-content: center;
    width: 100%;
    overflow-x: auto;
    padding-top: 1px;
    padding-bottom: 10px;
  }

  .vibe-bars {
    display: flex;
    gap: 4px;
    align-items: flex-end;
    flex-wrap: nowrap;
    justify-content: center;
    width: max-content;
    min-width: 100%;
  }

  .vibe-bar-wrapper {
    width: 20px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 100%;
  }

  .vibe-bar {
    flex-shrink: 0;
    width: 12px;
    border-radius: 7px;
    margin: 0 2px;
  }

  .user-name {
    font-weight: bold;
    font-size: 14px;
    color: white;
    text-align: center;
    margin-bottom: 5px;
  }

  .user-points {
    font-size: 12px;
    color: white;
    text-align: center;
  }

  .profile-name {
    font-size: 1.2em;
    font-weight: bold;
    color: #ddd;
  }

  .profile-image {
    width: 80px;
    height: 80px;
    background-color: #555;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
  }

  .profile-description {
    font-size: 0.9em;
    opacity: 0.8;
    margin-top: 5px;
  }

  .animated {
    animation: fadeIn 0.5s ease-out forwards;
  }

  @keyframes vibeRedBar {
    0% {
      opacity: 0;
      transform: translateY(20px) scale(0.8);
      box-shadow: 0 0 0 rgba(255, 0, 0, 0.7);
    }
    50% {
      transform: translateY(-5px) scale(1.05);
      box-shadow: 0 0 10px rgba(255, 0, 0, 0.7);
    }
    70% {
      transform: translateY(2px) scale(0.98);
      box-shadow: 0 0 5px rgba(255, 0, 0, 0.7);
    }
    100% {
      opacity: 1;
      transform: translateY(0) scale(1);
      box-shadow: 0 0 0 rgba(255, 0, 0, 0.7);
    }
  }

  .no_answer-bar {
    height: 10px;
    background-color:#211e1e;
    width: 2px; 
  }

  .red-bar {
    height: 57px;
    background: linear-gradient(to top, #ff6161, #ff0000);
    animation: vibeRedBar 0.7s ease-out forwards;
  }

  .red-bar::before {
    content: "";
    position: absolute;
    border-radius: 12px;
    top: -10px;
    bottom: -10px;
    left: -5px;
    right: -5px;
    background: inherit;
    filter: blur(5px);
    opacity: 0;
    animation: inherit;
    animation-name: vibeRedBarGlow;
  }

  @keyframes vibeRedBarGlow {
    50% {
      opacity: 1;
    }
    100% {
      opacity: 0;
    }
  }

  .yellow-bar {
    height: 37px;
    background: linear-gradient(to top, #FFFF33, #FFFF33);
    animation: vibeYellowBar 0.5s ease-out forwards;
  }

  @keyframes vibeYellowBar {
    0% {
      opacity: 0;
      transform: translateY(3px) scale(0.6);
    }
    50% {
      transform: translateY(-2px) scale(1.01);
    }
    70% {
      transform: translateY(1px) scale(0.6); 
    }
    100% {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }

  .yellow-bar::before {
    content: "";
    position: absolute;
    border-radius: 12px;
    top: -10px;
    bottom: -10px;
    left: -2px;
    right: -2px;
    background: inherit;
    filter: blur(2px);
    opacity: 0;
    animation: inherit;
    animation-name: vibeYellowBarGlow;
  }

  @keyframes vibeYellowBarGlow {
    50% {
      opacity: 1;
    }
    100% {
      opacity: 0;
    }
  }

  .blue-bar {
    height: 25px;
    background: linear-gradient(to top, hsl(215.75deg 100% 52.59%), #00d8ff);
    animation: vibeBlueBar 0.2s ease-out forwards;
    width: 11px;
  }

  .blue-bar::before {
    content: "";
    position: absolute;
    border-radius: 12px;
    top: -10px;
    bottom: -10px;
    left: -5px;
    right: -5px;
    background: inherit;
    filter: blur(1px);
    opacity: 0;
    animation: inherit;
    animation-name: vibeBlueBarGlow;
  }

  @keyframes vibeBlueBarGlow {
    50% {
      opacity: 1;
    }
    100% {
      opacity: 0;
    }
  }

  @keyframes vibeBlueBar {
    0% {
      opacity: 0;
      transform: translateY(2px) scale(0.3);
    }
    50% {
      transform: translateY(-1px) scale(1.01);
    }
    70% {
      transform: translateY(1px) scale(0.3); 
    }
    100% {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }

  .no_matches-bar {
    animation: vibeGrayBar 0.8s ease-out forwards;
    position: relative;
    width: 5px;
  }

  .no_matches-bar::before {
    content: "";
    position: absolute;
    border-radius: 12px;
    top: -10px;
    bottom: -10px;
    left: -5px;
    right: -5px;
    background: inherit;
    filter: blur(1px);
    opacity: 0;
    animation: inherit;
    animation-name: vibeGrayBarGlow;
  }

  @keyframes vibeGrayBarGlow {
    50% {
      opacity: 1;
    }
    100% {
      opacity: 0;
    }
  }

  @keyframes fadeInRedBar {
    0% {
      opacity: 0;
      transform: translateY(10px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes fadeInYellowBar {
    0% {
      opacity: 0;
      transform: translateY(10px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes fadeInBlueBar {
    0% {
      opacity: 0;
      transform: translateY(10px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes fadeInGrayBar {
    0% {
      opacity: 0;
      transform: translateY(10px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .spinner-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
  }

  .spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border-left-color: #09f;
    animation: spin 1s ease infinite;
  }

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

  @media (max-width: 768px) {
    .vibe-bar-wrapper {
      width: 15px;
    }

    .red-bar {
      height: 40px;
    }

    .yellow-bar {
      height: 30px;
    }

    .blue-bar {
      height: 20px;
    }
  }

  @media (max-width: 480px) {
    .vibe-bar {
      width: 1px;
      border-radius: 1px;
      margin: 0 1px;
    }

    .red-bar {
      height: 37px;
      border-radius: 4px;
      width: 6px;
    }

    .yellow-bar {
      height: 28px;
      border-radius: 3px;
      width: 5px;
    }

    .blue-bar {
      height: 22px;
      border-radius: 3px;
      width: 4px;
    }

    .gray-bar {
      height: 12px;
      border-radius: 3px;
      width: 3px;
    }
  }

  button {
    padding: 10px 20px;
    margin: 10px;
    border-radius: 5px;
    border: none;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
  }

  #loginBtnGoogle, #loginBtnTwitter {
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  }

  #loginBtnTwitter {
    background-color: #ffffff;
  }

  #loginBtnGoogle {
    background-color: #ffffff;
  }

  #loginBtnGoogle:hover, #loginBtnTwitter:hover {
    background-color: darken(#4285F4, 10%);
  }

  #logoutBtn {
    background-color: #e9e5e4;
    color: rgb(51, 48, 48);
    padding: 5px 10px;
    font-size: 14px;
  }

  .groupsets_container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    gap: 6px;
    background-color: #333;
    color: #fff;
    font-size: 15px;
    border-bottom: 1px solid #555;
  }

  .groupsets_container > div,
  .groupsets_container > select {
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
    margin: 0 5px;
  }

  .groupsets_container > div:hover,
  .groupsets_container > select:hover {
    background-color: #555;
    color: #ddd;
  }

  .groupsets_container > select {
    background-color: #444;
    color: #fff;
    border: none;
    outline: none;
    appearance: none;
  }

  .groupsets_container > select::-ms-expand {
    display: none;
  }

  .groupsets_container > select:focus {
    box-shadow: 0 0 0 2px #555;
  }

  .selected-groupset {
    background-color: #555;
    color: #ddd;
    font-weight: bold;
  }

  .group-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 10px 0;
    background-color: #222;
  }

  .group {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 4px 8px;
    background-color: #444;
    color: #fff;
    border: none;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease-in-out;
    font-size: 12px;
    cursor: pointer;
    min-height: 30px;
    margin: 5px;
  }

  .group:hover {
    transform: translateY(-2px);
    background-color: #555;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.5);
  }

  .group:active {
    background-color: #666;
    transform: translateY(0px);
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.4);
  }

  #logged-out-content {
    text-align: center;
    padding: 20px;
  }


#logged-out-content h1 {
  color: white;
  margin-bottom: 30px;
}

#h3-title h3 {
  color: #c3d0c6;
}

#logged-out-content img {
  max-width: 100%;
  height: auto;
}

#example-question {
  background-color: #f4f4f4;
  padding: 10px;
  border-radius: 8px;
  margin-top: 20px;
}

.special-vibe-bar {
  animation: vibration 2.0s;
}

@keyframes vibration {
  0%, 100% {
    transform: translate(0);
  }
  25% {
    transform: translate(-1px, 1px);
  }
  50% {
    transform: translate(-2px, -2px);
  }
  75% {
    transform: translate(1px, -1px);
  }
}

.notes {
  margin-top: 10px;
  font-style: italic;
  color: #888;
}

.points-display {
  margin-left: 8px;
  font-weight: bold;
  font-size: 14px;
  color: white;
}

.selected-groupset {
  background-color: #555;
  color: #ddd;
  font-weight: bold;
}

.selected-answer {
  font-weight: bold;
  color: white;
}

.selected-answer.full-match {
  color: red;
}

.selected-answer.two-match {
  color: yellow;
}

.selected-answer.one-match {
  color: #00FFFF;
}

.unselected-answer {
  color: grey;
  opacity: 0.6;
}

.answer-box {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  color: rgb(205, 197, 197);
  border-radius: 5px;
  background-color: #111111;
  margin-bottom: 10px;
}

.answers-container {
  display: flex;
  justify-content: space-between;
  padding: 10px;
}

.user-answers, .matched-user-answers {
  width: 45%;
  padding: 10px;
  border: 1px solid #ccc;
  color: rgb(233, 227, 227);
  border-radius: 5px;
  background-color: #1a1919;
}

h4 {
  margin-top: 0;
  color: #ffffff;
}

.user-answers div, .matched-user-answers div {
  margin: 5px 0;
}

.close-button {
  display: block;
  margin: 10px auto;
  padding: 10px 20px;
  background-color: #6f4846;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.close-button:hover {
  background-color: #201f1f;
}

.purple-bar {
  height: 25px;
  width: 5px;
  background: linear-gradient(to top, rgb(43, 40, 40), #262926);
  border-radius: 4px;
}

@keyframes vibePurpleBar {
  0% {
    opacity: 0;
    transform: translateY(13px) scale(0.6);
  }
  50% {
    transform: translateY(0px) scale(1.01);
  }
  70% {
    transform: translateY(2px) scale(0.6); 
  }
  100% {
    opacity: 1;
    transform: translateY(10px) scale(1);
  }
}

.answer-image {
  max-height: 250px;
  max-width: 300px;
  width: auto;
  height: auto;
  display: block;
  margin: 10px auto;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.rank-overlay {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 2px 5px;
  border-radius: 3px;
  font-size: 14px;
  font-weight: bold;
}

.answer {
  position: relative;
}

.footer-links {
  position: fixed;
  bottom: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
}

.about-link {
  font-size: 14px;
}

.terms-link {
  font-size: 12px;
  opacity: 0.8;
}

.footer-links a:hover {
  text-decoration: underline;
}



