/* 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 {
  text-align: center;
  overflow: scroll;
  background-color: white;
  color: black;
  font-family: "BIZ UDMincho", serif;
  background-image: url('flowers.jpeg'); /* Replace with your image path */
  background-size: cover; /* Ensures the image covers the area without stretching */
  background-position: center center; /* Centers the image */
  background-repeat: no-repeat; /* Prevents repeating */
  margin: 0;
  height: 100vh; /* Makes sure body height fills the viewport */
}
.frame {
    pointer-events: none;
    position: fixed; /* keeps the image fixed on the viewport */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('frame.gif'); /* replace with your image path */
    background-size: cover; /* cover the entire screen */
    background-position: center center;
    z-index: 9999; /* highest layering */
}
.main{
  padding: 10px;
  text-align: justify;
  text-justify: inter-word;
  overflow: scroll;
  width: 720px;
  height: 540px;
  background-color: white;
  border: 3px solid peachpuff;
  margin: 10px;
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0%);
}

h1 {
  margin: 1px 5px;
  text-shadow: 3px 3px black;
  font-weight: 700;
  font-size: 48px;
  text-align: center;
  -webkit-text-stroke: 1px #000000;
  animation: colorRotate 3s linear 0s infinite;
}



a:link, a:visited, a:active {
  color: white;
  background-color: peachpuff;
}

a:hover {
  color: white;
  background-color: sandybrown;
}

  /* Modal background */
  .modal {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.8);
  }

  /* Modal content: image and caption area */
  .modal-content {
    margin: 5% auto;
    display: block;
    max-width: 80%;
    max-height: 80vh;
  }

  /* Caption text */
  .caption {
    margin: 10px auto;
    text-align: center;
    color: #fff;
    font-size: 18px;
    max-width: 80%;
  }

  /* Close button */
  .close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
  }

  /* Image thumbnails */
  .thumbnail {
    height: 200px;
    margin: 0px;
    cursor: pointer;
  }