@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/plus-jakarta-sans-v8-latin-300.woff2') format('woff2');
}
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/plus-jakarta-sans-v8-latin-regular.woff2') format('woff2');
}
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: italic;
    font-weight: 400;
    src: url('../fonts/plus-jakarta-sans-v8-latin-italic.woff2') format('woff2');
}
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/plus-jakarta-sans-v8-latin-500.woff2') format('woff2');
}
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/plus-jakarta-sans-v8-latin-700.woff2') format('woff2');
}
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: italic;
    font-weight: 700;
    src: url('../fonts/plus-jakarta-sans-v8-latin-700italic.woff2') format('woff2');
}

body {
    background-color: #fff;
    position: relative;
}

.er-container {
    height: 100%;
    min-height: 460px;
    width: calc(100% - 32px);
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.er-container__title {
    font-family: "quincy-cf", sans-serif;
    color: #524F48;
    font-weight: 400;
    font-size: 32px;
    letter-spacing: 0;
    line-height: 34px;
    margin-top: 0;
    margin-bottom: 56px;
}

.er-box__container {
    display: flex;
    justify-content: center;
}

.er-box {
    background-color: #FBF9F6;
    padding: 40px;
    width: 283px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .er-box:first-of-type {
        margin-right: 30px;
    }

.er-box__title {
    margin: 0;
    color: #232323;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 400;
    font-size: 20px;
    letter-spacing: 0;
    line-height: 30px;
}

.er-box__link {
    margin-top: 20px;
    display: inline-block;
    background-color: #1D1C1A;
    color: #fff;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 19.6px;
    padding: 8px 20px;
    border-radius: 100px;
    letter-spacing: 0.04em;
    text-decoration: none;
}

@@media all and (max-width: 767px) {
    .er-container {
        min-height: 735px;
    }

    .er-box__container {
        flex-direction: column;
        align-items: center;
    }

    .er-box:first-of-type {
        margin-right: 0;
        margin-bottom: 30px;
    }
}
