﻿
.error-box {
    position: relative;
    height: 80vh;
}

    .error-box .error {
        position: absolute;
        left: 50%;
        top: 50%;
        -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
    }

.error {
    max-width: 520px;
    width: 100%;
    line-height: 1.4;
    text-align: center;
}

    .error .error-code {
        position: relative;
        height: 200px;
        margin: 0px auto 20px;
        z-index: -1;
    }

        .error .error-code h1 {
            font-size: 236px;
            margin: 0px;
            text-transform: uppercase;
            position: absolute;
            left: 50%;
            -webkit-transform: translate(-50%, -50%);
            -ms-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
        }

        .error .error-code h2 {
            font-size: 28px;
            text-transform: uppercase;
            padding: 10px 5px;
            margin: auto;
            display: inline-block;
            position: absolute;
            bottom: 0px;
            left: 0;
            right: 0;
        }

@media only screen and (max-width: 767px) {
    .error .error-code h1 {
        font-size: 148px;
    }
}

@media only screen and (max-width: 480px) {
    .error .error-code {
        height: 148px;
        margin: 0px auto 10px;
    }

        .error .error-code h1 {
            font-size: 86px;
        }

        .error .error-code h2 {
            font-size: 16px;
        }

    .error a {
        padding: 7px 15px;
        font-size: 14px;
    }
}
