@font-face {
    font-family: 'Nunito Sans';
    font-weight: 400;
    font-style: normal;
    src: url('https://assets-cflare.quickbasecdn.net/css/fonts/nunito-sans-v4-latin-regular.woff2') format("woff2"), url('https://assets-cflare.quickbasecdn.net/css/fonts/nunito-sans-v4-latin-regular.woff') format("woff");
}

@font-face {
    font-family: 'Nunito Sans';
    font-weight: 700;
    font-style: normal;
    src: url('https://assets-cflare.quickbasecdn.net/css/fonts/nunito-sans-v4-latin-700.woff2') format("woff2"), url('https://assets-cflare.quickbasecdn.net/css/fonts/nunito-sans-v4-latin-700.woff') format("woff");
}

html, body {
    height: 100%;
    margin: 0;
}

body {
    background-color: #ffffff;
    font-family: 'Nunito Sans', sans-serif;
}

.main, .errorContent {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0;
}

.logoContainer {
    align-items: center;
    background: #F6F5F7;
    display: flex;
    height: 80px;
    justify-content: space-between;
    position: absolute;
    width: 100%;
}

.FirstItem {
    margin-left: 48px; /* To match the left-hand logo distance to Cloudflare maintenance page.*/
}

.LastItem {
    display: flex;
    margin-right: 20px;
}

.navLink {
    margin-left: 20px;

    a {
        color: black;
        font-family: 'Nunito Sans', sans-serif;
        text-decoration: none;
    }

    a:hover,
    a:active,
    a:focus {
        color: black;
        text-decoration: underline;
    }
}

.errorContent {
    padding: calc(100vh / 8) 24px;
    color: #07040d;
    align-items: center;
    justify-content: center;
}

.errorTitle {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 52px;
    margin-top: 0;
    line-height: 30px;
    text-align: center;
}

.errorMessageContainer {
    max-width: 600px;
}

.errorMessageText {
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    padding: 0 0 8px 0;
    margin-top: 0;
}

a.errorLink {
    color: #005CF5;
    text-decoration: none;
}

a.errorLink:active,
a.errorLink:hover {
    text-decoration: underline;
}

a.errorLink:visited {
    text-decoration: none;
}
