﻿/*************** Error Page ******************/

.error-page {
    position: relative;
}
.error-page .main-wrapper {
    min-height: calc(100vh - 122px);
}
.error-page .error-wrapper {
    padding: 75px 0 0 0;
    flex: 1;
    background-color: var(--gray);
    display: flex;
    flex-direction: column;
}
.error-page .error-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.error-page .error-title {
    width: 500px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}
.error-page .error-title > h1 {
    font-size: 56px;
    font-weight: 400;
    line-height: 74px;
}
.error-page .error-title > p {
    font-size: 32px;
    line-height: 42px;
}
.error-page .error-title > p.pError500Des {
    max-width: 400px;
    width: 100%;
}
.error-page .error-title > .info-btn {
    width: 100%;
}
.error-page .image-wrapper.imgError404 {
    width: 570px;
    height: 596px;
    overflow: hidden;
    background: url(../img/common/error404Bg.webp) no-repeat center center;
}
.error-page .image-wrapper.imgError500 {
    position: relative;
    width: 100%;
    padding-top: 35.3%;
    overflow: hidden;
    background: url(../img/common/error500Bg.webp) no-repeat center center;
    background-size: cover;
}
.error-page footer.error-footer-wrapper {
    height: 122px;
    color: var(--secondary);
    position: relative;
    width: 100%;
    background-color: var(--sky);
}
.error-page .error-footer-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.error-page .footer-separator-logo,
.error-page .footer-separator-credentials {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
}
.error-page .footer-separator-logo > span {
    font-size: 12px;
    line-height: 14.4px;
}
.error-page .footer-separator-logo > img {
    width: 36px;
    height: 63px;
}

@media (max-width: 800px) {
    .error-page {
        display: flex;
        flex-direction: column;
        height: 100%;
    }
    .error-page .main-wrapper {
        min-height: initial;
    }
    .error-page .error-wrapper {
        padding: 30px 0 0 0;
    }
    .error-page .error-container {
        height: 100%;
        justify-content: space-between;
        gap: 30px;
    }
    .error-page footer.error-footer-wrapper {
        height: 100%;
    }
    .error-page .error-footer-container {
        flex-direction: column;
        padding: 40px 75px;
        gap: 15px;
        justify-content: center;
    }
    .error-page .error-title,
    .error-page .image-wrapper {
        width: 90%;
        margin: 0 auto;
    }
    .error-page .image-wrapper.imgError404 {
        width: 268px;
        height: 330px;
        background: url(../img/common/errorMobile404Bg.webp) no-repeat;
    }
    .error-page .image-wrapper.imgError500 {
        padding-top: 0;
        width: 319px;
        height: 280px;
        background: url(../img/common/errorMobile500Bg.webp) no-repeat;
    }
    .error-page .error-title {
        gap: 20px;
    }
    .error-page .error-title > h1 {
        font-size: 36px;
        line-height: 42px;
    }
    .error-page .error-title > p {
        font-size: 18px;
        line-height: 20px;
    }
    .error-page .error-title > p.pError500Des {
        max-width: 250px;
    }
    .error-page .error-title > .info-btn {
        max-width: 320px;
        width: 100%;
    }
    .error-page .footer-separator-logo,
    .error-page .footer-separator-credentials {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        align-self: center;
    }
    .error-page .footer-separator-logo > img {
        width: 54px;
        height: 94px;
    }
}