* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

a, li {
    text-decoration: none;
    list-style: none;
}

.flex {
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    max-width: 100%;
    margin: 0 auto;
}

/* Header */
header {
    background-color: #1062ac;
    padding: 10px 20px;
}

.top-menu {
    justify-content: flex-end;
    padding: 5px 0;
}

.top-menu .sec-top-menu-link a, .top-menu .sec-top-icons a {
    color: #fff;
    padding: 0 15px;
    font-size: 1.2rem;
}
.sec-top-icons i{
    color: #fff;
    flex-direction: row;
    justify-content: baseline;
}
.top-menu .sec-top-menu-link a:hover, .top-menu .sec-top-icons a:hover {
    text-decoration: underline;
}

.menu-main {
    display: flex;
    justify-content: space-between;
    padding: 30px 0;
}

.logo img {
    width: 400px;
    height: auto;
    object-fit: cover;
}

.menu ul {
    display: flex;
    justify-content: center;
}

.menu ul li {
    padding: 0 15px;
}

.menu ul li a {
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
}
/* Slideshow */
.div-slideshow {
    width: 100%;
    height: 700px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    background-color: #00d700;
}

.child-slideshow {
    width: 100%;
    height: 100%;
    position: relative;
}

.child-slideshow img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Garante que a imagem será centralizada sem distorcer */
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 2.0s ease-in-out; /* Transição suave de opacidade */
    z-index: -1; /* Para garantir que as imagens não se sobreponham */
    visibility: hidden; /* Usado para garantir que a imagem não ocupe espaço enquanto invisível */
}

.child-slideshow img.active {
    opacity: 1;
    visibility: visible; /* Torna a imagem visível */
    z-index: 1; /* Coloca a imagem ativa no topo */
}


/* Estatísticas */
.estatisticas {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 0px;
}

.estatisticas section {
    width: 30%;
    margin: 0 10px;
    text-align: center;
}

.estatisticas section h2 {
    font-size: 2rem;
    color: #1062ac;
    font-weight: 900;
}

.estatisticas section p {
    font-size: 1.2rem;
    color: #1062ac;
    font-weight: 900;
}
/* Vereador */
/* Vereador */
#vereador {
    background-color: #1563ad;
    padding: 70px 45px;
}

.div-vereador {
    display: flex;
    justify-content: space-around;
    padding: 60px 0;
    flex-wrap: wrap; /* Permite que os itens se ajustem em telas menores */
}

.div-vereador .left, .div-vereador .right {
    width: 50%;
    padding: 20px;
}

.div-vereador .left p {
    color: #fff;
    font-size: 1.2rem;
    padding: 10px 0;
}

.div-vereador img {
    width: 300px;
    height: auto;
    object-fit: cover;
}

.div-vereador .left span {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
}

#vereador h2 {
    color: #fff;
    font-size: 2.5rem;
    text-align: center;
}

#vereador h2 span {
    color: #00d700;
}

/* Responsividade */
@media (max-width: 900px) {
    #vereador {
        padding: 50px 20px;
    }

    #vereador h2 {
        font-size: 2rem;
    }

    .div-vereador {
        flex-direction: column; /* Empilha as colunas */
        padding: 30px 0;
    }

    /* Mudando a ordem dos elementos para imagem primeiro */
    .div-vereador .right {
        order: -1; /* Coloca a imagem antes do texto */
        width: 100%; /* Ocupa toda a largura disponível */
        text-align: center; /* Centraliza a imagem */
    }

    .div-vereador .left {
        width: 100%; /* Ocupa toda a largura disponível */
        text-align: center; /* Centraliza o texto */
    }

    .div-vereador img {
        width: 80%; /* Ajusta a imagem para caber melhor em telas menores */
        margin-top: 20px;
    }

    .div-vereador .left p {
        font-size: 1rem; /* Ajusta o tamanho da fonte no texto */
    }
}

@media (max-width: 600px) {
    #vereador h2 {
        font-size: 1.8rem; /* Reduz o tamanho do título para telas muito pequenas */
    }

    .div-vereador .left p {
        font-size: 0.9rem;
    }

    .div-vereador img {
        width: 90%; /* Aumenta a largura da imagem para caber bem em telas pequenas */
    }
}

/* Fotos e Videos */
#fotos, #videos {
    padding: 70px 45px;
}

.media h2 {
    font-size: 2.5rem;
    text-align: center;
    color: #141414;
}
.sec-media{
    padding: 90px 0px;
    background-color: red;
}
#fotos h2 span, #videos h2 span {
    color: #00d700;
}

/* Gabinete */
/* Gabinete */
#gabinete {
    background-color: #00d700;
    padding: 90px 35px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

