body {
  margin: 0;
  font-family: "Trebuchet MS", sans-serif;
  background-color: #28afb0;
  background-image: url("img/betterbulb.png");
  background-size: cover;
}

.top {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #19647e;
  color: #37392e;
  text-align: center;
  padding: 20px 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  font-family: "Courier New", monospace;
}

.main-area {
  margin-top: 120px;
  text-align: center;
  padding: 20px;
  font-family: "Trebuchet MS", sans-serif;
}

.subtext {
  font-size: 25px;
}

button,
button:visited {
  background: #aca4a4;
  border: 1px solid #000000;
  border-radius: 11px;
  box-shadow: -8px 8px #444444;
  padding: 13px 23px;
  margin-top: 30px;
  color: #ffffff;
  display: inline-block;
  font: normal bold 26px/1 "Trebuchet MS", sans-serif;
  text-align: center;
}

.button2,
.button2:visited {
  background: #aca4a4;
  border: 1px solid #000000;
  border-radius: 11px;
  box-shadow: -8px 8px #444444;
  padding: 13px 23px;
  margin-top: 20px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  color: #ffffff;
  display: inline-block;
  font: normal bold 26px/1 "Trebuchet MS", sans-serif;
  text-align: center;
}

button:hover,
.button2:hover {
  background: #ddcecd;
  border: 1px solid #000000;
  border-radius: 11px;
  box-shadow: -8px 8px #444444;
  color: #19647e;
  transform: scale(1.05);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.quote-slideshow {
  position: relative;
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
  text-align: center;
  font-family: "Trebuchet MS", sans-serif;
  background-color: #eee5e5;
  border-radius: 10px;
  font-size: 1.2rem;
  min-height: 120px; /* Increased minimum height */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  border-style: solid;
  overflow: hidden;
  box-sizing: border-box; /* Ensure padding is included in the element's width */
}

.quote-container {
  position: absolute;
  width: 100%;
  opacity: 0;
  transform: translateX(100%);
  transition: transform 0.5s ease, opacity 0.5s ease;
  text-align: center;
  font-size: 1.2em;
  padding: 10px 20px; /* Padding inside the quote for spacing */
  box-sizing: border-box;
  white-space: normal;
  word-break: break-word;
  margin: 0 auto; /* Center the quotes */
  max-width: 90%; /* Prevent text from going too wide */
  height: auto; /* Ensure height adapts to content */
}

.quote-container.active {
  opacity: 1;
  transform: translateX(0);
  z-index: 1;
}

.quote-container.slide-left {
  transform: translateX(-100%);
}

.quote-container.slide-right {
  transform: translateX(100%);
}

button.prev,
button.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  background-color: transparent; /* Make background transparent */
  border: solid;
  cursor: pointer;
  padding: 15px; /* Increase padding to make hitbox larger */
  color: #333;
  user-select: none;
  z-index: 2; /* Ensure buttons are above other elements */
  transition: background-color 0.3s ease;
}

button.prev:hover,
button.next:hover {
  color: #000;
  background-color: rgba(
    0,
    0,
    0,
    0.1
  ); /* Add slight background color for better visual feedback */
}

button.prev {
  left: 10px; /* Adjust the position of the left button */
}

button.next {
  right: 10px; /* Adjust the position of the right button */
}

.about {
  margin: top 50px;
  text-align: center;
  font-family: "Trebuchet MS", sans-serif;
  border: solid;
  background-color: #ddcecd;
}

.aboutp {
  text-align: center;
  font-family: "Trebuchet MS", sans-serif;
  margin-left: 7.5px;
  margin-right: 7.5px;
}

iframe {
  margin-top: 10px;
  border-radius: 16px;
  overflow: hidden;
}

.game {
  max-width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
