* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: 'TH Epika Serif';
    src: url('./fonts/epika-serif-regular.woff2') format('woff2'), url('./fonts/epika-serif-regular.woff') format('woff');
}

@font-face {
    font-family: 'TH Alkes';
    src: url('./fonts/alkes-regular.woff2') format('woff2'), url('./fonts/alkes-regular.woff') format('woff');
}

@font-face {
    font-family: 'TH Alkes Bold';
    src: url('./fonts/alkes-bold.woff2') format('woff2'), url('./fonts/alkes-bold.woff') format('woff');
}

body {
    background: #e7e7de;
    text-align: center;
}

.hero-section {
    position: relative;
    width: 100%;
    text-align: center;
    overflow: hidden;
    padding-bottom: 85px;
}

.hero-section img.book {
    width: 80%;
    max-width: 325px;
    margin-top: 70px;
    border-radius: 3px 10px 10px 3px;
    box-shadow: 0 10px 25px 2px rgba(0, 0, 0, 0.25);
}

.hero-section h1 {
    width: 90%;
    margin: 50px auto 10px auto;
    max-width: 810px;
    line-height: 1.3;
}

.hero-section p.subtitle {
    max-width: 650px;
    margin-top: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "TH Epika Serif", serif;
    font-weight: 400;
    font-style: normal;
}

h1 {
    font-size: 52px;
}

h2 {
    width: 90%;
    font-size: 42px;
    margin-bottom: 15px;
    margin-left: auto;
    margin-right: auto;
}

h3 {
    width: 90%;
    font-size: 32px;
    margin: 20px auto 0 auto;
    max-width: 500px;
}

.subtitle {
    font-family: -apple-system, Helvetica, sans-serif;
    color: #7a7a6d;
    width: 90%;
    max-width: 600px;
    margin: 0 auto 32px auto;
    font-size: 20px;
    line-height: 1.5;
}

.slim-bottom-margin {
    margin-bottom: 15px;
}

.highlight {
    color: #4d4d40;
    font-weight: 500;
}

.small {
    font-size: 16px;
    max-width: 400px;
    margin: 10px auto 0 auto;
}

.extra-margin-top {
    margin-top: 100px;
}

.extra-features {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 0;
    margin-bottom: 50px;
}

.takeaways {
    padding: 210px 0 55px 0;
    flex: 1;
    border-right: 1px solid #cfcfbb;
    perspective: 500px;
}

.takeaways img {
    width: 80%;
    max-width: 500px;
    border-radius: 10px 2px 2px 2px;
    border: 1px solid #cfcfbb;
    transition: 0.3s ease-in-out;
    transform-style: preserve-3d;
    transform-origin: center center;
    margin-bottom: 10px;
    box-shadow: 0 10px 25px 2px rgba(0, 0, 0, 0.08);
}

.takeaways img:hover {
    transform: rotateY(3deg);
}

.flashcards {
    padding: 85px 0 55px 0;
    flex: 1;
}

.floating-buy-button {
    position: fixed;
    bottom: 50px;
    left: calc(50% - 105px);
    text-decoration: none;
    font-family: -apple-system, BlinkMacSystemFont, Helvetica, sans-serif;
    margin-left: 18px;
    visibility: hidden;
    transform: scale(0);
    transition: 0.2s ease-in-out;
}

.show {
    visibility: visible;
    transform: scale(1);
}

.branding {
    width: fit-content;
    margin: 50px auto 25px auto;
}

.branding img.logo {
    display: block;
    width: 150px;
    margin-bottom: 20px;
}

img.divider {
    width: 130px;
}

.book-features {
    text-align: center;
    overflow: hidden;
}

.overview {
    width: 100%;
    text-align: center;
    margin-top: 50px;
    perspective: 1000px;
}

.overview img {
    width: 85%;
    max-width: 1000px;
    height: 100%;
    transform-style: preserve-3d;
    transform-origin: center center;
    transform: rotateX(10deg);
    border-radius: 6px;
    border: 1px solid #cfcfbb;
    transition: 0.4s ease-in-out;
    box-shadow: 0 10px 25px 2px rgba(0, 0, 0, 0.08);
}

.overview img:hover {
    transform: rotateX(0deg);
}

.card-stack {
    width: 80%;
    height: 435px;
    max-width: 500px;
    position: relative;
    margin: 0 auto;
}

.card-stack img {
    box-shadow: 0 10px 25px 2px rgba(0, 0, 0, 0.08);
}

.card-stack img.center-card {
    position: absolute;
    bottom: 50px;
    left: 15%;
    width: 80%;
    max-width: 350px;
    border-radius: 10px;
    border: 1px solid #cfcfbb;
    transition: 0.3s ease-in-out;
}

.card-stack .left-card {
    position: absolute;
    bottom: 50px;
    left: 5%;
    width: 75%;
    max-width: 320px;
    border-radius: 10px;
    border: 1px solid #cfcfbb;
    transform: rotateZ(-5deg);
    transition: 0.3s ease-in-out;
}

