* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
font-family: 'Press Start 2P';
src: url('../fonts/PressStart2P-Regular.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}

body {
  font-family: 'Press Start 2P', cursive;
  background: url('../images/aniwe_world_v2_lowres.jpg') center center no-repeat;
  background-size: cover;
  color: #fff;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}


.bg-image {
    background: url('../images/aniwe_world_v2_compressed.webp') center center no-repeat;
    background-size: cover;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0;
    transition: opacity 1s ease-in;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.container {
  text-align: center;
  padding: 2rem;
  position: relative;
  z-index: 1;
}

h1 {
  font-size: 2rem;
  color: #ff66c4;
  text-shadow: 2px 2px #000;
  margin-bottom: 2rem;
  animation: floatText 3s ease-in-out infinite;
}

@keyframes floatText {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.button {
  background-color: #00ffd5;
  color: #000;
  padding: 1rem 2rem;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 15px;
  border: 2px solid #fff;
  transition: transform 0.3s ease, background 0.3s ease;
  animation: pulse 2s infinite;
  display: inline-block;
}

.button:hover {
  transform: scale(1.1);
  background-color: #fff;
  color: #00ffd5;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 255, 213, 0.7);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(0, 255, 213, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 255, 213, 0);
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 1.2rem;
  }
  .button {
    padding: 0.8rem 1.5rem;
    font-size: 0.8rem;
  }
}