@font-face {
  font-family: "Inria Serif";
  font-weight: 300;
  font-style: normal;
  src:
    url('../fonts/InriaSerif-Light.woff2') format('woff2');
}

@font-face {
  font-family: "Inria Serif";
  font-weight: 400;
  font-style: normal;
  src:
    url('../fonts/InriaSerif-Regular.woff2') format('woff2');
}

@font-face {
  font-family: "Inria Serif";
  font-weight: 700;
  font-style: normal;
  src:
    url('../fonts/InriaSerif-Bold.woff2') format('woff2');
}

@font-face {
  font-family: "Inria Serif";
  font-weight: 300;
  font-style: italic;
  src:
    url('../fonts/InriaSerif-LightItalic.woff2') format('woff2');
}

@font-face {
  font-family: "Inria Serif";
  font-weight: 400;
  font-style: italic;
  src:
    url('../fonts/InriaSerif-Italic.woff2') format('woff2');
}

@font-face {
  font-family: "Inria Serif";
  font-weight: 700;
  font-style: italic;
  src:
    url('../fonts/InriaSerif-BoldItalic.woff2') format('woff2');
}

@font-face {
  font-family: "Cormorant SC";
  font-weight: 400;
  font-style: normal;
  src:
    url('../fonts/CormorantSC-Regular.woff2') format('woff2');
}

body{
    margin: 0px;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-attachment: fixed;
    background-color: #b4997f;
    background-image: url("../img/clean-gray-paper.png");
}

p{
    margin-right: 15px;
    margin-left: 15px;
    margin-top: 3px;
    margin-bottom: 3px;
    opacity: 1;
    font-family: 'Inria Serif', serif;
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 1.4rem;
}

p.copyright{
    color: white;
    margin: 0;
    margin-bottom: 1.4rem;
}

p.bookTitle{
    visibility: hidden;
}

h1{
    font-family: 'Inria Serif', serif;
    font-weight: 700;
    font-style: normal;
    margin-left: 15px;
    margin-top: 10px;
    margin-bottom: 10px;
}

h1.logotype{
    font-family: "Cormorant SC", serif;
    font-weight: 500;
    text-align: center;
    line-height: 90%;
    margin-bottom: 10px;
    font-size: 28px;
}

h2{
    font-family: 'Inria Serif', serif;
    font-weight: 700;
    font-style: normal;
    margin-bottom: 3px;
    margin-left: 15px;
    margin-top: 10px;
}

a{
    color: rgb(114, 2, 2);
    text-decoration: underline;
}

a.logotype{
    color: black;
    text-decoration: none;
}

a.button{
    color: rgb(114, 2, 2);
    text-decoration: underline;
}

div.main{
    max-width: 82rem;
    margin-right: auto;
    margin-left: auto;
    margin-top: 5px;
    display: flex;
    flex-direction: column;
}

div.content{
    max-width: 82rem;
    margin-right: auto;
    margin-left: auto;
    margin-top: 5px;
    display: flex;
    flex-direction: row;
}


div.contentItem{
    display: block;
    margin-top: 5px;
    margin-left: 5px;
    margin-right: 5px;
    margin-bottom: 5px;
    max-width: 100%;
    min-width: 100%;

}

