main.not-found {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    cursor: default;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width:100%;
    height:100%;
    display: flex;
    flex-direction: column;
}

main.not-found,
.not-found aside,
.not-found section {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

main.not-found {
    height: 100%;
}

.not-found aside {
    background: #000;
    flex-shrink: 1;
    padding: 30px 20px;
}

.not-found aside:blank {
    display: none;
}

.not-found aside p {
    margin: 0;
    color: #999999;
    font-size: 14px;
    line-height: 24px;
}

.not-found aside a {
    color: #fff;
    text-decoration: none;
}

.not-found section span {
    font-size: 24px;
    font-weight: 500;
    display: block;
    border-bottom: 1px solid #EAEAEA;
    text-align: center;
    padding-bottom: 20px;
    width: 100px;
}

.not-found p {
    font-size: 14px;
    font-weight: 400;
}

.not-found section p {
    margin: 0 0 0 20px;
}

.not-found section span+p {
    margin: 20px 0 0 0;
}

.not-found .highlight {
    color: #7878ea;
}

.not-found ul {
    list-style: none;
}

.not-found ul li {
    font-style: italic;
}

@media (min-width: 768px) {
  .not-found section {
        height: 40px;
        flex-direction: row;
    }
    .not-found section span,
    .not-found section p {
        height: 100%;
    }
    .not-found section span {
        line-height: 40px;
        border-bottom: 0;
        border-right: 1px solid #EAEAEA;
        padding: 0 20px 0 0;
        width: auto;
    }
    .not-found section span+p {
        margin: 0;
        padding-left: 20px;
    }
    .not-found aside {
        padding: 50px 0;
    }
    .not-found aside p {
        max-width: 520px;
        text-align: center;
    }
}