.error-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin: 100px 22px 0;
}
.error-container .error-panel {
    flex-grow: 1;
    background-color: #fff;
    border: 1px solid #B6B7D2;
    border-radius: 16px;
    max-width: 1024px;
    width: 100%;
    padding: 30px;
}

.error-left-wrapper {
    display: flex;
    justify-content: center;
    flex-direction: column;
    height: 100%;
}

.error-cont-right {
    text-align: center;
}

.error-left-wrapper > .error-header-txt,
.error-left-wrapper > .error-message {
    color: #3E3F5E;
}

.error-header-txt {
    font-weight: bolder;
    font-size: 37px;
    margin-bottom: 20px;
}

.error-img {
    max-width: 426px;
    max-height: 439px;
    width: 100%;
    display: inline-block;
}

.error-message {
    font-family: 'Open Sans', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
}
.error-button-wrapper {
    text-align: center;
}

.error-panel .btn-primary {
    min-width: 120px;
    margin-top: 20px;
    width: fit-content
}

.show-on-mobile {
    display: none;
}
.error-cont-left {
    height: 100%;
}

@media(max-width:768px) {
    .error-cont-left {
        height: auto;
    }
    .error-container {
        margin-top: 20px;
    }

    .error-header-txt {
        font-size: 30px;
        margin-bottom: 0;
    }

    .hide-on-mobile {
        display: none;
    }
    .show-on-mobile {
        display: inline-block;
    }
}
@media(max-height:700px) {
    .error-img {
        max-width: 347px;
    }
}

@media(max-width:768px) and (max-height: 630px) {
    .error-img {
        max-width: 257px;
    }
}
@media(max-width:768px) and (max-height: 530px) {
    .error-panel .btn-primary {
        margin-top: 0;
    }
}

@media(max-width:575px) and (max-height: 770px) {
    .error-img {
        max-width: 350px;
    }
}
@media(max-width:575px) and (max-height: 690px) {
    .error-img {
        max-width: 300px;
    }
    .error-panel .btn-primary {
        margin-top: 0;
    }
}

@media(max-width:575px) and (max-height: 610px) {
    .error-img {
        max-width: 250px;
    }
}
@media(max-width:575px) and (max-height: 560px) {
    .error-header-txt {
        font-size: 20px;
    }
}