div.featuredItem{
    max-width: 70rem;
    background-color: #e8dfb1;
    background-image: url("../img/lined-paper.png");
    padding: 0.25rem;
    border-radius: 1rem;
    filter: drop-shadow(5px 5px 5px #3d3d3d);
}

div.FeatureBoxLeftSide {
    max-width: 60%;
    margin: 5px;
    justify-content: space-between;
    align-content: center;
    display: flex;
    flex-direction: column;
}

div.FeatureBoxRightSide {
    display: flex;
    align-self: center;
    justify-content: right;
    margin-left: 5%;
    max-width: 50%;
}

div.bonusButtons{
    flex-direction: column;
}

div.buttonsRow{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 100%;
    margin-top: 10px;
    margin-left: 10px;
    align-self: bottom;

}

div.button{
    display: flex;
}

div.featureTag{
    display: flex;
    flex-direction: column;
    margin-left: 10px;
    margin-bottom: 10px;
    align-self: top;
}

div.blogroll{
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: center;
}

div.blogCard{
    display: flex;
    flex-direction: column;
    max-width: 70rem;
    min-width: 0px;
    align-self: center;
    background-color: #e8dfb1;
    background-image: url("../img/lined-paper.png");
    padding: 0.25rem;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(5px 5px 5px #3d3d3d);
}

div.commentCard{
    background-color: #f0f7f6;
    background-image: url("../img/clean-gray-paper.png");
    filter: drop-shadow(5px 5px 5px #3d3d3d);
}

div.blogPost{
    display: block;
    margin-top: 5px;
    margin-left: 5px;
    margin-right: 5px;
    margin-bottom: 5px;
    max-width: 88rem;
    min-width: 0px;
    background-color: #e8dfb1;
    background-image: url("../img/lined-paper.png");
    padding: 0.25rem;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(5px 5px 5px #3d3d3d);
}

div.bodyItem{
    background-color: #f0f7f6;
    background-image: url("../img/clean-gray-paper.png");
    padding: 0.25rem;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
    max-width: 70rem;
    filter: drop-shadow(5px 5px 5px #3d3d3d);
}

div.seriesBox{
    background-color: #f0f7f6;
    background-image: url("../img/clean-gray-paper.png");
    max-width: 70rem;
    padding: 0.25rem;
    border-radius: 1rem;
    margin: 2rem;
    width: 100%;
    filter: drop-shadow(5px 5px 5px #3d3d3d);
}

div.bookShelf{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 2rem;
}

div.book{
    display: flex;
    margin: 1rem;
}

div.barBottom{
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-right: 1.75rem;
    background-color:#012419;
    margin-top: 3rem;
}

div.bottomRow{
    justify-content: space-between;
    width: 50%;
}

div.tipBox{
    background-color: #f0f7f6;
    background-image: url("../img/clean-gray-paper.png");
    max-width: 60%;
    margin: auto;
    padding: 0.5rem;
    border-radius: 1rem;
    align-self: center;
    justify-self: center;
    filter: drop-shadow(5px 5px 5px #3d3d3d);
}

span.FeatureTag {
    display: inline-block;
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    background: rgb(140, 182, 85);
    border: 1px solid #012419;
    font-size: 0.75rem;
    width: fit-content;
    white-space: nowrap;
}

span.button {
    display: inline-block;
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    background: rgb(140, 182, 85);
    border: 1px solid #012419;
    width: fit-content;
    margin-top: 10px;
    margin-left: 10px;
    white-space: nowrap;
}

span.fixedWidthButton{
    width: 80%;
}

span.tag {
    display: inline-block;
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    background: rgb(140, 182, 85);
    border: 1px solid #012419;
    font-size: 0.75rem;
    width: fit-content;
    white-space: nowrap;
    margin-top: 0px;
    margin-left: 0px;
    margin-right: 25px;
}

img.FeaturedCover {
        margin-right: 5px;
        margin-top: 5px;
        margin-bottom: 5px;
        margin-left: 5px;
        max-height: 30em;
        filter: drop-shadow(5px 5px 5px #3d3d3d);
}

img.bookCover {
        margin-right: 5px;
        margin-top: 5px;
        margin-bottom: 5px;
        margin-left: 5px;
        max-height: 30rem;
        filter: drop-shadow(5px 5px 5px #3d3d3d);
}

img.authorphoto{
    border-radius: 1rem;
    margin: 0.5rem;
}

svg{
    height: 1rem;
    width: 1rem;
}


@media (max-width:768px){
    div.content{
        max-width: 82rem;
        margin-right: auto;
        margin-left: auto;
        margin-top: 5px;
        display: flex;
        flex-direction: column;
    }

    div.FeatureBoxLeftSide {
        margin: 5px;
        max-width: 100%;
    }

    div.FeatureBoxRightSide {
        display: flex;
        justify-content: center;
        max-width: 100%;
    }

    div.buttonsRow{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-content: center;
        width: 100%;
        margin-top: 3rem;
        margin-bottom: 10px;
    }

    div.featureTag{
        display: flex;
        flex-direction: row;
        margin-left: 10px;
        margin-bottom: 10px;
        justify-content: center;
    }

    div.bookShelf{
        flex-direction: column;
        display: flex;
    }
}