:root {
    --blue: #00ACCB;
    --pink: #EC008C;
}
.site-width {
    z-index: 1;
}

#hero .site-width {
    height: 100%;
}

#content.about {
    position: relative;
    padding: 72px 0;
}

#content.about:before {
    content: '';
    position: absolute;
    top: 102px;
    left: 0;
    width: 292px;
    height: 193px;
    background-image: url('../img/about-before.svg');
    background-size: contain;
    background-repeat: no-repeat;
}
#content.about:after {
    content: '';
    position: absolute;
    bottom: 75px;
    right: -14px;
    width: 140px;
    height: 241px;
    background-image: url('../img/about-after.svg');
    background-size: contain;
    background-repeat: no-repeat;
}

#content.about .page-title {
    margin-bottom: 28px;
    font-family: 'NextExitRounded', serif;
    font-size: 100px;
    font-weight: 700;
    line-height: normal;
}
#content.about .subtitle {
    max-width: 641px;
    margin-bottom: 40px;
    font-family: 'NextExitRounded', serif;
    font-size: 45px;
    font-weight: 700;
    line-height: normal;
}
#content.about .entry-content {
    max-width: 641px;
}
#content.about .entry-content p {
    margin-bottom: 20px;
    font-size: 21px;
    line-height: 27px;
}

@media (max-width: 1399px) {
    #content.about:before {
        transform: scale(0.85);
        transform-origin: left;
    }
    #content.about:after {
        transform: scale(0.85);
        transform-origin: right;
    }
}

@media (max-width: 1249px) {
    #content.about:before {
        transform: scale(0.75);
        transform-origin: left top;
    }
    #content.about:after {
        transform: scale(0.75);
    }
}

@media (max-width: 1023px) {
    #content.about {
        padding: 50px 0;
    }
    #content.about .page-title {
        margin-bottom: 20px;
        font-size: 86px;
    }
    #content.about .subtitle {
        margin-bottom: 32px;
        font-size: 42px;
    }
    .page-template-page-about .boxes-section .site-width {
        padding: 0;
    }
}

@media (max-width: 767px) {
    #content.about {
        padding: 40px 0 160px;
    }
    #content.about:before {
        top: 24px;
        height: 95px;
        transform: none;
    }
    #content.about:after {
        transform: none;
        height: 141px;
        width: 90px;
        bottom: 56px;
    }
    #content.about .page-title {
        margin-bottom: 12px;
        font-size: 60px;
    }
    #content.about .subtitle {
        margin-bottom: 16px;
        font-size: 32px;
    }
    #content.about .entry-content p {
        margin-bottom: 16px;
        font-size: 16px;
        line-height: 1.5;
    }
    .page-template-page-about .boxes-section {
        padding-top: 47px;
    }
}


@media (prefers-color-scheme: dark) {
    #content.about .page-title,
    #content.about .subtitle {
        color: #fff;
    }
    #content.about .entry-content p {
        color: #fff;
    }
}