/* style.css */
body {
  font-family: 'Poppins', sans-serif;
}

html, body {
 overflow-x: hidden;
}
.typewriter-text {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid currentColor; 
  width: 0;
  animation:
    typing 2s steps(8, end) forwards,
    blinkCursor 1.0s step-end infinite;
}

@keyframes typing {
  from { width: 0; }
  to { width: 9ch; }
}

@keyframes blinkCursor {
  0%, 100% { border-color: transparent; }
  50% { border-color: currentColor; }
}

.animate-fadein {
  animation: fadein 1s forwards;
  animation-delay: 2s;
}

@keyframes fadein {
  0%, 80% { opacity: 0; }
  100% { opacity: 1; }
}

@font-face {
  font-family: 'Nevan';
  src: url('../images/Nevan\ RUS.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

.font-nevan {
  font-family: 'Nevan', sans-serif;
}

/* rodapé */
.icon-gradient {
  background: linear-gradient(to right, #facc15, #f59e0b, #d97706);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Container do menu mobile */
#mobile-menu {
  border-top: 1px solid #1f1f1f;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  padding-top: 1rem;
  padding-bottom: 1rem;
}

/* Links principais do menu */
#mobile-menu > a {
  padding: 0.75rem 0;
  border-bottom: 1px solid #2a2a2a;
}

/* Botão do submenu */
#submenu-button {
  padding: 0.75rem 0;
  border-bottom: 1px solid #2a2a2a;
  margin-top: 0.25rem;
}

/* Submenu visível */
#submenu {
  margin-top: 0.5rem;
  padding-left: 1rem;
  border-left: 2px solid #facc15; /* linha amarela à esquerda */
}

/* Links do submenu */
#submenu a {
  padding: 0.5rem 0;
  border-bottom: 1px solid #2a2a2a;
  transition: border-left 0.3s;
}

/* Hover nos links do submenu */
#submenu a:hover {
  border-left: 3px solid #facc15;
  padding-left: 0.75rem;
}

/* Ícone rotacionando */
#submenu-icon.rotate-180 {
  transform: rotate(180deg);
}

/* Animação de rolagem */
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.animate-scroll {
  animation: scroll 40s linear infinite;
}

/* estilo para imagens parallax-like */
.parallax-img {
  height: 400px;
  object-fit: cover;
  border-radius: 1rem;
  width: 100%;
}
