.error {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%; height: 100%;
    padding-top: 150px;
}

.error img {
    width: 40%;
    object-fit: contain;
    margin: 25px;
}

.error h1 {
    font-size: 50px; 
    color: var(--black);
    font-weight: bold;
}

.error p {
    color: var(--dark-grey);
    font-size: 24px;
}

@media only screen and (max-width: 850px) {
    .error {
        flex-direction: column;
    }
    .error p, .error h1 {
        text-align: center;
    }
}