:root {
    --section-padding: 7.5vh 10vw;

}

.error-404 {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--section-padding);
    background-color: var(--surface);
}

.error-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.error-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3vh;
    text-align: center;
}

.error-image {
    width: 120px;
    height: 120px;
    margin-bottom: 2vh;
    animation: float 3s ease-in-out infinite;
}

.error-image svg {
    width: 100%;
    height: 100%;
}

.error-404 h1 {
    font-size: 64px;
    line-height: 1.2;
    font-weight: var(--bold-weight);
    color: var(--primary);
    margin: 0;
}

.error-404 .subtitle {
    font-size: var(--display-small-font-size);
    line-height: var(--display-small-line-height);
    font-weight: var(--bold-weight);
    color: var(--on-surface);
    margin: 0;
}

.error-404 .description {
    font-size: var(--body-large-font-size);
    line-height: var(--body-large-line-height);
    color: var(--on-surface);
    margin: 2vh 0;
}

.error-404 .seo-suggestions {
    display: flex;
    flex-direction: column;
    gap: 2vh;
    width: 100%;
    margin-top: 2vh;
}

.error-404 .home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--outlined-button-padding-vertical) var(--outlined-button-padding-horizontal);
    border-radius: var(--outlined-button-padding-border-radius);
    border: 2.5px solid var(--primary);
    background-color: var(--surface-container);
    color: var(--on-surface);
    font-size: var(--headline-large-font-size);
    line-height: var(--headline-large-line-height);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

#post-content {
    padding: var(--section-padding);
}

#post-content h1 {
    margin: 3rem 0;
}

#post-content h2 {
    margin: 2rem 0;
}

#post-content h3 {
    margin: 1rem 0;
}

@media screen and (min-width: 768px) {
    .error-image {
        width: 150px;
        height: 150px;
    }

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

    .error-404 .seo-suggestions {
        flex-direction: row;
        justify-content: center;
    }
}

@media screen and (min-width: 1024px) {
    :root {
        --section-padding: 8vh 14vw;
    }

    .error-image {
        width: 180px;
        height: 180px;
    }

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