.calendar-wrapper {
   backdrop-filter: blur(3px);
   height: auto;
   margin: 0 auto;
   border-radius: 20px;
}

.placement {
   position: relative;
   width: 80%;
   display: flex;
   flex-direction: row;
}

.calendar-header-container {
   background-color: var(--containers); 
   height: fit-content;
   width: 100%;
   padding: 20px;
   color: var(--contrast); 
   font-weight: 300;
   position: relative;
   border-radius: 20px 20px 0 0;
}

.calendar-header {
   position: relative;
   width: 100%;
   height: 100%;
   padding-top: 13px;
   padding-bottom: 13px;
   border-radius: 20px;
}
/*
.year-toggle {
   position: relative;
   display: inline-block;
   cursor: pointer;
   margin-left: 6px;
   top: 50%;
   transform: translateY(-8%);
}*/

#toggle-icons {
   position: relative;
   width: 22px;
   height: auto;
   border-radius: 22px;
   overflow: hidden;
}

#todayDayName {
   position: relative;
   width: calc(90% - 120px);
   color: var(--textContent);
}

/*Season & zodiac*/

#season {
   position: absolute;
   top: 50%;
   transform: translateY(-50%);
   right: 11%;
   background-color: var(--extracted-color);
   width: 120px;
   height: 120px;
   border-radius: 20px;
}

#outImage-container {
   position: absolute;
   left: 8px;
   top: 8px;
   border-radius: 50%;
   display: flex;
   justify-content: center;
   align-items: center;
   height: 68%;
   width: 68%;
   overflow: hidden;
}

#outImage-container img {
   height: 100%;
   width: 100%;
   cursor: pointer;
}

#zodiac-icon {
   position: relative;
   left: 77%;
   top: 9px;
   color: var(--season-text);
   width: fit-content;
   height: fit-content;
}

#zodiac-icon svg {
   width: 30px;
   height: 30px;
   cursor: pointer;
}

#season-name {
   position: absolute;
   bottom: 3px;
   left: 8px;
   font-size: 17px;
   color: var(--season-text);
   font-weight: bolder;
}

#canvas {
   display: none;
}

/*Calendar again*/

.header-title {
   padding-left: 11%;
}

.calendar-content {
   position: relative;
   background-color: var(--containers); 
   color: var(--textContent);
   padding: 20px;
   padding-left: 10%;
   padding-right: 10%;
   overflow: hidden;
   height: 610px; 
   transition: height 0.5s ease-in-out;
}

.month-wrapper {
   position: relative;
   width: 100%;
   height: fit-content;
   transform: translateX(0%) translateY(0%);
}

.month-container {
   position: relative;
   width: 300%;
   scale: 0.29; 
   transform: translateX(-116.5%) translateY(-122%); 
   height: fit-content;
   display: flex;
   flex-wrap: wrap;
   justify-content: space-between;
   align-content: space-between;
   transition: all 0.5s ease-in-out;
}

.month {
   position: relative;
   font-size: 35px;  
   width: 30%;
   height: 500px;
   padding-bottom: 30px;
   transition: all 0.5s ease-in-out;
}

.month div {
   padding-top: 5px;
}

.month-name-grid {
   font-size: 45px;
   font-weight: bolder;
   letter-spacing: 3px;
   cursor: pointer;
   transition: opacity 0.5s ease-in-out;
   transition: color 0.3s ease-out;
}

.month-name-grid:hover {
   transition: color 0.2s ease-in;
   color: var(--accent);
}

#month-title-container {
   display: flex;
   align-items: center; 
   width: fit-content;
   height: fit-content;
   cursor: pointer;
}

#month-name-title {
   position: relative;
   font-weight: bold !important;
   padding-bottom: 8px;
   width: fit-content;
}

#month-name-svg {
   position: relative;
   display: inline-block;
   vertical-align: middle;
   left: -8px;
}

/*Different month aimations*/

