.scroll-thumb {
    height: calc(100% / 6);
}

#landingSection {
    background-image: url(../assets/FPO_Images/WhoWeAre-image-FPO.png);
}

.text-section-container {
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    padding: 0 6%;
}

.text-section-container > div:first-child {
    width: 50%;
}

.text-section-container > div:not(:first-child) {
    width: 40%;
}

.text-section-header {
    font-weight: 800;
    font-size: 40px;
    line-height: 52px;
    letter-spacing: 0%;
    color: #161F38;
    margin-bottom: 24px;
}

.text-section-message {
    font-weight: 500;
    font-size: 24px;
    line-height: 34px;
    letter-spacing: 0%;
    color: #161F38;
    margin-bottom: 40px;
}

#careersImgContainer {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-direction: column;
}

#careersImgCaption {
    font-weight: 700;
    font-size: 24px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    color: #666666;
}

#careersImg {
    background-image: url(../assets/Phase1_Images/Who-we-are-careers-image-2x.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 80%;
    aspect-ratio: 844 / 810;
}

#locationsSlide {
    background: #161F38;
}

#locationsContainer {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    background: #161F38;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6%;
}

#locationsInfo {
    height: 85%;
    display: flex;
    justify-content: space-around;
    flex-direction: column;
}

#locationsHeader {
    font-weight: 800;
    font-size: 68px;
    line-height: 80px;
    letter-spacing: 0%;
}

.location {
    /* margin-top: 32px; */
    max-width: 65%;
}

.location-header {
    font-weight: 800;
    font-size: 20px;
    line-height: 40px;
    letter-spacing: 0%;
    vertical-align: middle;
}

.location-address {
    font-weight: 500;
    font-size: 18px;
    line-height: 32px;
    letter-spacing: 0%;
}

.location a {
    font-weight: 700;
    font-size: 14px;
    line-height: 24px;
    letter-spacing: -1%;
    text-decoration: underline;
    text-decoration-style: solid;
    text-underline-offset: 0%;
    text-decoration-thickness: 0%;
    margin-top: 12px;
    color: #ffffff;
}

#minimap {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url(../assets/Map/world-map.svg);
    width: 55%;
    aspect-ratio: 221 / 120;
    margin-bottom: 24px;
}

#representativesText {
    font-weight: 800;
    font-size: 24px;
    line-height: 30px;
    letter-spacing: 0%;
    vertical-align: middle;
    max-width: 75%;
}

#locationsMap {
    width: 70%;
}

#marmonSlide {
    background-color: rgba(245, 245, 245, 1);
}

#marmonContainer .wf-button .icon, #seventysevenContainer .wf-button .icon {
    margin-right: 0;
    margin-left: 8px;
}

.text-section-logos {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.text-section-logos img {
    width: 50%;
}

@media only screen and (max-height: 800px) {
    #locationsHeader {
        font-size: 48px;
        line-height: 54px;
    }

    .location {
        max-width: 80%;
    }

    .location-header {
        line-height: 28px;
    }

    .location-address {
        line-height: 24px;
    }

    #minimap {
        margin: 8px 0;
        width: 45%;
    }

    #locationsMap {
        width: 55%;
    }
    
    .text-section-message {
        font-size: 20px;
        line-height: 28px;
    }

    .text-section-logos {
        gap: 64px;
    }
}

@media only screen and (max-width: 850px) {
    #locationsMap {
        width: 55%;
    }

    .text-section-logos {
        gap: 48px;
    }

    .text-section-logos img {
        width: 100%;
    }
}

