@import url('../css/variables.css');

.error-404 {
    text-align: center;
    padding: 80px 0 120px;
}


.error-code {
    display: block;

    font-family: var(--font-heading);
    font-size: 8rem;
    line-height: 1;
    font-weight: 400;

    color: var(--color-base);

    margin-bottom: 24px;
}

.error-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 400;
    line-height: 1.2;

    color: var(--color-titre);

    margin-bottom: 20px;
}

.error-text {
    max-width: 600px;

    margin: 0 auto 32px;

    font-family: var(--font-texte);
    font-size: 18px;
    line-height: 1.8;

    color: var(--color-paragraphe);
}

.error-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 14px 28px;

    background: var(--color-link);
    color: #fff;

    border-radius: 999px;

    text-decoration: none;

    font-family: var(--font-texte);
    font-size: 16px;
    font-weight: 500;

    transition: .2s ease;
}

.error-button:hover {
    opacity: .9;
}

@media (max-width: 767px) {

    .error-404 {
        padding: 60px 0 80px;
    }

    .error-code {
        font-size: 5rem;
    }

    .error-title {
        font-size: 2rem;
    }

    .error-text {
        font-size: 16px;
    }

}