@keyframes reset {
   0% {
      transform: translateX(var(--translateX)) translateY(var(--translateY)); /*translateX(var(--translateX)) translateY(var(--translateY))*/ 
   }
   100% {
      transform: translateX(0%) translateY(0%); 
   }
}
@keyframes container-animation-0 {
   0% {
      transform: translateX(0%) translateY(0%);
   }
   100% {
      transform: translateX(353.9%) translateY(117.8%);
   }
}
@keyframes container-animation-1 {
   0% {
      transform: translateX(0%) translateY(0%);
   }
   100% {
      transform: translateX(249.2%) translateY(117.8%);
   }
}
@keyframes container-animation-2 {
   0% {
      transform: translateX(0%) translateY(0%);
   }
   100% {
      transform: translateX(144.2%) translateY(117.8%);
   }
}
@keyframes container-animation-3 {
   0% {
      transform: translateX(0%) translateY(0%);
   }
   100% {
      transform: translateX(353.9%) translateY(92.9%);
   }
}
@keyframes container-animation-4 {
   0% {
      transform: translateX(0%) translateY(0%);
   }
   100% {
      transform: translateX(249.2%) translateY(92.9%);
   }
}
@keyframes container-animation-5 {
   0% {
      transform: translateX(0%) translateY(0%);
   }
   100% {
      transform: translateX(144.2%) translateY(92.9%);
   }
}
@keyframes container-animation-6 {
   0% {
      transform: translateX(0%) translateY(0%);
   }
   100% {
      transform: translateX(353.9%) translateY(67.9%);
   }
}
@keyframes container-animation-7 {
   0% {
      transform: translateX(0%) translateY(0%);
   }
   100% {
      transform: translateX(249.2%) translateY(67.9%);
   }
}
@keyframes container-animation-8 {
   0% {
      transform: translateX(0%) translateY(0%);
   }
   100% {
      transform: translateX(144.2%) translateY(67.9%);
   }
}
@keyframes container-animation-9 {
   0% {
      transform: translateX(0%) translateY(0%);
   }
   100% {
      transform: translateX(353.9%) translateY(42.9%);
   }
}
@keyframes container-animation-10 {
   0% {
      transform: translateX(0%) translateY(0%);
   }
   100% {
      transform: translateX(249.2%) translateY(42.9%);
   }
}
@keyframes container-animation-11 {
   0% {
      transform: translateX(0%) translateY(0%);
   }
   100% {
      transform: translateX(144.2%) translateY(42.9%);
   }
}

.event-mark {
   width: 5px;
   height: 5px;
   background-color: teal;
   border-radius: 100px;
   position: absolute;
   left: 46%;
   top: 70%;
}

.calendar-footer {
   position: relative;
   height: 200px;
   font-weight: 300;
   text-align: center;
   background-color: var(--containers) !important; 
   position: relative;
   overflow: hidden;
   border-radius: 0 0 20px 20px;
   transition: height 0.3s ease-in-out;
}

.word-interval-container {
   position: absolute;
   top: 100%;
   width: 100%;
   height: 100%;
   background-color: rgb(34, 34, 34) !important; 
   transition: top 0.5s cubic-bezier(1, 0, 0, 1);
   padding: 0 5px 0 5px;
   border-radius: 20px;
   z-index: 2;
   overflow: hidden;
   display: flex;
   flex-direction: row;
   align-items: center;
   justify-content: center;
}

.word-interval-container p {
   color: var(--textContent);
   font-size: 15px;
   padding-left: 5px;
   padding-right: 5px;
}

.word-interval-container div {
   margin-left: auto;
   margin-right: auto;
}

.addForm { 
   position: relative;
   top: 230px;
   width: 100%;
   min-height: 230px;
   height: fit-content;
   background-color: rgb(34, 34, 34) !important; 
   transition: top 0.5s cubic-bezier(1, 0, 0, 1);
   padding: 85px 5px 0 5px;
   border-radius: 20px;
   z-index: 2;
}

.addForm textarea {
   color: var(--textContent);
   height: auto;
}

.input-field div{
   color: var(--contrast);
} 

.addEventButtons {
   margin-top: 13px;
   text-align: right;
   padding: 0 0.75rem 0 0.75rem;
   display: flex;
   flex-direction: row;
   gap: 5px;
}

.addEventButtons a {
   color: black;
   font-weight: 300;
}

#addEventButton {
   background: var(--contrast);
}

#cancelAdd {
   background-color: grey; /*?*/
}

.emptyForm {
   position: absolute; /*here*/
   left: 50%;
   transform: translateX(-50%);
   padding-top: 0px;
   padding-bottom: 20px;
   padding-left: 15%;
   padding-right: 15%;
}

.emptyForm h4 {
   color: var(--contrast);
   margin-top: -3px;
   white-space: nowrap;
}

.sidebar-wrapper {
   position: fixed;
   backdrop-filter: blur(3px);
   color: var(--contrast); 
   background-color: var(--containers) !important; 
   padding-bottom: 20px;
   font-weight: 300;
   border-radius: 20px;
   border-top-left-radius: 0;
   width: 300px;
   height: 800px;
   display: none; /*Remove this*/
}

