/* You can either copy the below and paste it between style tags on your HTML page, OR you can copy this to a file and name it .css and link it from your HTML page. */
:root {
  --bg-color:#87D3FF;
  --border-color:#475D7F;
  --subtitle-color:#475D7F;
  --link-color:#4C81F6;
}

html, body {
  margin:0;
  padding:0;
  background-color:#4C81F6;
  background-attachment:fixed;
  background-image:url('https://hiitsmoto.neocities.org/BG.PNG');
}
body a {
  color:var(--link-color);
}
/*850 - 640 = 210, 400 + 210 = 610, changed width to this from 400*/
header {
  width:610px;
  height:400px;
  background-image:url('https://hiitsmoto.neocities.org/400x400_Mirage_Fugi.gif');
  background-size:103%;
  
}
.flex {
  display:flex;
}
img {
  height: auto;
  width: 175px;
}
.sidebar {
  background-color:var(--bg-color);
  max-width:250px;
  width:200px;
  height:100vh;
  border:1px solid var(--border-color);
  position:fixed;
}
/*Article width + 210 = 480, changed from 370*/
article {
  background-color:var(--bg-color);
  border:1px solid var(--border-color);
  margin-top:20px;
  max-width:580px;
  margin-left:10px;
  margin-right:10px;
  
}
.subtitle {
  /**/
  font-family: 'circular_abstractsregular', Arial, sans-serif;
  font-weight:normal;
  font-style:normal;
  /**/
  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 {
  /**/
  font-family: 'Tahoma', sans-serif;
  /**/
  padding:10px;
  padding-left:20px;
}
.links {
  list-style-type:'+ ';
  font-size:16px;
  
}
.links li a {
  font-family: 'Tahoma', sans-serif;
  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;
}
/* Changed Max width from 630 to 850*/
 @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;
   }
}
@font-face {
    font-family: 'circular_abstractsregular';
    src: url('https://hiitsmoto.neocities.org/font:circular%20abstracts/circular_abstracts-webfont.woff2') format('woff2'),
         url('https://hiitsmoto.neocities.org/font:circular%20abstracts/circular_abstracts-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}