
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins';
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
}

:root {
    --primary-color: #1f5568;
    --secondary-color: #E9C46A;
    --accent-color: #F4A261;
    --background-color: #264653;
    --text-color: #FFFFFF;
    --buttom-color: #E1B92B;
}

body {
    background-color: #ececea;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Aplicando escala apenas ao conteúdo */
#site-content {
    transform: scale(0.8);
    transform-origin: top left;
    width: 125%;
    height: 125%;
}

/* Ajuste para telas médias */
@media screen and (max-width: 1200px) {
    #site-content {
        transform: scale(0.9);
        width: 111%;
        height: 111%;
    }
}

/* Ajuste para tablets */
@media screen and (max-width: 992px) {
    #site-content {
        transform: scale(1);
        width: 100%;
        height: 100%;
    }
}

/* Ajuste para celulares */
@media screen and (max-width: 768px) {
    #site-content {
        transform: scale(1);
        width: 100%;
        height: 100%;
    }
}





/* Estilos gerais para o blog */
/* Cabeçalho */
.section-header {
    background-color: var(--primary-color);
    display: flex;
}

.logo-1 {
    display: flex;
    margin-left: 2px;
}

.logo {
    width: 50%;
    cursor: pointer;
}

.title {
    color: var(--text-color);
    font-weight: bold;
    font-size: 20px;
}

/* Botão */
.hamburger {
    display: none;
    font-size: 2rem;
    /* Tamanho do ícone */
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px 15px;
    transition: all 0.3s ease-in-out;
    border-radius: 8px;
    color: #eeeaea;
    /* Cor do ícone */
}

/* Efeito hover */
.hamburger:hover {
    background: rgba(255, 217, 0, 0.1);
}

/* Animação de clique */
.hamburger:active {
    transform: scale(0.9);
}

/* Transformação ao ativar o menu */
.hamburger.active {
    color: red;
    /* Muda a cor quando ativo */
}

/* Menu de navegação */
.comands ul {
    display: flex;
    list-style: none;
    margin: 45px;
    padding: 0;
    gap: 15px;
    justify-content: center;
    align-items: center;
    right: 0;
    margin-right: 60px;
}

.comands ul li {
    padding: 10px 15px;
    background: var(--background-color);
    color: white;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.comands ul li:hover {
    background: red;
}

a {
    color: var(--text-color);
    text-decoration: none;
    margin: 20px;
    font-weight: bold;
}

a:hover {
    color: var(--secondary-color);
}

/* Quando o menu estiver ativo */
.comands.active {
    display: block;
}

.hamburger.active {
    color: red;
    /* Muda a cor do botão quando o menu estiver ativo */
}

/* Efeito de hover nos botões */
.section-second {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}


.blog-main {
    padding: 20px;
    min-height: 70vh;
}


/* Categorias */
.blog-filters {
    margin-bottom: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 5px;
}


.category-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
}


.blog-title {
    color: #1f5568;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
    margin-bottom: 1px;
}

.blog-subtitle {
    color: #666;
    text-align: center;
    justify-content: center;
    align-items: center;
}


.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.article-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    background: white;
    padding: 10px;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.article-image-container {
    height: 200px;
    overflow: hidden;
}

.article-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.article-card:hover .article-image {
    transform: scale(1.05);
}

.article-content {
    padding: 1.5rem;
}

