.creepster-regular {
  font-family: "Creepster", system-ui;
  font-weight: 400;
  font-style: normal;
}

.nosifer-regular {
  font-family: "Nosifer", sans-serif;
  font-weight: 400;
  font-style: normal;
}

body {
  font-family: "Times New Roman";
  margin: 0;
  background-color: whitesmoke;
  background-attachment: fixed;
  color: #000;
}

#container {
max-width: 900px;
margin: 0 auto;
position: relative;
}

#header {
width: 100%;
height: auto;
margin: 0 auto;
padding-top: 10px;
text-align: center;
background: transparent;
}

#header img {
  max-width: 900px;
  max-height: 200px;
  width: auto;
  height: auto;
}

.blurb {
max-width: 900px;
margin: 0 auto;
background-color: whitesmoke;
color: #000;
padding: 5px;
text-align: center;
}

.blurb-small {
max-width: 500px;
margin: 0 auto;
background-color: whitesmoke;
color: #000;
padding: 2px;
text-align: center;
border-radius: 10px;
}

.row {
  display: flex;
  justify-content: center;
  gap: 15px; /* adjust for spacing between books */
  flex-wrap:wrap;
  padding: 7px;
  margin: 0 auto;
  max-width: 100%;
}

.row img {
  width: 200px; /* resize for books as needed */
  height: auto;
  display: block;
}

.objects {
  position: absolute;
  z-index: 999;
  pointer-events: none;
}

.objects img {
  width: 100%;
  height: auto;
  display: block;
}

/* Container for navbar links and dropdown, centered horizontally */
.navbar {
  height: 40px;
  background-color:darkslategray; /* default color, change in page HTML */
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

/* Individual navbar links */
.navbar a {
  color: whitesmoke;
  padding: 10px 25px;
  text-decoration: none;
  display: inline-block;
}

/* Dropdown wrapper */
.dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

/* Dropdown button */
.dropdown .dropbtn {
  font-size: 16px;
  border: none;
  outline: none;
  color: whitesmoke;
  padding: 10px 25px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
  cursor: pointer;
}

/* Hover effect for links and dropdown button */
.navbar a:hover,
.dropdown:hover .dropbtn {
  background-color: #945048;
  color: whitesmoke;
  text-decoration: underline;
  font-family: cursive;
}

/* Dropdown menu content */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: whitesmoke;
  min-width: 160px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

/* Hover effect for dropdown links */
.dropdown-content a:hover {
  background-color: #ddd;
  font-family: cursive;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

.unowned {
  filter: brightness(0.2);
}

.unowned-lighter {
  filter: brightness(0.4);
}

#flex {
display: flex;
}

main {
flex: 1;
padding: 20px;
order: 2;
margin: 0 auto;
}

h1,
h2,
h3 {
color: whitesmoke; /* change in HTML as needed */
}

h1 {
font-size: 25px;
font-family: cursive;
}

#myBtn {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 20px; /* Place the button at the bottom of the page */
  right: 60px; /* Place the button 30px from the right */
  z-index: 99; /* Make sure it does not overlap */
  border: none; /* Remove borders */
  outline: none; /* Remove outline */
  background-color: black; /* Set a background color */
  color: white; /* Text color */
  cursor: pointer; /* Add a mouse pointer on hover */
  padding: 15px; /* Some padding */
  font-size: 40px; /* Increase font size */
  font-family: "DOS"; 
}

#myBtn:hover {
  background-color: #555; /* Add a dark-grey background on hover */
}

@media only screen and (max-width: 800px) {
#flex {
    flex-wrap: wrap;
}

aside {
    width: 100%;
}

#navbar ul {
    flex-wrap: wrap;
}

.row {
  flex: 50%;
  max-width: 50%;
}
}

@media screen and (max-width: 600px) {
  .row {
    flex: 100%;
    max-width: 100%;
  }
}