/* General body and html setup */
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-y: auto;
}

body {
  font-family: "Arial", sans-serif;
  color: white;
}

/* Galaxy background adjustments */
.galaxy-bg {
  background: radial-gradient(
    circle,
    rgba(18, 0, 34, 1) 0%,
    rgba(9, 9, 121, 1) 50%,
    rgba(0, 0, 0, 1) 100%
  );
  position: relative;
  min-height: 100vh;
}

/* Header styling */
header {
  padding: 1rem 2rem; /* Adjust padding */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

h1 {
  font-size: 3rem;
  color: #b19cd9;
  margin: 0;
}

.title-link {
  text-decoration: none;
  color: inherit;
}

.title-link:hover {
  color: #d1c4e9;
}

/* Adjust the navigation menu */
.top-nav ul {
  display: inline-block; /* Prevent full width spread */
  padding: 0;
  margin: 0;
  list-style-type: none;
}

.top-nav ul li {
  display: inline; /* Keep items on the same line */
  margin-left: 2rem;
}

.top-nav ul li a {
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
}

.top-nav ul li a:hover {
  color: #d1c4e9;
}

/* Ensure content has enough padding below the header */
.content {
  padding: 4rem 2rem; /* Create space below the header */
}

.about {
  margin-top: 2rem;
}

.about h3 {
  margin-top: 2rem;
}

.about ul {
  margin-bottom: 1.5rem;
}

/* Star styling */
.star {
  position: absolute;
  border-radius: 50%;
  background-color: white;
  opacity: 0;
  animation: blink 2s infinite ease-in-out alternate;
}

@keyframes blink {
  0%,
  100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}

/* Styling for the quote generator */
.quote-generator {
  text-align: center;
  margin-top: 2rem;
}

#quote-category {
  padding: 0.5rem;
  font-size: 1rem;
}

button {
  padding: 0.5rem 1rem;
  margin-top: 1rem;
  font-size: 1rem;
  background-color: #b19cd9;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

button:hover {
  background-color: #d1c4e9;
}

#quote-output {
  margin-top: 2rem;
}

#quote-text {
  font-size: 1.5rem;
  color: #d1c4e9;
}

/* Basic styling for the galaxy background and layout */
.galaxy-bg {
  background: radial-gradient(
    circle,
    rgba(18, 0, 34, 1) 0%,
    rgba(9, 9, 121, 1) 50%,
    rgba(0, 0, 0, 1) 100%
  );
  min-height: 100vh;
}

header {
  padding: 1rem;
  display: flex;
  justify-content: space-between;
}

.title-link {
  text-decoration: none;
  color: #b19cd9;
}

.game-area {
  width: 100%;
  height: 400px;
  position: relative;
  border: 2px solid #b19cd9;
  margin-top: 2rem;
}

#roald-image {
  position: absolute;
  width: 100px;
  height: 100px;
  background-size: cover;
  display: none; /* Initially hidden */
}

button {
  padding: 0.5rem 1rem;
  margin-top: 1rem;
  font-size: 1.2rem;
  background-color: #b19cd9;
  border: none;
  color: white;
  border-radius: 10px;
  cursor: pointer;
}

button:hover {
  background-color: #d1c4e9;
}

h3 {
  margin-top: 2rem;
  color: white;
}

.scoreboard-container {
  width: 300px;
  margin: 20px auto;
  padding: 10px;
  border: 5px solid #b19cd9;
  background: black;
  color: #32cd32; /* Old-school arcade green color */
  font-family: "Courier New", Courier, monospace;
  text-align: center;
}

.scoreboard-container h2 {
  font-size: 1.5rem;
  text-transform: uppercase;
  margin-bottom: 10px;
}

#scoreboard-list {
  list-style-type: none;
  padding: 0;
}

#scoreboard-list li {
  padding: 5px 0;
  font-size: 1.2rem;
}

/* Custom hammer cursor */
.whack-area {
  cursor: url("Images/hammer.png"), auto; /* Replace with your hammer image */
}

/* Click animation */
.whack-area.click-animation {
  cursor: url("Images/hammer-click.png"), auto; /* Replace with whack hammer image */
}