.article-title {
    color: #1f5568;
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.article-excerpt {
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.article-date {
    color: #888;
    font-size: 0.9rem;
    display: block;
    margin-top: 1rem;
}

.no-articles {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
}

.btn {
    display: inline-block;
    background-color: #1f5568;
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    margin-top: 1rem;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #164052;
}

/* Paginação */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 3rem 0;
    gap: 0.5rem;
}

.pagination-link {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #1f5568;
    text-decoration: none;
    transition: all 0.3s;
}

.pagination-link:hover {
    background-color: #f5f5f5;
}

.pagination-link.prev, .pagination-link.next {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pagination-numbers {
    display: flex;
    gap: 0.5rem;
}

.pagination-number {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #1f5568;
    text-decoration: none;
    transition: all 0.3s;
}

.pagination-number:hover {
    background-color: #f5f5f5;
}

.pagination-number.active {
    background-color: #1f5568;
    color: white;
    border-color: #1f5568;
}

.pagination-dots {
    padding: 0.5rem;
}

/* Rodapé */
.blog-footer {
    background-color: #acaca6;
    color: black;
    padding: 30px;
    align-items: center;
    justify-content: center;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo .logo {
    height: 120px;
    margin-bottom: 0.5rem;
}

.footer-title {
    font-size: 1.2rem;
}

.footer-links h3, .footer-contact h3, .footer-social h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #14120c;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgb(7, 5, 5);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #f8d56b;
}

.footer-contact p {
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    color: rgb(12, 7, 7);
    font-size: 1.2rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #f8d56b;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(29, 16, 16, 0.7);
}

.developer {
    margin-top: 0.5rem;
    font-size: 0.8rem;
}

/* Responsividade */
@media (max-width: 768px) {
    .blog-header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .blog-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .pagination {
        flex-wrap: wrap;
    }
}

@media (max-width: 1180px) {
    .section-header {
        align-items: center;
        justify-content: center;
        padding: 20px;
    }

    .logo-1{
        justify-content: center;
    }

    .hist-img {
        width: 97%;
    }

    .logo {
        width: 70%;
        cursor: pointer;
    }

    .comands {
        display: none;
    }

    .title {
        font-size: 15px;
    }

    .hamburger {
        display: block;
    }

    .comands {
        display: none;
        /* Oculta o menu por padrão */
        position: absolute;
        top: 70px;
        align-items: center;
        justify-content: center;
        background: var(--primary-color);
        padding: 15px;
        border-radius: 10px;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        /* Adiciona a camada superior */
    }

    .comands ul {
        display: flex;
        flex-direction: column;
        /* Exibir itens verticalmente */
        gap: 10px;
    }

    .carousel {
        width: 100%;
        height: 250px;
    }

    .carousel-inner {
        display: flex;
        transition: transform 0.5s ease-in-out;
        width: 100%;
        height: 100%;
        margin-right: 28px;
    }

    /* Botões de navegação */
    .prev,
    .next {
        margin-top: 10px;
    }

    .news {
        grid-template-columns: 1fr;
    }

    article img {
        height: 150px;
    }

    .title_news {
        font-size: 16px;
    }

    .btn-ler {
        padding: 6px 12px;
    }

    .footer-menu li {
        display: flex;
        margin-right: 5px;
        flex-direction: column;
    }

    h1 {
        font-size: 20px;
    }

    .section-second {
        display: flex;
        flex-direction: column;
    }

    .col-1 {
        width: 80%;
        margin: 10px;
        padding: 5px;
    }

}


.category-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.category-list a {
    display: block;
    padding: 0.5rem 1rem;
    background: #e9ecef;
    border-radius: 20px;
    text-decoration: none;
    color: #495057;
    transition: all 0.3s;
}

.category-list a:hover, .category-list a.active {
    background: #007bff;
    color: white;
}

/* Estatísticas */
.news-stats {
    margin: 1rem 0;
    color: #6c757d;
    font-size: 0.9rem;
}

.news-stats .views {
    margin-right: 1rem;
}

/* Comentários */
.comments-section {
    margin-top: 3rem;
    border-top: 1px solid #dee2e6;
    padding-top: 2rem;
}

.comment-form {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
}

.comments-list {
    margin-top: 2rem;
}

.comment {
    padding: 1rem;
    margin-bottom: 1rem;
    background: #f8f9fa;
    border-radius: 5px;
}

.comment h4 {
    margin: 0 0 0.5rem 0;
    color: #343a40;
}

.comment time {
    font-size: 0.8rem;
    color: #6c757d;
}

/* Reações */
.reactions {
    margin: 1rem 0;
}

.reaction-form {
    display: flex;
    gap: 1rem;
}

.like-btn, .dislike-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.like-btn {
    background: #28a745;
    color: white;
}

.dislike-btn {
    background: #dc3545;
    color: white;
}

.like-btn:hover, .dislike-btn:hover {
    opacity: 0.8;
}

.article-category{
    color: #14120c;
}