@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');

#divErrorWrap {
    position: absolute;
    bottom: 50%;
    right: 50%;
    transform: translate(50%, 50%);
    text-align: center;
    font-size: 0;
    width: 796px;
    max-width: 90%;
    color: var(--color-darker-gray);
}

#divErrorWrap .divErrorImage {
    position: relative;
    width: 400px;
    max-width: 80%;
    margin: 0 auto;
    background: url('/img/error/aniscan_img_error@2x.png') no-repeat;
    background-position: center center;
    background-size: cover;
}

#divErrorWrap .divErrorImage::after {
    content: "";
    display: block;
    width: 100%;
    padding-top: 66.25%;
}

#divErrorWrap h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 5.85rem;
    margin: 0.8rem 0;
}

#divErrorWrap h2 {
    font-size: 1.4rem;
    margin: 0 0 0.875rem 0;
}

#divErrorWrap p {
    font-size: 1rem;
    margin: 0;
}

#divErrorWrap .buttonErrorButton {
    width: 300px;
    max-width: 80%;
    margin: 1.6rem auto 0 auto;
    padding: 0.82rem 0;
    background: var(--color-other-highlight);
    color: var(--color-white);
    font-size: 1.2rem;
    border-radius: 0.6rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
}
#divErrorWrap .buttonErrorButton:hover {
    background: var(--color-black);
}

@media (max-width: 600px) {
    #divErrorWrap h1 {
        font-size: 4rem;
    }

    #divErrorWrap h2 {
        font-size: 1.12rem;
    }

    #divErrorWrap p {
        font-size: 1rem;
    }

    #divErrorWrap .buttonErrorButton {
        font-size: 1.12rem;
    }
}