@font-face {
    font-family: 'Lil Grotesk';
    src: url('../lilgrotesk/LilGrotesk-Regular.otf') format('truetype');
}

@font-face {
    font-family: 'Blinds Audience';
    src: url('../blindsaudience/Blinds\ Audience.otf') format('woff');
}

.values {
    min-height: 100vh;
    background-color: var(--green);
    color: var(--gold);
    text-align:justify;
}

.values h1 {
    text-align: center;
    font-family: 'Blinds Audience', serif;
    padding-bottom:1em;
    padding-top:0.5em;

}

.value-section {
    display: flex;
    align-items: center;
    text-align:justify;
    padding:0 20em 2em 20em;
    gap:1em;
}

.value-image {
    width: 20em;
    height: 21em;
    object-fit: cover;
}

.value-text {
    flex: 1;
    font-family: 'Lil Grotesk', sans-serif;
}

.value-text p {
    text-align:left;
}

.mobile-image {
    display: none;
}

@media screen and (max-width: 700px) {
    .value-section {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .value-text{
        text-align:center;
        font-size:1.5em;
    }

    .value-image {
        width: 100%;
        height: auto;
        display: block;
        padding-bottom:1em;
    }

    .value-section {
        display: flex;
        align-items: center;
        text-align:justify;
        padding:0 1em 1em 1em;
        gap:1em;
    }
    .values {
        min-height: 100vh;
        background-color: var(--green);
        color: var(--gold);
    }

    .value-text h1 {
        font-size:2em;
    }
    .value-text h2 {
        text-align: center;
        font-size:1.2em;
    }

    .mobile-image {
        display: block;
        width: 100%;
        height: auto;
    }

    .desktop-image {
        display: none;
    }
}
