:root {
    --gray: 225, 226, 228;
    --dark-gray: 26, 29, 46;
    --blue: 15, 68, 233;
    --dark-blue: 10, 13, 30;
}

* {
    box-sizing: border-box;
}

body {
    background-color: rgb(var(--dark-blue));
    color: rgb(var(--gray));
    padding: 30px;
    margin: 0;
    font-family: "Poppins", Arial, Helvetica, sans-serif;
    line-height: 1.2;
    position: relative;
}

body:after {
    content: "";
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    pointer-events: none;
    background: linear-gradient(
            0deg,
            rgba(var(--dark-blue), 1) 0%,
            rgba(var(--dark-blue), 0) 100%
    );
}

h1 {
    padding: 0 0 10px;
    margin: 0;
    font-weight: 500;
}
h2 {
    padding: 20px 0 0;
    margin: 0 0 10px;
    font-weight: 500;
}

p {
    margin: 0;
    color: rgba(var(--gray), 0.7);
}

section {
    margin: 20px 0;
}

img {
    max-width: 100%;
}

hr {
    border-color: rgb(var(--gray));
    margin: 20px 0 20px;
    opacity: 0.5;
}

.under-box hr {
    margin-top: 10px;
}

.box {
    width: 100%;
    background-color: rgb(var(--dark-gray));
    padding: 20px;
    border-radius: 15px;
    text-align: right;

    /*/*background: #0a0d1e;
    box-shadow:  11px 11px 15px #05070f,
    -11px -11px 15px #0f142d;*/

    background: #0a0d1e;
    box-shadow: inset 11px 11px 15px #05070f,
    inset -11px -11px 15px #0f142d;
}

.flex {
    display: flex;
    gap: 20px;
    flex-wrap: nowrap;
}

.flex > * {
    flex: 1 1 0;
    width: 0;
}

.temp {
    font-weight: 600;
    font-size: 40px;
}

.temp sup {
    font-weight: 400;
    font-size: 0.55em;
    padding-left: 3px;
}

.under-desc,
.under-place {
    font-size: 13px;
    opacity: 0.8;
}

.under-place {
    opacity: 0.5;
}

.under-temp-wrapper {
    align-self: flex-end;
    /*  ??? */
    flex:2 2 0;
}

.air-quality {
    width: 80px;
    height: 80px;
    object-fit: contain;
    object-position: top left;
    aspect-ratio: 1;
    display: block;
}

.under-other {
    text-align: center;
    font-size: 13px;
}

.wc-icon-wrapper{
    width: 100%;
    height: 110px;
}

.wc-icon {
    margin: 0 auto 0 0;
    padding-bottom: 20px;
    display: block;
    max-width: 100%;
    max-height: 100%;
}

.sun-hours .box {
    text-align: center;
}

.sun-hours img {
    margin-bottom: 10px;
}

.timestamp {
    align-self: flex-end;
    text-align: right;
    font-size: 10px;
    color: rgba(var(--gray), 0.5);
    margin-bottom: 10px;
}

.wf,
.wf .temp{
    font-size: 12px;
}

.wf .box +.box{
    margin-top: 20px;
}

.wf .box{
    text-align: left;
}

.wf .flex{
    justify-content: space-between;
}

.wf .box>*+*{
    margin: 10px 0 0;
}

.wf .flex>*{
    flex: initial;
    width: auto;
}

.wf-icon{
    width: 60px !important;
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
    object-position: center;
}

.weekday{
    font-weight: 900;
    opacity: 0.7;
}

#fun-fact{
    text-align: left;
}
