@font-face {
  font-family: 'Kaushan Script';
  src: url('fonts/KaushanScript-Regular.woff2') format('woff2');
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: black;
}

h1 {
  font-family: 'Kaushan Script', cursive;
  font-size: clamp(2rem, 5vw, 4rem);
  color:yellow;

  text-align: center;

  text-shadow: 0 2px 6px rgba(0,0,0,0.35);

  opacity: 0;
  transform: translateY(20px);
  animation: aparecer 1.2s ease forwards;
}





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

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