.right-side {
    margin-right: calc((-100vw + 100%) / 2);
    height: 93rem;
    margin-top: -25rem;
    background-image: url(/wp-content/themes/oceanwp-child/assets/image/about-img.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

.left-side {
    max-width: 46rem;
    margin-right: 8rem;
}

.text-on-img {
    padding-top: 37rem;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.text-on-img span {
    padding: 15px;
    background-color: var(--secondary);
    color: #F4F2ED;
    font-size: 20px;
    line-height: 20px;
    font-weight: 700;
    width: fit-content;
}

.brown-bg {
    background: var(--primary);
    width: 100vw;
    margin-left: calc((-100vw + 100%) / 2);
    margin-right: calc((-100vw + 100%) / 2);
    background-image: url(/wp-content/themes/oceanwp-child/assets/image/lines-pattern.svg);
    height: 42rem;
}

.bold-text {
    font-size: 80px;
    line-height: 80px;
    color: #F4F2ED;
    font-weight: 900;
}

.light-text {
    font-size: 80px;
    line-height: 80px;
    font-weight: 100;
    color: #F4F2ED;
    margin-bottom: -1.8rem;
    display: block;
}

.management {
    max-width: 52rem;
    margin-left: auto;
    margin-top: 6rem;
}

.management-text {
    color: #F4F2ED;
    font-size: 20px;
    line-height: 30px;
    font-weight: 700;
    max-width: 46rem;
    margin-left: 7.25rem;
    margin-top: 10.5rem;
}

.img-left-side {
    background-image: url(/wp-content/themes/oceanwp-child/assets/image/about-leader.jpg);
    height: 182rem;
    margin-left: calc((-44vw +100%) / 2);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.leader {
    max-width: 46rem;
    margin-left: 8rem;
    margin-top: 7rem;
}

.selfie {
    display: flex;
    flex-direction: row;
    margin-bottom: 1rem;
}

.leaders-name .position {
    background-color: var(--primary);
    font-size: 12px;
    line-height: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.leaders-name {
    display: flex;
    flex-direction: column;
    align-self: self-end;
}

.leaders-name span {
    padding: 15px;
    background-color: var(--secondary);
    color: #F4F2ED;
    font-size: 18px;
    line-height: 20px;
    font-weight: 700;
    width: fit-content;
    white-space: nowrap;
}

.leadership-title {
    font-size: 60px;
    line-height: 60px;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 4rem;
}

.leader .common-text {
    margin-bottom: 7rem;
}

.leader .common-text:last-child {
    margin-bottom: unset;
}


@media screen and (max-width: 1199px ) {
    .leader {
        margin-left: 1rem;
    }

    .management {
        margin-top: 9rem;
        margin-left: 2rem;
    }

    .light-text {
        font-size: 60px;
        line-height: 65px;
    }

    .bold-text {
        font-size: 55px;
        line-height: 60px;
    }

    .management-text {
        margin-left: unset;
    }
}

@media screen and (max-width: 991px ) {
    .left-side {
        margin-right: 2rem;
    }

    .leader .common-title {
        font-size: 60px;
        line-height: 60px;
    }

    .img-left-side {
        height: 100%;
    }
}

@media screen and (max-width: 767px ) {
    .text-on-img {
        display: none;
    }

    .right-side {
        margin-right: calc((-100vw + 100%) / 2);
        height: 22rem;
        margin-left: calc((-100vw + 100%) / 2);
        background-size: cover;
        background-position: center;
    }

    .left-side {
        padding-right: unset;
        max-width: unset;
        margin-bottom: 3rem;
    }

    .management {
        margin: 25px 3rem 0;
    }

    .light-text {
        font-size: 40px;
        line-height: 40px;
        margin-bottom: -0.5rem;
    }

    .bold-text {
        font-size: 40px;
        line-height: 40px;
    }

    .management-text {
        margin: 1rem 3rem 7rem;
        max-width: unset;
    }

    .brown-bg {
        height: unset;
    }

    h3.leadership-title {
        font-size: 40px;
        line-height: 40px;
        margin-bottom: 2rem;
    }

    .leader {
        max-width: unset;
        margin-left: 8rem;
        margin: 4rem 0;
    }

    .selfie:first-of-type .leaders-name {
        align-self: unset;
    }

    .selfie:first-of-type {
        flex-direction: column;
    }

    .selfie img {
        width: fit-content;
    }

    .leader .common-text {
        margin-bottom: 6rem;
    }
}

@media screen and (max-width: 575px) {
    .right-side {
        background-position: top;
    }
}
