* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}


html {
    font-size: 10px;
}

#wrapper {
    position: relative;
    height: 100%;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    font-family: "Open Sans", Arial, sans-serif;
}

#wrapper .error-page {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
}

#wrapper .error-page__wrap {
    width: 100vw;
    height: 100vh;
    background-color: #4c2996;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

#wrapper .error-page__wrap .logo_error-page {
    margin-bottom: 2rem;
}

@media only screen and (min-width: 768px) {
    #wrapper .error-page__wrap {
        width: 90vw;
        height: 90vw;
        border-radius: 50%;
    }
}

@media only screen and (min-width: 1024px) {
    #wrapper .error-page__wrap {
        width: 90vh;
        height: 90vh;
    }
}

@media only screen and (min-width: 1280px) {
    #wrapper .error-page__wrap {
        width: 610px;
        height: 610px;
    }
}

@media only screen and (min-width: 1280px) {
    #wrapper {
        padding-top: 0;
    }
}

#wrapper a.logo {
    padding: 0;
    float: left;
}

#wrapper a.logo img {
    display: block;
    height: 50px;
}
#wrapper a.add-chain,
#wrapper a.delete-chain,
#wrapper a.edit-chain,
#wrapper a.logo {
    border: 0;
}

#wrapper .error-page__content {
    width: 80%;
}

#wrapper .error-page__text {
    color: #fff;
    font-size: 2rem;
    line-height: 1.2;
    margin-top: 12px;
    margin-bottom: 2rem;
    text-align: center;
}

#gasket {
    margin: 0;
    font-size: 14px;
}

.login_error-page {
    margin-left: 0;
    margin-bottom: 16px;
}

.error-page {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    background-color: #fff;
}

.error-page__wrap {
    width: 100vw;
    height: 100vh;
    background-color: #4c2996;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    @media #{$tablet} {
        width: 90vw;
        height: 90vw;
        border-radius: 50%;
    }

    @media #{$tablet-landscape} {
        width: 90vh;
        height: 90vh;
    }

    @media #{$desktop} {
        width: 610px;
        height: 610px;
    }
}

.error-page__content {
    width: 80%;

    @media #{$tablet-landscape} {
        width: 50%;
    }
}
.logo_error-page {
    margin-bottom: 2rem;

    img {
        width: 300px;
    }
}

.error-page__code {
    color: #fff;
    font-size: 100px;
    font-weight: bold;
    text-align: center;
}

.error-page__text {
    color: #fff;
    font-size: 1.6rem;
    margin-top: 12px;
    text-align: center;

    .link {
        display: inline-block;
        margin-top: 4px;
        color: #fff;
        text-decoration: underline;

        &:hover {
            color: #fff;
            text-decoration: none;
        }
    }
}
