body {
  margin: 0;
  padding: 0;
}

.oldh1 {
  font-family: "Open Sans", sans-serif;
  box-sizing: border-box;
  padding: 0;
  color: #001838;
  font-size: 60px;
  letter-spacing: -2px;
  line-height: 60px;
  font-weight: 700;
  text-align: center;
  max-width: 680px;
  margin: 30px auto;
}
.paragraph {
  max-width: 670px;
  margin: 30px auto;
  font-family: "Open Sans", sans-serif;
  font-size: 1.25rem;
  line-height: 2.06rem;
  box-sizing: border-box;
  text-align: center;
  color: #000000;
}

.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 10px;
}

.social-icons a {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 10px;
  width: 35px;
  height: 35px;
  color: #06aa48;
  background-color: #ffffff;
  border-radius: 50%;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
  background-color: #ffffff;
  color: hsl(100, 96%, 21%);
}

.share-icon-whatsapp:hover path {
  fill: #ffffff;
  transition: fill 0.3s ease;
}

.social-icons svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.sele-title,
.sele-signature,
.sele-formation-container,
.sele-row,
.sele-player,
.sele-acronym,
.sele-buttons,
.sele-button {
  font-family: "Open Sans", sans-serif;
}

.sele-title {
  margin-top: 20px;
}

.sele-signature {
  margin: 10px 0;
  text-align: center;
  display: flex;
  justify-content: center;
}

.sele-signature img {
  width: 100px;
}

.sele-formation-container {
  margin: 0px auto;
  max-width: 100%;
  padding: 150px;
}

.sele-row {
  display: flex;
  justify-content: center;
  margin-top: -236px;
}

.sele-yard {
  background-image: url(https://s3.glbimg.com/v1/AUTH_08fb001c60b847468664307c11fa9dc9/static_especiais/futebol/mundial-de-clubes/especial/selecao-do-mundial-de-clubes-2025/img/yard.jpg);
  background-repeat: no-repeat;
  background-size: 100% 50%;
  background-position: center 200px;
  margin-top: 100px;
  position: relative;
}

.sele-standing {
  width: 137px;
  height: 408px;
}

.sele-crouched {
  width: 192px;
  height: 318px;
}

/* Common Styles for Players */
.sele-player {
  position: relative;
  text-align: center;
}

.sele-player img {
  width: auto;
  height: 100%;
}

/* Styles for Row 1 */
.sele-row1 .sele-acronym1 {
  position: absolute;
  top: 30%;
  width: 100%;
  text-align: center;
  font-weight: bold;
  cursor: pointer;
  font-size: 1.5em;
  color: white;
}

.sele-row1 .sele-position1 {
  position: absolute;
  top: 13%;
  width: 100%;
  text-align: center;
  font-size: 2em;
  cursor: pointer;
  font-weight: bold;
  color: white;
}

/* Styles for Row 2 */
.sele-row2 .sele-acronym2 {
  position: absolute;
  top: 40%;
  width: 100%;
  cursor: pointer;
  text-align: center;
  font-weight: bold;
  font-size: 1.5em;
  color: white;
}

.sele-row2 .sele-position2 {
  position: absolute;
  top: 15%;
  width: 100%;
  text-align: center;
  cursor: pointer;
  left: -2.5%;
  font-size: 2em;
  font-weight: bold;
  color: white;
}

.sele-row2 {
  margin-top: -270px;
}

.sele-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: -50px;
}

.sele-button {
  background: #06aa48;
  border: none;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  font-weight: 300;
  font-size: 2rem;
  padding: 20px;
  text-align: center;
  transition: background-color 0.3s, transform 0.3s;
  width: auto;
  min-width: 150px;
  margin: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 10;
}

.sele-button img {
  filter: brightness(0) invert(1);
  height: 50px;
  width: 50px;
  margin-right: 10px;
}

.sele-row1 .sele-player {
  margin: 0 -10px;
}

.sele-row2 .sele-player {
  margin: 0 -10px;
}

.sele-reiniciar {
  background-color: #06aa48;
  color: white;
}

.sele-finalizar {
  background-color: #c4c4c4;
  color: white;
}

/* Responsive Styles */

@media screen and (max-width: 968px) {
  .sele-formation-container {
    transform: scale(0.9);
  }
  .sele-yard {
    background-position: center 150px;
    margin-top: 100px;
  }

  .sele-buttons {
    margin-top: -100px;
  }
}
@media screen and (max-width: 868px) {
  .sele-formation-container {
    transform: scale(0.8);
  }

  .sele-buttons {
    margin-top: -100px;
  }
}

@media screen and (max-width: 768px) {
  .sele-formation-container {
    transform: scale(0.7);
  }
  .sele-yard {
    background-position: center 125px;
    margin-top: 50px;
  }

  .sele-buttons {
    margin-top: -150px;
  }
}

@media screen and (max-width: 668px) {
  .sele-formation-container {
    transform: scale(0.6);
  }
  .sele-yard {
    background-position: center center;
    background-size: 100% 200px;
    margin-top: -50px;
  }

  .sele-buttons {
    margin-top: -180px;
  }
}

@media screen and (max-width: 568px) {
  .sele-formation-container {
    transform: scale(0.5);
  }
  .sele-yard {
    background-position: center center;
    background-size: 100% 150px;
  }
}

