﻿.fixed-image {
    position: sticky;
    top: 0;
    overflow: hidden;
}

    .fixed-image img {
        width: 100%;
        height: 100vh;
        object-fit: cover;
        position: relative;
    }

    .fixed-image::before {
        position: absolute;
        content: "";
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: var(--white);
        z-index: 5;
        transition: left 1s ease-in-out;
    }

    .fixed-image.active::before {
        left: 100%;
    }

.page-content {
    padding: 3rem 0;
}

    .page-content h1 {
        font-weight: 700;
        font-variation-settings: "wdth" 125;
        margin-bottom: 2rem;
        overflow: hidden;
        position: relative;
    }

        .page-content h1::after {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: var(--white);
            transition: top 1s ease-in-out;
        }

        .page-content h1.active::after {
            top: 100%;
        }

    .page-content .sub-head {
        display: flex;
        justify-content: space-between;
        margin-bottom: 2rem;
    }

        .page-content .sub-head .tags {
            display: flex;
            gap: .5rem;
            flex-wrap: wrap;
            margin-bottom: 2rem;
        }

            .page-content .sub-head .tags .tag {
                background-color: var(--gray);
                font-size: .8rem;
                padding: 3px 10px;
                font-weight: 400;
            }

.blog-content h2 {
    font-size: 1.5rem;
    line-height: 1;
    font-weight: 600;
    font-variation-settings: "wdth" 125;
    margin-bottom: 1rem;
}

@media(max-width: 992px){
    .content .row {
        flex-direction: column-reverse !important;
    }
    .fixed-image img {
        height: auto;
    }
}

@media(max-width: 475px){
    .page-content .sub-head {
        flex-direction: column;
        gap: 1rem;
    }
}