  .amc-banner {
    min-height: 750px;
    position: relative;
    background-size: cover;
    background-position: center;
}

.amc-banner .wrapper {
    min-height: inherit;
    position: relative;
}

.amc-banner--image_mobile {
    display: none;
}

@media screen and (max-width: 1024px) {
    .amc-banner.enable {
        background-image: none;
        background-color: #2c3e50;
    }

    .amc-banner.enable.textimage .wrapper {
        display: flex;
        flex-direction: column-reverse;
    }
    .amc-banner.enable.textimage .wrapper .amc-banner--wrapper {
        padding-top: 80px;
    }
    .amc-banner.enable .amc-banner--image_mobile {
        display: block;
    }
}

.amc-banner .overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 50%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 16.67%),
        linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2));
}

.amc-banner--wrapper__content {
    color: white;
    max-width: 700px;
}

.amc-banner--wrapper__content h1 {
    font-weight: 700;
    font-size: 56px;
    margin-bottom: 20px;
}

.amc-banner--wrapper__content .content {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 44px;
}

.amc-banner--wrapper__content .link {
    background-color: white;
    padding: 18px 32px;
    border-radius: 4px;
    font-weight: 700;
    color: #2c3d4f;
    font-size: 18px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.amc-banner--wrapper__content .link span {
    position: relative;
    z-index: 3;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.amc-banner--wrapper__content .link:after {
    width: 0%;
    height: 100%;
    top: 0;
    left: 0;
    background: #2c3d4f;
    content: "";
    position: absolute;
    z-index: 2;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    border-radius: 3px;
}

.amc-banner--wrapper__content .link:hover:after {
    width: 100%;
}

.amc-banner--wrapper__content .link:hover span {
    color: white;
}

.amc-banner--wrapper {
    padding-top: 190px;
    min-height: 520px;
}

@media screen and (max-width: 1200px) {
    .amc-banner--wrapper__content h1 {
        font-size: 48px;
    }
}
@media screen and (max-width: 1024px) {
    .amc-banner--wrapper__content::before {
        content: "";
        display: block;
        width: 100px;
        height: 2px;
        background-color: #fff;
        margin-top: -30px;
        margin-bottom: 30px;
    }
    .amc-banner--wrapper__content h1 {
        font-size: 32px;
        line-height: initial;
    }
    .amc-banner--wrapper__content .content {
        font-size: 16px;
        margin-bottom: 30px;
    }
    .amc-banner--wrapper__content {
        max-width: 100%;
    }
    .amc-banner--wrapper__content .link {
        display: block;
        text-align: center;
        padding: 12px 28px;
        font-size: 18px;
        /* max-width: fit-content; */
        max-width: 360px;
        margin: 0 auto 40px;
    }
    .amc-banner {
        min-height: initial;
        /* height: 90vh; */
    }
}

@media screen and (max-width: 414px) {
    .amc-banner {
        display: flex;
        align-items: end;
    }
    .amc-banner--wrapper {
        margin-bottom: 5rem;
    }
}
