.anunciar {
    background-color: #004998;
    display: flex;
    /* padding: 0 50px; */
    gap: 50px;
}

.anunciar-container {
    display: flex;
    justify-content: center;
    /*flex-wrap: wrap;*/
    align-items: center;
    padding: 50px 0px !important;
}

.anunciar-section-container {
    width: 50%;
}
.anunciar-wrapper{
    display: flex;
    flex-direction: row;
}
.anunciar-container figure img {
    z-index: 1;
    position: relative;
    animation: slide 3s ease-in-out infinite;
}

@keyframes slide {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}
.bg_img {
    position: absolute;
    display: flex;
    justify-content: center;
    bottom: 30px;
    left: 0;
    z-index: 0;
    /* transform: rotate(180deg); */
}
.anunciar-text {
    display: flex;
    flex-direction: column;
    z-index: 1;
    margin-left: 60px;
}

.anunciar-text>h3 {
    font-size: 34px;
    line-height: 44px;
    font-family: "NimbusSans-Bold";
    color: #FFFFFF;
    position: relative;
    z-index: 1;
}

.anunciar-text>h3::after {
    content: "";
    position: absolute;
    bottom: -5px;
    right: 0;
    left: 0;
    height: 20px;
    width: 100%;
    z-index: -1;
    max-width: 230px;
    background-color: #023368;
}

.anunciar-link {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 30px;
}

.anunciar-link>p {
    font-family: "NimbusSans-Regular";
    font-size: 20px;
    line-height: 28px;
    color: #ffffff;
    max-width: 300px;
}

.anunciar-link a {
    padding: 7px 24px;
    background-color: var(--color-02);
    border-radius: 10px;
    font-size: 14px;
    font-family: "NimbusSans-Bold";
    line-height: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-06);
    box-shadow: 0px 10px 10px #0000001A;
    cursor: pointer;
}

.anuncio-btns {
    display: flex;
    gap: 15px;
}

.anunciar-link a:hover {
    animation: footerAnimation .6s;
}

@media (max-width: 960px) {
    .anunciar-wrapper {
        flex-direction: column;
    }
    .anuncio-btns{
        flex-direction: column;
    }
    .anunciar-container{
        align-items: flex-start;
        padding: 50px 0 0 0 !important;
    }
    .anunciar-text>h3 {
        font-size: 28px;
        line-height: 31px;
        /* text-align: center */
    }

    .anunciar-container figure img {
        /* width: 100%; */
        left: 13rem;
        bottom: 14rem;
        width: 126px;
    }
    .anunciar-text{
        margin-left: 0;
    }
    .anunciar-text>h3::after {
        font-size: 28px;
        line-height: 31px;
        text-align: center;
    }

    .anunciar-link>h4 {
        /* text-align: center; */
    }
    .anunciar-link a{
        display: block;
        text-align: center;
    }

    .anunciar-link {
        /* align-items: center; */
        margin-bottom: 20px;
        max-width: 200px;
    }

    .anunciar-container {
        flex-direction: column-reverse;
    }
    .bg_img{
        left: 12rem;
        bottom: 15rem;
    }
    .bg_img img{
        width: 150px;
    }
}
@media (max-width: 768px) {
    .anunciar{
        overflow: hidden;
        padding: unset;
    }
    .anunciar-wrapper {
        flex-direction: column;
        padding: 0 20px;
    }
    .anunciar-section-container{
        width: 100%;
    }
    .anunciar-text{
        margin-left: unset;
    }
}
@media (max-width: 460px){
   .anunciar-container figure{
        width: 100%;
    }
}