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

.parent-container {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    align-content: stretch;
    position: relative;
    --content-min-width: 100%;
    --content-min-height: 100dvh;

    min-height: var(--content-min-height);
    min-width: var(--content-min-width);
}

.title-container {
    width: 480px;
    height: 750px;
    position: sticky;
    top: 0;
    background-color: #c6dcff;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

.title-container .main-title {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.title-container .main-title p.title {
    color: rgb(0, 83, 212);
    font-family: 'Gasoek One', sans-serif;
    font-size: 80px;
    font-weight: 400;
    letter-spacing: -0.64px;
    line-height: 72px;
    text-align: center;
    word-break: break-word;
    margin-bottom: 0.625rem;
}

.title-container .main-title img {
    height: 150px;
}

.title-container .main-title .subtitle {
    color: rgb(0, 83, 212);
    font-family: "Plus Jakarta Sans", sans-serif;
    width: 360px;
    white-space: pre-wrap;
    word-break: break-word;
    font-weight: 500;
    text-align: center;
    font-size: 20px;
    margin-top: 0;
    letter-spacing: -0.4px;
    line-height: 24px;
    margin-bottom: 2rem;
}

.title-container .title-footer {
    color: rgb(0, 83, 212);
    font-family: "Plus Jakarta Sans", sans-serif;
    display: flex;
    overflow: hidden;
    white-space: nowrap;
    font-size: 20px;
    font-weight: 600;
    justify-content: center;
    align-items: center;
    width: 90%;
    letter-spacing: -0.16px;
    line-height: 24px;
}

.scroll-text {
    flex-shrink: 0;
    padding-right: 50px;
    animation: scrollText 15s linear infinite;
}

@keyframes scrollText {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.content-container {
    display: flex;
    flex-direction: column;
    flex: 1 0 0;
    min-height: var(--content-min-height);
    position: relative;
}

.top-container {
    height: 105dvh;
    position: sticky;
    background-color: rgb(0, 83, 212);
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.middle-container {
    min-height: 130dvh;
    position: sticky;
    background-color: #5f6d3b;
    color: #E9F9B2;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    font-family: 'Plus Jakarta Sans', sans-serif;
    padding: 80px 20px;
    gap: 40px;
}

.shape-divider {
    display: flex;
    margin-bottom: -1px;
}

.curtain-footer {
    height: 80dvh;
    background-color: #f9f1e2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: rgb(51, 33, 21);
    /*position: relative;*/
}

.curtain-footer:before {
    content: "";
    margin-bottom: auto;
}

.curtain-footer p {
    font-size: 24px;
    font-weight: 600;
    font-family: "Plus Jakarta Sans", sans-serif;
    letter-spacing: -0.2304px;
    line-height: 26.8px;
    margin-top: auto;
    margin-bottom: 30px;
}

.curtain-footer h1 {
    font-size: 80px;
    font-family: 'Gasoek One', sans-serif;
    font-weight: 400;
    letter-spacing: -0.64px;
    line-height: 72px;
    text-align: center;
    margin-top: 0;
    margin-bottom: 2rem;
}

.curtain-footer .footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
}

.curtain-footer .footer-links a {
    color: rgb(51, 33, 21);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 500;
}

.curtain-footer .footer-links a:hover {
    color: rgb(109, 84, 91);
}

.title-container nav.desktop {
    background-color: #ffffff;
    border-radius: 9999px;
    display: flex;
    align-content: stretch;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
    padding: 16px 24px;
    position: relative;
}

.title-container nav.desktop a {
    font-family: 'Plus Jakarta Sans', sans-serif;
    text-decoration: none;
    color: rgb(117, 111, 108);
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}

.title-container nav.desktop a.active {
    color: rgb(51, 33, 21);
}

.parent-container nav.mobile {
    background-color: #ffffff;
    border-radius: 9999px;
    display: none;
    align-content: stretch;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
    padding: 16px 24px;
    position: fixed;
    top: 20px;
    left: calc(50% + 0.5px);
    transform: translateX(-50%);
    z-index: 10;
}

.parent-container nav.mobile a {
    font-family: 'Plus Jakarta Sans', sans-serif;
    text-decoration: none;
    color: rgb(117, 111, 108);
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}

.parent-container nav.mobile a.active {
    color: rgb(51, 33, 21);
}

.scroll-animation {
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    width: 100%;
}

.scroll-animation.is-visible {
    opacity: 1;
}

.featured-article-outer-container {
    width: 344px;
    height: 400px;
    background-color: #c6dcff;
    transition: transform 0.3s ease-out;
}

.featured-article-container-main-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Plus Jakarta Sans', sans-serif;
    padding: 10px 10px 0;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.featured-article-container-main-page p:first-of-type {
    color: rgb(0, 83, 212);
    font-size: 16px;
    font-weight: 400;
    margin-top: auto;
    margin-bottom: 0.4rem;
}

.main-page-featured-article-title {
    color: #332115;
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    letter-spacing: -0.2304px;
    margin-top: 0;
    margin-bottom: 4rem;
}

.featured-article-outer-container:hover {
    transform: scaleX(1.03) scaleY(1.03);
    cursor: pointer;
}

.featured-article-thumbnail {
    width: 100%;
    height: 50%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    margin: 0 0 2rem;
    padding: 0;
}

.featured-article-thumbnail img {
    /*transform: scaleX(1.3) scaleY(1.3);*/
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px
}

.middle-container .scroll-animation .heading {
    font-size: 48px;
    font-weight: 600;
    letter-spacing: -0.512px;
    width: 100%;
    text-align: center;
}

.middle-container .scroll-animation .latest-articles {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.middle-container .scroll-animation .latest-articles h3 {
    font-weight: 600;
    font-size: 24px;
    margin-bottom: 0;
}

.middle-container .scroll-animation .latest-articles h4 {
    font-weight: 400;
    font-size: 15px;
}

.middle-container .scroll-animation .latest-articles .article-content h4 {
    margin-top: 10px;
}

.middle-container .scroll-animation .latest-articles .article-title .bottom-content {
    display: flex;
    gap: 20px;
}

.middle-container .scroll-animation .latest-articles .article-title .bottom-content a {
    color: inherit;
    font-weight: 500;
}

.middle-container .scroll-animation .article-title {
    border-bottom: 2px dashed #E9F9B2;
    display: flex;
    align-items: center;
    gap: 25px;
}

.middle-container .scroll-animation .article-title .index {
    font-family: "Xanh Mono", sans-serif;
    font-size: 104px;
    font-weight: 400;
}

.middle-container .scroll-animation .article-title .article-content {
    display: flex;
    flex-direction: column;
}

.middle-container .scroll-animation .article-title:first-of-type {
    border-top: 2px dashed #E9F9B2;
}

.middle-container .scroll-animation #read-more {
    color: inherit;
    text-align: center;
    font-weight: 500;
}

.cat-hello {
    position: relative;
    width: min(360px, 80%);
    aspect-ratio: 280 / 186;
}

.cat-hello .cat-hello-frame {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: auto;
    animation-duration: 1.6s;
    animation-timing-function: step-end;
    animation-iteration-count: infinite;
}

.cat-hello .cat-hello-frame-before {
    animation-name: cat-hello-before;
}

.cat-hello .cat-hello-frame-after {
    animation-name: cat-hello-after;
}

@keyframes cat-hello-before {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

@keyframes cat-hello-after {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }
}

.articles-image {
    box-sizing: border-box;
    width: 100%;
    background-color: #5f6d3b;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 120px 20px;
}

.articles-section {
    box-sizing: border-box;
    background-color: rgb(0, 83, 212);
    color: #e9f9b2;
    font-family: 'Plus Jakarta Sans', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 80px 20px;
}

.articles-section .articles-heading {
    font-size: 48px;
    font-weight: 600;
    letter-spacing: -1px;
    line-height: 1.2;
    text-align: center;
    margin: 0;
    color: #c6dcff;
    border-bottom: 3px solid #c6dcff;
}

.articles-section .articles-grid {
    width: 100%;
    max-width: 708px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 344px));
    justify-content: center;
    gap: 20px;
}

.articles-section .article-card {
    width: 100%;
    max-width: 344px;
    height: 400px;
    margin: 0 auto;
    background-color: #c6dcff;
    color: #332115;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    transition: transform 0.3s ease-out;
}

.articles-section .article-card:hover {
    transform: scale(1.03);
}

.articles-section .article-card-thumbnail {
    flex-shrink: 0;
    height: 200px;
    margin: 10px 10px 0;
    border-radius: 24px;
    overflow: hidden;
}

.articles-section .article-card-thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.articles-section .article-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 24px;
    text-align: center;
}

