@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;600&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@700&display=swap');


body {
  margin: 0;
  font-family: 'Quicksand', sans-serif;
  background: #1b1b1b;
  color: #fff;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

h1, h2 {
  font-family: 'Dancing Script', cursive;
  animation: fadeInTitle 1s ease-out forwards;
  opacity: 0;
  transform: translateY(20px);
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);

}

p {
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
}

@keyframes fadeInTitle {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

section, header, footer {
  padding: 80px 20px;
  text-align: center;
}

#welcome-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000 url('../img/background7.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 1000;
  color: white;
  text-align: center;
}

.welcome-content {
  background: rgba(0, 0, 0, 0.6);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

#welcome-screen button {
  margin-top: 20px;
  padding: 10px 30px;
  font-size: 1.2em;
  border: none;
  border-radius: 8px;
  background-color: #ff3366;
  color: white;
  cursor: pointer;
  transition: background 0.3s;
}

#welcome-screen button:hover {
  background-color: #ff0055;
}

.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  color: white;
  z-index: -1000; /* nível da hero em si */

}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 0;
  filter: brightness(0.4); /* escurece a imagem */
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 120px 20px;
}

.nossa-historia {
  border-top: 2px solid #ff5ca2;
  border-bottom: 2px solid #ff5ca2;

}

.carta-mae p {
  font-size: 1.2em;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
  white-space: pre-line;
  font-family: 'Courier New', monospace;
}

#cartaTexto::after {
  content: '|';
  animation: piscarCursor 1s infinite;
  display: inline-block;
  margin-left: 2px;
}

@keyframes piscarCursor {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.nossos-pets {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  background: linear-gradient(135deg, #2c1b2e, #1b1b1b);
  padding: 60px 20px;
  border-top: 2px solid #ff5ca2;
  border-bottom: 2px solid #ff5ca2;
}

.pet {
  display: inline-block;
  margin: 20px;
  width: 280px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease-out forwards;
}

.pet img {
  width: 250px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pet:hover img {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(255, 92, 162, 0.6);
}

.pet:nth-child(1) { animation-delay: 0.2s; }
.pet:nth-child(2) { animation-delay: 0.4s; }
.pet:nth-child(3) { animation-delay: 0.6s; }
.pet:nth-child(4) { animation-delay: 0.8s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.patinha {
  font-size: 1.2em;
  margin-left: 5px;
}

.music-icon {
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); }
}

footer {
  background-color: #111;
  padding: 40px 20px;
  font-size: 1.1em;
  color: #fddc8f;
  border-top: 2px solid #ff5ca2;
}

#stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hearts {
  position: fixed;
  bottom: 0;
  left: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.heart {
  position: absolute;
  bottom: -20px;
  color: #ff5ca2;
  font-size: 24px;
  animation: floatHeart 6s linear infinite;
}

@keyframes floatHeart {
  0% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) scale(1.5);
    opacity: 0;
  }
}

#toggle-music {
  position: fixed;
  top: 10px;
  right: 10px;
  background: #ff5ca2;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  z-index: 10;
  cursor: pointer;
  background: rgba(255, 92, 162, 0.9);
backdrop-filter: blur(4px);
box-shadow: 0 4px 10px rgba(255, 92, 162, 0.4);
transition: background 0.3s ease;
}
  
#toggle-music:hover {
  background: #ff3377;
}

@media (max-width: 600px) {
  .pet {
    width: 100%;
  }

  .pet img {
    width: 90%;
  }

  .hero-content {
    padding: 80px 10px;
  }

  section, header, footer {
    padding: 60px 15px;
  }
}

section {
  animation: fadeInSection 1.5s ease-out both;
}

@keyframes fadeInSection {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}