.sidebar-body {
   position: absolute;
   left: 5px;
   overflow: scroll;
   border-radius: 10px;
   width: calc(100% - 10px);
   height: 67%;
}

.sidebar-title-container { 
   position: relative;
   padding: 20px;
}

.sidebar-title {
   position: relative;
   height: 150px;
   padding: 13px;
   border-radius: 20px;
}

.sidebar-title-text {
   position: relative;
}

.sidebar-events {
   overflow: hidden;
   margin-bottom: 70px;
}

.sidebar-events.animate {
   animation: eventsSlide 1s;
}

@keyframes eventsSlide {
   0% {
      transform: translateY(0);
   }
   50% {
     transform: translateY(-105%);
   }
   100% {
      transform: translateY(0);
   }
}

/*Clock & weather & schedule*/

.clock-weather-schedule-wrapper {
   position: absolute;
   display: flex;
   flex-direction: column;
   gap: 27px;
   height: auto;
   width: 100%;
   
}

.clock-weather-wrapper {
   position: relative;
   display: flex;
   flex-direction: row;
   gap: 10px;
   height: auto;
   width: 100%;
}

/*Schedule*/

.schedule {
   top: 27px;
   position: relative;
   width: 100%;
   height: fit-content;
   backdrop-filter: blur(3px);
   background-color: var(--containers);
   padding: 20px;
   border-radius: 20px;
   overflow: hidden;
}

#message {
   position: relative;
   color: var(--borders);
   font-size: large;
   top: -50px;
}

#canvas-container {
   position: relative;
   width: 100%;
   height: fit-content;
   border-radius: 20px;
   overflow: hidden;
}

#imageBox {
   position: relative;
   width: 100%;
   height: 100%;
}

.foregroundOverlay {
   position: absolute;
   top: 0;
   bottom: 0;
   left: 0;
   right: 0;
   background-color: #000;
}

#canvas-container:hover {
   border-radius: 0;
}

.file-btn {
  width: 5rem;
  height: 2rem;
  border-radius: 1rem;
  box-shadow: 0.3rem 0.3rem 0.6rem var(--greyLight-2), -0.2rem -0.2rem 0.5rem var(--white);
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s ease;
  color: var(--contrast);
  font-size: smaller;
  margin-top: 17px;
  margin-bottom: 17px;
}

#finput {
  top: 0;
  opacity: 0;
  position: absolute;
}

#HideImage {
   padding: 6px;
   position: absolute;
   color: var(--contrast);
   left: 110px;
   bottom: 11.5rem; /*fix this*/
   cursor: pointer;
   width: 2rem;
   height: 2rem;
   border-radius: 1rem;
   box-shadow: 0.3rem 0.3rem 0.6rem var(--greyLight-2), -0.2rem -0.2rem 0.5rem var(--white);
   justify-self: center;
   display: flex;
   align-items: center;
   justify-content: center;
   transition: 0.3s ease;
   font-size: smaller;
   margin-top: 13px;
   margin-bottom: 13px;
}

.segmented-control {
  grid-column: 3 / 4;
  grid-row: 1 / 2;
  width: 20.4rem;
  height: 4rem;
  box-shadow: 0.3rem 0.3rem 0.6rem var(--greyLight-2), -0.2rem -0.2rem 0.5rem var(--white);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  position: relative;
}

.segmented-control > label {
  width: calc(100% / 3);
  height: 100%;
  font-size: 1.4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  color: var(--borders);
  transition: all 0.5s ease;
}

.segmented-control > label:hover {
   color: var(--contrast);
}

.segmented-control__color {
  position: absolute;
  height: 3.4rem;
  width: calc(100% / 3 - 0.6rem);
  margin-left: 0.3rem;
  border-radius: 0.8rem;
  box-shadow: inset 0.2rem 0.2rem 0.5rem var(--greyLight-2), inset -0.2rem -0.2rem 0.5rem var(--white);
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  transform: translateX(0);
}

.segmented-control__color.active {
   transform: translateX(calc(6.8rem * (var(--index) - 1)));
} 

.segmented-control > label.active p {
   color: var(--contrast); 
} 

.slider {
  position: relative;
  margin-top: 17px; 
  grid-column: 3 / 4;
  grid-row: 5 / 6;
  align-self: center;
  display: flex;
  flex-direction: column;
  max-height: 70px;
}

