/* 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:#ffffff-
  --border-color:#009faa;
  --subtitle-color:#7e5479;
  --link-color:#b277aa;
  --text-color:#31042f;
}

@font-face {
  font-family: "PixelOperatorHB";
  src: url("https://miiru.net/font/PixelOperatorHB.ttf");
}
@font-face {
  font-family: "PixelOperatorHB8";
  src: url("https://miiru.net/font/PixelOperatorHB8.ttf");
}

p {
    font-family: "PixelOperatorHB";
}

.subtitle {
    font-family: "PixelOperatorHB8";
}

.links {
    font-family: "PixelOperatorHB";
}



html, body {
  margin:0;
  padding:0;
  color:var(--text-color);
  background-color:#ffcee7;
  background-attachment:fixed;
  background-image:url('https://miiru.net/bg/pinkhrtsbg.gif');
}
body a {
  color:var(--link-color);
}
header {
  width:400px;
  height:200px;
  background-image:url('https://miiru.net/images/kiisuverttijpg2.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  min-height: 5vh;
  margin-top: 10px;
  margin-left: 0px;
  margin-right: 0px;
  margin-bottom: 0px;
}
.center {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
  margin-left: 15px;
  margin-right: 15px;
  margin-bottom: 10px;
}

.flex {
  display:flex;
}
.sidebar {
  background-color:var(--bg-color);
  max-width:250px;
  width:200px;
  height:200vh;
  border:2px solid var(--border-color);
  position:fixed;
}
article {
  background-color:var(--bg-color);
  border:2px solid var(--border-color);
  margin-top:20px;
  max-width:370px;
  margin-left:10px;
  margin-right:10px;
  margin-bottom:0px;
  
}
.subtitle {
  color:var(--subtitle-color);
  font-size:18px;
  border-bottom:2px solid var(--subtitle-color);
  margin-left:20px;
  margin-right:20px;
  text-align:right;
  padding-top:20px;
}
article > p {
  padding:10px;
  padding-left:20px;
}
.links {
  list-style-type:' ';
  font-size:16px;
  font-weight:bold;
  
}
.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-family: PixelOperator;
  font-size:12px;
}

 @media only screen and (max-width: 630px) {
   .sidebar {
     position:relative;
     max-width:100%;
     width:100%;
     height:200px;
     display:flex;
     flex-direction:row;
     flex-wrap:wrap;
     overflow:hidden;
   }
   .flex {
     flex-wrap:wrap;
     flex-direction:row;
   }
   .right {
     order:3;
     width:100%;
   }
   .left {
     order:2;
   }
   section {
     display:flex;
     flex-wrap:wrap;
     width:200px;
   }
}