#live-data{
    display: flex;
    justify-content: center;
    align-items: center;
   flex-direction: column;
}

@media (min-width: 768px) {
    #live-data {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
        align-items: flex-end;
        align-items: stretch;
        margin: 5px 0px 5px 0px;
    }
}
@media (max-width: 767px) {
    #live-data {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
        align-items: flex-end;
        align-items: stretch;
        margin: 5px 0px 5px 0px;
    }
}
.card {
    font-family: sans-serif;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 300px;
}
 /*.card > :first-child { justify-items: flex-start; }
    .card > :nth-child(2) { justify-items: flex-start;}*/
    .card > :last-child{ margin-top: auto;; }

.card h3{
    font-size: 1.5em;
    color: #333;
    text-align: center;
}
.card_data{
    width: 100%;
}
.data_container
{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 5px;
}
.data_container > :first-child { flex: 2 0 auto; }
.data_container > :last-child{ flex: 0 0 100px;}

.temp {
    font-size: 3em;
    color: #ff5722;
    font-weight: bold;
    align-items: center;
}
.brut{
    font-size: .7em;
    color: #888;
}
.brut::before {
    content: "température brute: ";
}
.diff{
    font-size: .7em;
    color: #888;
}
.diff::before {
    content: "\0394:";
}
.hum {
    font-size: 2em;
    color: #2196f3;
}

.pres {
    font-size: 1.5em;
    color: #4caf50;
}
.min_max {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* aligne à gauche */

}
.max, .min {
    font-size: .8em;
    margin-left: 5px;
    color: black;
    font-weight: normal;
    align-items: left;
}

.max::before {
    content: "Max: ";
}
.min::before {
    content: "Min: ";
}




/* Style pour la pression */
.time {
    font-size: 0.8em;
    color: #888;
    margin-top: 15px;
    padding: 10px 0;
    border-top: 1px solid #eee;
}

/* led status*/
.led-green, .led-orange, .led-red{
    display:inline-block;
    width:10px;
    height:10px;
    border-radius:50%;
    margin-right:6px;
    background:#999;
}

.led-green{
    background:#2ecc71 !important;
    box-shadow:0 0 6px #2ecc71;
}

.led-orange{
    background:#f39c12 !important;
    box-shadow:0 0 6px #f39c12;
}

.led-red{
    background:#e74c3c !important;
    box-shadow:0 0 6px #e74c3c;
}

/*
@keyframes ledFlash {
    0%   { transform: scale(1); box-shadow:0 0 6px #2ecc71; }
    50%  { transform: scale(1.6); box-shadow:0 0 14px #2ecc71; }
    100% { transform: scale(1); box-shadow:0 0 6px #2ecc71; }
}

.led-flash{
    animation: ledFlash 0.6s ease;
}*/
