/* Ticker */
.tickers{
    padding: 20px 0;
}

.tickers .container{
    background-color: var(--off-dark-color);
    color: whitesmoke;
    background-size: contain;
    background-position: center bottom;
    border-radius: 15px;
    padding-bottom: 20px;
    padding-top: 20px;
    max-width: fit-content;
    width: fit-content;
}

.tickers .tickers-heading{
 width: auto;
 margin: 40px;
}

.tickers .ticker-grid{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    justify-content: space-between;
    gap: 30px
}

.tickers .card{
    opacity: 0.6;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    user-select: none;
    font-weight: 600;
    text-decoration: none;
    color: whitesmoke;
    font-size: 1.1rem;
}

.tickers .card p{
    margin-top: 5px;
    font-size: 1.2rem;
    padding-left: 5px;
}

.tickers .card.active{
    opacity: 1;
}
.tickers .card:hover{
    opacity: 0.8;
    cursor: pointer;
}

.tickers .card .stock-ticker-color.gray{
    color: gray;
}
.tickers .card .stock-ticker-color.lightgreen{
    color: rgb(172, 238, 172);
}
.tickers .card .stock-ticker-color.green{
    color: rgb(5, 252, 5);
}
.tickers .card .stock-ticker-color.lightred{
    color: lightcoral;
}
.tickers .card .stock-ticker-color.red{
    color: red;
}
/* Media Queries */
@media (max-width: 960px) {
     .tickers .ticker-grid{
        grid-template-columns: 1fr;
    }
}

@media (max-width: 670px) {
    .tickers .ticker-grid{
        grid-template-columns: 1fr;
    }
}

@media (max-width: 500px) {
     .tickers .ticker-grid{
        grid-template-columns: 1fr;
    }
}