/* styles.css */

/* General Body and Container Styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    text-align: center;
}

.container {
    margin: 20px auto;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image img {
    animation: pulse 5.5s ease-in-out infinite;
}

/* Gold Price Box Layout */
.devcontainer {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-bottom: 20px;
    width: 100%;
}

.gold-price {
    flex: 1;
    background-color: #fafafa;
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    margin: 10px;
    font-size: 24px;
}

/* Media Query for smaller screens */
@media (max-width: 400px) {
    .devcontainer {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
    }

    .gold-price {
        flex: none;
        width: 10%; /* Adjust width as needed */
        min-width: unset;
    }
}

/* Price Up and Down Indicators */
.price-up, .price-down {
    display: flex;
    align-items: center;
    justify-content: center;
}

.price {
    font-size: 20px;
    font-weight: 900;
    padding-right: 20px;
}

/* TradingView Chart Styles */
.tradingview-container {
    margin-top: 20px;
}

.tradingview-widget-container {
    position: relative;
    box-sizing: content-box;
    font-family: -apple-system, BlinkMacSystemFont, Trebuchet, Roboto, Ubuntu, sans-serif;
    margin: 0px auto !important;
    padding: 0px !important;
    width: 100%;
    height: 450px;
}
