* {
    padding: 0;
    margin: 0;
    font-family: "Montserrat", Arial, sans-serif;
}

body {
    display:flex;
    flex-direction:column;
    min-height: 100vh;
    
}

#menu-overlay {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100vw;
    background-color: rgba(0, 0, 0, 0.6); /* ajuste a opacidade que quiser */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    z-index: 5; /* abaixo do menu, acima do resto do conteúdo */
}

#menu-overlay.active {
    opacity: 1;
    pointer-events: auto; /* opcional: permite clicar fora do menu pra fechar */
}

main{
  
    flex:1;     
}


.agradecimento{
    display: none;
}

.fa-star{
    font-size: larger;
    margin-right: 5px;
}


#logo_perefeitura {
    margin-left: 20px;
    margin-top: 5px;
    width: 15%;

}

.search {
    margin-right: 3%;
    width: 30%;
}

form {
    width: 100%;
    border: 1px solid #ff774a;
    border-radius: 100px;
    height: 40px;
    align-items: center;
    justify-content: space-between;
    display: flex;
}

.legenda_assunto {
    width: 92%;
    display: flex;
    margin-top: 3%;
    justify-content: space-between;
    align-items: center;
}

.fa-eye {
    font-size: large;
}

.input-search, button {
    border-style: none;
}

.input-search:focus {
    outline: none;
    box-shadow: none;
}

button .fa-search {
    border-style: none;
    color: #ff774a;
}

.header-colors {
    display: flex;
    margin-top: 10px;
}

.header-colors_blue {
    background-color: #45b1e3;
    height: 7px;
    width: 12.5% !important;
    max-width: 12.5%;
    transform: translateX(-100%);
    animation: slideIn 0.8s ease-in-out forwards;
}
.stars{
    padding-bottom: 20px;
}
.header-colors_blue_medium {
    background-color: #4597cf;
    transform: translateX(-200%);
    animation: slideIn 0.8s ease-in-out forwards;
    height: 7px;
    width: 12.5%;
    max-width: 12.5%;
}

.header-colors_blue_dark {
    background-color: #4580a8;
    transform: translateX(-300%);
    animation: slideIn 0.8s ease-in-out forwards;
    height: 7px;
    width: 12.5%;
}

.header-colors_pink {
    background-color: #cf5e91;
    height: 7px;
    width: 12.5%;
    transform: translateX(-400%);
    animation: slideIn 0.8s ease-in-out forwards;
}

.header-colors_pink_dark {
    background-color: #fc5177;
    height: 7px;
    width: 12.5%;
    transform: translateX(-500%);
    animation: slideIn 0.8s ease-in-out forwards;
}

.header-colors_orange {
    background-color: #fcb045;
    height: 7px;
    width: 12.5%;
    transform: translateX(-600%);
    animation: slideIn 0.8s ease-in-out forwards;
}

.header-colors_green {
    background-color: #62cf6a;
    height: 7px;
    width: 12.5%;
    transform: translateX(-700%);
    animation: slideIn 0.8s ease-in-out forwards;
}

.header-colors_green_dark {
    background-color: #4ca552;
    transform: translateX(-800%);
    animation: slideIn 0.8s ease-in-out forwards;
    height: 7px;
    width: 12.5%;
}

footer {
    max-width: 100%;
}

/* main {
    width: 100%;
} */

#principais_assuntos {
    display: grid;
    grid-template-columns: 1fr;
    width: 50%;
}

#categorias_container {
    display: grid;
    justify-items: center;
    padding-bottom: 50px;
}

.cards_principais_container {
    justify-content: center;
    text-align: center;
    display: flexbox;
    height: auto;
    margin-left: 3%;
    width: 95%;
    border-radius: 10px;
    background-color: #4597cf;
    color: rgb(232, 232, 232);
}

.cards_principais_container:first-child {
    margin-bottom: 10px;
}

.Title_pesquisados {
    gap: 10%;
}

#first_container {
    display: flex;

}

#btn_login {
    border-style: none;
    background-color: #4ca552;
    color: white;
    width: 180px;
    height: 50px;
    font-size: medium;
    border-radius: 5px;
    margin-right: 30px;
    transition: 0.7s;
    cursor: pointer;
}

header {
    display: block;
    height: auto;
}

#first_container {
    height: auto;
    padding-bottom: 5vh;
    margin-top: 1.5rem;
}

#Banner_container {
    width: 50%;
    height: auto;
    overflow: hidden;
    border-radius: 10px;
    margin-left: 10px;
}

