@import url('https://fonts.googleapis.com/css2?family=Chango&family=Rokkitt:wght@100;200;300;400;500;600;700;800;900&display=swap');

* {
    padding: 0;
    margin: 0;
}
html {
    height: 100%;
    scroll-padding-top: 100px;
}
body {
    background-color: #FFFEF7;
    min-height: 100vh;
    min-height: 100dvh;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.container {
    min-height: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.navItem {
    display: inline;
    padding: 8px;
    font-family: 'Rokkitt', serif;
    font-weight: 600;
    font-size: 26px;
}

nav {
    color: rgb(90, 90, 90);
    font-family: 'Rokkitt', serif;
    font-weight: 600;
    padding-top: 8px;
}

.toc {
  font-size: 20px;
}

.topBar {
    max-width: 100%;
}

abbr {
    border-bottom: 1px dotted;
}

.stickyTop {
    position: sticky;
    background-color: #FFFEF7;
    top: 0;
}

.sticky {
    margin: 54px 0 0 0;
    position: sticky;
    background-color: #FFFEF7;
    top: 34px;
}

.TOC {
    font-family: 'Rokkitt', serif;
    font-weight: 300;
    font-size: 26px;
    font-weight: bolder;
}

.ulTOC {
    font-family: 'Rokkitt', serif;
    font-weight: 300;
    list-style: none;
    color: #E7653C;
    margin-left: 16px;
    margin-right: 0px;
    padding-left: 10px;
    padding-right: 0px;

}

ol {
    color: rgb(90, 90, 90);
    font-family: 'Rokkitt', serif;
    font-weight: 300;
    list-style: decimal;
    margin-left: 16px;
    margin-right: 0px;
    padding-left: 10px;
    padding-right: 0px;
}

.ulTOC {
    color: rgb(90, 90, 90);
    font-family: 'Rokkitt', serif;
    font-weight: 300;
    margin-left: 16px;
    margin-right: 0px;
    padding-left: 10px;
    padding-right: 0px;
}
.sectionTOC {
    font-family: 'Rokkitt', serif;
    font-weight: 500;
    font-size: 20px;
}

.bookTOC {
    font-weight: 400;
    font-size: 17px;
}

.furtherReading {
    font-family: 'Rokkitt', serif;
    display: inline;
    list-style: none;
    font-size: 21px;
    font-weight: 500;
}

details > div {
  margin-left: 28px;
}

details > summary {
  font-weight: 600;
  font-size: 20px;
  cursor: pointer;
}

details > .furtherReadingSubTitle {
  color: rgb(49, 49, 49);
  font-weight: 500;
  font-size: 18px;
}
details > .furtherReadingAuthor {
  color: rgb(49, 49, 49);
  font-weight: 300;
  font-size: 17px;
  padding-bottom: 4px;
}
.furtherReadingLink {
  font-weight: 400;
  font-size: 16px;
  padding: 4px 0px 8px;
}
details > .furtherReadingBody {
  max-width: 550px;
  font-weight: 400;
  font-size: 17px;
  margin-left: 28px;
  padding: 4px 0px;
}

.subTitleItem {
    font-family: 'Rokkitt', serif;
    list-style: none;
    font-style: normal;
    font-size: 14px;
    font-weight: 400;
}

.author {
    font-family: 'Rokkitt', serif;
    list-style: none;
    font-style: italic;
    font-size: 14px;
    font-weight: 400;
    margin-left: 24px;
    color: rgb(90, 90, 90);
}

.furtherReadingBody {
    font-family: 'Rokkitt', serif;
    list-style: none;
    font-style: normal;
    font-size: 16px;
    font-weight: 400;
    margin-left: 8px;
    padding-bottom: 2px;
}
.readingItem {
    padding-left: 16px;
}

#content {
    max-width: 880px;
    display: flex;
    flex-direction: column;
    flex: 1;
    margin: 0 auto;
    padding: 12px;
}

h1, h2, h3, h4, h5 {
    font-family: 'Rokkitt', serif;
    margin-bottom: 0px;
    font-weight: 700;
}

h1 {
    font-family: 'Chango', cursive;
    font-size: 62px;
    font-weight: 900;
    hyphens: auto;
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
}

.articleSection {
    padding-top: 32px;
}

h2 {
    font-family: 'Chango', cursive;
    font-size: 36px;
    color: rgb(12, 12, 12);
}

h3 {
    font-family: 'Rokkitt', serif;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 0px;
}

hr {
    visibility: hidden;
}

blockquote {
    border-left: 10px solid #E7653C;;
    margin: 1.5em 10px;
    padding: 0.5em 10px;
  }

.summaryWrapper {
    color: rgb(34, 33, 33);
    font-family: 'Rokkitt', serif;
    font-weight: 500;
    font-size: 22px;
    max-width: 80%;
    margin-bottom: 16px;
}

p {
    font-family: 'Rokkitt', serif;
    font-size: 19px;
    color: rgb(49, 49, 49);
    max-width: 70%;
    margin-bottom: 16px;
}

img, .bookCover {
    width: 100%;
    height: auto;
    max-width: 200px;
}

a {
    text-decoration: none;
    color: #E7653C;
}

a:hover {
    opacity: 0.5;
}

.affililateLink {
    text-decoration: none;
    color: #FFFFFF;
}

.bookRight {
    float: right;
    margin-left: 16px;
}

.affililate {
    text-align: center;
    padding: 8px;
    background-color: #E7653C;
    border-radius: 4px;
    margin: 16px 0;
    box-sizing: border-box;
}

.synopsis {
    color: rgb(58, 58, 58);
}

.affililate:hover {
    opacity: 0.5;
}

.sectionWrapper {
    margin: 0 0 42px 0;
}

.bookWrapper {
    margin: 24px 0;
}

.subTitle {
    font-family: 'Rokkitt', serif;
    font-size: 17px;
    font-weight: 500;
    color: rgb(43, 43, 43);
}

.authorWrapper {
    font-family: 'Rokkitt', serif;
    font-size: 14px;
    font-weight: 400;
    color: rgb(90, 90, 90);
    margin: 0px 0px 16px 0px;
}

@media only screen and (max-width: 600px) {
    .navItem {
        padding: 4px;
        font-size: 22px;
    }
    
    .summaryWrapper {
        font-size: 17px;
    }

    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 26px;
    }

    h3 {
        font-size: 20px;
    }

    hr {
        visibility: visible;
        margin-bottom: 32px;
        border: 0; 
        height: 1px; 
        background-image: -webkit-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
        background-image: -moz-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
        background-image: -ms-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
        background-image: -o-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0); 
    }

    .sticky {
        margin: 54px 0 0 0;
        position: sticky;
        background-color: #FFFEF7;
        top: 32px;
    }

    .authorWrapper {
        font-size: 14px;
    }

    .bookWrapper {
        margin: 20px 0;
    }

    .ulTOC {
        list-style: circle;
        color: #E7653C;
    }

    p {
        font-family: 'Rokkitt', serif;
        font-size: 19px;
        color: rgb(66, 66, 66);
        max-width: 100%;
        margin-bottom: 16px;
    }

    .bookRight {
        max-width: 250px;
        width: 70%;
        float: none;
        margin: auto;
    }

    .affililate {
        text-align: center;
        padding: 8px;
        background-color: #E7653C;
        border-radius: 4px;
        margin: 16px 0;
        width: 100%;
        box-sizing: border-box;
    }

    img, .bookCover {
        max-width: none;
    }

    .profile {
        width: 100%;
        height: auto;
        max-width: 200px;
    }
}

/* Footer section */
footer {
    margin: 24px 0 0 0;
    padding: 80px 100px 0;
    background-color: #1E1E1E;
    border-radius: 48px 48px 0 0;
    display:flex;
    margin-top: auto;
    align-items: flex-end;
    justify-content: space-between;
    color: white;
}

@media only screen and (max-width: 600px) {
    footer {
       flex-direction: column;
       padding: 80px 80px 0;

    }
}

.footer-info{
    padding-bottom: 80px;
}
.footer-info {
    margin-bottom: 8px;
}
.footer-info, h4 {
    margin-bottom: 24px;
}

.footer-links {
    list-style-type: none;
}

.footer-img {
    max-width: 100%;
}
