body {
  background-image: url('../../Sketchbook/Blog_MyFilm/style/MyFilm_BG.jpg');
  font-size: 14px;
  font-family: monospace, "monospace", sans-serif;
  margin: 0;
  
  display: flex;
  justify-content: center;  /* Centers horizontally */
  align-items: flex-start;      /* Centers vertically */
  min-height: 100%;        /* 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 {
    max-width: 1200px;
    width: 100%;

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;

    margin: 20px auto 0;
}


.Panel {
  background-color: #ff4500;
  
  width: 1050px;                /* Takes up 80% of screen, leaving 10% margins on sides */
  max-width: 1500px;          /* Stops it from getting awkwardly wide on huge screens */
  min-height: 1080px;
  height: 100%;
  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;
  max-height: 85vh;

  overflow-y: auto;
  
  }
  
  .modal-content p {
  line-height: 2.3;
  }
  
 .close {
    position: absolute;
    top: 20px;
    right: 25px;

    font-size: 42px;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
} 
  

.modal-content::-webkit-scrollbar {
    width: 10px;
}

.modal-content::-webkit-scrollbar-track {
    background: transparent;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #b59d71;
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: #8b7453;
}