body {
  background-image: url('../Sketchbook/Blog_MyFilm/style/MyFilm_BG.jpg');
  font-size: 14px;
  font-family: monospace, "monospace", sans-serif;
  margin: 0px;
  
  display: flex;
  justify-content: center;  /* Centers horizontally */
  align-items: center;      /* Centers vertically */
  min-height: 100vh;        /* Makes the body take up the full screen height */
}

p {
  line-height: 0.8;
}

hr {
  border: solid #c7b591;
  border-width: 6px 0 0 0;
}

h1, h2, h3, h4, h5 {
  font-family: monospace, Geneva, sans-serif;
  color: Black;
  
}

.gallery img {
  border-radius: 15px;
  height: 350px;
  width: auto;
  display: block;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
  align-items: flex-start;
}

.Panel {
  background-color: #ff4500;
  
  width: 90%;                /* Takes up 80% of screen, leaving 10% margins on sides */
  max-width: 1500px;          /* Stops it from getting awkwardly wide on huge screens */
  margin: 0 auto;
  padding: 40px;
  
  box-sizing: border-box;    /* CRUCIAL: Includes padding in the width/height calculation */
  
  text-align: center;
} 
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  background: rgba(0, 0, 0, 0.3);
  
  width: 100%;
  height: 100%;
  
  top: 0;
  left: 0;
  
  justify-content: center;
  align-items: center;

  }

.modal-content {
  background-image: url('Library/Paper.jpg');
  position: relative;
  margin: auto;
  padding-left: 100px;
  padding-right: 20px;
  padding-top: 80px;
  width: 450px;
  min-height: 85vh;
  }
  
  .modal-content p {
  line-height: 2.3;
  }
  