.notice_banner {
    position: relative;
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border-grey);
    margin: 96px auto;
    min-height: 550px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.notice_banner_image {
    position: absolute;
    width: calc(100% - 30px);
    height: calc(100% - 30px);
    overflow: hidden;
    background-color: var(--light-grey);
}

.notice_banner img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}

.notice_banner h1 {
    color: var(--white);
    margin: 0 auto 30px;
    font-size: 48px;
    line-height: 1;
    text-align: center;
}

.notice_banner .buttons_container {
    justify-content: center;
}

.notice_banner .buttons_container .button_2 {
    border: 2px solid var(--white);
    color: var(--white) !important;
}

.notice_banner .buttons_container .button_2:hover {
    background-color: var(--white) !important;
    border: 2px solid var(--white) !important;
    color: var(--dark-blue) !important;
}

.notice_banner .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-color: rgba(0, 0, 0, 0.22);
}

@media (max-width: 1350px) {
    .notice_banner {
        width: calc(100% - 192px);
    }
}

@media (max-width: 1250px) {
    .notice_banner {
        border: none;
        padding: 0;
        width: 100%;
    }

    .notice_banner_image {
        width: 100%;
        height: 100%;
    }

    .notice_banner h1 {
        font-size: 44px;
        text-align: center;
    }
}

@media (max-width: 800px) {
    .notice_banner {
        justify-content: center;
    }

    .notice_banner h1 {
        font-size: 36px;
    }
}

@media (max-width: 600px) {
    .notice_banner {
        justify-content: center;
    }
}

@media (max-width: 500px) {
    .notice_banner .buttons_container .button_2 {
        margin-bottom: 15px;
    }
}