/* 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:#d7f8e5;
  --border-color:#7c9b89;
  --subtitle-color:#35a363;
  --link-color:#18bc5a;
}

html, body {
  margin:0;
  padding:0;
  background-color:#1E2630;
  background-attachment:fixed;

}
body a {
  color:#BD5D37;
}
header {
  width:400px;
  height:200px;
  background-image:url('voyage-of-the-polaris-william-bradford-1875-b29324b5.jpg');
  background-size:103%;
  
}
.flex {
  display:flex;
}
.sidebar {
  background-color:#E4D7A0;
  max-width:250px;
  width:200px;
  height:100vh;
  border:1px solid #636D6E;
  position:fixed;
}
article {
  background-color:#E4D7A0;
  border:1px solid #636D6E;
  margin-top:20px;
  max-width:370px;
  margin-left:10px;
  margin-right:10px;
  
}
.subtitle {
  color:#BD5D37;
  font-size:18px;
  font-weight:bold;
  border-bottom:2px solid #2C1E19;
  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:#BD5D37;
  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;
   }
}