@font-face {
  font-family: 'The Seasons';

  src: url('fonts/TheSeasons.otf') format('otf'),
        url('fonts/TheSeasons.otf') format('otf');
  font-weight: normal;
  font-style: normal;
}

body {
  margin: 0;
  font-family: 'The Seasons', serif;
  background-color: #ffffff;
  color: #355e3b;
  text-align: center;
}

header {
  padding: 160px 40px;
  background-image: url('imagenes/header.png');
  background-size: cover;
  background-position: center;
  color: #ffffff;
}

h1 {
  padding-top: 60px;
  font-size: 72px;
  letter-spacing: 2px;
  margin-bottom: 50px;
  color: #df4d72;
  text-shadow: 
    -1px -1px 0 #fff,  
     1px -1px 0 #fff,
    -1px  1px 0 #fff,
     1px  1px 0 #fff,
     2px 2px 5px rgba(0, 0, 0, 0.5);
}

h2 {
  font-family: 'Vujahday Script', cursive;
  font-size: 72px;
  font-style: normal;
  margin-bottom: 30px;
  font-weight: normal;
  text-shadow: 
    -1px -1px 0 #fff,  
     1px -1px 0 #fff,
    -1px  1px 0 #fff,
     1px  1px 0 #fff,
     2px 2px 6px rgba(0, 0, 0, 0.5);
}

.h2-green {
  color: #aec854;
}

.h2-pink {
  color: #df4d72;
}

.arrow-down {
  border: solid #df4d72;
  border-width: 0 4px 4px 0;
  display: inline-block;
  padding: 6px;
  transform: rotate(45deg);
  margin-top: 30px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) rotate(45deg);
  }
  40% {
    transform: translateY(10px) rotate(45deg);
  }
  60% {
    transform: translateY(5px) rotate(45deg);
  }
}

.section {
  padding: 40px 20px;
  background-color: #74a174;
}

.countdown-section {
  padding-top: 20px;
  padding-bottom: 32px;
}

.text {
  max-width: 700px;
  margin: auto;
  font-size: 24px;
  line-height: 1.6;
  color: #ffffff;
}

.cards-container {
  display: flex;
  justify-content: center;
  align-items: stretch; 
  flex-wrap: wrap; 
  gap: 20px;
  max-width: 800px; 
  margin: 0 auto; 
}

.card {
  background: #df4d72; 
  color: #ffffff; 
  margin: 20px auto;
  padding: 25px;
  border-radius: 16px;
  max-width: 600px;
  flex: 1; 
  min-width: 280px;
}

.card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.card-icon-img {
  height: 60px; 
  width: auto;
  margin-bottom: 15px;

}

.outfit-icon {
  height: 140px;
}

.card p strong {
  color: #ffffff; 
}

.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 18px 36px; 
  background-color: #b86578;
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  font-size: 18px; 
}

.btn:hover {
  opacity: 0.85;
}

.dresscode {
  font-family: 'Vujahday Script', cursive;
  font-size: 80px; 
  font-style: normal; 
  margin-top: 10px;
  color: #aec854;
  text-shadow: 
    -1px -1px 0 #fff,  
     1px -1px 0 #fff,
    -1px  1px 0 #fff,
     1px  1px 0 #fff,
     2px 2px 6px rgba(0, 0, 0, 0.5); 
}

.dress-code-section h2 {
  font-family: 'Vujahday Script', cursive;
  font-size: 70px; 
  text-shadow: 
    -1px -1px 0 #fff,  
     1px -1px 0 #fff,
    -1px  1px 0 #fff,
     1px  1px 0 #fff,
     2px 2px 6px rgba(0, 0, 0, 0.5); 
}

.dress-green {
  color: #aec854;
}

.code-pink {
  color: #df4d72;
}

.dress-code-section {
  background-image: url('imagenes/lugares2.png');
  background-size: cover;
  background-position: center;
  color: #ffffff; 
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); 
}

.outfit-cards {
  margin-top: 40px;
}

.rsvp {
  background-image: url('imagenes/fondofinal.png');
  background-size: cover;
  background-position: center;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.rsvp h2 {
  font-family: 'The Seasons', serif;
  color: #74a174;
  font-size: 48px; 
  text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.4);
}

footer {
  padding: 40px 20px;
}


@media (max-width: 600px) {
  header {
    padding: 80px 20px; 
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 48px; 
  }

  .text {
    font-size: 16px;
  }

  .dresscode {
    font-size: 56px;
    color: #aec854;
  }

  .dress-code-section h2 {
    font-size: 48px; 
  }

  .section {
    padding: 30px 15px;
  }

  .cards-container {
    flex-direction: column; 
  }
}

#start-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  cursor: pointer;
}

#start-btn {
  font-size: 22px;
  padding: 20px 40px;
}