.requests__title {
  text-align: center;
}

.requests__filters {
  display: flex;
  flex-direction: row;
  gap: 1em;
  margin-bottom: 1em;
}

.requests__filter {
  border-radius: 0.8em;
  /* Light yellow, translucent background color */
  font-size: 0.9em;
  /* background-color: #9b9b9b4b; */
  /* color: #5d5d5dc5; */
  border: 1px solid var(--btn-primary-color);

  padding: 0.5em 0.7em;
  display: flex;
  align-items: center;
  font-weight: bold;
  
  text-wrap: nowrap;
  max-height: 2em;
  cursor: pointer;
}

.requests__filter--selected {
  color: var(--btn-primary-color-font);
  background-color: var(--btn-primary-color);
}

.requests__list {
  margin-bottom: 3em;
  width: 70vw;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  gap: 1em;
}

@media screen  and (max-width: 480px)  {
  .requests__list {
      width: 90vw;
  }
}

.requests__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1em;
  border: 3px solid var(--btn-primary-color);
  border-radius: 1em;
  gap: 0.75em;

  h2 {
    margin-top: 0;
    margin-bottom: 0;
  }

  p {
    margin-bottom: 0;
  }
}

.requests__vote-section {
  align-self: flex-start;
  text-align: center;
  gap: 0.5em;
  font-size: 1.3em;
}

.requests__upvote-btn {
  width: 1em;
  height: 1em;
  margin-bottom: 0.5em;
  cursor: pointer;
}

.upvoted {
  color: #ffcc00;
  filter: drop-shadow(0 0 3px #ffcc00);
  cursor: auto;
}

.requests__text-section {
  flex-grow: 1;
}

.requests__header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.requests__status {
  border-radius: 0.8em;
  /* Light yellow, translucent background color */
  font-size: 0.9em;
  background-color: #9b9b9b4b;
  color: #5d5d5dc5;

  padding: 0em 0.7em;
  display: flex;
  align-items: center;
  font-weight: bold;
  
  text-wrap: nowrap;
  max-height: 2em;
}

.requests__status--new {
  background-color: #ffcc004b;
  color: #ffcc00c5;
}

/* Blue "In progress" status */
.requests__status--inprogress {
  background-color: #007bff4b;
  color: #0056b3c5;
}

.requests__status--done {
  background-color: #00ff004b;
  color: #00a700c5;
}

.requests__status--banned {
  background-color: #ff00004b;
  color: #dd0000c5;
}

.modal {
  position: absolute;
  display: none;

  border-radius: 40px;
  width: 60vw;
  height: fit-content;

  backdrop-filter: blur(5px);
  background-color: var(--modal-gb-color);
  max-width: 70vmin;
  border: 3px solid var(--btn-primary-color);
  padding-bottom: 1em;
}

@media screen and (max-width: 480px) {
  .modal {
      width: 90vw;
      max-width: 100%;
  }
}

.modal-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: center;
  text-align: center;
  gap: 1em;
}

.game__request-title, .game__request-description {
  width: 75%;
}

.game__request-title {
  font-size: 1em;
}

.game__request-description {
  min-width: 75%;
  max-width: 75%;
  min-height: 5em;
  max-height: 50vh;
}
