  :root {
            --text: black;
            --border: black;
            --bg: #fbeeee;
        }

     body {
            background-image:url('https://shelbyjacksonart.neocities.org/images/ilybw45.jpg');
            background-size: 400px;
            background-repeat: repeat;
            font-family: "Jersey 20", serif;
            color: var(--text);
            display: flex;
            flex-direction: column;
            align-items: center; 
            justify-content: center;
            min-height: 100vh;
            padding: 10px;
            margin: 0;
            width: 100%;
            max-width: 100vw; 
            overflow-x: hidden;
            font-size: 18px;
        }
body::-webkit-scrollbar {
  width: 12px;             
  height: 12px;             
}


body::-webkit-scrollbar-track {
  background: black;
 
}


body::-webkit-scrollbar-thumb {
  background-color: #8b0000;
  border: 3px solid black;
}


body::-webkit-scrollbar-thumb:hover {
  background-color:#8b0000 ;
}
header {
    position: relative;
    height: 165%; 
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    top:20%;
    }
    
 header img {
    max-width: 1200px;
    height: auto; 
}

.container2 {
display:flex;
justify-content: center;
width:100%;
}
  
.nav {
  position: absolute;
  width: 250px;
  height: 475px;
  top: 5px;
  display: flex;
  flex-direction: column;
  gap:2px;
}
.nav a {
  text-decoration: none;
  border:4px solid;
  border-color:black;
  color: black;
  font-size: 24px;
  transition: all 0.3s ease;
}
.nav a:hover {
  background-color: #fbeeee;
  color: #cd1c18;
}
.box1 {
    position:relative;
    background:#fbeeee;
    border: 10px solid var(--border); 
    text-align: center;
    width: 250px;
    height: 655px;
    display: block;
    font-size: 22px;
    margin: 25px;
    grid-column: 1; 
    grid-row: 1 ;
  }
.box1 .text-content { 
    text-align:left;
  }
.box1 h1, h2, h3, h4 {
    line-height: 1.0;
    margin: 5px;
    font-size:30px;
    text-align:left;
    white-space: normal; 
    word-break: break-word;
  }
.box2 {
    position:relative;
    background:transparent;
    width: 1000px;
    margin:25px;
    min-height: 550px;
    gap:5px;
    display:block;
    }
  
.box2 img {
  display:block;
  max-width:100%;
  height:auto;
 }
  
    .color-change {
  animation: colorPulse 1s infinite;
}

@keyframes colorPulse {
  0%   { color: #900; }
  33%  { color: #8b0000; }
  66%  { color: black; }
  100% { color: #900; }
}


       
       
        .modal {
            display: none; 
            position: fixed; 
            z-index: 1; 
            left: 0;
            top: 0;
            justify-content:center;
            align-items:center;
            width: 100%; 
            height: 100%; 
            overflow: auto; 
            background-color: rgb(0, 0, 0); 
            background-color: rgba(0, 0, 0, 0.9); 
        }

        .modal-content {
            margin: auto;
            display: block;
            width: 40%;
            max-width: 700px;
            height: auto;
            animation: zoomIn 0.5s ease-in-out;
            padding:10px;
        }

        @keyframes zoomIn {
            from { transform: scale(0); }
            to { transform: scale(1); }
        }

        .close {
            position: absolute;
            top: 15px;
            right: 35px;
            color: #fff;
            font-size: 40px;
            font-weight: bold;
            transition: 0.3s;
            cursor: pointer;
        }
        .close:hover,
        .close:focus {
            color: #bbb;
            text-decoration: none;
            cursor: pointer;
        }

        .gallery {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            justify-content: center;
            gap: 5px;
            width: 100%;
            max-width: 1000px;
        }

        .gallery img {
            width: 100%;
            max-width:300px;
            height: auto;
            object-fit: contain;
            transition: transform 0.3s ease;
            cursor: pointer;
            border-radius: 1px;
        }
        .gallery img:hover {
            transform: scale(1.1);
        }
        @media (max-width: 600px) {
            .gallery img {
                width: 100%;
                height: auto;
            }
        }
    