   :root {
            --text: black;
            --border: black;
            --bg: #8d0000;
        }

     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: 5px;
            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: 1000px;
    height: auto; 
}

.container, .container2 {
    display: flex;
    max-width:1000px;
    justify-content: center;
    margin-top: 25px; 
}
.container2 {
 display: grid;
 grid-template-columns: repeat(3,1fr); 
  justify-content: center;
  width: max-content;}
  

.middle {
    background-color:#f4c2c2;
    color:black;
    border: 10px solid black;
    position:relative;
    width: 680px;
    height: 1000px;
    display: block;
    grid-column: 2;
    grid-row: 1;
    }
.middle::-webkit-scrollbar {
  width: 10px;             
  height: 10px;             
}
.middle::-webkit-scrollbar-track {
  background: white;}
.middle::-webkit-scrollbar-thumb {
  background-color: #8b0000;}
.middle::-webkit-scrollbar-thumb:hover {
  background-color: #8b0000;}

    .meat {
      border: 3px dotted white;
      margin:8px;
      }
      
      .infobox {
    position:relative;
    border: 3px dotted white;
    background:#f4c2c2;
    width: 655px;
    height: 340px;
    display:flex;
    grid-column: 2;
    grid-row: 2;
    font-size:20px;
    }
    .infobox h2 {
    margin-right:10px;
    }
    
    .insidechat {
    background-color:#f4c2c2;
    display:block;
    border-top:3px solid;
    border-bottom:7px solid;
    border-color:white;
    width:350px;
    height:240px;
    font-size:16px;
    font-family: Georgia, serif;
    overflow-y:scroll;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000,
          -1px 1px 0 #000, 1px 1px 0 #000; color: white;
    }
    .chatbox {
    border-right:3px dotted white;
    }
    .chattext1 {
    display:flex;
    border-bottom:3px solid;
    border-color:white;
    margin:5px;
    }
     .chattext2 {
    display:flex;
    border-bottom:3px solid;
    border-color:white;
    margin:5px;
    }
    .tv {
    width:290px;}
.insidechat::-webkit-scrollbar {
  width: 10px;             
  height: 10px;             
}
.insidechat::-webkit-scrollbar-track {
  background: white;
  opacity:0.2;}
.insidechat::-webkit-scrollbar-thumb {
  background-color: #8b0000;}
.insidechat::-webkit-scrollbar-thumb:hover {
  background-color: #8b0000;}
 






.navcontainer {
    position:relative;
    background:#fbeeee;
    border: 10px solid var(--border); 
    text-align: center;
    width: 225px;
    height: 800px;
    display: block;
    font-size: 22px;
    margin: 25px;
    grid-column: 1; 
    grid-row: 1 ; 
  }
  .navcontainer .text-content {
  text-align:left;
  }
  .navcontainer h1, h2, h3, h4 {
    line-height: 1.0;
    margin: 5px;
    font-size:30px;
    text-align:left;
    white-space: normal; 
    word-break: break-word;
  }
  .color-change {
  animation: colorPulse 1s infinite;
  }

  @keyframes colorPulse {
  0%   { color: #900; }
  33%  { color: #8b0000; }
  66%  { color: black; }
  100% { color: #900; }
  }
    
  img {
    max-width:100%;
    height:auto;
    display:block;
    margin: 0 auto;
  }
        h {
          font-size:25px}
          
.nav {
  position: absolute;
  width: 225px;
  height: 525px;
  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;
}

.guestbook {
    display: flex;
   flex-direction: column;
    border:4px solid;
    border-color:black;
  }
.guestbook-form {
  font-family: 'Jersey 20', sans-serif;
  background-color: #ffeef1;
  width: 230px;
  height:200px;
  display: grid;
  padding:5px;
}
.form-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  align-items: center;
}
.guestbook-form input[type="text"],
.guestbook-form textarea {
  width: 80%;
  font-family: inherit;
  font-size: 1em;
  border: 2px solid #8b0000;
  box-sizing: border-box;
  gap:10px;
}
.guestbook-form button {
  grid-column: 1 / -1;
  gap:10px;
  padding: 8px 16px;
  background-color: #fff;
  border: 2px solid #8b0000;
  font-family: inherit;
  font-size: 1em;
  cursor: pointer;
  width: fit-content;
  margin: 0 auto;
  margin-top:10px;
}

.music {
    position:relative;
    border: 3px dotted white;
    background:#f4c2c2;
    padding:10px;
    }
.activity {
    position:relative;
    border: 3px dotted white;
    background:#f4c2c2;
    padding:10px;
    }