@media screen and (max-width: 468px) {
  .sele-formation-container {
    transform: scale(0.4);
  }
  .sele-yard {
    background-position: center center;
    background-size: 100% 110px;
    margin-top: -100px;
  }

  .sele-buttons {
    margin-top: -220px;
  }
}

@media screen and (max-width: 375px) {
  .sele-formation-container {
    transform: scale(0.3);
  }
  .sele-yard {
    background-position: center center;
    background-size: 100% 90px;
    margin-top: -130px;
  }
}

.sele-modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}

.sele-modal-content {
  background-color: white;
  margin: 5% auto;
  padding: 20px;
  width: 90%;
  max-width: 470px;
  border-radius: 10px;
  text-align: center;
  box-sizing: border-box;
}

.sele-close-button {
  float: right;
  font-size: 24px;
  cursor: pointer;
}

.sele-modal-title {
  color: grey;
  cursor: default;
  font-weight: 300;
  margin: 0 auto;
  font-family: "Open Sans", sans-serif;
  text-transform: uppercase;
  font-size: 2rem;
  margin-bottom: 20px;
}

.sele-player-options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.sele-player-card {
  text-align: center;
  font-family: "Open Sans", sans-serif;
}

.sele-player-card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  transition: box-shadow 0.3s ease;
}

/* Hover effect for images inside the modal */
.sele-player-card img:hover {
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
}

.sele-player-card.black-and-white img {
  filter: grayscale(100%);
}

.sele-player-card .sele-player-name {
  font-weight: bold;
  margin-top: 10px;
}

.sele-player-card .sele-player-team {
  font-size: 0.9em;
  color: gray;
}

/* Target only the silhouette images */
.sele-silhouette {
  transform: scale(0.8);
  transition: transform 0.3s ease;
  cursor: pointer;
}

/* When a real player image is added, remove the silhouette class */
.sele-player img.sele-final-image {
  transform: scale(1);
}

/* Hover effect for players */
.sele-player:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

/* Target the path inside the SVG on hover */
.sele-silhouette:hover path {
  stroke: black;
  stroke-width: 4px;
  stroke-opacity: 0.3;
  transition: stroke 0.3s ease;
}

/* Hover effect for buttons */
.sele-button:hover {
  background-color: #048f3d;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  transform: scale(1.05);
  transition: all 0.3s ease;
}

/* Reiniciar button hover */
.sele-reiniciar:hover {
  background-color: #048f3d;
}

/* Finalizar button hover */
.sele-finalizar:hover {
  background-color: #a3a3a3;
}

@media screen and (max-width: 480px) {
  .sele-modal-content {
    padding: 15px;
  }

  .sele-modal-title {
    font-size: 1.5rem;
  }

  .sele-player-options-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .sele-player-card img {
    width: 80px;
    height: 80px;
  }

  .sele-close-button {
    font-size: 20px;
  }
}

.sele-por {
  margin-right: 5px;
  font-size: 12px;
}

.sele-esq {
  margin-right: 5px;
  font-size: 14px;
  font-weight: 100;
  text-transform: uppercase;
  display: flex;
  justify-content: center;
  font-family: "Open Sans", sans-serif;
  margin-top: 30px;
  margin-bottom: 10px;
}

@media screen and (max-width: 768px) {
  .sele-button {
    font-size: 1.5rem;
    padding: 15px;
    min-width: 130px;
  }
}

@media screen and (max-width: 480px) {
  .sele-button {
    font-size: 1.2rem;
    padding: 10px;
    min-width: 110px;
  }

  .sele-button img {
    height: 30px;
    width: 30px;
    margin-right: 5px;
  }
}

.formation-selector {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 10; /* Ensure it's on top */
}

.formation-button {
  background-color: #fff;
  border: 2px solid #06aa48;
  color: #06aa48;
  padding: 10px 20px;
  font-size: 20px;
  font-family: "Open Sans", sans-serif;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
  border-radius: 5px;
  z-index: 20; /* Ensure buttons are clickable */
}

.formation-button.active {
  background-color: #06aa48;
  color: white;
}

.formation-button:not(:last-child) {
  margin-right: 10px;
}

.sele-finalizar:disabled {
  background-color: #c4c4c4;
  cursor: not-allowed;
}

.section--credits {
  color: #000000;
  font-size: 0.8125rem;
  font-family: "Open Sans", sans-serif;
  line-height: 1em;
  margin: 9.375rem auto 6.875rem;
  max-width: 30.625rem;
  text-align: center;
}

.credits__title {
  font-size: 0.9rem;
  color: #000000;
  font-weight: bold;
  margin-bottom: 0.25rem;
  padding-bottom: 0rem;
  text-align: center;
  text-transform: uppercase;
  width: 100%;
}

.hrcredit {
  color: #000000;
  border-color: #000000;
}

.credit__role {
  text-align: center;
  display: inline-block;
  padding-bottom: 0px;
  margin-bottom: 0px;
  margin-top: 10px;
  width: 100%;
}

.credit__role2 {
  text-align: center;
  display: inline-block;
  color: #000000;
  width: 100%;
  margin-top: 0px;
  margin-bottom: 5px;
}

.credit__role3 {
  text-align: center;
  display: inline-block;
  color: #000000;
  margin-top: 5px;
  margin-bottom: 5px;
  width: 100%;
}

.credit__role4 {
  text-align: center;
  display: inline-block;
  color: #000000;
  margin-bottom: 50px;
  width: 100%;
}
