/* Estilo geral */
.natacao {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 770px;
    background: #211E7E;
    box-sizing: border-box; /* Garante que o padding e border sejam incluídos na largura e altura */
}

.natacao-title {
    width: 1100px;
    height: 60px;
    margin-top: 30px;
    box-sizing: border-box;
}

.natacao-title h2 {
    color: #FFF;
    text-align: center;
    font-family: Montserrat, sans-serif;
    font-size: 40px;
    font-weight: 700;
    line-height: normal;
}

.mapa {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 850px;
    height: 600px;
    box-sizing: border-box;
}

.mapa iframe {
    width: 100%;
    height: 75%;
}

/* Estilos para tablets */
@media (max-width: 1024px) {
    .natacao-title {
        width: 90%;
        margin-bottom: 50px;
    }

    .natacao-title h2 {
        font-size: 32px;
    }

    .mapa {
        width: 90%;
        height: 30%;
    }

    .mapa iframe {
        height: 100%;
    }
}

/* Estilos para dispositivos móveis */
@media (max-width: 768px) {
    .natacao {
        height: auto;
        padding: 20px;
    }

    .natacao-title {
        width: 100%;
        margin-top: 15px;
        text-align: center; /* Garante que o título esteja centralizado */
    }

    .natacao-title h2 {
        font-size: 14px; /* Reduzido o tamanho da fonte do título para dispositivos móveis */
        line-height: 1.3; /* Ajusta a altura da linha */
    }

    .mapa {
        width: 100%;
        height: auto;
        padding: 0 10px; /* Adiciona um pouco de padding para evitar que o conteúdo fique muito próximo das bordas */
    }

    .mapa iframe {
        height: 300px;
    }
}

/* Estilos para telas muito pequenas */
@media (max-width: 600px) {
    .natacao {
        padding: 15px;
    }

    .natacao-title h2 {
        font-size: 14px; /* Reduzido ainda mais o tamanho da fonte para telas pequenas */
        line-height: 1.4; /* Ajusta a altura da linha */
    }

    .mapa iframe {
        height: 45%;
    }

    /* Estilos para a imagem abaixo do iframe */
    .mapa img {
        width: 50%; /* Garante que a imagem se ajuste à largura do contêiner */
        height: auto; /* Mantém a proporção da imagem */
        margin-top: 15px; /* Adiciona um pouco de espaço acima da imagem */
    }

    .acqua img {
        width:200px;
    }
}
