* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
}

header {
    background-color: #1a1a1a;
    color: white;
    position: relative;
}

.header-image {
    object-fit: cover;
}

.logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.quick-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
	padding-top: 3px;
    padding-bottom: 3px;
    background-color: #2a2a2a;
}

.quick-button {
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s, transform 0.2s;
    border-radius: 0; /* remove as bordas arredondadas */
    background: none; /* remove o fundo se houver */
    padding: 2px 2px; /* ajuste o padding conforme necessário */
}

/*
.quick-button:hover {
    background-color: #666;
    transform: translateY(-2px);
}
*/

.quick-button:active {
    transform: translateY(0);
}			
	
nav {
    /* background-color: #333; */
    position: relative;
}

.menu-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    padding: 2px 2px;
    display: flex;
    align-items: center;
}

.menu-btn i {
    margin-right: 0.5rem;
}

.menu {
    display: none;
    list-style: none;
    padding: 1rem;
    position: absolute;
    background-color: #333;
    width: 200px;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.menu.active {
    display: block;
}

.menu li {
    margin: 0.5rem 0;
}

.menu button {
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    padding: 2px 2px;
    width: 100%;
    text-align: left;
    transition: background-color 0.3s;
}

.menu button:hover {
    background-color: #555;
}

.menu button.active {
    background-color: #666;
}

main {
    max-width: 1200px;
    margin: 0 auto;
}

.section-content {
    display: none;
}

.section-content.active {
    display: block;
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.news-item {
    /* 
	margin-bottom: 2rem;
    border-bottom: 1px solid #ddd;
	padding-bottom: 2rem;
	*/
    padding-left: 1rem;
    padding-right: 1rem;
}

.news-content {
    position: relative;
    max-height: 150px;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.news-content.expanded {
    max-height: 6500px;
}

.read-more {
    background-color: #333;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    /* margin-top: 1rem; */
    transition: background-color 0.3s;
	z-index: 100;
    position: relative;
	margin-top: -20px;
}

.read-more:hover {
    background-color: #555;
}					   
 
.fade-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(transparent, white);
    pointer-events: none;
}

.fade-overlay.hidden {
    display: none;
				 
					   
					  
} 
.news-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    margin-bottom: 1rem;
}

.caption {
    font-style: italic;
    color: #666;
    margin-bottom: 1rem;
}

footer {
    background-color: #1a1a1a;
    color: white;
    text-align: center;
    padding-top: 1rem;
}

@media (max-width: 768px) {
    .menu {
        width: 100%;
        top: 100%;
        left: 0;
    }
}

#menus {
    /* display: flex; */
    justify-content: space-between; /* ou space-around */
    align-items: center;
    width: 100%;
	background-color: #333;
	position: sticky;
    top: 0; /* define onde o elemento vai "grudar" */
    z-index: 1000; /* garante que fique acima dos outros elementos */
	transition: box-shadow 0.3s;
}

#menus:not(:root) {
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* adiciona sombra quando estiver fixo */
}

.quick-buttons {
    display: flex;
    gap: 5px; /* espaço entre os botões */
}

nav {
    display: flex;
    align-items: center;
}

/* Aumentar a largura do submenu */
nav .menu {
    min-width: 200px; /* ou o valor que você preferir */
    width: max-content; /* isso garante que o menu se ajuste ao conteúdo se for maior */
    right: 0; /* alinha à direita se o menu estiver com position: absolute */
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #333;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: none; /* Inicialmente oculto */
    font-size: 20px;
    transition: background-color 0.3s;
	font-size: 0.7em;
}

.back-to-top:hover {
    background-color: #555;
}

/* Mostra o botão quando a classe 'show' é adicionada */
.back-to-top.show {
    display: block;
}

.destaque {
	background-color: grey;
    color: white;
    text-align: center;
    padding: 10px;
    margin-bottom: 10px;
    width: 100%;
    font-size: 1.3em;
}

.banner {
    margin-top: 10px;
	animation: fadeIn 0.5s ease-in;
}