.wrapper-gral {
    display: flex;
    justify-content: center;
    align-items: center;
    /*margin: 1rem 0rem;
    padding: 1rem;*/
}

@media (min-width:768px) {
  .wrapper-gral {
    /*margin: 10rem;*/
  }
}

@media (max-width:768px) {
    .wrapper-gral {
        display: flex;
        flex-direction: column;
        align-items: center;
        /*margin: 3rem 1rem;*/
    }
}

@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: 1rem;
    margin-left: 1.5rem;
    text-align: center;
    align-content: center;
    align-items: center;
}

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

.wrapper-content_page404 > h3 {
    color: var(--brand-black);
    font-family: var(--font-family-0-regular);
    font-size: 2.22222rem;
    font-style: normal;
    font-weight: 700;
    line-height: 2.77778rem;
    text-transform: uppercase;
    margin-bottom: 0rem;
}

@media (max-width:768px) {
    .wrapper-content_page404 > h3 {
        font-size: 1.33333rem;
        line-height: 1.77778rem;
    }
}

.paragraph_1 {
    color: var(--brand-black);
    text-align: left;
    font-family: var(--font-family-0-regular);
    font-size: 1rem;
    font-style: normal;
    /*font-weight: bold;*/
    line-height: 1.44444rem;
}

.paragraph_2 {
    color: var(--brand-black);
    text-align: left;
    font-family: var(--font-family-0-regular);
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.44444rem;
}

@media (max-width:768px) {

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

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

.link_back_page404 {
    text-decoration: none;
    color: var(--brand);
    font-family: var(--font-family-0-regular);
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 800;
    line-height: 2.22222rem;
    text-decoration-line: underline;
    width: fit-content;
}

@media (max-width:768px) {
    .link_back_page404 {
        font-size: 0.99997rem;
        line-height: 1.11111rem;
        letter-spacing: 0.03111rem;
        /*display: contents;*/
        text-decoration: none;
        text-decoration-line: underline;
    }
}

.error_banner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 30.709rem;
    overflow: hidden;
    background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
}

.error_banner__banner-content {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 5rem;
    color: var(--brand-white);
    z-index: 2;
}

    .error_banner__banner-content > h1 {
        font-family: var(--font-family-0-bold);
        font-size: var(--title-1);
        font-weight: var(--weight-bolder);
        text-transform: uppercase;
        color: var(--brand-white);
    }

    .error_banner__banner-content > p {
        font-family: var(--font-family-1-1);
        font-size: var(--paragraph-1);
        font-weight: var(--weight-normal);
        letter-spacing: 0.4px;
    }

.error_banner__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 592px) {
    .error_banner {
        height: 30.709rem;
    }

    .error_banner__image {
        object-fit: cover;
        object-position: center;
    }

    .error_banner__banner-content > h1 {
        font-family: var(--font-family-0-bold);
        font-size: var(--title-4);
        font-weight: var(--weight-bolder);
        text-transform: uppercase;
        color: var(--brand-white);
    }
}

@media (max-width: 359px) {
    .error_banner {
        height: 31.25rem;
    }

    .error_banner__image {
        object-fit: cover;
        object-position: center;
    }

    .error_banner__banner-content {
        padding: 4rem 1rem 1.5rem 1.5rem;
    }

        .error_banner__banner-content > h1 {
            font-family: var(--font-family-0-bold);
            font-size: var(--title-4);
            font-weight: var(--weight-bolder);
            text-transform: uppercase;
            color: var(--brand-white);
        }
}

.link_back_page404 {
    font-family: inherit;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: var(--button-border-radius);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    display: block;
}

.btn-primary {
    background-color: #000000;
    color: #FFFFFF;
    border: none;
    text-decoration: none;
}

    .btn-primary:hover,
    .btn-primary:active {
        background-color: #888888;
        color: #FFFFFF;
    }

.btn-secondary {
    background-color: transparent;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
    text-decoration: none;
}

    .btn-secondary:hover,
    .btn-secondary:active {
        background-color: var(--brand) !important;
        color: var(--brand-white) !important;
        transition: all 0.5s;
    }

.button-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    align-items: flex-start;
}

@media (min-width: 592px) {
    .button-container {
        flex-direction: column;
        gap: 20px;
    }

    .link_back_page404 {
        width: 298px;
        height: 60px;
        font-family: var(--font-family-0-bold);
    }
}

@media (max-width: 591px) {
    .button-container {
        flex-direction: row;
        gap: 8px;
        justify-content: center;
    }

    .link_back_page404 {
        width: 405px;
        height: 60px;
        padding: 8px 32px;
        opacity: 1;
    }
}
