html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
}

header {
    background-color: #111111;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    color: white;
    justify-content: space-between;
}

.title {
    display: flex;
    align-items: center;
}

.title h1 {
    margin: 0;
    font-size: 24px;
    font-family: 'Noto Serif Myanmar', sans-serif;
    white-space: nowrap;
}

nav {
    display: flex;
    align-items: center;
    margin-left: 20px;
    width: 100%;
    justify-content: space-between;
}

.menu {
    display: flex;
    gap: 20px;
    margin-left: auto;
}

.menu a {
    text-decoration: none;
    color: white;
    font-size: 15px;
    font-family: 'Montserrat', sans-serif;
}

.hero {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Roboto', sans-serif;
    margin-left: 10px;
    text-decoration: none;
    white-space: nowrap; /* Evita quebra de linha */
    font-size: 18px; /* Ajusta o tamanho do texto */
}

.hero svg {
    fill: #01FF3B;
}

.hero a {
    color: white;
    margin-left: 10px;
}

.main-img {
    min-height: 100vh;
    background-image: url('/imgs/main.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Estilos gerais */
.main-img {
    min-height: 100vh;
    background-image: url('/imgs/main.png');
    background-size: cover; /* Cobre todo o container */
    background-position: center;
    background-repeat: no-repeat;
}

/* Estilos para dispositivos móveis */
@media (max-width: 768px) {
    .main-img {
        min-height: 50vh; /* Mantém a altura mínima em 100vh */
        background-size: cover; /* Garante que a imagem cubra todo o container */
        background-position: center; /* Centraliza a imagem */
    }
}

.barra-conteudo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    background-color: #000000;
    min-height: 70px; /* Aumenta a altura mínima */
    font-family: 'Roboto', sans-serif;
    font-size: 14px; /* Diminui o tamanho do texto */
}

.barra-conteudo a {
    color: white;
    text-decoration: none; /* Remove o sublinhado */
}

.barra-conteudo a:hover {
    color: #cccccc; /* Cor ao passar o mouse, opcional */
}
.parte {
    text-align: center;
    flex: 1;
    padding: 10px;
    position: relative;
}

.parte svg {
    color: #01FF3B;
}

.com-cor {
    background-color: #232323;
}

.cta {
    margin-top: 30px;
    margin-bottom: auto;
    color: #232323;
    font-family: 'Roboto', sans-serif;
    text-align: center;
}
.cta h3{
    font-size: 20px;
}

.cta h4{
    font-size: 20px;
}

.container-button {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 25vh;
}

.btn-cta {
    text-align: center;
    font-family: 'Roboto', sans-serif;
    font-size: large;
    background-color: #111111;
    color: #ffffff;
    border-radius: 28px;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    display: inline-block;
    transition: background-color 0.3s;
    width: 300px;
}

.btn-cta:hover {
    background-color: #333333;
}

.card-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 20px;
}

.card {
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 30%;
    margin: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

.card img {
    width: 100%;
    border-bottom: 1px solid #ddd;
}

.card-content {
    padding: 15px;
}

.card-content h3 {
    margin: 10px 0;
}

.card-content p {
    margin: 10px 0;
}

.card-content a {
    color: #007bff;
    text-decoration: none;
}

.card-content a:hover {
    text-decoration: underline;
}

.pesquisas-relacionadas {
    font-family: 'Roboto', sans-serif;
}

.services-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Roboto', sans-serif;
}

.services-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.services-table tr:nth-child(even) {
    background-color: #f2f2f2;
}

.services-table tr:hover {
    background-color: #ddd;
}

.services-table th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: left;
    background-color: #4CAF50;
    color: white;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
    position: relative;
    bottom: 0;
    width: 100%;
    font-family: 'Roboto', sans-serif;
}

.footer-content p {
    margin: 5px 0;
}

.footer-content a {
    color: #007bff;
    text-decoration: none;
}

.footer-content a:hover {
    text-decoration: underline;
}

/* Media Queries para Responsividade */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }

    .title {
        margin-bottom: 10px;
    }

    nav {
        margin-left: 0;
        justify-content: flex-start;
    }

    .menu {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        margin-left: 0;
    }

    .hero {
        flex-direction: column;
        align-items: flex-start;
        font-size: 16px; /* Diminui o tamanho do texto */
    }

    .card {
        width: 100%;
        margin: 10px 0;
    }

    .card-container {
        flex-direction: column;
        align-items: center;
    }

    .btn-cta {
        width: 100%;
    }

    .barra-conteudo {
        flex-direction: column;
        min-height: auto; /* Permite altura automática */
        padding: 10px;
    }

    .parte {
        padding: 5px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 10px;
    }

    .title h1 {
        font-size: 20px;
    }

    .menu a {
        font-size: 14px;
    }

    .hero a {
        font-size: 14px; /* Diminui o tamanho do texto */
    }

    .barra-conteudo {
        flex-direction: column;
        min-height: auto; /* Permite altura automática */
        padding: 10px;
        font-size: 12px; /* Diminui o tamanho do texto */
    }

    .parte {
        padding: 5px;
    }

    .cta {
        margin-top: 20px;
    }

    .btn-cta {
        padding: 10px;
        font-size: medium;
    }
}
