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

     body {
            background-image:url('https://shelbyjacksonart.neocities.org/images/ilydarkre.png');
            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: max-content;
}
  
.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: 577px;
    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:#fbeeee;
    border: 10px solid; 
    width: 813px;
    margin:25px;
    min-height: 550px;
    padding:5px;
    display: block;
    grid-column: 2; 
    grid-row: 1; 
    }
.box2 img {
  max-width:200px;
  height:auto;
  gap:0;}
  
    .color-change {
  animation: colorPulse 1s infinite;
}

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