.card-stack .right-card {
    position: absolute;
    bottom: 50px;
    right: 5%;
    width: 75%;
    max-width: 320px;
    border-radius: 10px;
    border: 1px solid #cfcfbb;
    transform: rotateZ(5deg);
    transition: 0.3s ease-in-out;
}

.card-stack:hover .center-card {
    transform: translateY(-15px);
}

.card-stack:hover .left-card {
    transform: translate(-25px, -8px) rotateZ(-10deg);
}

.card-stack:hover .right-card {
    transform: translate(25px, -8px) rotateZ(10deg);
}

.ready-buy {
    margin-top: 50px;
    text-align: center;
}

.feature-recap {
    width: 90%;
    max-width: 700px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 0 auto 60px auto;
}

.feature-recap .feature-item {
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-item img {
    width: 18px;
}

.feature-item p {
    font-family: -apple-system, Helvetica, sans-serif;
    color: #7a7a6d;
    font-weight: 600;
    font-size: 14px;
    margin-left: 10px;
}

@keyframes tree-anim {
    0% {
        transform: rotate(0deg) scale(1.1);
    }

    50% {
        transform: rotate(1deg) scale(1.1);
    }

    100% {
        transform: rotate(0deg) scale(1.1);
    }
}

@keyframes tree-anim-mobile {
    0% {
        transform: rotate(0deg) scale(0.5);
    }

    50% {
        transform: rotate(1deg) scale(0.5);
    }

    100% {
        transform: rotate(0deg) scale(0.5);
    }
}

.hero-section img.left-tree {
    position: absolute;
    left: 0;
    top: 80px;
    animation: tree-anim 3s infinite alternate;
}

.hero-section img.right-tree {
    position: absolute;
    right: 0;
    top: 50px;
    animation: tree-anim 3s infinite alternate;
}

.hero-section img.left-mountain {
    position: absolute;
    left: 0;
    top: 670px;
    transform: scale(1.1);
    z-index: -999;
}

.hero-section img.right-mountain {
    position: absolute;
    right: 0;
    top: 685px;
    transform: scale(1.1);
    z-index: -999;
}

.hero-section img.rays {
    position: absolute;
    left: 50%;
    top: 30px;
    z-index: -999;
    transform: translateX(-50%);
}

footer {
    padding: 65px 0;
    text-align: center;
}

a {
    text-decoration: none;
}

.golden-button {
    color: #fff;
    padding: 18px 32px;
    background-color: #f7b510;
    background-image: radial-gradient(93% 87% at 87% 89%, rgba(0, 0, 0, 0.33) 0%, transparent 86.18%), radial-gradient(66% 66% at 26% 20%, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 69.79%, rgba(255, 255, 255, 0) 100%);
    box-shadow: inset -3px -3px 9px rgba(255, 255, 255, 0.25), inset 0px 3px 9px rgba(255, 255, 255, 0.3), inset 0px 1px 1px rgba(255, 255, 255, 0.6), inset 0px -8px 36px rgba(0, 0, 0, 0.3), inset 0px 1px 5px rgba(255, 255, 255, 0.6), 2px 19px 31px rgba(0, 0, 0, 0.2);
    border-radius: 14px;
    font-weight: bold;
    font-size: 18px;
    border: 0;
    font-family: -apple-system, BlinkMacSystemFont, Helvetica, sans-serif;
    touch-action: manipulation;
    cursor: pointer;
}

.golden-button:hover, .buy-button:hover {
    transform: scale(1.1);
}

.buy-button {
    width: fit-content;
    margin: 42px auto 0 auto;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

.hulry-sign {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 100px 0 25px 0;
}

.hulry-sign p {
    font-family: -apple-system, BlinkMacSystemFont, Helvetica, sans-serif;
    font-size: 16px;
    color: #7a7a6d;
    font-weight: 600;
}

.hulry-sign img {
    width: 60px;
    opacity: 0.5;
    margin: 0 6px;
}

.footer-links {
    max-width: 200px;
    display: flex;
    margin: 0 auto;
    text-align: center;
    justify-content: center;
}

.footer-links a {
    font-family: -apple-system, BlinkMacSystemFont, Helvetica, sans-serif;
    color: #7a7a6d;
    font-size: 14px;
    margin-right: 15px;
    border-bottom: 1px dotted #7a7a6d;
}

.footer-links a:last-child {
    margin-right: 0;
}

p.copyright {
    font-family: -apple-system, BlinkMacSystemFont, Helvetica, sans-serif;
    font-size: 12px;
    color: #7a7a6d;
    margin-top: 20px;
}

.compact-divider-line {
    display: none;
}

.testimonials {
    width: 90%;
    max-width: 700px;
    margin: 0 auto;
}

.testimonial p {
    font-family: Georgia, serif;
    font-size: 20px;
    font-style: italic;
    color: #7a7a6d;
    line-height: 1.4;
}

.testimonial .customer-info {
    display: flex;
    align-items: center;
    margin: 20px auto;
    justify-content: center;
}

.customer-info img {
    width: 32px;
    border-radius: 50%;
}

.customer-info p {
    font-family: -apple-system, BlinkMacSystemFont, Helvetica, sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    margin-left: 10px;
    color: #4d4d40;
}

.article-content {
    width: 90%;
    max-width: 900px;
    margin: 20px auto;
}

.article-content header {
    text-align: center;
}

.article-content .content {
    width: 95%;
    max-width: 550px;
    margin: 35px auto;
    border-top: 1px solid #cfcfbb;
}

.article-content .content p {
    font-family: "TH Alkes", serif;
    font-size: 19px;
    margin: 30px auto;
    line-height: 1.65;
    word-wrap: break-word;
}

.article-content .content blockquote {
    font-family: Georgia, serif;
    color: #7a7a6d;
    font-size: 28px;
    font-style: italic;
    line-height: 1.35;
    margin: 50px 0;
    text-align: center;
}

.article-content .content h2 {
    margin: 45px 0 5px 0;
}

.article-content .content .list-subtitle {
    color: #7a7a6d;
    font-family: -apple-system, BlinkMacSystemFont, Helvetica, sans-serif;
    font-style: italic;
    margin: 0;
}

.article-content .content a {
    text-decoration: none;
    border-bottom: 1px dotted #7a7a6d;
    color: #7a7a6d;
}

.article-content .content a:hover {
    text-decoration: none;
    border-bottom: 1px dotted #525249;
    color: #525249;
}

.content span.numbering {
    color: #7a7a6d;
    margin-right: 8px;
}

.slim-bottom-padding {
    padding-bottom: 30px !important;
}

.article-content .content .dropcap {
    font-family: "TH Alkes Bold", serif;
    font-size: 3em;
    font-weight: bold;
    float: left;
    margin-right: 0.1em;
    line-height: 1;
}

.featured-review img {
    width: 135px;
}

.featured-review p.review {
    width: 90%;
    max-width: 500px;
    margin: 10px auto 20px auto;
    font-family: -apple-system, BlinkMacSystemFont, Helvetica, sans-serif;
    color: #4d4d40;
    font-style: italic;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.35;
}

.review-author {
    max-width: 200px;
    display: flex;
    align-content: center;
    justify-content: center;
    margin: 30px auto 60px;
}

.review-author p {
    margin: 5px 0 0 8px;
    font-family: -apple-system, BlinkMacSystemFont, Helvetica, sans-serif;
    font-size: 14px;
    color: #7a7a6d;
    font-weight: 600;
}

.featured-review .review-author img {
    width: 28px;
    border-radius: 6px;
    border: 1px solid #cfcfbb;
}

.running-offer {
    position: sticky;
    top: 20px;
    display: inline-flex;
    align-items: center;
    background-color: #f6f6f6;
    padding: 7px 14px;
    border-radius: 6px;
    z-index: 9999;
    margin: 0 20px 25px 20px;
}

.running-offer img {
    width: 15px;
    margin-right: 8px;
}

.running-offer p {
    font-family: -apple-system, BlinkMacSystemFont, Helvetica, sans-serif;
    color: #4d4d40;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

.running-offer p strong {
    font-weight: 600;
}

@media only screen and (max-width: 480px) {
    h1 {
        font-size: 38px;
        line-height: 1.35;
    }

    h2 {
        font-size: 32px;
    }

    h3 {
        font-size: 32px;
    }

    .subtitle {
        font-size: 17px;
    }

    .small {
        font-size: 17px;
    }

    .hero-section img.left-tree {
        left: -100px;
        top: -100px;
        animation: tree-anim-mobile 3s infinite alternate;
        opacity: 0.5;
    }

    .hero-section img.right-tree {
        position: absolute;
        right: -100px;
        top: -90px;
        animation: tree-anim-mobile 3s infinite alternate;
        opacity: 0.5;
    }

    .hero-section img.left-mountain {
        left: -200px;
        top: 880px;
        transform: scale(0.5);
    }

    .hero-section img.right-mountain {
        right: -200px;
        top: 865px;
        transform: scale(0.5);
    }

    .hero-section img.rays {
        top: 110px;
    }

    .takeaways {
        width: 100%;
        flex: unset;
        padding: 60px 0;
        border-right: 0;
    }

    .flashcards {
        width: 100%;
        flex: unset;
        padding: 60px 0;
    }

    .card-stack {
        height: 250px;
    }

    .feature-recap {
        grid-template-columns: 1fr;
        grid-gap: 20px;
    }

    footer {
        padding-top: 20px;
    }

    .extra-features {
        margin-bottom: 20px;
    }

    .overview img {
        width: 150%;
        max-width: 1000px;
        margin-left: 40px;
        margin-bottom: 60px;
    }

    .compact-divider-line {
        display: block;
        width: 70%;
        height: 1px;
        background: #cfcfbb;
        margin: 10px auto;
    }

    .card-stack img.center-card {
        left: 10%;
    }

    .featured-review {
        margin-top: 50px;
    }
}
