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

body {
    font-family: "Outfit", sans-serif;
    font-optical-sizing: auto;
    text-rendering: optimizeLegibility;
    font-size: 15px;
    background-color: #fff;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center bottom;
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: left;
    align-items: flex-start; /* Align the entire layout to the left */

}

.img {
    max-width: 100%; /* Constrain image width to the parent container */
    height: auto; /* Maintain aspect ratio */
}

.container {
    display: flex;
    flex: 1;
    flex-direction: row;
    margin: 0 auto;
    justify-content: flex-start; /* Align items to the start of the container */
    align-items: flex-start; /* Align the entire layout to the left */


}

.menu {
    flex: 1;
    max-width: 220px;
    min-width: 220px;;
    padding: 20px;
    position: static;
    top: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.menu-2 {
    flex: 1;
    position: fixed;
    top: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}


.content {
    flex: 3;
    padding: 20px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
}

.content-item {
    margin: .5em 0em;
    display: flex;
    flex-direction: row;
    gap: 1em; /* Space between image and text */
    overflow: hidden;
    width: 100%; /* Ensure it takes full width of the parent container */
}

.content-item img {
    width: 100%;;
    max-width: 100%; /* Constrain image width to the parent container */
    height: auto; /* Maintain aspect ratio */
}

.content-sub {
    flex: 1; /* Allow the sub-content to take up remaining space */
    display: flex;
    flex-direction: row;
    max-width: 100%;
}

.content-text {
    max-width: 800px;
    margin-bottom: 2em;
}



/* TEXT STYLES */

h4 {
    font-size: 1em;
    font-weight: 300;
    color: #3d4959;
    margin: 5px 0 0;
    padding: 0;
}

h4 a {
    text-decoration: none;
    color: #2b2e32;
    transition: 0.2s ease;
    margin: 0 -1px;
    padding: 0 1px;
}

h4 a:hover {
    color: #f5f7f8;
}

h3 {
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.25rem;
    margin-bottom: 0.5rem;
}

h3 a {
    text-decoration: none;
    box-shadow: inset 0 -4px 0 #ffffff;
    color: #2b2e32;
    transition: 0.2s ease;
    margin: 0 -1px;
    padding: 0 1px;
}

p {
    font-size: 1rem;
    line-height: 1.5rem;
}

p a {
    text-decoration: none;
    color: #000;
    transition: 0.2s ease;
}

p a:hover {
    color: #f5f7f8;
}

@media (max-width: 768px) {
    
    body {
        font-size: 12px;
    }
    
    .container {
        flex-direction: column-reverse;
    }

    .menu {
        position: static;
        max-width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .menu-2 {
        position: static;
        max-width: 100%;
        flex-direction: row;
        gap: 1em;
        flex-wrap: wrap;
        justify-content: center;
        top: auto; /* Remove fixed positioning */
    }

    .menu-item {
        /* No styles defined */
    }

    .pete {
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: center;
    }
}