body {
    color: white;
    background-color: black;
    font-family: 'Times New Roman', Times, serif;
}

header img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-top: 5%;
}

.center {
    text-align: center;
}

h1 {
    text-align: center;
    font-family: 'Times New Roman', Times, serif;
}

.imagem img {
    width: 800px;
    height: 400px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

footer {
    display: flex;
    flex-direction: column; /* vertical */
    align-items: center;    /* centralizado */
    justify-content: center;
    background-color: black;
    height: 250px;
    color: white;
}

footer img {
    width: 25px;
    height: 25px;
    display: block;
    margin-top: 100px;
    margin-bottom: 5px;
    margin-left: auto;
    margin-right: auto;
}

footer a {
    text-align: center;
    color: white;
    text-decoration: none;
}

footer a:hover {
    color: fuchsia;
}

footer p {
    margin-top: 2px;
    margin-bottom: 2px;
}

footer .copyright {
    margin-top: 10px;
    font-family: 'Times New Roman', Times, serif;
}

/* NOVO: Responsividade e layout flexível para gráficos */
.charts-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 0 auto 50px auto;
    max-width: 100%;
}

.tradingview-widget-container {
    width: 100%;
    max-width: 1000px;
}

/* Para dispositivos móveis */
@media (max-width: 768px) {
    .charts-container {
        flex-direction: column;
        align-items: center;
    }

    .tradingview-widget-container {
        width: 100%;
        max-width: 100%;
    }

    .tradingview-widget-container__widget {
        width: 100% !important;
        height: auto !important;
    }
}



