.error-404-container {
    background: url(/img/404Background_Medium.jpg) no-repeat right;
    background-size: cover;
    max-width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-404-cover {
    display: block;
    width: 50%;
    background-color: rgba(255, 255, 255, 0.8);
    text-align: center;
    color: #000000;
    padding: 2%;
}

.error-404-logo {
    display: inline-block;
    height: 50px;
    width: 110px;
    background: url(/img/logos/treffit24.svg) no-repeat;
    background-size: contain;
    margin-top: 50px;
}

.error-404-btn {
    font-size: 17.5px;
    font-weight: bold;
    margin: 25px auto;
    padding: 20px;
    text-transform: uppercase;
    display: block;
    max-width: 360px;
}

.error-404-desc {
    width: 50%;
    margin: 0 auto;
    font-size: 16.8px;
    line-height: 1.43;
    color: #000000;
}

.error-404-btn:hover {
    color: #ffffff;
}

.error-404-login {
    display: inline-block;
    text-decoration: underline;
    color: #000000;
    margin-bottom: 50px;
}

.error-404-login:hover {
    color: #000000;
}

/* For medium screen width */
@media screen and (max-width: 940px) {
    .error-404-cover, .error-404-desc {
        width: 80%;
    }
}

/* For small screen width and height(especially for Landscape mode with small height)*/
@media screen and (max-width: 640px), screen and (max-height: 420px) {
    .error-404-container {
        background: url(/img/404Background_Small.jpg) no-repeat right;
        background-size: cover;
        padding: 0%;
    }

    .error-404-cover {
        height: 100%;
        width: 100%;
        display: block;
        overflow: auto;
    }

    .error-404-btn {
        max-width: 250px;
    }
}
