.action-bar-button img {
    position: fixed;
    top: 10px;
    z-index: 1000;
    margin: 1.25vw;
}

.blog-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/images/bg_blog.jpg');
    background-size: cover;
    background-position: center;
}

.blog-bg::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
}

.blog-main-container {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto 30px auto;
    box-sizing: border-box;
    height: auto;
}

@media (max-width: 1024px) {
    .blog-main-container {
        flex-direction: column;
    }
}

.blog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    min-height: 750px;
    background: var(--dark-blue);
    background: linear-gradient(
        90deg,
        rgba(43, 67, 120, 1) 0%,
        rgba(43, 67, 120, 0.8) 10%,
        rgba(0, 212, 255, 0) 60%
    );
}

.blog-hero-container {
    margin-top: 5rem;
    flex-shrink: 0;
    width: 35vw;
    margin-right: 20px;
    padding-top: 30px;
    padding-bottom: 20px;
    box-sizing: border-box;
    position: sticky;
    top: 80px;
    align-self: flex-start;
}

.blog-hero-logo {
    width: 100px;
    height: 100px;
    margin: 0 0 20px 0;
    padding: 0;
    border-radius: 50%;
}

.blog-hero-logo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.blog-hero-content p {
    margin-top: 2rem;
    display: block;
    position: relative;
    color: var(--white);
    padding: 0;
    max-width: none;
    color: var(--white);
}

.blog-title-2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin: 0;
    padding: 0;
    line-height: 3rem;
    color: var(--white);
}

.blog-title-1 {
    font-size: 1.5rem;
    font-weight: 400;
    margin: 0;
    padding: 0;
    color: var(--white);
}

.blog-content {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 20px;
    justify-content: baseline;
    box-sizing: border-box;
    background-color: transparent;
    max-width: 50%;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding: 100px 5px;
    /* border: 1px solid red; */
}

.blog-content::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.blog-content > a {
    position: relative;
    flex: 1 1 calc(50% - 20px);
    max-width: calc(50% - 20px);
    text-decoration: none;
    color: white;
    overflow: hidden;
    border: 2px solid var(--white);
    border-radius: 10px;
    transition: 0.2s;
}

.blog-content > a:hover {
    transform: scale(1.01);
}

.blog-content > a > img {
    width: 100%;
    max-height: 200px;
    display: block;
    object-fit: cover;
}

.blog-content > a > p {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    margin: 0;
    background: linear-gradient(
        0deg,
        rgba(43, 67, 120, 1) 0%,
        rgba(43, 67, 120, 0.9) 25%,
        rgba(43, 67, 120, 0.6) 50%,
        rgba(43, 67, 120, 0.3) 75%,
        rgba(43, 67, 120, 0) 100%
    );
    text-align: center;
    font-size: 18px;
    font-weight: 400;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}

.blog-hero-container .blog-hero-description {
    max-width: 400px;
}

@media screen and (max-width: 1400px) {
    .blog-content > a {
        flex: 1 1 calc(100% - 5px);
        max-width: calc(100% - 5px);
    }

    .blog-content > a > p {
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 610px) {
    .blog-hero-logo {
        margin: 0;
        display: none;
    }

    .blog-overlay {
        background: linear-gradient(
            rgba(0, 0, 0, 0.3),
            rgba(0, 0, 0, 0.3)
        );
    }

    .blog-content {
        max-width: none;
        max-height: none;
        padding: 0px 10px 100px 10px;
        width: 100%;
        height: 100%;
        overflow: auto;
    }

    .blog-hero-content {
        margin-top: 50px;
    }

    .blog-hero-container {
        margin-top: 2em;
        width: 100vw;
        text-align: center;
        padding-bottom: 40px;
        position: relative;
        top: auto;
    }

    .blog-hero-container .blog-hero-description {
        display: none;
    }
}
