.error-404 {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    gap: 5rem;
    padding: 80px 160px;
}

.error-404 img{
    width: 100%;
}

.wrapper-404 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 777px;
    max-width: 600px;
    width: 100%;
    gap: 40px;
}

.error-404-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.error-404-header h1{
    font-size: 120px;
}


.error-404-header p {
    max-width: 100%;
    font-size: var(--blurb-size);
    font-weight: 300;
    font-family: var(--font-henry);
    margin: 0 40px;
    text-align: center;
}

.error-404-content {
    max-width: 100%;
    font-size: var(--blurb-size);
    font-weight: 300;
    font-family: var(--font-henry);
    margin: 0 40px;
    text-align: center;
}

/* Tablet */
@media (max-width: 1268px) {
    .error-404 {
        gap: 3rem;
    }

    .error-404 img{
        width: 100%;
        height: 100%;
    }

    .wrapper-404 {
        height: auto;
    }

    .error-404-header h1 {
        font-size: 120px;
    }

    .error-404-header p {
        font-size: 36px;
    }

    .error-404-content {
        font-size: 28px;
        text-align: center;
        padding: 0 1rem;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .error-404 {
        flex-direction: column;
        gap: 2rem;
        height: auto;
        padding: 5rem 1.5rem;
    }

    .wrapper-404 {
        height: auto;
    }

    .error-404 img{
        width: 100%;
        height: 100%;
    }

    .error-404-header h1 {
        font-size: 80px;
    }

    .error-404-header p {
        font-size: 24px;
    }

    .error-404-content {
        font-size: 20px;
        padding: 0 1rem;
    }
}