:root {
  --bg-color:#D4D0BE;
  --border-color:#2E2C20;
  --subtitle-color:#615C45;
  --link-color:#FFFDF2;
}

 .scrolling-text {
      width: 100%; /* Or a specific width */
      white-space: nowrap; /* Keep text on one line */
      overflow: hidden; /* Hide text that goes beyond the container */
      box-sizing: border-box;
      animation: scroll-left 10s linear infinite; /* Apply animation */
    }

    @keyframes scroll-left {
      0% { transform: translateX(100%); } /* Start offscreen to the right */
      100% { transform: translateX(-100%); } /* Move offscreen to the left */
    }

html, body {
  margin:0;
  padding:0;
  background-color:#BAB6AF;
  background-attachment:fixed;
  background-image:url('https://3xqu1s1t3c0rps3.neocities.org/index/Bg%20decor%20etc/bg1.jpg');
}
body a {
  color:var(--link-color);
}
header {
  width:400px;
  height:400px;
  background-image:url('KMS.PNG');
  background-size:103%;
   border:3px solid var(--border-color);
   left: 200px;
  
}
.flex {
  display:flex;
}
.sidebar {
  background-color:var(--bg-color);
  max-width:250px;
  width:200px;
  height:100vh;
  border:1px solid var(--border-color);
  position:fixed;
}
article {
  background-color:var(--bg-color);
  border:1px solid var(--border-color);
  margin-top:20px;
  max-width:370px;
  margin-left:10px;
  margin-right:10px;
  
}
.subtitle {
  color:var(--subtitle-color);
  font-size:18px;
  font-weight:bold;
  border-bottom:2px solid var(--subtitle-color);
  margin-left:10px;
  margin-right:10px;
  text-align:right;
  padding-top:20px;
}
article > p {
  padding:10px;
  padding-left:20px;
}
.links {
  list-style-type:'+';
  font-size:16px;
  
}
.links li a {
  color:var(--link-color);
  letter-spacing:1px;
  text-decoration:none;
}
main {
  margin-top:-21px;
}
   section > p {
     padding:10px;
   }
footer {
  margin-left:20px;
  max-width:30%;
  font-size:12px;
}

 @media only screen and (max-width: 630px) {
   .sidebar {
     position:relative;
     max-width:100%;
     width:100%;
     height:150px;
     display:flex;
     flex-direction:row;
     flex-wrap:wrap;
     overflow:hidden;
   }
   .flex {
     flex-wrap:wrap;
     flex-direction:row;
   }
   .right {
     order:1;
     width:100%;
   }
   .left {
     order:2;
   }
   section {
     display:flex;
     flex-wrap:wrap;
     width:120px;
   }
}