/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

/*Source - https://stackoverflow.com/a/20062120
Posted by VLS, modified by community. See post 'Timeline' for change history
Retrieved 2026-08-25, License - CC BY-SA 3.0*/

.rotate90 {
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}



   
* {
  box-sizing: border-box;
}



.content {
  max-width: 900px;
  margin: auto;
  
    display: grid;
  grid-template-columns: 250px, 1fr; 
  align-items: stretch;
}


nav {
  float: left;
  width: 20%;
  background: #0D0D0D;
  padding: 20px;
  position: sticky;
  top: 0;
  height: 100vh; 
  font-size: 20px;
}

nav ul {
  list-style-type: none;
  padding: 0;
}

article {
  float: left;
  padding: 20px;
  width: 80%;
  background-color: #252525;
  position: sticky;
  top:0;
  height:100vh;
}  



body {
  background-color: white;
  color: white;
  justify-content: center;
  margin: 10px;
  font-family: var(--font);
  background-image: url("https://i.pinimg.com/736x/68/ba/70/68ba70024772950d055fa895afdc1740.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
} 
 

header {
  background-color: #1E079C;
  text-align: right;
  font-size: 18px;
  color: white;
  margin-bottom: 10px;
}

.headerText {
  margin-right: 30px;
  margin-left: 10px;
}

section::after {
  content: "";
  display: table;
  clear: both;
}

footer {
  background-color: #777;
  text-align: center;
  color: white;
  padding: 10px;
  margin-top: 10px;
}

@media (max-width: 600px) {
  nav, article {
    width: 100%;
    height: auto;
  }

.leftside {
  height: 100%;
  width: 160px;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: #111;
  overflow-x: hidden;
  padding-top: 20px;
}

.main {
  margin-left: 160px;
  font-size: 20px;
  padding: 0px 10px;
}