.header {
    background-image: url(../img/About-Us/aboutBG.png);
    background-repeat: no-repeat;
    background-size: cover;
}

/* STORY */
.story {
    margin-top: 50px;
    margin-bottom: 70px;
    padding: 0 30px;
}

.story-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 100px;
}

.story-divider {
    border-left: 2px solid;
    height: 280px;
}

.story-title {
    font-size: 50px;
    max-width: 80px;
    white-space: normal;
    font-weight: 600;
}

.story-text {
    width: 850px;
    font-weight: 500;
    font-size: 20px;
    text-align: justify;
    margin-left: -42px;
}

/* POLICY */
.policy {
    margin-top: 80px;
    margin-bottom: 90px;
}

.policy-table {
    width: 70%;
    margin: 0 auto;
    border-collapse: collapse;
}

.goal td,
.mission td {
    padding-right: 50px;
}

.vision td {
    padding-left: 50px;
}

.policy-table td {
    vertical-align: middle;
}

.img-column {
    width: 280px;
}

.policy-table img {
    width: 100%;
    max-width: 200px;
}

.goal img,
.mission img {
    border-radius: 30px 0 0 30px;
}

.vision img {
    float: inline-end;
    border-radius: 0 30px 30px 0;
}

.goal-title,
.vision-title,
.mission-title {
    font-size: clamp(28px, 2vw, 35px);
    font-weight: 600;
    color: #50B848;
    margin: 0;
}

.vision-title {
    text-align: right;
}

.goal-text,
.vision-text,
.mission-text {
    font-size: clamp(18px, 2vw, 25px);
    text-align: justify;
}

.vision-text {
    text-align-last: right;
    /* aligns last sentence of text to the left */
}

/* SKILLSET */
.skillset {
    overflow: hidden;
    width: 65%;
    margin: 20px auto;
    width: 100%;
    max-width: 820px;
}

.skillset-title {
    font-size: 35px;
    font-weight: 600;
    text-align: center;
}

.skillset-scroll {
    overflow-x: auto;
}

/* hide scrollbar */
.skillset-scroll::-webkit-scrollbar {
    display: none;
}

.logo-slideshow {
    display: flex;
    animation: slide-animation 13s infinite;
}

.slide {
    display: flex;
}

.slide img {
    width: 140px;
    height: auto;
    object-fit: contain;
    margin: 0 30px;
}

@keyframes slide-animation {

    0%,
    10% {
        transform: translateX(0);
    }

    13%,
    23% {
        transform: translateX(-180px);
    }

    26%,
    36% {
        transform: translateX(-380px);
    }

    39%,
    49% {
        transform: translateX(-580px);
    }

    52%,
    62% {
        transform: translateX(-780px);
    }

    65%,
    75% {
        transform: translateX(-980px);
    }

    78%,
    88% {
        transform: translateX(-1180px);
    }

    91%,
    100% {
        transform: translateX(0);
    }
}

/* POLICY- MOBILE */
.mobile-policy {
    display: none;
}

.mobile-policy-container {
    padding: 0 20px;
    max-width: 600px;
    width: 100%;
    margin: 0 auto 70px auto;
}

.mobile-goal-title,
.mobile-vision-title,
.mobile-mission-title {
    font-size: clamp(30px, 2vw, 40px);
    font-weight: 600;
    color: #50B848;
    text-align: center;
    margin: 0 0 10px 0;
}

.mobile-goal-text,
.mobile-vision-text,
.mobile-mission-text {
    font-size: clamp(20px, 2vw, 30px);
    text-align: center;
    margin: 0 0 20px 0;
}

/* MOBILE LAYOUT */
@media(max-width: 768px) {

    /* STORY */
    .story-container {
        display: block;
        text-align: center;
        padding: 0 5px;
    }

    .story-title {
        white-space: nowrap;
        display: inline;
        font-size: 30px;
    }

    .story-divider {
        border-left: none;
        height: 0;
        border-bottom: 2px solid;
        width: 80%;
        margin: 20px auto;
    }

    .story-text {
        width: 100%;
        /* shrink along with window */
        text-align: justify;
        margin: 0 auto;
    }

    /* POLICY- MOBILE */
    .policy {
        display: none;
    }

    .mobile-policy {
        display: block;
    }

    /* SKILLSET */
    .skillset {
        width: 100%;
        max-width: 500px;
        margin-bottom: 80px;
    }

    .skillset-title {
        font-size: 32px;
    }

    .slide img {
        width: 110px;
    }

    @keyframes slide-animation {

        0%,
        5% {
            transform: translateX(0);
        }

        13%,
        18% {
            transform: translateX(-180px);
        }

        26%,
        31% {
            transform: translateX(-360px);
        }

        39%,
        44% {
            transform: translateX(-530px);
        }

        52%,
        57% {
            transform: translateX(-680px);
        }

        65%,
        70% {
            transform: translateX(-830px);
        }

        78%,
        83% {
            transform: translateX(-1020px);
        }

        91%,
        96% {
            transform: translateX(-1200px);
        }

        96%,
        100% {
            transform: translateX(0);
        }
    }
}