/* ------------------------------------
   404 ERROR SECTION START
------------------------------------ */
.er404-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #ffffff;
}

.er404-wrapper {
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
}

.er404-graphic {
    margin-bottom: 40px;
}

.er404-graphic img {
    max-width: 520px;
    width: 100%;
    display: block;
    margin: 0 auto;
}

.er404-title {
    font-size: 32px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 16px;
}

.er404-text {
    max-width: 540px;
    margin: 0 auto 35px;
    font-size: 15px;
    line-height: 1.7;
    color: #7a7a7a;
}

.er404-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
    height: 48px;
    border-radius: 30px;
    background: #00B207;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 12px 25px rgba(23, 195, 60, 0.144);
    transition: all 0.25s ease;
}

.er404-btn:hover {
    background: #10a830;
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(23, 195, 59, 0.4);
}

/* ============================
   RESPONSIVE STYLES
============================ */

/* tablets and small laptops */
@media (max-width: 991px) {
    .er404-section {
        padding: 70px 15px;
    }

    .er404-graphic img {
        max-width: 420px;
    }

    .er404-title {
        font-size: 30px;
    }
}

/* tablets / large mobiles */
@media (max-width: 768px) {
    .er404-section {
        padding: 60px 15px;
        min-height: calc(100vh - 80px);
        /* avoid too much height under header */
    }

    .er404-graphic {
        margin-bottom: 30px;
    }

    .er404-graphic img {
        max-width: 360px;
    }

    .er404-title {
        font-size: 26px;
    }

    .er404-text {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .er404-btn {
        padding: 0 32px;
        height: 46px;
        font-size: 15px;
    }
}

/* small phones */
@media (max-width: 480px) {
    .er404-section {
        padding: 50px 0px;
    }

    .er404-graphic img {
        max-width: 280px;
    }

    .er404-title {
        font-size: 24px;
    }

    .er404-text {
        font-size: 13px;
        line-height: 20px;
    }

    .er404-btn {
        width: 100%;
        max-width: 186px;
        padding: 0;
    }
}

/* ------------------------------------
   404 ERROR SECTION END
------------------------------------ */