main {
    overflow: hidden;
    height: 100vh;
    position: relative;
}

#stars {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

#error_container {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
        -ms-transform: translate(-50%,-50%);
            transform: translate(-50%,-50%);
    height: 300px;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
}

#error_container img {
    height: 100%;
    margin-right: 50px;
}

#error_container > div {
    padding-left: 50px;
    position: relative;
}

#error_container > div::before {
    content: "";
    width: 2px;
    height: 200px;
    position: absolute;
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
    -webkit-transform: translateY(-webkit-calc(-50% + 5px));
        -ms-transform: translateY(calc(-50% + 5px));
            transform: translateY(calc(-50% + 5px));
    left: 0;
    top: 50%;
    background-color: #fff;
    background: -webkit-gradient(linear, left bottom, left top, from(rgba(255,255,255,0)), color-stop(50%, rgba(255,255,255,1)), to(rgba(255,255,255,0)));
    background: -o-linear-gradient(bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 50%, rgba(255,255,255,0) 100%);
    background: linear-gradient(0deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 50%, rgba(255,255,255,0) 100%);
}

.whoops {
    display: block;
    font-weight: 300;
    font-size: 48px;
    text-transform: uppercase;
}

.horrible {
    font-weight: 300;
    opacity: .5;
    font-size: 24px;
}

@media only screen and (max-width: 1000px) {
    #error_container > div::before {
        height: 150px;
    }
}

@media only screen and (max-width: 850px) {
    footer {
        display: none;
    }
}

@media only screen and (max-width: 600px) {
    #error_container {
        height: 200px;
    }

    .whoops {
        font-size: 36px;
    }

    .horrible {
        font-size: 18px;
    }

    #error_container img {
        margin-right: 30px;
    }

    #error_container > div {
        padding-left: 30px;
    }
}

@media only screen and (max-width: 400px) {
    #error_container {
        height: auto;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
            -ms-flex-direction: column;
                flex-direction: column;
    }

    .whoops {
        text-align: center;
    }

    .horrible {
        text-align: center;
        display: block;
    }

    #error_container img {
        margin-right: 0;
        height: 150px;
        margin-bottom: 30px;
    }

    #error_container > div {
        padding-left: 0;
        padding-top: 30px;
    }

    #error_container > div::before {
        content: "";
        width: 75%;
        height: 2px;
        position: absolute;
        -webkit-transform: translateX(-50%);
            -ms-transform: translateX(-50%);
                transform: translateX(-50%);
        left: 50%;
        top: 0;
        background: #fff;
        background: -webkit-gradient(linear, left top, right top, from(rgba(255,255,255,0)), color-stop(50%, rgba(255,255,255,1)), to(rgba(255,255,255,0)));
        background: -o-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 50%, rgba(255,255,255,0) 100%);
        background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 50%, rgba(255,255,255,0) 100%);
    }
}

@media only screen and (max-height: 450px) and (max-width: 400px) {
    #error_container > div {
        display: none;
    }

    #error_container {
        height: 50%;
    }

    #error_container img {
        margin-right: 0;
        height: 100%;
        margin-bottom: 0;
    }
}
