/* reset to default spacing just in case */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* General settings */
body {
  font-family: 'Quicksand', sans-serif;
  background: url('../allImages/inspirationImages/inspiration background.webp') no-repeat center center fixed;
  background-size: cover;
  min-height: 100vh;
  overflow: hidden;
}

/* Main container */
.inspiration-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh; /* fills entire screen */
  padding: 30px;
}

/* Black semi-transparent box */
.content-box {
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  border-radius: 20px;
  padding: 30px;
  max-width: 1000px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}

/* Left image */
.left-image img {
  width: 300px;
  border-radius: 15px;
  margin-right: 30px;
}

/* Text content */
.text-content {
  flex: 1;
  min-width: 250px;
}

.text-content h1 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.text-content p {
  line-height: 1.6;
  margin-bottom: 15px;
}

/* Mario Buttons at bottom */
.bottom-sticky-buttons {
  position: fixed;
  bottom: 15px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 20px;
  z-index: 999;
  pointer-events: none; /* allow icons themselves to stay clickable */
}

.bottom-sticky-buttons a {
  pointer-events: auto;
}

.bottom-sticky-buttons img {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.bottom-sticky-buttons img:hover {
  transform: scale(1.1);
}

@media (max-width: 480px) {
  .overlay-img {
    top: 280px; /* move image lower for mobile */
    left: 50%;
    transform: translateX(-50%);
    width: 240px;
  }

  .encyclopedia {
    width: 100%;
  }

  h1, p {
    font-size: 1.1rem;
    text-align: center;
  }
}