#second_container {
    width: 100%;
    height: 100%;
    display: flex;

}

#text_container {
    position: absolute;
    background: none;
    width: 50%;
    z-index: 1;
    margin-top: 10%;
}

@keyframes slideIn {
    to {
        transform: translateY(0%);
    }
}

#text_container h1 {
    margin-left: 30px;
    font-size: 50px;
    font-weight: 520;
    color: white;
}

.Subtitle_banner {
    margin-left: 30px;
    font-size: 20px;
    color: white;
    font-weight: 200;
    margin-top: 20px;
    width: 80%;

}

#second_container img {
    width: 100%;
    object-fit: cover;
    filter: brightness(0.4);
    height: 100%;
    border-radius: 10px;
    align-items: normal;
}

#container_destaque {
    display: flex;
    align-items: center;
    margin-top: 7px;
    justify-content: space-between;
}

.Subtitle_categorias {
    font-size: 20px; 
}

#cards_categorias {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 20px;
    column-gap: 35px;
    width: 90%;
}

.search_assuntos {
    margin-right: 3%;
    margin-left: -45%;
}

.cards_principais_container h4 {
    font-size: 20px;
}

.title_categorias_destaque {
   display: inline-block;
}
.title_categorias_destaque a, .categoria a:hover {
     text-decoration: none;
     background: none;
     
}
.title_categorias_destaque::after{
    margin-top: 2px;
    transform: scaleX(0);
    content: " ";
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
    background-color: white;
    width: 100%;
    height: 1px;
    display: block;
}
.title_categorias_destaque:hover::after{
    transform: scaleX(1);

}
.categoria {
    margin-top: 10px;
    margin-left: 10px;
    text-align: left;

}
.title_assuntos{
    margin-left: 22px;
}

.categoria a {
    text-decoration: none;
    color: rgb(233, 233, 233);
}

#Categorias_destaque {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5px;
}

.subtitle_Destaques {
    margin-top: 10px;
    padding-bottom: 12px;
}

.title_categorias_destaque:hover {
    cursor: pointer;
}


.Title_pesquisados .fa-search {
    font-size: larger;
    margin-right: 5px;
}

.icone_padrao{
    color: #fcb045;
    font-size: 40px;
    margin-top: 10px;
    width: auto;
}

.card {
    width: 100%;
    border: 2px solid #fcb045;
    border-radius: 5px;
    background-color: white;
    padding-bottom: 2vh;
    justify-content: center;
    height: auto;
    display: flex;
    flex-direction: column;
    text-align: center;
    text-decoration: none;
    transition: 0.2s ease-in-out;
    
}

.cards a {
    text-decoration: none;
    color: black;
}

#cards_categorias {
    margin-top: 20px;
}

.card:hover {
    transition: 0.2s;
    background-color: #fcb045;
    cursor: pointer;
    transform: scale(1.1);

}

.card:hover h3 {
    color: white;

}


.card:hover i {
    color: white;
    transition: 0.3s;
}

footer {
    width: 100%;
    margin-top: 15px;
}

.footer_colors {
    display: flex !important;
    width: 100%;

}

.footer-colors_blue {
    background-color: #45b1e3;
    height: 12.5px;
    width: 12.5%;
}

.footer-colors_blue_medium {
    background-color: #4597cf;
    height: 12.5px;
    width: 12.5%;
}

.footer-colors_blue_dark {
    background-color: #4580a8;
    height: 12.5px;
    width: 12.5%;
}

.footer-colors_pink {
    background-color: #cf5e91;
    height: 12.5px;
    width: 12.5%;
}

.footer-colors_pink_dark {
    background-color: #fc5177;
    height: 12.5px;
    width: 12.5%;
}

.footer-colors_orange {
    background-color: #fcb045;
    height: 12.5px;
    width: 12.5%;
}

.footer-colors_green {
    background-color: #62cf6a;
    height: 12.5px;
    width: 12.5%;
}

.footer-colors_green_dark {
    background-color: #4ca552;
    height: 12.5px;
    width: 12.5%;
}
.menu h3{
    font-weight: bold !important;
}

#container_footer {
    width: 100%;
    max-width: 100%;
    background-color: #fff;
    padding-bottom: 30px;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.copy-rights {
    padding-top: 20px;
}

.text_topico, .text_topico p{
    max-width: 95%;
    margin: 5px;
    text-align: justify;
    opacity: 1;
}


.avaliacao{
    display:flex;   
}

.stars i{
    font-size:30px;
    cursor:pointer;
    

}




