/* Estilos personalizados */
html {
  scroll-behavior: smooth;
}

#portfolio {
    height: 100dvh;
}

/* Animação de fade-in */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 1s ease-out forwards;
}

/* Estilo para links */
a {
  transition: all 0.3s ease;
}

/* Estilo para botões */
button {
  transition: all 0.3s ease;
}

/* Estilo para inputs e textareas */
input,
textarea {
  transition: all 0.3s ease;
}

input:focus,
textarea:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
}

/* Estilo para cards de projetos */
.project-card {
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-8px);
}

body {
  font-family: "Inter", sans-serif;
}

/* Menu mobile */
#mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100dvh;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 50;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}

#mobile-menu.active {
  display: flex;
  transform: translateX(0);
}

#mobile-menu a {
  color: white;
  font-size: 1.5rem;
  margin: 1rem 0;
  text-decoration: none;
  transition: color 0.3s ease;
  padding: 0.5rem 1rem;
}

#mobile-menu a:hover {
  color: #888;
}

#close-menu {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 51;
}

/* @media (max-width: 768px) {
  #mobile-menu {
    display: none;
  }

  #mobile-menu.active {
    display: flex;
  }
} */
