@import url('https://fonts.googleapis.com/css?family=Roboto:300&display=swap');
@import url('https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css');

body {
    font-family: 'Roboto', sans-serif;
    color: #414042;
    font-weight: 300;
    font-size: 10pt;
}

body > header, body > section, body > footer {
    padding: 20px;
}

body > section:nth-child(2n) {
    background-color: #414042;
    color: #fff;
}

.site-header {
    text-align: center;
}

.site-header h1 {
    margin: 0;
}

.site-header .site-logo {
    width: 100%;
    max-width: 200px;
}

.site-footer {
    text-align: center;
}

.container {
    position: relative;
    width: 100%;
    margin: auto;
    max-width: 800px;
    overflow: hidden;
}

.container::after {
    content: "";
    clear: both;
    display: table;
}

.photo {
    position: absolute;
    height: 100%;
    width: 100%;
}

.photo div {
    position: relative;
    margin-right: 170px;
    height: 100%;
    overflow: hidden;
}

.photo img {
    object-fit: cover;
    object-position: 50% 50%;
    width: 100%;
    height: 100%;
    -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
}

.shortcuts {
    position: relative;
    float: right;
    width: 150px;
}

.shortcuts ul {
    list-style: none;
    margin: 0 -10px;
    padding: 0;
    overflow: auto;
}

.shortcuts ul li {
    display: block;
    width: 150px;
    height: 150px;
    padding: 0 10px;
}

.shortcuts ul li + li {
    margin-top: 20px;
}

.shortcuts ul li a {
    display: block;
    background-color: #f15a29;
    height: 100%;
    text-align: center;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
}

.shortcuts ul li a:hover, .shortcuts ul li a:active {
    background-color: #f26b4b;
}

.shortcuts ul li a:before {
    display: block;
    width: 100%;
    font-family: 'FontAwesome';
    font-size: 65px;
    line-height: 85px;
    font-weight: normal;
    padding-top: 20px;
}

.shortcut-webmail:before {
    content: "\f0e0";
}

.shortcut-files:before {
    content: "\f0c2";
}

.shortcut-apps:before {
    content: "\f1b3";
}

.error-code {
    font-size: 100px;
    border-right: 1px solid #fff;
    float: left;
    line-height: 105px;
    padding-right: 20px;
    margin-right: 20px;
}

@media only screen and (max-width: 450px) {
    .photo {
        position: static;
        height: auto;
    }

    .photo div {
        margin-right: 0;
        height: auto;
    }

    .photo img {
        height: auto;
    }

    .shortcuts {
        float: none;
        width: 100%;
    }

    .shortcuts ul::after {
        content: "";
        clear: both;
        display: table;
    }

    .shortcuts ul li {
        float: left;
        width: 33.333%;
        margin-top: 20px;
        padding: 0;
    }

    .shortcuts ul li a {
        margin: 0 10px;
    }

    .error-code {
        display: none;
    }
}

@media only screen and (min-width: 350px) and (max-width: 450px) {
    .shortcuts ul li {
        height: 120px;
    }

    .shortcuts ul li a:before {
        font-size: 45px;
        line-height: 65px;
    }
}

@media only screen and (max-width: 350px) {
    .photo {
        display: none;
    }

    .shortcuts ul li {
        width: 100%;
        margin-top: 0px;
    }
}