.header-404 {
    margin-top: 100px;
    background-color: #8dcbf1;
    padding-block: 62px;
    position: relative;
    z-index: 1;
}

.helpful-links-section {
    position: relative;
    z-index: 2;
}

.header-404:after {
    content: "";
    display: block;
    height: 200px;
    position: absolute;
    width: 105%;
    background-color: #fff;
    rotate: -3deg;
    bottom: -95px;
    z-index: 1;
}

.header-404 .container {
    position: relative;
    z-index: 2;
}

.header-404__grid {
    display: flex;
    gap: 30px;
    justify-content: space-between;
    flex-direction: column;
}

.header-404__content {
    max-width: 100%;
}

@media (min-width: 600px) {
    .header-404__grid {
        flex-direction: row;
    }

    .header-404__content {
        max-width: 352px;
    }
}

@media (min-width: 1200px) {
    .header-404__content {
        max-width: 652px;
    }
}

.header-404__title {
    color: #fff;
    font-family: Raleway;
    font-size: 40px;
    font-style: normal;
    font-weight: 800;
    line-height: 1.2; /* 150% */
    margin-top: 0;
}

.header-404__main-section {
    color: #fff;
    font-family: Raleway;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
    margin-bottom: 53px;
}

.header-404__search {
    max-width: 508px;
    margin-bottom: 40px;
}

input.search-field-404 {
    width: 365px;
    height: 51px;
    margin-right: 0 !important;
    color: #ababab;
    border: none;
    border-radius: 0;
    font-family: Raleway;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

button.search-submit-404 {
    background: #c7df91;
    display: flex;
    width: 100px;
    height: 51px;
    justify-content: center;
    align-items: center;
    border-radius: 0px;
    gap: 10px;
    flex-shrink: 0;
    box-shadow: none;
    color: #000;
    font-family: Raleway;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    transition: all 0.2s ease-in-out;
    &:hover {
        filter: brightness(1.05);
    }
}

@media (min-width: 600px) {
    button.search-submit-404 {
        width: 150px;
    }
}

form.search-form-404 {
    display: flex;
}

.cta-button {
    background: #c7df91;
    padding: 24px 65px;
    color: #000;
    font-family: Raleway;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    display: inline-block;
    width: 100%;
    text-align: center;
    transition: all 0.2s ease-in-out;
    &:hover {
        filter: brightness(1.05);
    }
}

@media (min-width: 600px) {
    .cta-button {
        width: fit-content;
    }
}

h2.helpful-links__title {
    color: #8dcbf1;
    font-family: Raleway;
    font-size: 40px;
    font-style: normal;
    font-weight: 800;
    width: fit-content;
    margin-bottom: 38px;
    margin-top: 0;
}

h2.helpful-links__title:after {
    content: "";
    display: block;
    width: 100px;
    height: 1px;
    background: #8dcbf1;
    margin-top: 21px;
}

.helpful-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: start;
}

@media (min-width: 600px) {
    .helpful-links {
        gap: 38px;
    }
}

.helpful-links__link {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border-radius: 3px;
    border: 3px solid #ee9ebd;
    width: 100%;
    transition: all 0.2s ease-in-out;
    &:hover {
        filter: brightness(1.1);
    }
}

@media (min-width: 600px) {
    .helpful-links__link {
        width: 263px;
    }
}

.helpful-links__link-text {
    color: #ee9ebd;
    font-family: Raleway;
    font-size: 25.745px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}
/* 404 page */
