/*
body {
    height: 2000px;
    background: linear-gradient(to top, hsl(259, 43%, 10%), hsl(259, 43%, 15%), hsl(259, 43%, 30%));
    margin: 0;
    overflow-x: hidden;
}*/

/*Weather*/
/*
.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;
}

#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; 
}

.weather {
    background-color: #6ba4ff;
    transition: background-color 2s ease;
}

.thunder .weather {
    background-color: #2b2b3a;
}

.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; 
    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;
    width: 80%;
    right: 0;
    opacity: 0;
    z-index: 1;
}

.clouds {
    opacity: 1; 
}

.clouds::after {
    content: '';
    position: absolute;
    background: linear-gradient(to bottom, rgba(43, 43, 70, 0.4) 70%, transparent 100%); 
    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;
    pointer-events: none;
    display: flex;
    top: 0;
    min-width: 400px;
    width: 100%;
    height: 100%;
    overflow: visible;
}

#outer g {
    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;
    bottom: 0;
    left: 50%;
}*/

/*Curved text*/

.circle-wrapper {
    position: relative;
    /*width: 250px;
    height: 250px;*/
    width: 260px;
    height: 260px;
    overflow: hidden;
    /**/
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0; 
    background-color: rgba(28, 28, 28, 0); /*change this to 1 on hover and make another background only behinde the prog info this way the prog info gets good colors and the clock is visible*/
    padding: 0;
    border-radius: 50%;
}

.circle-wrapper-bg {
    position: relative;
    width: 237px;
    height: 237px;
    border-radius: 50%;
    background-color: rgba(28, 28, 28, 1);
}

.curved-text-wrapper {
    position: absolute;
    width: var(--spanHeight);
    top: 50%;
    transform: translateY(-100%);
    height: var(--spanHeight);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
}

.curved-text {
    position: absolute;
    font-size: 20px; /*Has to be in px*/
    font-family: 'Roboto Mono', monospace;
    height: var(--spanHeight);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ebebeb;
    font-weight: bold;
    transform-origin: bottom center;
}

.curved-text span {
    position: absolute;
    bottom: 0;
    width: 10px;
    height: var(--spanHeight);
    display: flex;
    justify-content: center;
    transform-origin: bottom center;
}

.curved-text span div {
    position: absolute;
    width: fit-content;
    height: fit-content;
    transform-origin: center center;
    font-size: inherit;
}

.curved-text span img {
    position: absolute;
    height: auto;
    top: 5px;
}

.LatestWords span img {
    left: -10px;
}

.DetectWords span img {
    left: -10px;
}

/**/

.blend {
    mix-blend-mode: difference; 
    font-weight: bolder;
    z-index: 100;
    transform: rotateX(180deg) rotateY(180deg);
}

.progInfo {
    font-size: 13px;
    z-index: 1;
    opacity: 0;
}

.curved-text span span {
    position: absolute;
    width: 20px;
    height: 28px;
    top: 0;
    cursor: pointer;
}

.circle-btn {
    position: absolute;
    fill: none;
    stroke-linecap: round;
    stroke-width: 2.6;
    stroke: #f5f5f5;
    opacity: 0.1;
    transition: opacity 0.2s ease-in-out;
}

.circle-btn.right {
    transform: rotate(25deg);
    transform-origin: center center;
}

.circle-btn.left {
    transform: rotate(266deg);
    transform-origin: center center;
}

.circular-chart-btn {
    display: block;
    overflow: visible;
    position: absolute;
    width: 343px;
    height: 343px;
}

/*Progressbar*/

.svg-gradients {
    position: absolute;
    z-index: -1;
}

.single-chart {
    position: absolute;
    width: 200px; 
    justify-content: space-around;
    z-index: 1;
    border-radius: 50%;
}

.circular-chart {
    display: block;
    overflow: visible;
}

.circle-bg {
    fill: none;
}

.circle {
    fill: none;
    stroke-linecap: round;
    animation: progress 1s ease-out forwards;
}

@keyframes progress {
    0% {
        stroke-dasharray: 0 100;
    }
}

.prog-circle-tot-words {
    position: absolute;
    color: #f5f5f5;
    font-family: sans-serif;
    font-size: 15px;
    font-weight: bold;
    text-align: center;
    height: fit-content;
    width: 50px;
}

/*Clock*/

.clock-wrapper {
    position: absolute;
    width: 235px;
    height: 235px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 12px;
    border: solid 12px hsla(0, 0%, 96%, 0.1);
    transform: rotate(180deg);
}

.clock-hand {
    position: absolute;
    background-color: #f5f5f5;
    opacity: 0.4;
    z-index: 1;
    top: 50%;
    transition: opacity 0.3s ease-in-out;
    transform-origin: top center;
    animation-name: rotate;
    animation-iteration-count:infinite;
    animation-timing-function:linear;
}

.hour {
    width: 7px;
    height: 37%;
    border-radius: 5px;
    animation-duration: 43200s;
}

.min {
    width: 5px;
    height: 40%;
    border-radius: 3px;
    animation-duration: 3600s;
}

.sec {
    width: 2px;
    height: 40%;
    border-radius: 1px;
    animation-duration: 60s;
}

.clock-mark {
    position: absolute;
    transform: translateY(-50%);
    font-size: 12px;
    z-index: 0;
}

.clock-mark span img {
    scale: 3.55;
}

@keyframes rotate {
    from {
      transform: rotate(0deg) translateY(32px);
    }
    to {
      transform: rotate(360deg) translateY(32px);
    }
}

/*Events*/

.event-wrapper {
    position: relative;
    top: -180px;
    left: 100%;
    transform: translateX(calc(-100% + 8px));
    width: 40%;
    max-width: 400px;
    height: 800px;
    /*background-color: #292929;*/
    /*padding: 6px 10px;*/
    overflow-y: auto;
    overflow-x: hidden;
}
/*
.event-wrapper::before {
    content: '';
    position: fixed;
    top: 0;
    background: linear-gradient(to bottom, #7186ff, transparent);
    height: 20px;
    width: 100%;
    z-index: 1000;
}*/

.event-container {
    position: relative;
    max-width: 100%;
    width: 100%;
    height: fit-content;
    margin-bottom: 310px;
    display: flex;
    flex-direction: column;
}

.event-zero {
    position: relative;
    height: 70px;
    width: 100%;
    top: 0;
    padding: 6px 0 6px 0;
}

.event-one {
    position: relative;
    background: hsl(237, 27%, 74%); 
    border-radius: 12px 0px 0px 12px;
    /*border-radius: 12px;*/
    top: 0;
    height: 100%;
    width: 100%;
    transform: translateX(0);
}

.nav-bar-event {
    position: fixed;
    height: 70px;
    width: 40%;
}