.slider__box {
  width: 100%;
  height: 1rem;
  cursor: grab;
  box-shadow: inset 0.2rem 0.2rem 0.5rem var(--greyLight-2), inset -0.2rem -0.2rem 0.5rem var(--white);
  border-radius: 1rem;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slider__btn {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--greyLight-4);
  position: absolute;
  box-shadow: 0px 0.1rem 0.3rem 0px var(--greyLight-3);
  z-index: 200;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slider__btn:hover ~ .slider__tooltip {
  opacity: 1;
}

.slider__btn::after {
  content: '';
  position: absolute;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  box-shadow: inset 0.2rem 0.2rem 0.5rem var(--greyLight-2), inset -0.2rem -0.2rem 0.5rem var(--white);
}

.slider__color {
  height: 100%;
  width: 50%;
  position: absolute;
  left: 0;
  z-index: 100;
  border-radius: inherit;
  background: var(--primary);
  background: linear-gradient(-1deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
}

.slider__tooltip {
  position: absolute;
  top: 2.6rem;
  height: 2.5rem;
  width: 3rem;
  border-radius: 0.6rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  color: var(--primary);
  box-shadow: 0.3rem 0.3rem 0.6rem var(--greyLight-2), -0.2rem -0.2rem 0.5rem var(--white);
  opacity: 0;
  transition: opacity 0.3s ease;
}

/*Clock*/
/*
.clock-wrapper {
   position: relative;
   width: calc(50% - 5px);
   height: auto;
   display: flex;
   justify-content: center;
   align-items: center;
   backdrop-filter: blur(3px);
   border-radius: 20px;
   background-color: var(--containers);
}

.clock-container {
	min-height: 330px;
   overflow: hidden;
	min-width: 350px;
	display: flex;
	flex-direction: column;
	align-items: center;
	font-size: 16px;
	position: relative;
	scale:0.4; 
}

.clock {
   margin-top: 20px;
	min-height: 18em;
	min-width: 18em;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: transparent;
	background-image: url("clock.png");
	background-position: center center;
	background-size: cover;
	border-radius: 50%;
	border: 4px solid transparent;
	box-shadow: 0 -15px 15px rgba(255, 255, 255, 0.05),
		inset 0 -15px 15px rgba(255, 255, 255, 0.05), 0 15px 15px rgba(0, 0, 0, 0.3),
		inset 0 15px 15px rgba(0, 0, 0, 0.3);
	transition: all ease 0.2s;
}

.clock:before {
	content: "";
	height: 0.75rem;
	width: 0.75rem;
	background-color: var(--main-clock-color);
	border: 2px solid transparent;
	position: absolute;
	border-radius: 50%;
	z-index: 1000;
	transition: all ease 0.2s;
}

.hou,
.min,
.sec {
	position: absolute;
	display: flex;
	justify-content: center;
	border-radius: 50%;
}
.hou {
	height: 10em;
	width: 10em;
}
.hou:before {
	content: "";
	position: absolute;
	height: 50%;
	width: 8px;
	background-color: var(--main-clock-color);
	border-radius: 8px;
}
.min {
	height: 12em;
	width: 12em;
}
.min:before {
	content: "";
	height: 50%;
	width: 6px;
	background-color: var(--main-clock-color);
	border-radius: 6px;
}
.sec {
	height: 13em;
	width: 13em;
}
.sec:before {
	content: "";
	height: 60%;
	width: 3px;
	background-color: #fff;
	border-radius: 3px;
}
*/
/*Weather*/
/*
.weather-wrapper {
   display: flex;
   justify-content: center;
   align-items: center;
   height: 100%;
   font-size: 120%;
   width: calc(50% - 5px);
   overflow: hidden;
}

.card {
  margin-top: 0;
  margin-bottom: 0;
  backdrop-filter: blur(2px);
  background: var(--containers);
  color: white;
  padding: 2em;
  border-radius: 20px;
  width: 100%;
  height: 100%;
}

.search {
  display: flex;
  align-items: center;
  justify-content: center;
}

#search-city {
   position: relative;
   top: -5px;
   left: 5px;
	height: 50px;
	width: 50px;
   margin-bottom: 10px;
   overflow: hidden;
	background-color: transparent;
	background-position: center center;
	background-size: cover;
	border-radius: 50%;
	border: 4px solid transparent;
	box-shadow: 0 -15px 15px rgba(255, 255, 255, 0.05),
		inset 0 -15px 15px rgba(255, 255, 255, 0.05), 0 15px 15px rgba(0, 0, 0, 0.3),
		inset 0 15px 15px rgba(0, 0, 0, 0.3);
   outline: none;
   color: var(--accent);
   transition: all 0.2s ease-in-out;
}

#search-city:hover {
   background-color: rgba(20, 20, 31, 0.304);
}

.search-bar {
   position: relative;
   top: -5px;
   left: -5px;
	min-height: 50px;
   height: fit-content;
   padding: 0.4em 1em;
	width: 100%;
   margin-bottom: 10px;
   overflow: hidden;
	background-color: transparent;
	background-position: center center;
	background-size: cover;
	border-radius: 24px;
	border: 4px solid transparent;
	box-shadow: 0 -15px 15px rgba(255, 255, 255, 0.05),
		inset 0 -15px 15px rgba(255, 255, 255, 0.05), 0 15px 15px rgba(0, 0, 0, 0.3),
		inset 0 15px 15px rgba(0, 0, 0, 0.3);
   outline: none;
   transition: all 0.2s ease-in-out;
}

.weather-wrapper .search-bar.placeholder {
   color: rgb(122, 122, 122); 
}

.search-bar:hover {
   background-color: rgba(20, 20, 31, 0.304);
}/*

/*Event input field*/

.icon-container {
   position: absolute;
   top: 0;
   width: 100%;
   display: flex;
   flex-direction: row;
   color: var(--textContent);
   justify-content: space-between;
   gap: 5px;
   padding: 10px;
   overflow: auto;
}

.icon-container div {
   transition: opacity 0.2s ease-in-out;
   opacity: 0.4;
}

.icon-container div:hover {
   cursor: pointer;
   opacity: 1;
}

.event-input-wrapper {
   position: relative;
   display: flex;
   flex-direction: row;
   justify-content: center;
   gap: 10px;
   width: 100%;
   z-index: 1;
}

.event-input-container {
   padding: 5px;
   position: relative;
   width: 45%;
   text-align: left;
   color: var(--textContent);
   font-size: larger;
}

.eventInput .search-bar {
   position: relative;
   width: 45%;
}

.search-bar.placeholder {
   color: #ffffff49;
}

/*Weather again*/

.city {
   color: #cecece73;
   margin-top: -10px;
   z-index: 1;
}

.weather-svg {
   position: relative;
   display: flex;
   flex-direction: row;
   gap: 5px;
   width: fit-content;
   height: fit-content;
   color: rgb(122, 122, 122);
}

.temp-container {
   color: var(--textContent);
}

h4.temp {
  margin: 0;
}

.flex {
  padding-top: 1em; 
  padding-bottom: 1em; 
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.description {
  text-transform: capitalize;
  padding-top: 3em; 
  padding-bottom: 1em; 
  z-index: 1;
}

.weather.loading {
  visibility: hidden;
  max-height: 20px;
  position: relative;
}

.weather.loading:after {
  visibility: visible;
  content: "Loading...";
  color: var(--textContent);
  position: absolute;
  top: 0;
  left: 20px;
}
/*
.circle {
  padding-top: 15px;
  scale: 1.6;
  grid-column: 2 / 3;
  grid-row: 4 / 6;
  width: 9rem;
  height: 100%;
  justify-self: center;
  border-radius: 1rem;
  display: grid;
  grid-template-rows: 1fr;
  justify-items: center;
  align-items: center;
}*/

.circle__btn {
  grid-row: 1 / 2;
  grid-column: 1 / 2;
  width: 6rem;
  height: 6rem;
  display: flex;
  margin: 0.6rem;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: 3.2rem;
  color: var(--primary);
  z-index: 300;
  background: var(--greyLight-1);
  box-shadow: 0.3rem 0.3rem 0.6rem var(--greyLight-2), -0.2rem -0.2rem 0.5rem var(--white);
  cursor: pointer;
  position: relative;
}

.circle__btn.shadow {
  box-shadow: inset 0.2rem 0.2rem 0.5rem var(--greyLight-2), inset -0.2rem -0.2rem 0.5rem var(--white);
}

.circle__btn .play {
  position: absolute;
  opacity: 0;
  transition: all 0.2s linear;
}

.circle__btn .play.visibility {
  opacity: 1;
}

.circle__btn .pause {
  position: absolute;
  transition: all 0.2s linear;
}

.circle__btn .pause.visibility {
  opacity: 0;
}

.circle__back-1, .circle__back-2 {
  grid-row: 1 / 2;
  grid-column: 1 / 2;
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  filter: blur(1px);
  z-index: 100;
}

.circle__back-1 {
  box-shadow: 0.4rem 0.4rem 0.8rem var(--greyLight-2), -0.4rem -0.4rem 0.8rem var(--white);
  background: linear-gradient(to bottom right, var(--greyLight-2) 0%, var(--white) 100%);
  animation: waves 10s linear infinite;
}

.circle__back-1.paused {
  animation-play-state: paused;
}

.circle__back-2 {
  box-shadow: 0.4rem 0.4rem 0.8rem var(--greyLight-2), -0.4rem -0.4rem 0.8rem var(--white);
  animation: waves 10s linear 5s infinite;
}

.circle__back-2.paused {
  animation-play-state: paused;
}

@keyframes waves {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

.fa {
   height: 50px;
   scale: 1.2;
}

/*Time input*/

.addform-row {
   position: relative;
   display: flex;
   flex-direction: row;
   align-items: center;
   padding-bottom: 30px;
}

.time-input-wrapper {
  position: relative;
  bottom: -9px;
  height: 0;
  max-width: calc(100% - 242px);
  width: calc(50% + 20px);
  display: flex;
  overflow: visible;
}

.time-input-container {
  position: relative;
  top: -53px; 
  margin-left: auto;
  margin-right: auto;
  min-width: 100px;
  overflow: visible;
}

.time-input {
  --time-offset: 0;
  width: 100px;
  min-height: 100px;
  background: rgba(34, 34, 34, 0.8);
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--textContent);
  font-size: 15px;
  letter-spacing: 2px;
  perspective: 500px;
  --h1: 1;
  --h2: 2;
  --m1: 3;
  --m2: 4;
  --s1: 5;
  --s2: 6;
}

.cog1 {
  left: calc(100% / 8 * 0);
  position: absolute;
  top: 0;
  bottom: 0;
  width: calc(100% / 8);
  transform: translateZ(3em);
}
.cog2 {
  left: calc(100% / 8 * 1);
  position: absolute;
  top: 0;
  bottom: 0;
  width: calc(100% / 8);
  transform: translateZ(3em);
}
.cog3 {
  left: calc(100% / 8 * 2);
  position: absolute;
  top: 0;
  bottom: 0;
  width: calc(100% / 8);
  transform: translateZ(3em);
}
.cog4 {
  left: calc(100% / 8 * 3);
  position: absolute;
  top: 0;
  bottom: 0;
  width: calc(100% / 8);
  transform: translateZ(3em);
}
.cog5 {
  left: calc(100% / 8 * 4);
  position: absolute;
  top: 0;
  bottom: 0;
  width: calc(100% / 8);
  transform: translateZ(3em);
}
.cog6 {
  left: calc(100% / 8 * 5);
  position: absolute;
  top: 0;
  bottom: 0;
  width: calc(100% / 8);
  transform: translateZ(3em);
}
.cog7 {
   left: calc(100% / 8 * 6);
   position: absolute;
   top: 0;
   bottom: 0;
   width: calc(100% / 8);
   transform: translateZ(3em);
}
.cog8 {
   left: calc(100% / 8 * 7);
   position: absolute;
   top: 0;
   bottom: 0;
   width: calc(100% / 8);
   transform: translateZ(3em);
}

.time-input,
.time-input:before,
.time-input * {
  box-sizing: border-box;
  transform-style: preserve-3d;
}

.time-input:before { 
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(34, 34, 34, .9) 20%, transparent calc(50% - .4ch), transparent calc(50% + .4ch), rgba(34, 34, 34, .9) 80%);
  transform: translateZ(2.6em);
}

.colon {
  display: inline-block;
  opacity: 0.8;
  transform: translateZ(2.5em);
  width: 1ch;
  margin: 0;
  text-align: center;
}

.cog {
  position: relative;
  width: 1ch;
  height: 1ch;
  margin: -0.25ch 0.1ch 0;
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.6, 1);
  transform: rotateX(calc(-1turn * (var(--unit) / var(--char-total))));
}

.cog .word,
.cog .char {
  position: absolute;
  top: 0%;
  left: 0%;
  width: 1ch;
  height: 1ch;
}

.cog .char {
  transform: rotateX(calc(4deg + (360deg * var(--char-percent)))) translateZ(2.5em);
}

.tens {
  text-align: right;
}

.hours.tens {
  --unit: var(--h1);
}
.hours {
  --unit: var(--h2);
}
.minutes.tens {
  --unit: var(--m1);
}
.minutes {
  --unit: var(--m2);
}
.seconds.tens {
  --unit: var(--s1);
}
.seconds {
  --unit: var(--s2);
}

/*Crossword choose number of words*/

.cross-time-input-wrapper {
   z-index: 1000;
}

.cross.tens {
   --unit: var(--num1);
}
.cross {
   --unit: var(--num2);
}

.cross-cog1 {
   position: absolute;
   top: 0;
   height: 100%;
   width: 100%;
   z-index: 2000;
}

.cross-time-input {
   width: 30px;
   --num1: 1;
   --num2: 15;
}

/*Day word choose time between word change*/

.word-time-input {
   width: 25px;
   --wordNum1: 0;
   --wordNum2: 5;
}

.input-words.tens {
   --unit: var(--wordNum1);
}
.input-words {
   --unit: var(--wordNum2);
}

/**/

.time-input.day-time-input {
   width: 60px;
   --week1: 0;
   --week2: 0;
   --day1: 0;
   --day2: 1;
}

.weeks.tens {
   --unit: var(--week1);
}
.weeks {
   --unit: var(--week2);
}
.input-days.tens {
   --unit: var(--day1); 
}
.input-days {
   --unit: var(--day2); 
}

.day.cog1 {
  left: calc(100% / 4 * 0);
  position: absolute;
  top: 0;
  height: 100%;
  transform: translateZ(3em);
  width: calc(100% / 4);
}
.day.cog2 {
  left: calc(100% / 4 * 1);
  position: absolute;
  top: 0;
  height: 100%;
  transform: translateZ(3em);
  width: calc(100% / 4);
}
.day.cog3 {
  left: calc(100% / 4 * 2);
  position: absolute;
  top: 0;
  height: 100%;
  transform: translateZ(3em);
  width: calc(100% / 4);
}
.day.cog4 {
  left: calc(100% / 4 * 3);
  position: absolute;
  top: 0;
  height: 100%;
  transform: translateZ(3em);
  width: calc(100% / 4);
}


/*Calendar*/

.side-book {
   position: absolute;
   right: 17px;
   top: 10px;
   display: block;
}

.empty-message {
   font-size: 1.2rem;
   padding: 15px 6% 15px 12%;
}

.eventCard {
   width: 290px;
   height: 100%;
   margin-top: 7px;
   color: var(--contrast);
   padding: 12px 24px 12px 24px;
   border-radius: 10px;
   position: relative;
   animation: slideInDown 0.5s;
   line-height: 1.5; 
   letter-spacing: 1px;
}

@keyframes slideInDown {
   0% {
      transform: translateY(-100%);
   }
   100% {
     transform: translateY(0);
   }
}

.eventCard-header {
   position: relative;
   font-weight: bold;
   max-width: 205px;
   overflow: hidden;
   text-overflow: ellipsis;
   white-space: nowrap;
}

.eventCard-description {
   position: relative;
   color: var(--textContent);
   max-width: 205px;
   overflow: hidden;
   text-overflow: ellipsis;
   white-space: nowrap;
   line-height: 1.5; 
   letter-spacing: 0.5px;
}

.eventCard-time {
   padding-top: 5px;
   position: relative;
   font-weight: bolder;
   color: var(--textContent);
   letter-spacing: 1px;
}

.eventCard-header:focus,
.eventCard-description:focus {
  outline: 1px dashed var(--borders); /*?*/
  border-radius: 4px;
}

/*Make this shorter*/

.eventCard:hover > .eventCard-description {
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: normal !important;
}

.eventCard:hover > .eventCard-header {
   overflow: visible !important;
   text-overflow: clip !important;
   white-space: normal !important;
}

.eventCard-mark-wrapper {
   position: absolute;
   right: 0;
   top: 0;
   height: 100%;
   width: 60px;
   border-radius: 10px;
}

.eventCard-icon-wrapper {
   position: absolute;
   right: 4%;
   top: calc(50% + 4px);
   transform: translate(-50%, -50%);
   cursor: pointer;
   height: fit-content;
   width: fit-content;
}

.eventCard-icon-wrapper > .svg-icon {
   color: var(--accent); 
} 

.eventCard-icon-wrapper > .svg-icon:hover {
   color: #db5151; 
}

.eventCard-mark > .svg-icon:hover {
   color: var(--textContent); 
}

.day-mark {
   position: relative;
   top: -10px;
   min-width: 20px;
   min-height: 20px;
   scale: 1;
   background-color: var(--accent);
   border-radius: 20px;
   transition: all 0.5s ease-in-out;
}

.content-wrapper {
   padding-top: 50px;
   padding-bottom: 50px;
   margin-left: 300px;
   margin-right: 75px;
   display: flex;
   justify-content: center;
}

.days {
   position: relative;
   width: 100%;
   left: 0;
   display: flex;
   justify-content: space-between;
}

.col {
   position: relative;
   width: 50px;
   height: 65px;
   display: flex;
   justify-content: center;
   align-items: center;
   flex-direction: column;
}

#table-body .row .col { 
   padding: 0.75rem 6.8% 0.75rem 6.8%; 
}

