@import url("../../root/root.css");

#player-modal {
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 800;
  display: none;
  /* FORCE CLOSED */
  /* display: none !important; */
  /* -------------------------- */
}

.player-modal-container {
  font-family: var(--font-main);
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 2rem;
  border-radius: 1.8rem;
  background-color: var(--duck-white);
  box-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.3);
  /* FORCE CLOSED */
  /* display: none; */
  /* ---------------------- */
}

#red-team-btn,
#blue-team-btn {
  font-family: var(--font-main);
  color: var(--duck-charcoal);
  width: var(--width-button);
  padding: 1rem;
  font-size: var(--size-button);
  background-color: var(--duck-charcoal);
  color: var(--duck-white);
  border: none;
  border-radius: 1.2rem;
  cursor: pointer;
  margin-bottom: 1rem;
}

.categories:hover,
#red-team-btn:hover,
#blue-team-btn:hover {
  background-color: var(--duck-pink);
}

#current-team {
  display: none;
}

/* MOBILE SIZE 479 */
/* ---------------------------------------------------------------------------- */
@media (max-width: 479px) {
  h1 {
    font-size: 1.5rem;
    margin-bottom: 2rem; /* Space below the title */
  }

  .player-modal-container {
    padding: 1.5rem;
  }

  /* Button styling inside modal */
  #red-team-btn,
  #blue-team-btn {
    width: 10rem;
    padding: 0.6rem;
    font-size: 1rem;
    border-radius: 0.6rem;
    margin-bottom: 0.5rem;
  }
}
