html {
    font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    tab-size: 4;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: #3730a3;
}

body.is--night a {
    color: #c7d2fe;
    color: #a5b4fc;
}

body.is--night a:hover {
    color: #fff;
}

body {
    /*background-color: oklch(13% .03 260);*/
    margin: 0;
}

body.is--day {
    background-image: linear-gradient(to bottom in oklab, rgb(30,27,47) 0%, rgb(63,61,86) 50%, rgb(94,92,122) 100%);
}

body.is--night {
    background-image: linear-gradient(to bottom in oklab, rgb(255,255,255) 0%, rgb(199,210,254) 50%, rgb(129,140,248) 100%);
}

div.container {
    position: relative;
    min-height: 100vh;
    /*overflow: hidden;*/
    transition-duration: .7s;
}

body.is--day div.container {
    background-color: #eef2ff;
}

body.is--night div.container {
    background-color: #0a0a1a;
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    z-index: 10;
    position: relative;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-inline: 1.5rem;
    padding-block: 1.5rem;
}

@media (min-width: 40rem) {
    header {
        padding-inline: calc(0.25rem * 12);
    }
}

.badge--btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.badge--btn a {
    border-radius: 3.40282e38px;
    border-style: solid;
    border-width: 1px;
    font-size: 1rem;
    font-weight: 500;
    line-height: calc(1 / 0.75);
    padding-block: 0.375rem;
    padding-inline: 0.75rem;
}

.badge--status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    visibility: hidden;
}

