/* Reset básico */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #F5E0C3;
  color: #333;
  line-height: 1.6;
  text-align: center;
}

/* Cores e Tipografia */
:root {
  --primary-color: #FF5722;
  --secondary-color: #E91E63;
  --accent-color: #FFC107;
  --background-color: #F5E0C3;
  --text-color: #333;
  --heading-font: 'Poppins', sans-serif;
  --body-font: 'Roboto', sans-serif;
}

/* Estilos Globais */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  color: var(--primary-color);
  margin-bottom: 16px;
}

p {
  margin-bottom: 16px;
}

a {
  color: var(--primary-color);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Header */
header {
  position: relative;
}


.hero {
  display: flex;
  flex-direction: column;
  background-image: url('/assets/capa.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 100px 20px;
  position: relative;
}

.hero-content {
  position: relative;
  max-width: 600px;
  margin-left: auto;
  text-align: left;
  padding: 0 20px;
}

.headertext{
    align-self: flex-end;
}

.hero h1, .hero h2, .headertext {
  color: #333;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 16px;
}

.hero h2 {
  font-size: 2.5rem;
  font-weight: normal;
  margin-bottom: 24px;
}

.headertext p {
  font-size: 1.5rem;
}

.date-time p {
  font-weight: bold;
  font-size: 1.2rem;
}

/* Mobile Image */
.mobile-image {
  display: none;
}

.vid-content {
  width: 100%;
  height: 0;
  position: relative;
  padding-bottom: 56.25%; /*aspect-ratio: 16 / 9; */
  border: solid 1px red;
}
.vid-player {
  width: 100%;
  height: 100%;
  position: absolute;
}

@media (max-width: 768px) {
  .mobile-image {
    display: block;
    background-image: url('/assets/capa.jpg');
    background-size: cover;
    /*background-position: center;*/
    width: 100vw;
    height: 400px;
  }

  .hero {
    background-image: none;
    background-color: transparent;
    padding: 20px;
  }

  .hero::after {
    display: none;
  }

  .hero-content {
    margin: 0;
    text-align: center;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero h2 {
    font-size: 1.8rem;
  }

  .headertext p {
    font-size: 1.2rem;
  }

  .date-time p {
    font-size: 1rem;
  }
}

/* Seções */
section {
  padding: 60px 20px;
  color: var(--text-color);
}

/* Aplicando cores de fundo vibrantes alternadas */
section:nth-of-type(odd) {
  background-color: #FFE0B2; /* Laranja Claro */
}

section:nth-of-type(even) {
  background-color: #FFCDD2; /* Rosa Claro */
}

section h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 40px;
}

section p {
  font-size: 1rem;
  line-height: 1.6;
}

/* Countdown Section */
#countdown {
  background-color: var(--accent-color);
  color: #fff;
  padding: 40px 20px;
}

#countdown p {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

#timer {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

#timer div {
  background-color: rgba(255, 255, 255, 0.2);
  padding: 20px;
  margin: 10px;
  border-radius: 8px;
  text-align: center;
  width: 120px;
}

#timer span {
  display: block;
  font-size: 2.5rem;
  font-weight: bold;
}

#timer p {
  margin-top: 8px;
  font-size: 1rem;
}

/* Ajustando cores individuais para cada parte do contador */
#timer div:nth-child(1) {
  background-color: #F44336; /* Vermelho */
}

#timer div:nth-child(2) {
  background-color: #9C27B0; /* Roxo */
}

#timer div:nth-child(3) {
  background-color: #3F51B5; /* Azul */
}

#timer div:nth-child(4) {
  background-color: #009688; /* Verde */
}

/* Seção de Presente */
#gift {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gift-text {
  max-width: 800px;
  text-align: left;
}

.gift-text p {
  font-size: 1.1rem;
  line-height: 1.8;
}

#pix-key {
  width: 100%;
  max-width: 600px;
  padding: 12px;
  font-size: 1rem;
  margin-top: 20px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

#copy-pix {
  padding: 12px 24px;
  margin-top: 10px;
  font-size: 1rem;
  background-color: var(--secondary-color);
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}

#copy-pix:hover {
  background-color: #d81b60;
}

/* Seção de Confirmação de Presença */
#rsvp iframe {
  width: 100%;
  border: none;
  height: 800px;
}

/* Seção de Tema */
#dresscode {
  width: 30%;
  margin: 10px;
  border-radius: 8px;
}

@media (max-width: 768px) {
  #dresscode {
    width: 80%;
  }
}

/* Programação */
#schedule ul {
  list-style: none;
  padding: 0;
}

#schedule li {
  background-color: #fff;
  margin: 10px auto;
  padding: 15px;
  border-radius: 4px;
  max-width: 600px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#schedule li strong {
  color: var(--secondary-color);
}

/* Comidas e Bebidas */
#food-drinkss h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-top: 30px;
}

#food-drinkss ul {
  list-style: disc inside;
  text-align: left;
  max-width: 600px;
  margin: 0 auto 20px;
}

#food-drinkss ul li {
  margin-bottom: 8px;
}

#food-drinkss p {
  max-width: 800px;
  margin: 0 auto 20px;
}

/* Localização */
#location iframe {
  width: 100%;
  border: none;
  height: 450px;
  margin-top: 20px;
}

/* Playlist */
#deezer iframe {
  width: 100%;
  border: none;
  height: 400px;
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: #fff;
  padding: 20px;
}

footer p {
  margin: 0;
}

/* Botões Gerais */
button {
  display: inline-block;
  padding: 12px 24px;
  font-size: 1rem;
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}

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

/* Responsividade */
@media (max-width: 768px) {
  section {
    padding: 40px 20px;
  }

  #timer div {
    width: 80px;
    padding: 15px;
  }

  #timer span {
    font-size: 1.8rem;
  }

  .gift-text {
    text-align: center;
  }

  #schedule li {
    margin: 10px 0;
  }

  #food-drinkss ul {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero h2 {
    font-size: 1.5rem;
  }

  #timer div {
    margin: 5px;
    width: 70px;
    padding: 10px;
  }

  #timer span {
    font-size: 1.5rem;
  }

  #timer p {
    font-size: 0.9rem;
  }
}