html,
body {
    color: rgb(94, 94, 94);
    width: 100%;
    overflow-x: hidden;
    /* Prevent horizontal scrollbar. */
}

* {
    box-sizing: border-box;
    /* Prevent padding/margin from breaking elements. */
}

body {
    background-color: #f8f9fa;
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.mobile-header-bar {
    display: none;
}

.story-container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 9rem;
    margin-top: 5rem;
}

.story-image-large-screen {
    text-align: left;
    flex: 0 0 33%;
    padding-top: 6.7rem;
}

.story-text-container {
    flex: 0 0 60%;
}

.story-image-mobile {
    display: none;
}

.story-title {
    font-size: 2.5rem;
    color: rgb(80, 80, 80);
    margin-left: -1rem;
}

.story-text {
    font-size: 1.2rem;
    line-height: 1.6;
}

.story-link {
    color: rgb(0, 0, 0);
    font-weight: 400;
    text-decoration: underline;
    text-decoration-color: rgb(150, 150, 150);
    text-underline-offset: 4px;
}

/* Footer section in desktop. */
.footer-section {
    text-align: center;
    width: 100%;
    margin-top: 8rem;
}

.footer-links {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 60px;
    padding: 0 20px;
}

.footer-link-column {
    flex: 1;
    min-width: 200px;
    margin: 0 10px;
    text-align: center;
}

.footer-link-column-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: rgb(94, 94, 94);
    letter-spacing: 0.1em;
}

.footer-link-column-links {
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
    gap: 5px;
    color: rgb(94, 94, 94);
    font-weight: 400;
    letter-spacing: 0.05em;
}

.footer-link-column-links a {
    color: rgb(94, 94, 94);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link-column-links a:hover {
    color: rgb(94, 94, 94);
}

.footer-copyright {
    font-size: 0.8rem;
    font-weight: 100;
    color: rgb(150, 150, 150);
    text-align: center;
    padding-left: 1rem;
}

.footer-copyright p {
    margin-bottom: 0;
}

/* Hamburger menu in mobile or small screens. */
.hamburger-menu {
    display: none;
}

.hamburger-menu-icon {
    position: fixed;
    top: 15px;
    right: 20px;
    font-size: 30px;
    z-index: 1001;
}

@keyframes rotate720 {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(720deg);
    }
}

.rotate-once {
    animation: rotate720 0.5s ease;
}

.hamburger-menu-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 60%;
    background-color: white;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    padding: 20px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.hamburger-menu-sidebar.open {
    transform: translateX(0);
}

.hamburger-menu-sidebar-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hamburger-menu-sidebar-links a {
    display: inline-block;
    margin: 8px 0;
    font-size: 1rem;
    text-decoration: none;
    color: #333;
}

.hamburger-menu-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    /* padding-top: 20px; */
}

.hamburger-menu-sidebar-close {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin: 0;
    width: 100%;
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
}

.hamburger-menu-sidebar-close i {
    font-size: 2rem;
    color: #333;
}

.hamburger-menu-divider {
    border: none;
    border-top: 1px solid rgb(130, 130, 130);
    margin: 10px 0;
    width: 100%;
}

/* For smaller tablet screens. E.g. iPad Air and Mini 768px. */
@media (max-width: 1000px) {

    .col-lg-8.col-md-10.col-12 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .story-image-large-screen {
        display: none;
    }

    /* Make the text container to be middle of the page horizontally. */
    .story-text-container {
        margin: 0;
        flex: 0 0 100%;
    }

    .story-title {
        margin-bottom: 2rem !important;
        margin-left: 0;
    }

    .story-image-mobile {
        display: block;
        width: 100%;
        max-width: none;
        margin: 0;
        margin-top: 4rem;
        margin-bottom: 3rem;
    }

    .story-text {
        text-align: justify;
        font-size: 1.1rem;
        margin-left: 1.5rem !important;
        margin-right: 1.5rem !important;
    }

    .footer-links {
        display: none;
    }

    .hamburger-menu-sidebar {
        width: 40%;
    }

    .hamburger-menu {
        display: block;
    }

    .mobile-header-bar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 65px;
        background-color: #f8f9fa;
        z-index: 1000;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        padding: 10px 20px 10px 20px;
    }

    .hamburger-menu-icon {
        position: fixed;
        top: 15px;
        right: 20px;
        font-size: 28px;
        z-index: 9999;
    }
}

/* For mobile phone screens. E.g. iPhone 12 Pro 390px. */
@media (max-width: 450px) {

    .main-section {
        height: 100vh;
        padding: 2rem 0 2rem 0;
    }

    .hamburger-menu-sidebar {
        width: 60%;
    }
}