body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Forum", serif;
  margin: 0 auto;
  line-height: 1.6;
  background-color: #223039;
}

h2,
h3 {
  color: #e2bd06;
  padding: 0;
  margin: 0;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.6);
}

h2 {
  font-weight: 200;
  letter-spacing: 3px;
  font-size: 50px;
  text-align: center;
}

h3 {
  padding: 5px;
  margin: 5px;
  font-family: "Montserrat", sans-serif;
  font-weight: bolder;
  font-size: 32px;
  text-align: center;
}

header {
  padding: 50px 0px;
  background-image: url('../img/background_estrela.jpg');
  background-repeat: no-repeat;
  background-position: center 60%;
  background-size: cover;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100vw;
  height: 300px;
}

header div {
  display: flex;
  flex-direction: column;
  width: 50%;
  text-align: end;
}

header div h3 {
  color: #ffffff;
}

main {
  display: flex;
  flex-direction: column;
  justify-content: center;

  text-align: center;
  padding: 40px 80px;
}

main p {
  font-family: "Montserrat", sans-serif;
  color: #ffffff;
}

main ol {
  list-style: none;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.arrow-container {
  display: flex;
  align-items: center;
  height: 320px;
}

.arrow {
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 10px solid #ffffff;
  margin: 0 10px;
}

main ol li {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
  font-size: 16px;
  width: 250px;
  height: 250px;
  border-radius: 8px;
  overflow-y: hidden;
  font-family: "Montserrat", sans-serif;
  color: #ffffff;
  border: solid 1px #ffffff;
}

main ol li span {
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 4px;
  text-align: center;
  margin-bottom: 10px;
  color: #e2bd06;
}

main ol li p {
  font-size: 16px;
  padding: 10px;
  text-align: center;
}

main ol li::before,
main ol li::after {
  display: none;
}

main ol li span {
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 4px;
}

main ol li p {
  font-size: 16px;
  padding: 10px;
  text-align: center;
}

.locais_entrega {
    font-family: "Montserrat", sans-serif;
    color: #ffffff;
}

.cards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px 0;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  width: 200px;
  height: 350px;
  perspective: 1000px;
  cursor: pointer;
  position: relative;
}

.card.chosen {
  cursor: not-allowed;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.card:not(.chosen):hover .card-inner {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 10px;
  padding: 15px;
  box-sizing: border-box;
}

.card-front {
  background: #dab621;
  background: linear-gradient(45deg,#dab621 0%, #c08d0a 80%);
  background: -webkit-linear-gradient(45deg,#dab621 0%, #c08d0a 80%);
  background: -moz-linear-gradient(45deg,#dab621 0%, #c08d0a 80%);
  background-position: center;
  background-size: cover;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
  padding: 20px;
}

.chosen .card-front {
  background: #dab621;
  background: linear-gradient(45deg,#dab621 0%, #c08d0a 80%);
  background: -webkit-linear-gradient(45deg,#dab621 0%, #c08d0a 80%);
  background: -moz-linear-gradient(45deg,#dab621 0%, #c08d0a 80%);
}

.chosen .card-front::after {
  content: "Desejo enviado a uma Estrela de Natal";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 10px;
  font-weight: bold;
  white-space: nowrap;
  pointer-events: none;
}

.card-back {
  background-color: #ffffff;
  color: #dab621;
  transform: rotateY(180deg);
}

.form-group {
  margin-bottom: 10px;
  text-align: left;
}

input[type="text"],
input[type="tel"],
input[type="email"] {
  width: 100%;
  padding: 8px;
  margin-top: 3px;
  border: none;
  border-bottom: 1px solid #dab621;
  box-sizing: border-box;
  outline: none;
}

button {
  background: linear-gradient(45deg,#dab621 0%, #c08d0a 80%);
  background: -webkit-linear-gradient(45deg,#dab621 0%, #c08d0a 80%);
  background: -moz-linear-gradient(45deg,#dab621 0%, #c08d0a 80%);
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 5px;
}

button:hover {
  background-color: #eeeeee;
}

.child-name {
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 16px;
}

.wish-text {
  margin-bottom: 10px;
}

ol li {
  margin-bottom: 10px;
}

ul {
  list-style: none;
  padding-left: 0;
}

ul li {
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  gap: 16px;
}

ul li a {
  text-decoration: none;
  color: #ffffff;
}

ul li img {
  width: 24px;
  color: #ffffff;
}

footer {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  width: 100vw;
  height: 120px;
}

.separator {
  width: 100vw;
  height: 2px;
  border-top: solid 1px #ffffff;
  margin-bottom: 30px;
}

.footer-content img{
  width: auto;
  height: 50px;
  margin: 20px;
}

.plataforma {
  display: inline-flex;
  justify-content: center;
  font-family: "Montserrat", sans-serif;
  background-color: #000000;
  padding: 16px;
}

.plataforma a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
  text-decoration: none;
  color: #ffffff;
  font-size: 14px;
}

.plataforma a img {
    height: 32px;
}

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

.modal-content {
    background: linear-gradient(45deg, #024606 0%, #6c8a61 80%);
    color: white;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    text-align: center;
}

.verification-input {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.verification-input input {
    width: 40px;
    height: 40px;
    text-align: center;
    font-size: 20px;
    border: 2px solid white;
    border-radius: 5px;
    background: transparent;
    color: white;
}

.verification-input input:focus {
    outline: none;
    border-color: #4CAF50;
}

.modal-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.modal-buttons button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

@media screen and (max-width: 820px) {
  h2 {
    font-size: 40px;
    text-align: center;
  }
  
  h3 {
    font-size: 24px;
  }

  header {
    padding: 20px 0px;
    background-image: url('../img/background_estrela.jpg');
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 300px;
  }
  
  header div {
    display: flex;
    flex-direction: column;
    width: 100%;
    text-align: center;
  }
  
  header div h3 {
    color: #ffffff;
  }

  .locais_entrega {
    text-align: start;
}

.locais_entrega ul {
  display: flex;
  flex-direction: column;
  align-items: start;
}

  main {
    padding: 20px;
  }

  main ol {
      flex-direction: column;
      gap: 20px;
  }

  main ol li {
      width: 100%;
      max-width: 300px;
  }

  .arrow-container {
      height: 40px;
  }

  .arrow {
      transform: rotate(90deg);
      margin: 10px 0;
  }
}