#table-body .col {
   border: 1px solid transparent;
   padding-top: 1.3rem !important;
   padding-bottom: 1.3rem !important;
   border-radius: 5px;
   cursor: pointer;
}

#table-body .col:hover {
   background-color: var(--borders);
}

.empty-day {
   cursor: default !important; 
}

.empty-day:hover {
   background-color: transparent !important; 
}

#table-body .row {
   margin-bottom: 0;
}

#calendar-table {
   text-align: center;
}

.calendar-cells {
   margin-left: 9px;
}

.prev-button {
   position: absolute;
   cursor: pointer;
   left: 0;
   top: 36%;
   color: var(--textContent) !important;
   opacity: 0.5;
   transition: opacity 0.3s ease-in-out;
}

.prev-button i {
   font-size: 4em;
}

.prev-button:hover {
   opacity: 1;
}

.next-button {
   position: absolute;
   cursor: pointer;
   right: 0;
   top: 36%;
   color: var(--textContent) !important;
   opacity: 0.5;
   transition: opacity 0.3s ease-in-out;
}

.next-button i {
   font-size: 4em;
}

.next-button:hover {
   opacity: 1;
}

.event-btn-container {
   position: absolute;
   top: 42px;
   left: 10px;
   width: 47%;
   height: 148px;
   border-radius: 20px;
   display: flex;
   flex-direction: column;
   gap: 17px;
   justify-content: center;
   align-items: center;
}

