.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

body {
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 90vh;
}

.error-box {
    width: 100%;
    height: 100%;
    padding: 0 50px;
    box-sizing: border-box;
}

.text {
    margin-left: 30px;
}

.text div {
    margin: 10px 0;
}

.error-icon {
    width: 253px;
    min-width: 253px;
    height: 293px;
    animation: show-error-icon 1s ease-out;
}

.code {
    width: 100%;
    font-size: 2rem;
    font-weight: bold;
    animation: show-error-item 1s ease-out;
}

.message {
    width: 100%;
    color: #999999;
    animation: show-error-item 1.2s ease-out;
}

.code, .message {
    word-wrap: break-word;
}

@keyframes show-error-item {
    0% {
        opacity: 0;
        transform: translateY(100px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}

@keyframes show-error-icon {
    0% {
        opacity: 0;
        transform: translateY(-100px);
    }
    50% {
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}

@media (max-width: 700px) {
    .error-icon {
        display: none;
    }

    .text {
        margin: 0;
    }

    .error-box {
        padding: 0;
    }

    .code, .message {
        width: 80vw;
    }
}