#gabinete .left, #gabinete .right {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}



#gabinete .left img, #gabinete .right img {
    width: 300px;
    height: auto;
    object-fit: cover;
}

#gabinete .left p {
    color: #141414;
    font-size: 1rem;
    padding: 40px 0;
    text-align: justify;
}

/* Formulário */
.div-form {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

form {
    display: flex;
    flex-direction: column;
    width: 80%;
    gap: 20px;
}

/* Agrupamento dos inputs */
.form-group {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 20px;
}

.form-left, .form-right {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

input, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

textarea {
    min-height: 100px;
    resize: vertical;
}

button {
    padding: 15px 20px;
    font-weight: 900;
    background-color: #0066cc;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #1062ac;
}
.div-submit {
    width: 100%;
    justify-content: right;
}
/* Responsividade */
@media (max-width: 768px) {
    #gabinete {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    #gabinete .left, #gabinete .right {
        width: 100%;
    }

    form {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }

    .form-group {
        flex-direction: column;
    }

    .form-left, .form-right {
        width: 100%;
    }
}


/* Formulário */
.div-form {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

form.flex {
    flex-direction: column;
    gap: 15px;
}

/**Contato*/
/* Seção Contato */
#contato {
    position: relative;
    padding: 90px 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: white; /* Cor do texto para contrastar com o fundo */
}
#contato h1 {
    font-size: 2rem; /* Aumentado para 2rem */
    font-weight: bold; /* Deixa o texto mais destacado */
    text-transform: uppercase; /* Para dar um efeito mais chamativo */
    margin-bottom: 10px; /* Espaçamento extra abaixo */
}

/* Fundo da seção com imagem e sobreposição azul */
#contato::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/public/images/background.png') center/cover no-repeat;
    z-index: -2; /* Fica abaixo de tudo */

    /* Camada azul transparente */
    opacity: 1; /* Mantemos a imagem visível */
}

#contato::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 102, 204, 0.5); /* Azul com 50% de transparência */
    z-index: -1; /* Fica acima da imagem, mas abaixo do conteúdo */
}

/* Linha divisória */
.line {
    width: 90px;
    height: 2px;
    background: yellow;
    margin: 15px auto;
}


/* Formulário */
#contato .form-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    max-width: 600px;
    gap: 20px;
    
    padding: 20px;
    border-radius: 10px;
}

/* Campos do formulário */
.form-left, .form-right {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Campos do formulário maiores e mais espaçosos */
#contato input, #contato textarea {
    width: 100%;
    padding: 15px; /* Aumenta o espaçamento interno */
    font-size: 1.2rem; /* Aumenta o tamanho do texto */
    border: 1px solid #ccc; /* Borda um pouco mais grossa */
    background: transparent; /* Fundo transparente */
    color: white; /* Texto branco para contraste */
}

/* Placeholder com cor branca */
#contato input::placeholder, textarea::placeholder {
    color: rgba(255, 255, 255, 0.7); /* Branco com leve transparência */
    font-size: 1.1rem; /* Tamanho do texto do placeholder */
}

/* Bordas dos inputs quando focados */
#contato input:focus, textarea:focus {
    border-color: yellow; /* Borda amarela ao focar */
    outline: none; /* Remove o contorno padrão */
}

/* Ajuste na altura do textarea */
#contato textarea {
    min-height: 150px; /* Deixa a área de texto maior */
    resize: vertical; /* Permite redimensionar verticalmente */
}


/* Botão */
#contato .div-submit {
    width: 100%;
    display: flex;
    justify-content: right;
    align-items: center;
}
#contato .form-left{
    position: relative;
    bottom: 36px;
}

#contato .form-right textarea{
    height: 185px;
}
#contato button {
    background: #c00200;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

#contato button:hover {
    background: #a70300;
}
#contato .form-group{
    flex-direction: row;
}


/* Responsividade */
@media (max-width: 768px) {
    #contato .form-left{
        bottom: 0px;
    }
    #contato .form-group{
        flex-wrap: wrap;
    }
    .form-group {
        flex-direction: column;
        width: 90%;
    }

    .form-left, .form-right {
        width: 100%;
    }
}

/**Footer*/
footer{
    width: 100%;
    background-color: #1b2534;
    color: #fff;
    padding: 25px 0;
    font-size: 0.9rem;
    text-align: center;
}
footer span{
    color: #b6b6b6;
}


/**Midia*/
/** Seção Mídia */
#midia {
    display: flex;
    flex-direction: row; /* Elementos lado a lado */
    justify-content: space-around; 
    align-items: center;
    text-align: center;
    padding: 60px 20px;
    background-color: #00d700; /* Verde vibrante */
    color: white;
    gap: 30px; /* Espaço entre os elementos */
}

