@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #f8f8f6;
  height: auto;
  font-family: "Inter", serif;
  font-optical-sizing: auto;
  font-style: normal;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #f8f8f6;
  display: flex;
  align-items: center;
  padding: 10px 20px;
  z-index: 100;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.navbar.visible {
  opacity: 1;
}

.navbar-logo {
  height: 50px;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  margin-top: 10px;
  padding-left: 20px;
}

.navbar-logo.visible {
  opacity: 1;
}

/* Logo inicial grande com animação */
.logo-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  height: 200px;
  opacity: 0;
  z-index: 101;
  transition: transform 0.3s ease, opacity 1.5s ease;
}

/* Animação inicial do logo */
@keyframes zoomIn {
  0% {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}
.logo-container.active {
  animation: zoomIn 1.5s;
}

/* Conteúdo que aparece após a animação */
.content {
  position: relative;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  text-align: center;
  color: rgb(31, 31, 31);
  margin-bottom: 100px;
  width: 100%;
}

.content.visible {
  opacity: 1;
}

/* player */
.player {
  width: 80px;
  height: 80px;
  background-color: black;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background 0.3s;
}

.player:hover {
  background-color: #333;
}

.player i {
  color: white;
  font-size: 24px;
}

/* Estilos para o efeito de fade do texto */
#poema {
  position: relative;
  overflow: hidden;
}

#poema-texto {
  font-size: 1.2rem !important;
  line-height: 1.2rem;
}

.line-break {
  display: block;
  height: 0.4em;
}

.stanza-break {
  display: block;
  height: 1.5em;
}

.fade-line {
  display: block;
  position: relative;
  transition: opacity 0.3s ease;
  margin-bottom: 0.2em;
}

/* Área de fade no final da página */
.fade-area {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10px; /* Altura da área de fade */
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgb(255, 255, 255) 100%);
  pointer-events: none;
  z-index: 10;
}