@font-face {
    font-family: "Barlow";
    src: url("../../ohi/fonts/Barlow-Thin-100.woff2") format("woff2");
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Barlow";
    src: url("../../ohi/fonts/Barlow-Light-300.woff2") format("woff2");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Barlow";
    src: url("../../ohi/fonts/Barlow-Regular-400.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Barlow";
    src: url("../../ohi/fonts/Barlow-SemiBold-600.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Barlow";
    src: url("../../ohi/fonts/Barlow-Bold-700.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

*,
*::after,
*::before,
body {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Barlow", sans-serif;
    color: #6f6665;
    background-image: url("../../about/images/about-bg.jpg");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    background-color: #f7e8e5;
}

a {
    color: #6f6665;
    text-decoration: none;
    display: inline-block;
}

a::after {
    content: "";
    display: block;
    width: 0;
    border-bottom: 1px solid #6f6665;
    transition: 0.3s ease;
}

a:hover::after {
    width: 100%;
}

h1,
h2,
h3,
h4,
h5,
p,
ul {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}

img {
    display: block;
    max-width: 100%;
}

.container {
    width: 100%;
    max-width: 1380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    padding: 0 50px;
}

.header {
    position: relative;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    position: fixed;
    top: 40px;
    left: 40px;
    z-index: 101;
}

.header-logo a::after {
    display: none;
}

.header-logo img {
    width: 50px;
    transition: transform 0.3s ease;
}

.header-logo img:hover {
    transform: scale(1.08);
}

.header-menu-btn {
    position: fixed;
    top: 45px;
    right: 4%;
    z-index: 100;
    width: 32px;
    height: 22px;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.header-menu-btn span {
    position: absolute;
    width: 100%;
    top: 9px;
    border: 2px solid #696969;
    border-radius: 25px;
    transition: transform 0.3s ease;
}

.new-color .header-menu-btn span {
    border: 2px solid #696969;
}

.header-menu-btn span:first-child {
    top: 0;
}

.header-menu-btn span:last-child {
    top: 18px;
}

.change-btn span {
    opacity: 0;
}

.change-btn span:first-child {
    opacity: 1;
    top: 9px;
    transform: rotate(-45deg);
}

.change-btn span:last-child {
    opacity: 1;
    top: 9px;
    transform: rotate(45deg);
}

.header-links {
    position: fixed;
    top: 120px;
    right: 2.7%;
    z-index: 100;
    width: 220px;
    height: 0;
    overflow: hidden;
    text-align: end;
    padding: 0;
    transition: 0.3s ease;
}

.header-links li a {
    position: relative;
    font-size: 26px;
    line-height: 38px;
    color: #696969;
}

.header-links li a:hover {
    color: #feacb7;
    transition: color 0.3s ease;
}

.header-links li a::after {
    border-bottom: 1px solid #feacb7;
}

.new-color .header-links li a {
    color: #696969;
}

.new-color .header-links li a:hover {
    color: #feacb7;
    transition: color 0.3s ease;
}

.new-color .header-links li a::after {
    border-bottom: 1px solid #feacb7;
}

.header-links li:last-child a {
    margin-right: 19px;
}

.header-links li a img {
    position: absolute;
    right: -32px;
    top: 0;
    transform: rotate(45deg);
}

.about {
    padding: 170px 0 140px;
}

.about-intro {
    width: 100%;
    max-width: 860px;
    margin: 0 auto 110px;
}

.about-kicker {
    font-size: 42px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #6f6665;
    margin-bottom: 44px;
}

.about-title {
    margin: 0 auto;
    font-size: 34px;
    font-weight: 400;
    line-height: 1.28;
    color: #6f6665;
}

.about-story {
    width: 100%;
    max-width: 1080px;
    display: flex;
    flex-direction: column;
    gap: 54px;
    align-items: center;
    margin: 0 auto;
}

.about-story-item {
    width: 100%;
    display: block;
    max-width: 860px;
}

.about-story-copy {
    max-width: 100%;
}

.about-story-copy h2 {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #6f6665;
    margin-bottom: 14px;
}

.about-story-copy p {
    width: 100%;
    max-width: 100%;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.55;
    color: #7a6c6b;
}

.about-story-copy p a {
    margin-top: 20px;
}

.about-story-copy a[href*="linkedin.com"]::after {
    width: 100%;
}

.about-story-copy a[href*="linkedin.com"]:hover::after {
    width: 0;
}

.work {
    padding: 0 15px 100px 15px;
    text-align: center;
}

.work h3 {
    color: #696969;
    font-weight: 600;
    font-size: 34px;
    text-align: center;
    padding: 0 5px;
    margin-bottom: 100px;
}

.work-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 50px;
    max-width: 900px;
    margin: 0 auto;
}

.work-inner img {
    width: 250px;
    border-radius: 18px;
    transition: 0.3s ease;
}

.work-inner img:hover {
    transform: scale(1.1);
}

.footer {
    background-image: url("../../about/images/footer-ohi.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding: 50px;
}

.footer a {
    color: #796767;
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 50px;
}

.footer-title {
    margin-top: 50px;
    text-align: center;
    font-size: 40px;
    font-weight: 400;
    color: #796767;
}

.footer-subtitle {
    font-size: 18px;
    font-weight: 300;
    color: #796767;
    text-align: center;
    margin: 16px auto 0;
    max-width: 560px;
    line-height: 1.55;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-social {
    display: flex;
    align-items: center;
    margin-top: 80px;
    font-size: 22px;
}

.footer-social-logos {
    display: flex;
    align-items: center;
}

.footer-social-logos img {
    width: 35px;
}

.footer-social-logos a:first-child img {
    margin-left: 50px;
}

.footer-social-logos a {
    margin-right: 20px;
}

.footer-social-logos a::after {
    border: none;
}

.footer-copy {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 80px;
    font-size: 14px;
    color: #796767;
}

.footer-copy a,
.footer-copy .footer-copy-text {
    display: block;
    margin-right: 20px;
}

.footer-copy span {
    display: block;
}

.footer-facebook-link img {
    width: 22px;
}

/* Intro sub-paragraph (below the h1) */
.about-intro > p:not(.about-kicker) {
    font-size: 22px;
    font-weight: 400;
    line-height: 1.55;
    color: #7a6c6b;
    margin-top: 32px;
}

@media (max-width: 1300px) {
    .about-intro {
        max-width: 700px;
        margin-bottom: 90px;
    }

    .about-kicker {
        font-size: 36px;
        margin-bottom: 36px;
    }

    .about-title {
        font-size: 32px;
    }

    .about-story-copy p {
        font-size: 20px;
    }
}

@media (max-width: 1024px) {
    .about {
        padding-top: 150px;
        padding-bottom: 120px;
    }

    .about-intro {
        max-width: 600px;
        margin-bottom: 64px;
    }

    .about-kicker {
        font-size: 30px;
        margin-bottom: 26px;
    }

    .about-title {
        font-size: 28px;
    }

    .about-story-copy p {
        font-size: 18px;
    }

    .footer-title {
        font-size: 40px;
        margin-top: 20px;
    }

    .footer-social {
        margin-top: 50px;
    }

    .footer-social-logos img {
        width: 25px;
    }

    .footer-social-logos a:first-child img {
        margin-left: 30px;
    }

    .footer-copy {
        margin-top: 35px;
        font-size: 12px;
    }

    .footer-facebook-link img {
        width: 16px;
    }
}

@media (max-width: 768px) {
    .header-logo {
        top: 30px;
        left: 30px;
    }

    .header-logo img {
        width: 62px;
    }

    .header-links {
        width: 100%;
        right: auto;
        left: 0;
        top: 0;
        text-align: left;
        z-index: 20;
        padding-left: 50px;
        background-color: rgba(255, 248, 247, 0.98);
    }

    .header-links li {
        margin-bottom: 15px;
    }

    .header-menu-btn {
        width: 26px;
        top: 40px;
        right: 5%;
    }

    .header-menu-btn span {
        border: 1px solid #696969;
        top: 7px;
    }

    .header-menu-btn span:last-child {
        top: 14px;
    }

    .change-btn span:first-child,
    .change-btn span:last-child {
        top: 7px;
    }

    .about {
        padding: 130px 0 100px;
    }

    .about-intro {
        max-width: 500px;
        margin-bottom: 56px;
    }

    .about-kicker {
        font-size: 24px;
        margin-bottom: 18px;
    }

    .about-title {
        max-width: 100%;
        font-size: 24px;
        line-height: 1.35;
    }

    .about-story {
        max-width: 620px;
    }

    .about-story-item {
        max-width: 520px;
    }

    .about-story-copy p {
        font-size: 18px;
    }

    .footer-container {
        padding: 0 15px;
    }

    .footer-title {
        font-size: 35px;
    }

    .footer-social {
        flex-direction: column;
    }

    .footer-social-logos {
        margin-top: 20px;
    }
}

@media (max-width: 550px) {
    .container {
        padding: 0 30px;
    }

    .about-kicker {
        font-size: 22px;
        margin-bottom: 16px;
    }

    .about-title {
        font-size: 22px;
    }

    .about-story-copy p {
        font-size: 17px;
    }

    .footer-copy {
        flex-wrap: wrap;
        justify-content: space-evenly;
    }

    .footer-copy a,
    .footer-copy span,
    .footer-copy .footer-copy-text {
        margin: 0 5px 10px;
    }
}

@media (max-width: 425px) {
    .header-logo {
        top: 21px;
        left: 20px;
    }

    .header-logo img {
        width: 58px;
    }

    .header-menu-btn {
        top: 32px;
    }

    .container,
    .footer-container {
        padding: 0 14px;
    }

    .about {
        padding-top: 115px;
    }

    .about-kicker {
        font-size: 18px;
    }

    .about-title {
        font-size: 19px;
        line-height: 1.32;
    }

    .about-story-copy p {
        font-size: 16px;
    }

    .footer-copy {
        margin-top: 25px;
    }
}
