/* error-page.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, sans-serif;
    font-size: 75%;
    color: #696969;
    background: #fff;
    line-height: 1.55;
}

.interstitial-wrapper {
    margin: 14vh auto 0;
    max-width: 600px;
    width: 100%;
    padding: 0 24px;
}

.icon {
    width: 72px;
    height: 72px;
    margin: 0 0 40px;
    background-repeat: no-repeat;
    background-size: 100%;
    -webkit-user-select: none;
    user-select: none;
}

.icon-generic {
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABIAQMAAABvIyEEAAAABlBMVEUAAABTU1OoaSf/AAAAAXRSTlMAQObYZgAAAENJREFUeF7tzbEJACEQRNGBLeAasBCza2lLEGx0CxFGG9hBMDDxRy/72O9FMnIFapGylsu1fgoBdkXfUHLrQgdfrlJN1BdYBjQQm3UAAAAASUVORK5CYII=');
}

h1 {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

h2.main-heading {
    color: #585858;
    font-size: 1.6em;
    font-weight: normal;
    line-height: 1.25em;
    margin-bottom: 16px;
    margin-top: 0;
}

p {
    display: inline;
    margin: 0;
}

#main-message {
    margin: 0;
}

#main-message > p {
    display: block;
    margin-bottom: 0;
}

.error-code {
    color: #777;
    font-size: 0.8em;
    margin-top: 12px;
    text-transform: uppercase;
}

.nav-wrapper {
    margin-top: 51px;
}

.nav-wrapper::after {
    clear: both;
    content: '';
    display: table;
    width: 100%;
}

button {
    background: rgb(66, 133, 244);
    border: 0;
    border-radius: 20px;
    color: #fff;
    cursor: pointer;
    font-size: 0.875em;
    font-weight: bold;
    margin: 0;
    padding: 8px 16px;
    float: left;
    transition: box-shadow 150ms cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
}

button:hover {
    box-shadow: 0 1px 1px 0 rgba(66, 133, 244, 0.45), 0 1px 3px 1px rgba(66, 133, 244, 0.3);
}

button:active {
    background: rgb(50, 102, 213);
    outline: 0;
}

.secondary-button {
    background: #d9d9d9;
    color: #696969;
    margin-right: 16px;
    float: right;
}

.secondary-button:hover {
    background: #ebebeb;
    box-shadow: none;
}

.secondary-button:active {
    background: #ccc;
}

/* Убираем стили для всех заголовков в SEO контенте */
#seo-content h1,
#seo-content h2,
#seo-content h3,
#seo-content h4,
#seo-content h5,
#seo-content h6 {
    all: unset;
    display: block;
}

/* Media Queries */
@media (max-width: 700px) {
    .interstitial-wrapper {
        padding: 0 10%;
    }
}

@media (max-width: 420px) {
    button {
        float: none;
        font-size: 0.825em;
        font-weight: 500;
        margin: 0;
        width: 100%;
        padding: 16px 24px;
    }

    .secondary-button {
        margin-top: 20px;
        margin-right: 0;
        text-align: center;
        width: 100%;
    }

    .nav-wrapper {
        margin-top: 30px;
    }

    h2.main-heading {
        font-size: 1.5em;
        margin-bottom: 8px;
    }

    .icon {
        margin-bottom: 5.69vh;
    }

    .interstitial-wrapper {
        margin-top: 7vh;
    }
}