@media only screen and (max-width: 800px) and (orientation: portrait) {
    .text-section-container {
        flex-direction: column;
        justify-content: space-evenly;
        padding: 0 3%;
        height: 95%;
    }

    .text-section-container > div:first-child {
        width: 97.5%;
        display: flex;
        justify-content: center;
        flex-direction: column;
    }

    .text-section-container > div:first-child .wf-button {
        width: 100%;
        box-sizing: border-box;
        align-self: center;
    }

    .text-section-container > div:not(:first-child) {
        width: 97.5%;
    }

    .text-section-header {
        font-weight: 800;
        font-size: 24px;
        line-height: 30px;
        letter-spacing: 0%;
    }

    .text-section-message {
        font-weight: 500;
        font-size: 14px;
        line-height: 18px;
        letter-spacing: 0%;
    }

    .text-section-logos {
        gap: 24px;
    }

    #marmonSlide {
        padding-top: 48px;
    }

    #careersImgCaption {
        font-weight: 700;
        font-size: 20px;
        line-height: 100%;
        letter-spacing: 0%;
        text-align: center;
        margin-bottom: 16px;
    }

    #careersImg {
        /* max-width: 300px; */
        margin: auto;
    }

    #locationsContainer {
        padding: 0 3%;
        padding-top: unset;
    }

    #locationsMap {
        display: none;
    }

    #locationsInfo {
        height: 90%;
    }

    #locationsHeader {
        font-weight: 700;
        font-size: 32px;
        line-height: 36px;
        letter-spacing: 0%;
    }

    .location {
        max-width: 60%;
    }

    .location > div {
        margin: 4px 0;
    }

    .location-header {
        font-weight: 800;
        font-size: 18px;
        line-height: 28px;
        letter-spacing: 0%;
        vertical-align: middle;
    }

    .location-address {
        font-weight: 500;
        font-size: 16px;
        line-height: 24px;
        letter-spacing: 0%;
    }

    #minimap {
        width: 45%;
    }

    #representativesText {
        width: 75%;
        font-weight: 800;
        font-size: 20px;
        line-height: 30px;
        letter-spacing: 0%;
        vertical-align: middle;
    }

    #marmonContainer {
        height: 85%;
        justify-content: space-evenly;
    }

    .text-section-logos {
        display: flex;
        align-items: center;
        justify-content: space-around;
    }

    .text-section-logos {
        /* gap: unset; */
    }

    .text-section-logos img {
        width: 40%;
    }

    .wf-button {
        padding: 10px 40px;
        font-size: 14px;
        line-height: 18px;
    }
}

@media only screen and (max-width: 500px) {
    #marmonContainer {
        height: 90%;
    }

    .text-section-header {
        margin-bottom: 12px;
    }

    .text-section-message {
        margin-bottom: 12px;
    }

    #careersImgContainer {
        /* margin-top: 16px; */
    }

    #careersImg {
        /* max-width: 200px; */
    }

    #locationsContainer {
        padding-top: 24px;
        align-items: flex-end;
    }

    #minimap {
        margin-bottom: 12px;
    }

    #seventysevenContainer {
        padding-top: 60px;
    }
}

@media only screen and (max-height: 650px) {
    #careersImgContainer {
        display: none;
    }
}

@media only screen and (max-width: 1000px) and (orientation: landscape) {
    #locationsHeader {
        font-weight: 700;
        font-size: 24px;
        line-height: 28px;
    }

    .location-header {
        font-size: 14px;
        line-height: 20px;
    }

    .location-address {
        font-size: 12px;
        line-height: 18px;
    }

    .location a {
        font-weight: 700;
        font-size: 12px;
        line-height: 18px;
    }

    #minimap {
        display: none;
    }

    #representativesText {
        font-size: 16px;
        line-height: 24px;
    }

    .text-section-header, .text-section-message {
        margin-bottom: 12px;
    }

    .text-section-logos {
        flex-direction: row;
    }
}

@media only screen and (max-width: 400px) and (orientation: portrait) {
    #locationsHeader {
        font-size: 24px;
        line-height: 30px;
    }

    .location-header {
        font-size: 14px;
        line-height: 22px;
    }

    .location-address {
        font-size: 12px;
        line-height: 18px;
    }

    .location a {
        font-size: 12px;
        line-height: 18px;
    }

    #representativesText {
        font-size: 16px;
        line-height: 24px;
    }
}

@media only screen and (max-height: 500px) and (orientation: landscape) {
    .text-section-header {
        font-size: 28px;
        line-height: 36px;
    }
    
    .text-section-message {
        font-size: 14px;
        line-height: 18px;
    }
    
    .text-section-header, .text-section-message {
        margin-bottom: 8px;
    }
    
    #locationsMap {
        width: 50%;
    }

    .text-section-logos {
        flex-direction: column;
    }
    
    .text-section-logos img {
        width: 75%;
    }
}