.badge--time {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.time--potd {
    border-radius: 3.40282e38px;
    border-style: solid;
    border-width: 1px;
    backdrop-filter: blur(12px);
    font-size: 0.75rem;
    font-weight: 500;
    line-height: calc(1 / 0.75);
    padding-block: 0.375rem;
    padding-inline: 0.75rem;
}

body.is--day .time--potd {
    background-color: color-mix(in oklab,#fff 60%,transparent);
    color: #4338ca;
    border-color: #4f46e533;
}

body.is--night .time--potd {
    background-color: #14143299;
    color: #c7d2fe;
    border-color: #4f46e533;
}

.time--clock {
    font-size: 0.875rem;
    font-weight: 500;
    line-height: calc(1 / 0.875);
    text-align: right;

}

body.is--day .time--clock {
    color: #4338ca;
}

body.is--night .time--clock {
    color: #818cf8;
}

.statusdot {
    width: 0.625rem;
    height: 0.625rem;
    background-color: #4f46e5;
    border-radius: 3.40282e38px;
    box-shadow: 0 0 12px 2px #4f46e599;
    animation:pulse-glow 1.5s infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow:
            0 0 3px 1px rgba(79, 70, 229, 0.35),
            0 0 6px 2px rgba(79, 70, 229, 0.15);
    }

    50% {
        box-shadow:
            0 0 6px 2px rgba(79, 70, 229, 0.65),
            0 0 9px 4px rgba(79, 70, 229, 0.25);
    }
}

@keyframes pulse{
    70%{
        box-shadow:0 0 0 9px rgba(34,197,94,0)
    }
    100%{
        box-shadow:0 0 0 0 rgba(34,197,94,0)
    }
}

.statustxt {
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: 500;
    font-size: 0.875rem;
    line-height: calc(1.25 / 0.875);
}

body.is--day .statustxt {
    color: #4338ca;
}

body.is--night .statustxt {
    color: #a5b4fc;
}

.bgclip {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.bgspot--tl {
    position: absolute;
    width: 28rem;
    height: 28rem;
    left: -10rem;
    top: -10rem;
    filter: blur(64px);
    border-radius: 3.40282e38px;
}

body.is--day .bgspot--tl {
    background-color: #fcd34d66;
}

body.is--night .bgspot--tl {
    background-color: #4f46e533;
}

.bgspot--br {
    position: absolute;
    width: 32rem;
    height: 32rem;
    right: -10rem;
    bottom: -10rem;
    filter: blur(64px);
    border-radius: 3.40282e38px;
}

body.is--day .bgspot--br {
    background-color: #818cf84d;
}

body.is--night .bgspot--br {
    background-color: #1e1e5a4d;
}

.bgspot--cc {
    position: absolute;
    width: 18rem;
    height: 18rem;
    translate: -50% 0;
    left: 50%;
    top: 33.3333%;
    filter: blur(64px);
    border-radius: 3.40282e38px;
}

body.is--day .bgspot--cc {
    background-color: #c7d2fe66;
}

body.is--night .bgspot--cc {
    background-color: #4f46e51a;
}

/*section {
    width: 100%;
    margin: 0 auto;
    color: #a5b4fc;
}*/

main {
    color: #fff;
}

main.weatherdata {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-inline: 1.5rem;
    text-align: center;
}

main.text {
    font-family: 'Outfit', sans-serif;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

body.is--day main.text {
    color: #3f3d56;
}

body.is--night main.text {
    color: #c7d2fe;
}

main.text h1,
main.text h2,
main.text h3,
main.text h4,
main.text h5,
main.text h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
}

body.is--day main.text h1,
body.is--day main.text h2,
body.is--day main.text h3,
body.is--day main.text h4,
body.is--day main.text h5,
body.is--day main.text h6 {
    color: #3730a3;
}

body.is--night main.text h1, 
body.is--night main.text h2,
body.is--night main.text h3,
body.is--night main.text h4,
body.is--night main.text h5,
body.is--night main.text h6 {
    color: #fff;
}

section {
    margin-bottom: 3rem;
}

/*@media (min-width: 40rem) {
    section {
        width: 90%;
        max-width: 1200px;
    }
}*/

.location {
    font-size: 0.875rem;
    line-height: calc(1.25 / 0.875);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

@media (min-width: 40rem) {
    .location {
        font-size: 1rem;
    }
}

body.is--day .location {
    color: #4338ca;
}

body.is--night .location {
    color: #a5b4fc;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.temperature {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.temp--value {
    color: #0000;
    font-family: 'Outfit', sans-serif;
    font-size: 13rem;
    font-weight: 500;
    line-height: 1;
    -webkit-background-clip: text;
    background-clip: text;
}

body.is--day .temp--value {
    background-image: linear-gradient(to bottom in oklab, rgb(30,27,47) 0%, rgb(63,61,86) 50%, rgb(94,92,122) 100%);
}

body.is--night .temp--value {
    background-image: linear-gradient(to bottom in oklab, rgb(255,255,255) 0%, rgb(199,210,254) 50%, rgb(129,140,248) 100%);
}

.temp--unit {
    font-size: 3.75rem;
    font-weight: 300;
    line-height: 1;
    margin-top: 1.5rem;
}

body.is--day .temp--unit {
    color: #3f3d56;
}

body.is--night .temp--unit {
    color: #a5b4fc;
}

@media (min-width: 40rem) {
    .temp--value {
        font-size: 20rem;
    }

    .temp--unit {
        font-size: 6rem;
        margin-top: 2.5rem;
    }
}

@media (min-width: 48rem) {
    .temp--value {
        font-size: 24rem;
    }
}

.additionalinfo {
    gap: 0.75rem;
    font-size: 0.875rem;
    line-height: calc(1.25 / 0.875);
    justify-content: center;
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.pill {
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    padding-block: 0.5rem;
    padding-inline: 1rem;
    border-style: solid;
    border-width: 1px;
    border-radius: 3.40282e38px;
    backdrop-filter: blur(12px);
    box-shadow: 0 0 #0000, 0 0 #0000, 0 0 #0000, 0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;
}
body.is--day .pill {
    color: #3730a3;
    background-color: color-mix(in oklab,#fff 70%,transparent);
    border-color: #4f46e533;
}

body.is--night .pill {
    color: #c7d2fe;
    background-color: #14143299;
    border-color: #4f46e533;
}

@media (min-width: 40rem) {
    .additionalinfo {
        gap: 1rem;
        font-size: 1rem;
        line-height: 1.5;
    }
}

.connection--status {
    justify-content: center;
    align-items: center;
    display: flex;
}

.connection--status p {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    line-height: 1.2;
    color: #0000;
    -webkit-background-clip: text;
    background-clip: text;
    background-image: linear-gradient(to bottom in oklab, rgb(255,255,255) 0%, rgb(199,210,254) 50%, rgb(129,140,248) 100%);
    margin: 0;
}

body.is--day .connection--status p {
    background-image: linear-gradient(to bottom in oklab, rgb(30,27,47) 0%, rgb(63,61,86) 50%, rgb(94,92,122) 100%);
}

@media (min-width: 40rem) {
    .connection--status p {
        font-size: 6rem;
    }
}


footer {
    font-size: 0.875rem;
    line-height: calc(1 / 0.75);
    text-align: center;
    padding-block: 2rem;
    padding-inline: 1.5rem;
}

body.is--day footer {
    color: #6366f1;
}

body.is--night footer {
    color: #818cf8;
}

@media (min-width: 40rem) {
    footer {
        padding-block: 3rem;
        padding-inline: 3rem;
    }
}

footer .footer-wrap {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

@media (min-width: 40rem) {
    footer .footer-wrap {
        width: 100%;
    }
}

footer nav {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    align-items: center;
}


.fading-circle {
  width: 4em;
  height: 4em;
  position: relative;
  margin: auto;
}
.fading-circle .circle {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}
.fading-circle .circle:before {
  content: "";
  display: block;
  margin: 0 auto;
  width: 15%;
  height: 15%;
  background-color: #337ab7;
  border-radius: 100%;
  -webkit-animation: fading-circle-delay 1.2s infinite ease-in-out both;
          animation: fading-circle-delay 1.2s infinite ease-in-out both;
}
.fading-circle .circle-2 {
  transform: rotate(30deg);
}
.fading-circle .circle-3 {
  transform: rotate(60deg);
}
.fading-circle .circle-4 {
  transform: rotate(90deg);
}
.fading-circle .circle-5 {
  transform: rotate(120deg);
}
.fading-circle .circle-6 {
  transform: rotate(150deg);
}
.fading-circle .circle-7 {
  transform: rotate(180deg);
}
.fading-circle .circle-8 {
  transform: rotate(210deg);
}
.fading-circle .circle-9 {
  transform: rotate(240deg);
}
.fading-circle .circle-10 {
  transform: rotate(270deg);
}
.fading-circle .circle-11 {
  transform: rotate(300deg);
}
.fading-circle .circle-12 {
  transform: rotate(330deg);
}
.fading-circle .circle-2:before {
  -webkit-animation-delay: -1.1s;
          animation-delay: -1.1s;
}
.fading-circle .circle-3:before {
  -webkit-animation-delay: -1s;
          animation-delay: -1s;
}
.fading-circle .circle-4:before {
  -webkit-animation-delay: -0.9s;
          animation-delay: -0.9s;
}
.fading-circle .circle-5:before {
  -webkit-animation-delay: -0.8s;
          animation-delay: -0.8s;
}
.fading-circle .circle-6:before {
  -webkit-animation-delay: -0.7s;
          animation-delay: -0.7s;
}
.fading-circle .circle-7:before {
  -webkit-animation-delay: -0.6s;
          animation-delay: -0.6s;
}
.fading-circle .circle-8:before {
  -webkit-animation-delay: -0.5s;
          animation-delay: -0.5s;
}
.fading-circle .circle-9:before {
  -webkit-animation-delay: -0.4s;
          animation-delay: -0.4s;
}
.fading-circle .circle-10:before {
  -webkit-animation-delay: -0.3s;
          animation-delay: -0.3s;
}
.fading-circle .circle-11:before {
  -webkit-animation-delay: -0.2s;
          animation-delay: -0.2s;
}
.fading-circle .circle-12:before {
  -webkit-animation-delay: -0.1s;
          animation-delay: -0.1s;
}

@-webkit-keyframes fading-circle-delay {
  0%, 39%, 100% {
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
}

@keyframes fading-circle-delay {
  0%, 39%, 100% {
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
}
