@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@...&display=swap');

html,
body {
    height: 100%;
    background-color: #f4f4f4;
}

body {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    background-color: #f4f4f4;
}

/* SLIDEEER - Estilo com efeito coverflow e destaque */

.top-news-slider {
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
    padding: 40px 15px;
    position: relative;
}

/* Slides Swiper */
.swiper-slide-top {
    width: 300px;
    /* largura de slides laterais */
    background-color: #35034b;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
    padding: 20px;
    color: #eee;
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 380px;
    transition: transform 0.3s ease;
}

/* Slide ativo com destaque */
.top-news-slider .swiper-slide-active {
    transform: scale(1.1);
    z-index: 2;
}

/* Cartão interno */
.slide-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Imagem */
.slide-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    margin-bottom: 16px;
}


/* Botões de navegação */
.top-news-button-prev.swiper-button-prev,
.top-news-button-next.swiper-button-next {
    color: #4dabf7;
    transition: transform 0.2s;
}

.top-news-button-prev.swiper-button-prev:hover,
.top-news-button-next.swiper-button-next:hover {
    transform: scale(1.2);
}

/* Paginação bullets */
.swiper-pagination {
    position: relative;
    text-align: center;
    margin-top: 20px;
    z-index: 2;
}

.swiper-pagination-bullet {
    background-color: #555;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background-color: #4dabf7;
    opacity: 1;
}

/* Responsivo */
@media (max-width: 600px) {
    .top-news-slider {
        padding: 20px 10px;
    }

    .swiper-slide-top.swiper-slide {
        width: 90%;
        min-height: 350px;
    }

    .slide-card img {
        height: 160px;
    }

    .slide-card h3 {
        font-size: 1.1rem;
    }

    .slide-card p {
        font-size: 0.85rem;
    }
}


/* Estilo do botão favorito */
@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fade-in 0.3s ease-out;
}

/* Estilo das categorias */
.categories-swiper {
    margin: 40px auto;
    padding: 10px 0;
}

.swiper-slide-category {
    width: 200px;
    height: 80px;
}

.category-box:hover,
.category-box.active {
    cursor: pointer;
    transform: scale(1.1);
}

.category-box {
    display: flex;
    justify-content: center;
    align-items: center;
}


.categories-button-next.swiper-button-next svg {
    width: 28px;
    height: 28px;
}


.categories-button-next.swiper-button-next:hover {
    transform: scale(1.2);
}

/* Configs Tailwind */

.titulo {
    font-size: 32px;
    font-weight: 600;
    color: #35034b;
}