.quick-view {
   position: absolute;
   top: 42px;
   right: 10px;
   width: 47%;
   height: 148px;
   border-radius: 20px;
   overflow: hidden;
   padding-top: 10px;
}

.quick-view .eventCard { 
   background-color: transparent;
   max-width: fit-content;
   max-height: fit-content;
   padding: 0 0 0 10px;
   animation: none;
}

.quick-view .svg-icon {
   width: fit-content;
   height: fit-content;
   position: absolute;
   top: -20px;
   left: 5px;
   scale: 0.7;
} 

.quick-week-message {
   position: relative;
   font-size: large;
   font-weight: bolder;
   color: var(--textContent);
}

.quick-week-message::before {
   content: '';
   position: absolute;
   height: 1px;
   width: 75%;
   background-color: rgba(255, 255, 255, 0.2);
   bottom: 0;
   left: 50%;
   transform: translateX(-50%);
}

.addEvent { 
   position: relative;
   box-shadow: 0 5px 15px rgba(255, 187, 0, 0.5); /*rgba(195, 0, 255, 0.5)*/
   width: 175px;
   padding: 8px;
   padding-left: 1.5em;
   padding-right: 1.5em;
   cursor: pointer;
   border-radius: 25px;
   color: #000 !important;
   transition: all 0.5s;
   font-size: large;
   font-weight: bolder;
   z-index: 1;
}

