/* CSS Corrigido e Completo */

.main-header {
    background-image: url("../imagens/image.png");
    background-size: cover;
    background-position: center;
    height:200px;
    position: relative;
    color: rgb(255, 255, 255);
    mask-image: linear-gradient(to bottom, rgb(119, 126, 161) 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgb(65, 66, 153) 80%, transparent 100%);
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}
.header-content {
    position: relative;
    z-index: 2;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.main-nav ul {
    list-style: none;
    display: flex;
}

.main-nav ul li a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
}

 .header-logo {
    background-image: url("../imagens/prefeitura.jpg");
    width: 150px;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 20% ;
    position: relative;
    z-index: 0;
}

header.header-bg {
    background-color: #48759f;
    padding: 10px 20px;
}

header.header-bg img.header-logo {
    max-height: 60px;
    width: auto;
}

@media (max-width: 768px) {
    header.header-bg {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    header.header-bg img.header-logo {
        max-height: 50px;
    }
}

main.container {
    padding-top: 20px;
    padding-bottom: 20px;
}

footer {
    font-size: 0.9rem;
}

img {
    max-width: 100%;
    height: auto;
}
