h1 {
    color: #007AB6;
    font-size: 3.5em;
    margin-bottom: 15px;
    text-transform: uppercase;
}

h2 {
    color: #666;
    font-size: 1.6em;
    line-height: 1.4em;
    margin-bottom: 35px;
    text-transform: uppercase;
}

#error404 {
    margin: 80px 5%;
    float: left;
    width: 90%;
}

#error404 .texto {
    float: left;
    margin-right: 10%;
    width: 60%;
}

#error404 .texto p {
    font-size: 1.3em;
    line-height: 1.4em;
    margin-bottom: 30px;
}

#error404 .texto a {
    background: url(/front/javax.faces.resource/images/list-point.png.xhtml) 0 4px no-repeat;
    box-sizing: border-box;
    color: #4C4B50;
    display: inline-block;
    font-size: 1.3em;
    margin-bottom: 15px;
    padding-left: 10px;
    width: 33%;
}

#error404 .texto a:hover {
    text-decoration: underline;
}

#error404 .imagen {
    float: left;
    width: 30%;
}

#error404 .imagen img {
    height: auto;
    width: 100%;
}

@media screen and (min-width: 320px) and (max-width: 480px) {
    h1 {
        font-size: 2em;
        text-align: center;
    }

    h2 {
        font-size: 1.4em;
        margin-bottom: 15px;
        text-align: center;
    }

    #error404 {
        margin: 30px 0;
        float: none;
        width: 100%;
    }

    #error404 .texto {
        float: none;
        margin-right: 0;
        width: 100%;
    }

    #error404 .texto a {
        width: 100%;
    }

    #error404 .imagen {
        float: none;
        margin: 15px 25% 0;
        width: 50%;
    }
}

@media screen and (min-width: 481px) and (max-width: 720px) {
    h1 {
        font-size: 2.5em;
    }

    h2 {
        margin-bottom: 15px;
    }

    #error404 {
        margin: 40px 0;
        width: 100%;
    }

    #error404 .texto {
        float: none;
        margin-right: 0;
        width: 100%;
    }

    #error404 .texto a {
        width: 50%;
    }

    #error404 .imagen {
        float: none;
        margin: 15px 30% 0;
        width: 40%;
    }
}

@media screen and (min-width: 721px) and (max-width: 979px) {
    h1 {
        font-size: 2.8em;
    }

    h2 {
        margin-bottom: 15px;
    }

    #error404 {
        margin: 50px 0;
        width: 100%;
    }

    #error404 .texto a {
        width: 50%;
    }
}

@media screen and (min-width: 980px) and (max-width: 1150px) {
}