.addEvent::before {
   content: "";
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background-image: linear-gradient(135deg, #ff4a13, var(--contrast), #fff240); /*#0686ee, var(--contrast), #a637ce*/
   opacity: 0.7; 
   z-index: -1 !important;
   border-radius: inherit;
   transition: all 0.5s ease-in-out;
}

.addEvent:hover {
   box-shadow: 0 4px 25px var(--contrast); 
}

.addEvent:hover::before {
   opacity: 1; 
 }

.book {
   position: absolute;
   top: 15px;
   right: 17px;
}

.mobile-header {
   right: 0;
   width: 75px;
   position: fixed;
   z-index: 101;
   height: 100%;
   backdrop-filter: blur(3px);
   background-color: var(--containers) !important;
}

.mobile-header a i {
   color: var(--contrast);
   font-size: 38px;
   margin-top: 13px;
   display: none;
}

.mobile-header h4 {
   margin: 0;
   font-weight: 300;
}

@keyframes fadeOutRight {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(100%);
  }
}
@keyframes fadeOutLeft {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(-100%);
  }
}
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animated {
  animation-duration: 0.5s;
  animation-fill-mode: both;
}
.fadeOutRight {
  animation-name: fadeOutRight;
}
.fadeOutLeft {
  animation-name: fadeOutLeft;
}
.fadeInRight {
  animation-name: fadeInRight;
}
.fadeInLeft {
  animation-name: fadeInLeft;
}