.page404-container {
    display: grid;
    place-items: center;
    height: 100vh;
}

.page404 {
    background: url(/static/images/logo.png) no-repeat center top;
    max-width: 616px;
    /* margin: 80px auto 60px; */
    background-size: 33%;
    padding: 250px 16px 0px;
    margin-bottom: 250px;
}

.page404-title {
    font-size: 36px;
    font-weight: 900;
    letter-spacing: 1px;
    text-align: center;
    color: #000000;
    margin-bottom: 20px;
    line-height: 42px;
    text-transform: none;
}

.page404-description {
    font-size: 24px;
    font-weight: 400;
    line-height: 28px;
    text-align: center;
    margin-bottom: 70px;
    color: rgba(0, 0, 0, 0.5);
}

.page404-home-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 280px;
    height: 50px;
    background: #0D4BA0;
    box-shadow: 0 2px 4px -0.7px rgba(0, 0, 0, 0.25);
    border-radius: 100px;
    margin: 0 auto;
    color: white;
    font-weight: 700;
    font-size: 14px;
}

    /* Styles for screens up to 600px wide (e.g., mobile phones in portrait) */
    @media only screen and (max-width: 600px) {
        .page404 {
            background-size: 240px;
            padding-top: 150px;
            margin-bottom: 150px;
        }
        .page404-title {
            font-size: 18px;
            margin-bottom: 10px;
            line-height: 21px;
        }

        .page404-description {
            font-size: 12px;
            line-height: 14px;
            margin-bottom: 40px;
        }

        .page404-home-link {
            width: 80%;
            height: 40px;
            font-size: 12px;
        }
    }

    /* Styles for screens between 601px and 1024px (e.g., tablets or small desktops) */
    @media only screen and (min-width: 601px) and (max-width: 1024px) {
        .page404 {
            background-size: 50%;
            padding-top: 200px;
            margin-bottom: 200px;
        }
    }

a {
    text-decoration: none;
}