body {
  background: #121212;
  color: #fff;
  font-family: 'Courier New', monospace;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  padding: 20px;
  text-align: center;
  overflow: hidden;
}

.container {
  background: #1f1f1f;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
  max-width: 600px;
  width: 100%;
  position: relative;
  overflow: hidden;
  z-index: 2;
}

h1 {
  font-size: 24px;
  margin-bottom: 20px;
  font-weight: bold;
}

/* img {
  width: 100%;
  max-height: 300px;
  object-fit: contain;
  border-radius: 12px;
  margin-bottom: 20px;
} */

#jokeBox {
  font-size: 18px;
  margin: 15px 0;
  min-height: 60px;
  animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.buttons button {
  margin: 5px;
  padding: 10px 20px;
  font-size: 14px;
  background-color: #00ffff;
  color: #111;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.4);
}

.buttons button:hover {
  background-color: #00e0e0;
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(0, 255, 255, 1);
}

.alert-box {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #111;
  color: #0ff;
  padding: 1em 1.8em;
  border-radius: 12px;
  font-weight: bold;
  font-family: 'Poppins', sans-serif;
  text-shadow: 0 0 3px #0ff;
  border: 1px solid #0ff;
  box-shadow:
    0 0 10px #0ff,
    0 0 20px #0ff,
    0 0 40px rgba(0, 255, 255, 0.5);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 1000;
}

.alert-box.show {
  opacity: 1;
  transform: translateY(0);
}

.hidden {
  display: none;
}


@media (max-width: 768px) {
  .container {
    padding: 20px;
    max-width: 90%;
  }
  
  h1 {
    font-size: 20px;
  }

  img {
    max-height: 250px;
  }
  
  .buttons button {
    padding: 8px 16px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  body {
    padding: 10px;
  }

  h1 {
    font-size: 18px;
  }

  #jokeBox {
    font-size: 16px;
  }
}


@keyframes scribble {
  0% {
    transform: rotate(0deg) translate(0, 0);
  }
  100% {
    transform: rotate(360deg) translate(-20px, -20px);
  }
}
