.noticia {
    margin: 10rem auto 5rem auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.noticia #tituloNoticia{
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 1.3rem;
   margin: 0rem auto;
}

.noticia #tituloNoticia h1{
    font-weight: 700;
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-family: 'Nunito';
    color: #222026;
}

.noticia #tituloNoticia p{
    font-weight: 500;
    font-size: clamp(1.3rem, 3.3vw, 1.5rem);
    text-align: center;
    color: black;
    font-family: 'Nunito';
    width: 50%;
}

#carrossel {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.slide {
    display: none;
    align-items: center;
    justify-content: space-around;
    gap: 1.5rem;
    padding: 20px;
    width: 80%;
    height: 23rem;
    background-color: #363040;
    border-radius: 10px;
    margin: 0 auto;
    font-family: 'Nunito';
}

.slide.active {
    display: flex;
}

.slide img {
    width: clamp(15rem, 35vw, 25rem);
    border-radius: 10px;
}

.noticia figure{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.noticia figcaption{
    color: #4944519d;
    font-size: 0.5rem;
    font-family: "Arial";
}

.slide h1 {
    font-weight: 700;
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: #FFFFFF;
}

.resumo-noticia {
    font-weight: 400;
    font-size: clamp(0.8rem, 2vw, 1rem);
    color: white;
}

.slide button p {
    color: black;
}

.slide div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.bolinhas {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5rem;
}

.bolinha {
    width: 1.1rem;
    height: 1.1rem;
    background: #D9D9D9;
    border-radius: 50%;
}

.bolinha:hover {
    cursor: pointer;
    border: 0.1rem solid #363040;
}

.bolinha.active {
    background-color: #F0BC23;
}


@media (max-width: 1000px){
    .noticia #tituloNoticia p{
        width: 90%;
    }
}

@media (max-width: 800px) {
    #carrossel {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        height: 25rem;
        gap: 0rem;
    }

    .slide {
        display: flex;
        flex-direction: column;
        width: 20rem;
        height: 100%;
        flex-shrink: 0;
        margin: 0 0.2rem;
        gap: 0rem;
        overflow-y: scroll;
    }

    .slide div {
        gap: 0rem;
        align-items: center;
    }

    .slide img {
        width: 100%;
    }

    .bolinhas {
        display: none;
    }
}

@media (max-width: 1250px) {
    .slide h1 {
        font-size: clamp(1rem, 3.3vw, 1.5rem);
    }

    .slide div {
        gap: 1rem;
    }
}