body {
    background-color: #2b2b3a;
}

.weather-wrapper {
    position: relative;
    width: fit-content;
    height: fit-content;
}

.weather-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  padding-bottom: 70px;  
  height: 700px;
  width: 30%;
  min-width: 400px;
  overflow: visible;
/*
  background: linear-gradient(to top, hsl(259, 43%, 30%), rgba(0, 130, 200, 0.1));
*/
}

#card {
    box-shadow: 9px 7px 40px -6px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    width: 100%; 
    height: 700px;
    position: relative;
    border-radius: 20px;
    /*background-image: url(beautiful-night-sky-with-shiny-stars\ \(1\).jpg);*/
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat; 

    /*display: none; The calendar works as usual if this is set*/
}

.weather {
    background-color: #6ba4ff;
    transition: background-color 2s ease;
}

.thunder .weather {
    background-color: #2b2b3a;
    /*background-color: #353547;*/
}

.rain .weather {
    background-color: #595a80;
}

.sun .weather {
    background-color: #ccccff;
}

.weather #inner {
    width: 100%;
}

#layer1 {
    filter: blur(2.5px);
}

.precipitation {
    filter: blur(1px);
}

#inner g {
    z-index: 10;
}

/*Clouds*/

.bg-mist {
    position: absolute;
    opacity: 0; /*0.55*/
    width: 100%;
    z-index: 1;
    filter: brightness(0.4) drop-shadow(0px 5px 5px rgba(0, 0, 0, 0.5)) hue-rotate(200deg);
    border-radius: 0 20px;
}

.sun-png {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    aspect-ratio: 1/1;
    z-index: 1;
}

.clouds {
    opacity: 1; /*0.8*/
}

.clouds::after {
    content: '';
    position: absolute;
    background: linear-gradient(to bottom, rgba(43, 43, 70, 0.4) 70%, transparent 100%); /*many clouds, a: 0.4*/
    height: 55%;
    width: 100%;
    z-index: 2;
}

.cloud {
    position: absolute;
    top: 0;
    display: flex;
    flex-direction: row;
    opacity: 0.9;
    z-index: 2;
    filter: hue-rotate(200deg) blur(3px);
}

.cloud img {
    min-height: 90px;
    max-height: 300px;
}

@keyframes clouds-slide {
    0% {
        left: 0;
        transform: translateX(-100%);
    }
    100% {
        left: 100%;
        transform: translateX(100%);
    }
}
/**/

#outer {
    position: absolute;
    top: 0;
    min-width: 400px;
    width: 100%;
    height: 100%;
    overflow: visible;
}

#outer g {
    position: absolute;
    /*
    left: 50%;
    transform: translateX(-50%);
    */
    left: 0;
    transform: translateX(0%);
    filter: blur(1px);
}

.weather-info {
    position: absolute;
    width: 300px;
    height: 150px;
    left: 50%;
    bottom: 80px;
    display: flex;
    justify-content: center;
    transform: translateX(-50%);
    font-family: 'Roboto', sans-serif;
    color: #ebebeb;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    z-index: 10;
    overflow: visible;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.5), 0 0 2px rgba(0, 0, 0, 0);
}

.celcius {
    position: absolute;
    top: -10px;
    transform: translateY(-100%);
    font-size: 60px;
    font-weight: lighter;
}

.weather-info-line {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.search-location {
    position: relative;
    font-size: 15px;
}

.weather-icon img {
    position: relative;
    height: 40px;
    width: auto;
}

.moon-phase {
    overflow: hidden;
    border-radius: 100%;
    background-color: rgb(0, 0, 0);
    box-shadow: 0px 0px 5px rgb(0, 0, 0);
}

.humidity-container {
    position: relative;
    width: 90px;
    height: 90px;
    justify-content: center;
    align-items: center;
}

.humidity.blend {
    mix-blend-mode: normal;
    position: absolute;
    top: 50%;
    left: 50%;
}