﻿* {
    padding: 0;
    margin: 0;
    font-family: 'Lato', sans-serif;
}

.error-box {
    display: flex;
    flex-direction: row;
    height: 100vh;
    /*align-items: center;*/
}

.text-wrapper {
    width: 40%;
    padding-left: 10%;
    margin-top: 160px;
}

    .text-wrapper h1 {
        color: #2e53bf;
        font-weight: 900;
        font-size: 6em;
    }

    .text-wrapper h2 {
        color: #4c4c4c;
        width: 80%;
        text-align: left;
        padding-top: 20px;
    }

.img-wrapper {
    width: 60%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 5%;
}

    .img-wrapper img {
        width: 600px;
    }


@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .error-box{
        flex-direction: column;
    }

    .text-wrapper {
        width: 100%;
        padding-top: 40px;
        padding-left: 0px;
        text-align: center;
        margin-top: 0;
        margin-bottom: 30px;
    }

    .text-wrapper h2{
        text-align: center;
        width: 100%;
    }

    .img-wrapper {
        width: 100%;
        /*padding: 0px 5%;*/
        width: 100%;
        padding-right: 0;
        align-items: baseline;
    }

    .img-wrapper img{
        width: 50%;
        margin-top: 20px;
    }
}

@media (min-width: 320px) and (max-width: 767px) {
    .error-box {
        flex-direction: column;
        justify-content: center;
    }

    .text-wrapper {
        width: 100%;
        padding-top: 0px;
        padding-left: 0px;
        text-align: center;
        margin-top: 0;
        margin-bottom: 30px;
    }

        .text-wrapper h1 {
            font-size: 4em;
        }

        .text-wrapper h2 {
            text-align: center;
            width: 100%;
        }

    .img-wrapper {
        width: 100%;
        /*padding: 0px 5%;*/
        width: 100%;
        padding-right: 0;
        align-items: baseline;
    }

        .img-wrapper img {
            width: 50%;
            margin-top: 20px;
        }
}

@media (min-width: 768px) and (max-width: 1024px){
    .error-box {
        flex-direction: column;
        justify-content: center;
    }

    .text-wrapper {
        width: 100%;
        padding-top: 0px;
        padding-left: 0px;
        text-align: center;
        margin-top: 0;
        margin-bottom: 30px;
    }

        .text-wrapper h1 {
            font-size: 4em;
        }

        .text-wrapper h2 {
            text-align: center;
            width: 100%;
        }

    .img-wrapper {
        width: 100%;
        /*padding: 0px 5%;*/
        width: 100%;
        padding-right: 0;
        align-items: baseline;
    }

        .img-wrapper img {
            width: 50%;
            margin-top: 20px;
        }
}