html body {
    padding: 0px;
    margin: 0px;
    background-color:#f2f1ef;
   
}
header {
    margin: 0px;
     background-color:#f2f1ef;
}
nav {
    background-color: #697184;
}
nav ul {
    width: 600px;
    margin-left: auto;
    margin-right: auto;
    list-style: none;
    position: relative;
}

nav ul li {
    display: inline-block;
    font-size: 24px;
    font-family: 'Advent Pro', sans-serif;
    color: #d8cfd0;
    background-color:#697184;
}
nav a {
    text-decoration: none;
    color:#d8cfd0;
    display: block;
    padding: 0 30px;
    line-height: 60px;
    
}
nav ul ul {
    display: none;
    position: absolute;
    top: 60px;
    margin-top: 5px;
}

/* Display Dropdowns on Hover */
nav ul li:hover > ul {
    display:inherit;
}

/* Fisrt Tier Dropdown */
nav ul ul li {
    width:220px;
    display:list-item;
    position: relative;
    margin-top: 5px;
    list-style-type: none;
    float: none;
}
 header h1 {
     padding-top:50px;
     padding-bottom:50px;
    text-align: center;
    font-family: 'Petit Formal Script', cursive;
    font-size: 50px;
    color: #b1a6a4;
}
a.headerlink:link {
    text-decoration:none;
}
a.headerlink:visited {
    text-decoration:none;
    color: #b1a6a4;
}
a.headerlink:hover {
    text-decoration:none;
    color: #b1a6a4;
}
a.headerlink:active {
    text-decoration:none;
    color: #b1a6a4;
}

h2{
   font-family: 'Source Sans Pro', sans-serif;
    font-size: 40px;
    text-align: center;
}
hr {
    background-color: #697184;
    height: 10px;
}

    main {
        color: #413f3d;
    }
.borderimg {
    border-color:#b1a6a4;
    border-style: solid;
    border-width: 5px;
}
.flex-container{
     display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-around;
}
div {
    display:block;
}
.bookcover {
    flex: 60%;
    max-width: 60%;
}
 .review {
     flex: 50%;
     max-width: 50%;
     font-family: 'Source Sans Pro', sans-serif; 
    font-size: 25px;
     text-align: center;
     margin-right: 10px;
     
}
.linkclass{
    background-color:#d8cfd0;
    text-decoration:none;
    color:#413f3d;
    margin: 0px;
    padding-right: 20px;
    padding-left: 20px;
    border-radius: 7px;
}
aside{
    padding-top: 25px;
    background-color:#f2f1ef; 
    text-align: center;
    clear:both;
    font-family: 'Source Sans Pro', sans-serif; 
    font-size: 25px;
}
aside img{
    display:inline;
    margin-left:auto;
    margin-right: auto;
}
aside a {
    text-decoration: none;
    color: #413f3d;
}
aside p {
    text-align: center;
    margin-right: 30%;
    margin-left: 30%;
}
section {
     padding-top: 25px;
    background-color:#f2f1ef; 
    text-align: center;
    font-family: 'Source Sans Pro', sans-serif; 
    font-size: 25px;
}
.aboutsection {
    margin-right: 10%;
    margin-left: 10%;
    margin-top: 2%;
}
.contactsection {
    padding-top: 25px;
    
}
.formsection {
    padding-bottom: 50px;
}

.aboutsection2 {
    margin-right: 20%;
    margin-left: 20%;
}



footer {
    clear: both;
    text-align: center;
    background-color:#697184;
    font-family:'Advent Pro', sans-serif;
    font-size: 24px;
    color: #d8cfd0;
    height: 80px;
    padding-top: 10px;
    padding-bottom: 5px;
}

@media screen and (max-width:1000px)
{
    .flex-container{
        display: flex;
        flex-direction: row;
    }
    section p{
        flex:100%;
        max-width: 100%;
        text-align: center;
        padding-left: 0%;
    }
    .bookcover {
        flex: 70%;
        max-width: 70%;
        margin-left:20%;
        
    }
}
@media screen and (min-width:1001px)
{
    .flex-container{
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        
}
    
.bookcover {
    flex: 70%;
    max-width: 70%;
    }
    aside p {
        flex: 100%;
        max-width: 100%;
        margin-left: 20%;
        margin-right: 20%;
    }
}

@media screen and (max-width:700px)
{
      .flex-container{
        display: flex;
        flex-direction: row;
          flex-wrap: wrap;
        justify-content: space-around;
        
}
    h1 {
        margin-top: 5%;
        margin-bottom: 5%;
        padding: 0px;
    } 
    .bookcover {
    flex: 100%;
    max-width: 100%;
     display:inline;
    margin-left:0%;
    }
    .review {
        text-align: center;
        flex:100%;
        max-width: 100%;
        font-size: 19px;
    }
    aside p {
        flex: 100%;
        max-width: 100%;
        margin-left: 20%;
        margin-right: 20%;
    }


