body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    color: white;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
}

.main-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background-color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    box-sizing: border-box;
    padding: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    justify-content: space-between;
}


.slide-content.active {
    opacity: 1;
    z-index: 1;
}

.header-text {
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    line-height: 1.1;
    margin-top: 2px;
    margin-bottom: 2px;
}

.sub-text {
    font-size: 14px;
    text-align: center;
    line-height: 1.1;
    margin-top: 2px;
    margin-bottom: 2px;
}


.sub-text-small {
    font-size: 10px;
    text-align: center;
    line-height: 1.1;
    margin-top: 2px;
    margin-bottom: 2px;
}

.color-icon {
    font-size: 9px;
    margin-right: 2px;
}
.color-icon-xl {
    font-size: 13px;
    margin-right: 2px;
}
.aq-buena { color: #8bd0e6; }
.aq-r-buena { color: #01cd98; }
.aq-regular { color: #f6b900; }
.aq-desfavorable { color: #f7751c; }
.aq-m-desfavorable { color: #f25a6c; }
.aq-e-desfaborable { color: #573dd8; }

.aq-buena-bg { background-color: #8bd0e6; }
.aq-r-buena-bg { background-color: #01cd98; } 
.aq-regular-bg { background-color: #f6b900; }
.aq-desfavorable-bg { background-color: #f7751c; }
.aq-m-desfavorable-bg { background-color: #f25a6c; }
.aq-e-desfaborable-bg { background-color: #573dd8; }

.fa-thermometer-three-quarters { color: red; }
.fa-droplet { color: cornflowerblue; }
.fa-volume-high { color: lightgrey; }

.range-bar-wrapper {
    width: 90%;
    height: 8px;
    position: relative;
    margin: 5px auto;
}

.range-bar-container {
    width: 100%;
    height: 100%;
    display: flex;
    border-radius: 4px;
    overflow: hidden;
}

.range-segment {
    flex-grow: 1;
    height: 100%;
}

.range-cursor {
    position: absolute;
    top: 50%;
    left: 0;
    width: 8px;
    height: 8px;
    background-color: transparent;
    border: 4px solid white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.data-table-container {
    width: 100%;
    padding: 6px;
    box-sizing: border-box;
    border: 1px solid #555;
    border-radius: 4px;
    margin-top: 5px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    color: white;
}

.cont-data-table {
    border-collapse: collapse;
    font-size: 12px;
    color: white;
}

.data-table tbody tr td {
    padding: 4px 3px;
    vertical-align: middle;
    text-align: center;
    border: none;
}

.cell-date { width: 50%; }
.cell-cont, .cell-meteo { width: 25%; }


.qual-air-text {
    margin-bottom: 5px;
}

.cont-grid-container {
    display: flex;
    flex-grow: 1;
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
    align-content: center;
}

.cont-grid-table {
    display: flex;

}

.cont-grid-table td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.footer-table {
    margin-top: 5px;
}

.data-table .mb-0 {
    margin-bottom: 0 !important;
    line-height: 1.1;
}

small {
    font-size: 8px;
}
.p-2 {
     padding: 8px;
 }
.empty-screen {
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: transparent;
    z-index: 10000;
}
.overlay-black {
    background-color: black;
}
