.modalWrap {
  display: none;
  justify-content: center;
  align-items: center;
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  visibility: hidden;
  z-index: 5;

  animation: opacity 1s linear;
}
.modalWrapVisible {
  display: flex !important;
  visibility: visible !important;
}
.modalWrap h2 {
  font-size: 1.5rem;
  color: #014598;
  font-weight: bold;
}
.cartoesContainer {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  height: unset;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border-radius: 1rem;
  animation: scale 1s linear;
  position: relative;
  max-width: 700px;
}
.cartoesContainer .inputSenhaButton {
  width: 80%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin: 0 auto;
}
.cartoesContainer h3 {
  color: #9a9a9a;
  margin-bottom: 1rem;
  text-align: center;
}
.cartoesContainer #smsParent {
  display: flex;
  justify-content: center;
  width: 80%;
  border: solid 2px #9a9a9a;
  border-radius: 0.25rem;
  padding: 0.5rem 0;
}
.cartoesContainer #smsParent input {
  border: none;
  border-bottom: 2px solid #9a9a9a;
  outline: none;
  text-align: center;
  width: 20%;
  margin: 0.5rem;
  font-size: 1.5rem;
  color: #9a9a9a;
}
.cartoesContainer button {
  margin-top: 0.5rem;
  padding: .5rem 2rem;
  border: unset;
  color: #fff;
  background-color: #014598;
  border-radius: 9999px;
  cursor: pointer;
}
.closeX {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  color: #014598;
  font-size: 2rem;
  cursor: pointer;
}
.cartoesContainer .cartoes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 37.5rem;

  overflow-x: hidden;
  max-height:400px;
}
.cartoesContainer li {
  max-width: 45%;
  margin: 0.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cartoesContainer label {
  width: 100%;
  border-radius: 1rem;
}
.cartoesContainer label > h3 {
  font-size: 1rem;
  text-align: center;
  color: #014598;
}
[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
[type="radio"] + img {
  
}
[type="radio"]:checked + img {
  transform: scale(1.1);
}

.cartoesContainer label img {
  width: 100%;
  border-radius: 1rem;
  cursor: pointer;
}


/* width */
.modalWrap ::-webkit-scrollbar {
  width: .5rem;
}

/* Track */
.modalWrap ::-webkit-scrollbar-track {
  background: #e9e9e9; 
}
 
/* Handle */
.modalWrap ::-webkit-scrollbar-thumb {
  background: rgb(148, 147, 147); 
  border-radius: 999px;
}

/* Handle on hover */
.modalWrap ::-webkit-scrollbar-thumb:hover {
  background: rgb(110, 110, 110); 
}


@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none) {
  .blurred-container {
    -webkit-backdrop-filter: blur(4px);
    background-color: rgba(255, 255, 255, 0.308);
    backdrop-filter: blur(10px);
  }
}

/* Firefox não suporta o fundo com blur, isso faz com que fique uma cor clara com opacidade baixa para aproximar com o projeto */
@supports not ((-webkit-backdrop-filter: none) or (backdrop-filter: none)) {
  .blurred-container {
    background-color: rgba(255, 255, 255, 0.466);
  }
}

@media (max-width: 800px) {
  .modalWrap {
    padding: 1rem;
  }
  .cartoesContainer li {
    max-width: 40%;
    margin: 0.5rem;
    border-radius: 1rem;
  }
  .cartoesContainer a {
    width: 100%;
  }
  .cartoesContainer label > h3 {
    font-size: 0.75rem;
  }
  .cartoesContainer #smsParent {
    width: 80%;
  }
}
@keyframes opacity {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}
@keyframes scale {
  0% {
    transform: scale(0.1);
  }

  100% {
    transform: scale(1);
  }
}
