/* Page-specific styles: 404 error page. Loaded only on this page. */

/* The site header is position:absolute. This page's first section is
   positioned with a solid background, so without this it would paint over
   (hide) the header. Keep the header above the section on the 404 page. */
.error-404-page header {
    z-index: 10;
}

.error-404 {
    position: relative;
    text-align: center;
    padding: 280px 20px 180px;
    background-color: #FFFBF4;
    overflow: hidden;
}
.error-404 .error-404-inner {
    position: relative;
    z-index: 2;
    max-width: 720px;
    margin: 0 auto;
}
/* Faint oversized watermark behind the content */
.error-404 .error-404-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 620px;
    line-height: 1;
    font-weight: 300;
    letter-spacing: 0;
    color: #889FC1;
    opacity: 0.06;
    z-index: 1;
    pointer-events: none;
    white-space: nowrap;
}
.error-404 .error-subtitle {
    display: inline-block;
    font-family: "Hero New Light";
    font-size: 16px;
    line-height: 25px;
    letter-spacing: 4px;
    font-weight: 300;
    text-transform: uppercase;
    color: #889FC1;
    margin-bottom: 24px;
}
.error-404 .error-code {
    font-family: "FreightBig Pro";
    font-size: 240px;
    line-height: 1;
    font-weight: 300;
    letter-spacing: 0;
    color: #889FC1;
    margin: 0 0 10px;
}
.error-404 .error-title {
    font-family: "FreightBig Pro";
    font-size: 70px;
    line-height: 80px;
    font-weight: 300;
    letter-spacing: 0;
    color: #818181;
    margin: 0 0 32px;
}
.error-404 .error-text {
    font-family: "Hero New Light";
    font-size: 16px;
    line-height: 32px;
    font-weight: 300;
    letter-spacing: 0.27px;
    color: #818181;
    max-width: 520px;
    margin: 0 auto 56px;
}
.error-404 .error-btn {
    border: 1px solid #889FC1;
    color: #889FC1 !important;
    transition: background-color 0.25s ease, color 0.25s ease;
}
.error-404 .error-btn:hover {
    background-color: #889FC1;
    color: #FFFFFF !important;
}
@media (max-width: 1199px) {
    .error-404 {
        padding: 200px 20px 130px;
    }
    .error-404 .error-404-watermark {
        font-size: 460px;
    }
    .error-404 .error-code {
        font-size: 190px;
    }
    .error-404 .error-title {
        font-size: 56px;
        line-height: 66px;
    }
}
@media (max-width: 767px) {
    .error-404 {
        padding: 160px 25px 90px;
    }
    .error-404 .error-404-watermark {
        font-size: 320px;
    }
    .error-404 .error-subtitle {
        font-size: 12px;
        letter-spacing: 3px;
        margin-bottom: 18px;
    }
    .error-404 .error-code {
        font-size: 140px;
    }
    .error-404 .error-title {
        font-size: 42px;
        line-height: 50px;
        margin-bottom: 24px;
    }
    .error-404 .error-text {
        font-size: 14px;
        line-height: 28px;
        margin-bottom: 42px;
    }
    .error-404 .error-btn {
        padding: 23px 45px;
        font-size: 15px;
    }
}
@media (max-width: 430px) {
    .error-404 {
        padding: 140px 23px 70px;
    }
    .error-404 .error-404-watermark {
        font-size: 230px;
    }
    .error-404 .error-code {
        font-size: 110px;
    }
    .error-404 .error-title {
        font-size: 34px;
        line-height: 42px;
    }
    .error-404 .error-btn {
        padding: 19px 30px;
        font-size: 12px;
    }
}