.articles-section .article-card-date {
    color: #756f6c;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: -0.0512px;
    line-height: 1.2;
    margin: auto 0 0.4rem;
}

.articles-section .article-card-title {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.2304px;
    line-height: 1.2;
    margin: 0 0 4rem;
}

.articles-section .articles-view-all {
    color: inherit;
    font-size: 20px;
    font-weight: 500;
}

.post {
    background-color: #ffffff;
    color: #332115;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.post-cover {
    display: block;
    width: 100%;
    aspect-ratio: 882 / 580;
    object-fit: cover;
}

.post-header {
    box-sizing: border-box;
    width: calc(100% - 40px);
    max-width: 758px;
    margin: 0 auto;
    padding: 64px 0 76px;
    text-align: center;
}

.post-title {
    margin: 0;
    font-size: 48px;
    font-weight: 600;
    letter-spacing: -0.512px;
    line-height: 1.2;
}

.post-summary {
    margin: 10px 0 0;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.2;
}

.post-date {
    margin: 32px 0 0;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.2;
}

.post-rule {
    box-sizing: border-box;
    width: calc(100% - 40px);
    max-width: 758px;
    margin: 0 auto;
    border: 0;
    border-top: 2px dotted #332115;
}

.post-body {
    box-sizing: border-box;
    width: calc(100% - 40px);
    max-width: 680px;
    margin: 80px auto 84px;
    font-size: 20px;
    line-height: 30px;
}

