:root {
    --weather-blue: #003765;
    --weather-sky-blue: #f3f7fc;
    --weather-red: #e8204d;
    --weather-spacing: 15px;
    --weather-spacing-bottom: 10px;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.sa-weather {
    border-radius: .8rem;
    box-shadow: 0px 18px 40px -10px #00000070;
    padding: var(--weather-spacing);
    font-size: 14px;
}

.sa-weather__header {
    border-bottom: 1px solid var(--weather-blue);
}

.sa-weather__header-title {
    color: var(--weather-blue); 
    font-size: 22px;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: var(--weather-spacing-bottom);
}

.sa-weather__header-date {
    color: var(--weather-red);
    margin-bottom: var(--weather-spacing-bottom) !important;
    font-size: 16px;
}

.sa-weather__content {
    margin-top: 2rem;
}

.sa-weather__temperature-content {
    background-color: var(--weather-sky-blue);
    padding: var(--weather-spacing);
    margin-bottom: var(--weather-spacing);
    border-radius: .8rem;
}

.temperature-content__value {
    font-size: 40px;
    font-weight: 500;
    margin-bottom: 0;
}

.temperature-content__value-wrapper {
    display: flex;
    align-items: center;
}

.sa-weather__temperature-extra-text {
    margin-bottom: 10px !important;
    font-size: 18px;
}

.sa-weather__information {
    margin-top: 30px;
}

.sa-weather__information-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--weather-blue);
    padding: 5px 0;
}

.sa-weather__information-item p {
    margin-bottom: 0;
}

.sa-weather__allergies {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 30px;
    gap: var(--weather-spacing);
}

.sa-weather__allergies-item {
    width: 100%;
    padding: var(--weather-spacing);
    background-color: var(--weather-sky-blue);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    border-radius: .8rem;
}

.sa-weather__allergies-item > * {
    width: 100%;
    margin-bottom: 0 !important;
}

.allergies-item__title:after {
    content: '';
    display: block;
    background-color: green;
    height: 3px;
    width: 20%;
    margin-top: 5px;
}

@media only screen and ( min-width: 768px ) {
    .sa-weather__temperature {
        display: flex;
        gap: 3.2rem;
        justify-content: space-between;
    }

    .sa-weather__temperature > * {
        width: 50%;
    }

    .sa-weather__temperature-content {
        margin-bottom: 0;
    }

    .sa-weather__information {
        display: flex;
        gap: 3.2rem;
        justify-content: space-between;
    }

    .sa-weather__information > * {
        width: 50%;
    }
}

@media only screen and ( min-width: 1024px ) {
    .sa-weather {
        padding: 20px;
    }

    .sa-weather__temperature,
    .sa-weather__information{
        gap: 7.4rem;
    }

    .sa-weather__allergies {
        display: flex; 
        justify-content: space-between;
        gap: 1.6rem;
        flex-wrap: nowrap;
    }
}

.sa-weather .allergies-item__title {
    font-weight: 700;
}

.temperature-content__value sup {
    top: -.6em;
}

.temperature-content__value sub {
    font-size: 2.4rem;
    margin-left: -14px;
    color: #bcb9b9;
    bottom: 0;
}

.sa-weather_air-quality {
    font-size: 16px;
    display: flex;
    justify-content: space-between;
    line-height: 1.4rem;
}

.sa-weather_air-quality p {
    margin-bottom: 0;
}

.sa-weather_air-quality-value:before {
    content: '';
    width: 12px;
    height: 12px;
    display: block;
    background-color: #00e400;
    border-radius: 50%;
    border: 1px solid #dddddd;
}

.sa-weather_air-quality-value {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sa-weather_air-quality-value.level-good:before {
    background-color: #00e400
}

.sa-weather_air-quality-value.level-moderate:before {
    background-color: #ffff00
}

.sa-weather_air-quality-value.level-sensitive:before {
    background-color: #ff7e00
}

.sa-weather_air-quality-value.level-unhealthy:before {
    background-color: #ff0000
}

.sa-weather_air-quality-value.level-very-unhealthy:before {
    background-color: #8f3f97
}

.sa-weather_air-quality-value.level-hazardous:before {
    background-color: #7e0023
}

.sa-weather__temperature-extra-text sub {
    margin-left: -4px;
    bottom: 0;
    font-size: 60%;
    color: #bcb9b9;
}