@media (min-width: 481px) and (max-width: 2560px) {
  body {
    font-family: "Luckiest Guy";
    background-image: url("Images/background/FondoPC.png");
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    padding: 0;
    height: 100vh;
    font-family: "ka1";
    overflow-x: hidden;
  }

  h1 {
    font-family: "Luckiest Guy";
    flex-grow: 1;
    text-align: center;
    font-size: 96px;
    margin-top: 150px;
    font-weight: bold;
    color: white;
    text-shadow: 3px 3px 1px #000;
    text-align: center;
    -webkit-text-stroke: 1px black;
  }

  .botones {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    gap: 20px;
    margin-top: 50px;
  }

  .boton {
    font-family: "Luckiest Guy";
    width: 300px;
    padding: 15px;
    margin: 8px 0;
    color: black;
    background-color: #ffea00;
    border: 4px solid black;
    border-radius: 15px;
    cursor: pointer;
    font-size: 1.5em;
    box-shadow: 3px 3px 1px #000;
  }
  .boton:hover {
    background-color: #ffd500;
  }

  .boton.large {
    width: 300px;
    padding: 15px;
    font-size: 1.8em;
  }

  .boton.small {
    width: 200px;
    border-radius: 10px;
    padding: 10px;
    font-size: 1.2em;
  }

  .modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
  }

  .modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 300px;
    text-align: center;
  }

  .close {
    position: absolute;
    font-size: 1.5em;
    cursor: pointer;
    right: 600px;
    top: 100px;
  }

  #playerList {
    display: flex;
    justify-content: space-between;
    overflow-x: auto;
    width: 100%;
    padding: 0;
    margin: 20px 0;
  }

  #playerList .column {
    flex: 1;
    list-style-type: none;
    padding: 0;
  }
  #playerList .column li {
    font-size: 22px;
    margin-bottom: 10px;
  }

  #playerList .column.left {
    margin-left: 70px;
    text-align: left;
  }

  #playerList .column.right {
    text-align: left;
  }
  footer {
    position: fixed;
    width: 100%;
    bottom: 0;
    font-family: "Luckiest Guy";
  }
  .description{
    width: 10%;
    margin-left: 30px;
  }
  .description img{
    width: 110px;
    height: 110px;
    cursor: pointer;
    transition: transform 0.2s ease;
  }
  .description img:hover{
    transform: scale(1.1);
  }
  .info-title{
    color: black;
    margin: auto;
    text-align: center;
    font-size: 66px;
    font-weight: bold;
    color: white;
    text-shadow: 3px 3px 1px #000;
    text-align: center;
    -webkit-text-stroke: 1px black;
  }
}

.popup-content h2 {
  font-size: 1.8em;
  margin-bottom: 20px;
  color: #000000;
}

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

#playerForm input {
  border: 2px solid rgb(0, 0, 0);
}

#buttonAdd {
  background-color: #ffea00;
  color: black;
  border: none;
  border-radius: 10px;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  padding: 10px 20px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  font-family: "Luckiest Guy";
  font-weight: bold;
}
#btnClearPlayers {
  background-color: #ff4d4d;
  color: white;
  border: 3px solid black;
  border-radius: 10px;
  padding: 10px;
  font-family: "Luckiest Guy";
  cursor: pointer;
  box-shadow: 3px 3px 1px #000;
}

#btnClearPlayers:hover {
  background-color: #e60000;
}

#messageContainer {
  position: fixed;
  top: 10px;
  right: 10px;
  width: auto;
  z-index: 1000;
}

.message {
  margin-bottom: 10px;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 1em;
  color: white;
  font-family: "Luckiest Guy";
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.message.info {
  background-color: #0ba3e9;
}

.message.success {
  background-color: #4caf50;
}

.message.error {
  background-color: #e70f00;
}
