@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

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

body {
    font-family: "EB Garamond", serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    background-color: #FDF9F0;
}

.about_author p:first-of-type::first-letter {
    font-size: 60px;
    font-weight: 700;
    float: left;
    line-height: 0.8;
    margin-right: 10px;
}

.transcript blockquote, .about_author blockquote{
    font-family: "playfair display", serif;
    font-weight: 400;
    font-size: 24px;
    font-style: italic;
    text-align: center;
    line-height: 1.2;
    color: #AF2B3E;
    background-color: #F7F3EA;
    padding: 2rem;
    border-top: 1px solid #C7C7BF;
    border-bottom: 1px solid #C7C7BF;
    margin: 2rem 0;
}

.learn blockquote{
    font-family: "playfair display", serif;
    font-weight: 400;
    font-size: 24px;
    font-style: italic;
    text-align: center;
    line-height: 1.2;
    color: #101010;
    padding: 2rem 0;
    border-top: 1px solid #C7C7BF;
    border-bottom: 1px solid #C7C7BF;
    margin: 2rem 0;
}

.course-cards {
    counter-reset: course;
}

.course-card {
    counter-increment: course;
    position: relative;
}

.card-number {
    display: block;
    font-size: 40px;
    letter-spacing: 0.15em;
    color: #C7C7BF;
    position: absolute;
    right: 1rem;
    top: 0;
}

.card-number::before {
    content: counter(course, decimal-leading-zero);
}


@media screen and (min-width: 991px) {
    .transcript blockquote, .about_author blockquote, .learn blockquote{
        font-size: 36px;
    }
}

/* Category filter horizontal scroll & visible custom scrollbar */
.category-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #C7C7BF #F3EFE6;
}

.category-scroll::-webkit-scrollbar {
    height: 6px;
}

.category-scroll::-webkit-scrollbar-track {
    background: #F3EFE6;
    border-radius: 9999px;
}

.category-scroll::-webkit-scrollbar-thumb {
    background: #C7C7BF;
    border-radius: 9999px;
    transition: background-color 0.2s ease;
}

.category-scroll::-webkit-scrollbar-thumb:hover {
    background: #E11D48;
}
