/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

body {
  background-color: white;
  color: black;
  font-family: times new roman;
  background-repeat: repeat;
  background-position: center;
  background-size: auto;
  text-align: center;

}
.menu-row {
  display: flex;
  flex-wrap: nowrap;       /* all items stay in one row */
  justify-content: center; /* center row if it fits */
  overflow-x: auto;        /* scroll if row too wide for screen */
  gap: 10px;
  padding: 5px 0;
}

.menu-item {
  text-align: center;
  flex: 0 0 auto;  /* prevents shrinking */
  width: 80px;     /* size for each menu item */
}

.menu-item img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 5px;
}

.menu-item a {
  display: block;
  text-decoration: none;
  color: inherit; /* match the rest of the page text */
}



    .blog-post {
      background: white;
      color: black;
      border: 2px solid black;
      padding: 15px;
      margin-bottom: 20px;
      box-shadow: 1px 1px 0 hotpink;
      max-width: 700px;
      margin-left: auto;
      margin-right: auto;
    }
.blog-post h2 {
      margin-top: 0;
      color: hotpink;
    }

    .date {
      font-size: 0.8em;
      color: gray;
      margin-bottom: 10px;
    }
    
        .blog-post img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto; /* centers image */
}
    
.myspace-box {
  background-color: white;
  color: black;
  border: 2px solid black;
  width: 400px;
  padding: 15px;
  margin: 30px auto;
  font-family: "times new roman", sans-serif;
  box-shadow: 5px 5px 0 hotpink;
  text-align: center;
}

.hover-image {
  position: relative;
  width: 200px; /* Set image size */
  height: auto;
  display: inline-block;
}

.hover-image img {
  display: block;
  width: 100%;
  height: auto;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.3s ease-in-out;
}

.hover-image .on-hover {
  opacity: 0;
}

.hover-image:hover .on-hover {
  opacity: 1;
}

.hover-image:hover .original {
  opacity: 0;
}
