



.container-busca {
   display: grid;
   gap: 4rem;
}

.titulo-principal {
    color: white;
    font-size: 48px;
    text-align: center;
}

.organiza-titulos {
    margin: 1rem;
}

.subtitulo-principal {
    font: 24px;
    color: black;
}

.organiza-pagina-inicial {
    width: 55vw;
    height: 65vh;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.section-busca {
    display: grid;
    justify-content: center;
}
.search-form {
    display: flex;
    flex-direction: row;
    align-self: start;
    gap: 10px;
    align-items: center;
    width: 100%;
}
.search-wrapper {
    position: relative;
    width: 100%;
}

.search-button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    color: #666;
}

.search-button svg {
    width: 20px;
    height: 20px;
}

/* Aumenta a área de digitação para não sobrepor o ícone */
.barra-de-pesquisa {
    font-size: 23px !important;
    padding-right: 45px !important;
    width: 20vw;
}
.carrossel-artigos {
    width: 100%;
    max-width: 900px;
    margin: 40px auto;
    text-align: center;
}

.carrossel-artigos h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.carrossel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.h1-carrossel {
    display: flex;
    flex-direction: column;
    justify-self: center;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 2px;
}
.h1-carrossel span {
    display: flex;
    justify-self: center;
    background-color: #ece2e270;
    height: 1px;
    width: 100%;
    margin-top: 4px;
}
.carrossel {
    display: flex;
    overflow: hidden;
    scroll-behavior: smooth;
    width: 100%;
}

.item {
    min-width: 100%;
    padding: 20px;
    background: #f7f7f7;
    border-radius: 10px;
    box-shadow: 0 0 10px #00000015;
}

.titulo {
    font-size: 18px;
    font-weight: bold;
}

.autor {
    margin-top: 8px;
    color: #555;
}

.btn-prev,
.btn-next {
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    padding: 10px;
    color: #333;
}