.post-body p {
    margin: 0 0 30px;
}

.post-body p:last-child {
    margin-bottom: 0;
}

.post-body a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.post-body h3 {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    margin: 40px 0 16px;
}

.post-body h4 {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    margin: 32px 0 12px;
}

.post-body img {
    display: block;
    box-sizing: border-box;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.post-body ul,
.post-body ol {
    margin: 0 0 30px;
    padding-left: 24px;
}

.post-body li {
    margin-bottom: 8px;
}

.post-body blockquote {
    margin: 0 0 30px;
    padding-left: 20px;
    border-left: 4px dotted #332115;
}

.post-body pre {
    box-sizing: border-box;
    max-width: 100%;
    overflow-x: auto;
    padding: 20px;
    background-color: #f9f1e2;
    font-size: 16px;
    line-height: 24px;
}

.post-body code {
    font-family: "Anonymous Pro", monospace;
    font-size: 0.9em;
}

.post-body pre code {
    font-size: inherit;
}

.post-signature {
    width: calc(100% - 40px);
    max-width: 758px;
    margin: 53px auto 80px;
    text-align: center;
}

.post-signature img {
    display: inline-block;
    width: 180px;
    height: auto;
}

@media (max-width: 800px) {
    .articles-section .articles-heading {
        font-size: 32px;
        letter-spacing: -0.512px;
    }

    .articles-section .articles-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .post-title {
        font-size: 32px;
        letter-spacing: -0.3136px;
    }

    .post-summary {
        font-size: 20px;
    }

    .post-date {
        font-size: 16px;
    }

    .post-header {
        padding: 84px 0 56px;
    }

    .post-body {
        margin-top: 56px;
        margin-bottom: 64px;
    }

    .post-signature {
        margin-top: 33px;
        margin-bottom: 56px;
    }

    .post-cover {
        aspect-ratio: 519 / 319;
        min-height: 54dvh;
    }
}

@media (max-width: 1265px) {
    .parent-container {
        flex-direction: column;
    }

    .title-container {
        width: 100%;
        height: 100dvh;
    }

    .content-container {
        flex: none;
        width: 100%;
    }

    .curtain-footer {
        height: 72dvh;
    }

    .title-container nav.desktop {
        opacity: 0;
    }

    .parent-container nav.mobile {
        display: flex;
    }

    .title-container .main-title p.title {
        font-size: 56px;
        letter-spacing: -0.3136px;
        line-height: 50.4px;
        margin-bottom: 0.5rem;
        margin-top: 3rem;
    }

    .title-container .main-title .subtitle {
        font-size: 18px;
        margin-bottom: 3rem;
    }

    .title-container .title-footer {
        opacity: 0;
    }

    .article-page .title-container {
        display: none;
    }
}