body {
   background-image: url(https://overthesea.neocities.org/images/magskybluecloud.png);
   height: 100%;
   padding: 0;
   margin:0;
   font-family: Garamond;
   font-weight: regular;
}
h1, h2, h3, h4 {
   text-align: center;
}
h1 {font-size: 2em;}

h2 {font-size:1.6em;}

h3 {font-size:1.3em}

a:link {
  color: slategray;}

a:hover {
  color: cornflowerblue;}

.wrapper {
  display: flex;
  max-height: 100vh;
  max-width: 100vw;
}

.content {
   display:flex;
   position:absolute;
   min-height: 100vh;
   min-width: 100vw;
   margin: 0px;
}


.container{
   flex-direction: row;
    display: flex;
    align-items: center;
   justify-content: center;
   margin: 0 auto;
}

nav {
   width: 13vw;
  box-sizing: border-box;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  border-width: 3px;   
}

main {
   width: 50vw;
  height: 100vh;
  overflow: scroll;
  display: inline;
  box-sizing: border-box;
  padding-top: 30px;
  background-color: ;
  background-image: url();  
   border:2px;
   border-top: none;
   border-bottom:none;
   border-color: var(--border-color);
}

.card {
   width: 90%;
  height: auto;
  background-color: white;
  box-sizing: border-box;
  padding: 10px;
  margin: 0 auto;
    margin-bottom: 0px;
  margin-bottom: 30px;
  border: 1px solid blue;
}

.chapters {
   width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

    .chapter {
  text-decoration: none;
  width: 90%;
  height: 35px;
  margin: 10px;
  font-size: 0.8em;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-right: 10px;
  background-color: white;
  border: solid 1px paleturquoise;
}



 @media(max-width:750px){
   
    .container{
   flex-direction: column;
   }

    nav {
    height: 20vh;
    width: 100vw;
    position: sticky;
    top: 0;
    margin: 0px;
    border-width: 0px 0px 3px 0px;
  }
    
    main {
       width: 100vw;
    min-width: 300px;
    height: 100vh;
    background-color: ;
    background-image: none;
    border: none;}
    
    
    .chapters {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
  }
    
     .chapter {
    width: 80px;
    margin: 4px;
  }
    

    
}