/** Imagem do logo */
#midia img {
    width: 40%;
    object-fit: cover; /* Mantém a proporção da imagem */
}

/** Texto das redes sociais */
.div-midias p {
    color: #141414;
    font-weight: 900;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

/** Lista de redes sociais */
.div-midias ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.div-midias li {
    padding: 10px 5px;
}
.div-midias li{
    width: 100px;
}
.div-midias ion-icon{
    font-size: 2rem;
}


.div-midias a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
}

.div-midias a:hover {
    color: black;
}

/** Estilização do formulário */
.div-email {
    width: 100%;
    max-width: 400px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}


/** Inputs do formulário */
.div-email input {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    border-radius: 5px;
}



/** Botão */
.div-submit {
    margin-top: 15px;
}

.div-submit button {
    padding: 12px 25px;
    font-size: 1.2rem;
    background: #0066cc;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 700;
    transition: 0.3s;
}

.div-submit button:hover {
    background: #1062ac;
}

/** Responsividade */
@media (max-width: 900px) {
    #midia {
        flex-direction: column; /* Empilha os elementos no mobile */
        text-align: center;
        padding: 40px 15px;
    }

    .div-midias ul {
        flex-direction: column;
        align-items: center;
    }

    #midia img {
        width: 60%;
    }
}
/* Banner */
/* Banner */
#banner {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 50px;
    background: url('/public/images/banner.png') no-repeat center center/cover;
    height: 60vh;
    position: relative;
    overflow: hidden;
}

#banner .left {
    max-width: 50%;

}
#banner .left h1{
    color: #0066cc;
    text-align: center;
    font-size: 3.5rem;
}
#banner .left section{
    background-color: #2c69a7a9;
    padding: 10px 15px;
    color: #fff;
}

#banner h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

#banner p {
    font-size: 1.2rem;
    line-height: 1.5;
}

#banner .right {
    max-width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#banner .right img {
    width: 75%;
    object-fit: cover;
    position: relative;
    bottom: -22px;
}

/* Fiscalizômetro */
#fiscalizometro {
    text-align: center;
    padding: 40px 20px;
    background: #0e4691;
}

#fiscalizometro h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 900;
    color: #fff;
}

#fiscalizometro p.value {
    font-size: 2.5rem;
    font-weight: bold;
    color: #00ff00;
    margin-top: 20px;
}

#fiscalizometro p.text {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    margin-top: 10px;
} 

/* Responsividade */
@media (max-width: 768px) {
    #banner {
        flex-direction: column;
        text-align: center;
        height: auto;
        padding: 30px;
    }
    
    #banner .left, #banner .right {
        max-width: 100%;
    }
    
    #banner .right img {
        max-width: 80%;
        margin-top: 20px;
    }
}
#chart-container {
    background-color: #1563ad;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px; /* Ajuste conforme necessário */
}

.container-chart {
    width: 100%;
    max-width: 600px; /* Define uma largura máxima para evitar esticamento excessivo */
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
}



#chart_div {
    width: 100%;
    height: 100%;
}
#chart-title {
    position: relative;
    left: 180px;
    top: 100px;
    font-size:2.0em;
    text-wrap: wrap;
    text-align: center;
}

#chart_div {
    width: 600px;
    height: 400px;
}
/* Tabela fiscalizometro */
#sec-table{
    background-color: #1563ad;
}
#table {
    width: 100%;
    border-collapse: collapse; /* Remove qualquer espaço entre células */
    border-spacing: 0; /* Garante que não haja espaçamento extra */
}

#table table {
    width: 100%;
}

#table thead {
    background-color: #03488a;
    color: white;
}

#table thead tr {
    background-color: #03488a;
    padding: ;
}

#table th, #table td {
    padding: 0; /* Remove qualquer espaço interno */
    text-align: center;
    border: none;
    height: 40px; /* Ajuste a altura conforme necessário */
    line-height: 1; /* Remove espaçamento vertical */
}
#table tbody tr {
    background-color:#1563ad;
    color: white;
    font-weight: 600;
    font-size: 1.0em;
    padding: 5px 10px;
}


/* Login */

.login-container {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 350px;
    text-align: center;
}

h2 {
    margin-bottom: 20px;
    color: #333;
}

.input-group {
    margin-bottom: 15px;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

.input-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

.login-btn {
    width: 100%;
    padding: 10px;
    border: none;
    background-color: #007bff;
    color: white;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.login-btn:hover {
    background-color: #0056b3;
}

@media (max-width: 400px) {
    .login-container {
        padding: 15px;
    }
}