body {
    display: flex;
    text-align: center;
    background-color: #012336;
    align-items: center;
    justify-content: center;
    margin:0;
    margin: 10px;
    padding: 0;
    font-family: "IBM Plex Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings:"wdth" 100;
}

.main {
    background-color: rgb(1, 25, 41);
    padding: 15px;
    border-radius: 20px;
    width: 50%;
}

.container {
    border: 1px solid #555;
    border-radius: 5px;
    width: 100%;
    background-color: #012336;
    overflow: hidden;
    max-height: 180px;
    transition: max-height 0.5s ease-in-out;
    cursor: pointer;
    position: relative;
}

.container.expanded {
    max-height: 500px;
}

.container:not(.expanded)::after {
    content: 'Click to expand ▼';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    color: #888;
    background-color: #2a2a2a;
    padding: 2px 5px;
    border-radius: 3px;
    z-index: 1;
}

h3 {
    margin-top: 20px;
    color: #c6c6c6;
}

.head {
    margin-bottom: 5px;
    margin-top: 5px;
    text-align: center;
    color: #c6c6c6;
}

.bigs, .heatmap {
    margin-bottom: 5px;
}

.button {
    cursor: pointer;
    border: none;
    color: #d2d2d2;
    padding: 10px 15px;
    text-align: center;
    font-size: 14px;
    border-radius: 8px;
    transition: background-color 0.3s;
    background-color: #00578d;
    margin: 10px 0 10px 0;
}

.button:hover {
    background-color: rgb(0, 96, 213);
}
.button:active {
    background-color: #360041;
}

.new-data {
    border-radius: 5px;
    padding: 8px 10px;
    margin: 5px;
    font-size: 14px; 
    font-weight: bold;
    line-height: 1.4;
    word-break: break-word;
    text-align: center;
}

.new-data span {
    display: inline-block;
    margin-right: 8px;
    margin-bottom: 3px;
}

.new-data span:last-child {
    margin-right: 0;
}

.markPrice, .oi{
    color:#8b8b8b;
    font-size: 16px;
    margin-bottom: 4px;
}

.markPrice span, .oi span, .tops-status {
    color: #f4e4d5;
    font-weight: bold;
}

.tops-status {
    margin-top: 10px;
    font-size: 15px;
}

.tops-status span {
    display: inline-block;
    cursor: pointer;
}

.bullish {
    color: rgb(6, 133, 6);
}

.bearish {
    color: rgb(147, 3, 3);
}

.neutral {
    color: rgb(178, 178, 178);
}

.box {
    border: 1px solid rgb(150, 150, 150);
    padding: 5px;
    border-radius: 4px;
    margin: 0px 2px 0 2px;
}

#temp {
    color: #c6c6c6;
    font-style: italic;
    transition: opacity 1s ease;
}

.temp {
    opacity: 0;
}

#alarmEmoji, #alarmEmoji1 {
    cursor: pointer;
    font-size: 20px;
}

.footer {
    background-color:#012336;
    color:#ccc;
    padding:20px 0;
    margin-top:40px;
    border-radius: 20px;
}

.footer-div {
    margin:0 auto;
    text-align:center;
    font-size:.9rem;
}

@media (max-width: 600px) {
    .main {
        padding: 15px;
        width: 95%;
    }

    h2 {
        font-size: 22px;
    }

    .container {
        max-height: 100px;
    }
     .container.expanded {
        max-height: 480px;
    }

    .new-data {
        padding: 6px 8px;
    }

    .new-data span {
        margin-right: 5px;
    }
}