.wrapper-gral {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 54rem;
}

.wrapper_container {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.349);
    align-content: center;
}

.wrapper_imageError {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

@media (max-width:768px) {
    .wrapper-gral {
        display: flex;
        flex-direction: column;
        align-items: center;
        max-height: 34.375rem;
    }
}

@media (max-width:768px) {
    .wrapper-span {
        /* width: 10rem;
        height: 10rem; */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        /* margin-top: 4rem; */
    }
}

.wrapper-content_page404 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--p-4);
    margin-left: 1.5rem;
    max-width: 28.688rem;
}

@media (max-width:768px) {
    .wrapper-content_page404 {
        margin-left: 0rem;
        text-align: center;
    }

}

.wrapper-content_page404 .normal-text {
    font-family: var(--font-family-1);
    font-weight: var(--weight-extra-bold);
    font-size: var(--text-6xl);
    line-height: 3.5rem;
    color: var(--brand-white);
    font-style: normal;
    text-transform: uppercase;
    margin-bottom: 0rem;
}

.wrapper-content_page404>p>strong {
    color: var(--brand-white);
    font-family: var(--font-family-1);
    font-size: 2.22222rem;
    font-style: normal;
    font-weight: var(--weight-extra-bold);
    line-height: 2.77778rem;
    text-transform: uppercase;
    margin-bottom: 0rem;
}

.wrapper-content_page404>p .normal-text {
    font-weight: normal;
    font-family: 'BasisGrotesque-Pro';
    font-size: 2.22222rem;
}


@media (max-width:768px) {

    .wrapper-content_page404>h3 {
        font-size: 1.33333rem;
        line-height: 1.77778rem;
    }

}

.paragraph_1 {
    font-family: var(--font-family-2);
    font-weight: var(--weight-normal);
    font-size: var(--text-lg);
    line-height: 1.563rem;
    color: var(--brand-white);
    text-align: left;
    font-style: normal;

}

.paragraph_2 {
    color: var(--gray-dark-10);
    text-align: left;
    font-family: var(--font-family-1);
    font-size: var(--text-md);
    font-style: normal;
    font-weight: var(--weight-normal);
    line-height: 1.44444rem;

}



.link_back_page404 {
    text-decoration: none;
    color: var(--brand);
    font-family: var(--font-family-2);
    font-size: 1.2rem;
    font-style: normal;
    font-weight: var(--weight-extra-bold);
    line-height: 1.22222rem;
    text-decoration-line: underline;
    width: fit-content;
    text-indent: 1rem;

}

.link_button_page404 {
    font-family: var(--font-family-2);
    /* width: 12rem; */
    height: 3.75rem;
    border-radius: 6rem;
    text-decoration: none;
    color: var(--brand-white);
    font-size: var(--text-sl);
    font-weight: var(--weight-normal);
    line-height: 1.614rem;
    background-color: var(--gray-dark);
    text-align: center;
    padding: 0.8rem;
}

.link_button_page404:hover {
    background-color: var(--brand);
    border: 1px solid var(--brand);
    color: var(--brand-white);
}


.link_button_page404.white {
    border: 2px solid var(--brand-white);
    background-color: transparent;
    font-family: var(--font-family-2);
    /* width: 12rem; */
    height: 3.7rem;
    border-radius: 6rem;
    text-decoration: none;
    color: var(--brand-white);
    font-size: var(--text-sl);
    font-weight: var(--weight-normal);
    text-align: center;
    padding: 0.8rem;
}

.link_button_page404.white:hover {
    background-color: var(--gray-dark);
    color: var(--brand-white);
    border: 2px solid var(--gray-dark);
}

.wrapper_button_link {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.wrapper_span_container {
    margin-left: 2rem;
}

@media (max-width:768px) {
    .link_back_page404 {
        font-size: 0.77778rem;
        line-height: 1.11111rem;
        letter-spacing: 0.03111rem;
        display: contents;
    }

    .wrapper-content_page404 {
        display: flex;
        align-items: flex-start;
        padding-left: 2rem;
    }

    .wrapper_span_container {
        max-width: 18.625rem;
        margin: 0 auto;
    }

    .wrapper-span {
        justify-content: end;
        align-items: baseline;
    }

    .wrapper-span svg {
        width: 1.438rem;
        height: 1.063rem;
    }

    .wrapper-content_page404 .normal-text {
        font-size: 1.875rem;
        line-height: 2.546rem;
    }
}

@media (max-width:768px) {

    .paragraph_1 {
        text-align: center;
        font-size: var(--text-lg);
        line-height: 1.375rem;
    }

    .paragraph_2 {
        text-align: center;
        font-size: 0.88889rem;
        line-height: 1.22222rem;
    }

    .link_button_page404,
    .link_button_page404.white {
        font-size: 1.25rem;
        line-height: 1.614rem;
    }

}

@media (min-width:360px) and (max-width:600px) {
    .wrapper-content_page404 {
        align-items: center;
        padding-left: 0rem;
        gap: 2rem;
    }

    .link_button_page404 {
        width: 19rem;
        height: 3.5rem;
    }

    .link_button_page404.white {
        width: 19rem;
        height: 3.5rem;
    }
}