body,
html {
  font-family: "Nunito", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #FFFFFF;
  margin: 0;
  padding: 0;
  background-color: rgba(255, 255, 255, 0.2);
  overscroll-behavior: none;
  overflow: clip;
}

#app {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  max-width: 1024px;
  background-color: #1E2133;
  width: 100%;
  margin: auto;
}
@media screen and (min-width: 1024px) {
  #app {
    border-radius: 20px;
    min-height: calc(100vh - 40px);
    margin-top: 20px;
    overflow: hidden;
  }
}
#app main#views {
  overflow: hidden;
  scroll-behavior: smooth;
  max-height: calc(100svh - 80px);
  height: calc(100svh - 80px);
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  flex: 0 0 100%;
}
#app main#views .view {
  overflow: auto;
  scroll-behavior: smooth;
  width: 100%;
  height: auto;
  flex-grow: 1;
  flex-shrink: 0;
  position: relative;
  transition: height 0.4s ease;
}
#app main#views .view.full-view {
  height: 100%;
}
#app main#views .view.scrolling {
  scroll-behavior: unset;
}
#app main#views .view:has(.active-project.active) {
  height: calc(100svh - 176px);
}
#app main#views .view .active-project {
  display: flex;
  position: fixed;
  flex-direction: row;
  align-items: center;
  left: 0;
  right: 0;
  bottom: -200px;
  border-radius: 15px 15px 0 0;
  background-color: #4E6796;
  padding: 15px 0.8rem;
  transition: bottom 0.4s 0.1s ease;
  box-shadow: inset 0 -2px 3px rgba(0, 0, 0, 0.2);
}
#app main#views .view .active-project .project-title {
  flex-grow: 1;
  font-weight: bold;
  margin-left: 10px;
  user-select: none;
}
#app main#views .view.active .active-project {
  bottom: 80px;
}

#refreshContainer {
  position: fixed;
  top: -45px;
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
  left: 50%;
  transform: translateX(-50%);
  width: 45px;
  height: 45px;
  border-radius: 45px;
  display: block;
  background-color: #fff;
  text-align: center;
  z-index: 1000;
  background-image: url(../images/rotate-ccw.svg);
  background-size: 30px;
  background-position: center;
  background-repeat: no-repeat;
}

.navbar {
  background-color: #17161f;
  color: #FFFFFF;
  height: 80px;
  z-index: 1000;
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: space-around;
  user-select: none;
}
.navbar li {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 10px;
  min-width: 65px;
  opacity: 0.5;
  cursor: pointer;
}
.navbar li img {
  height: 20px;
}
.navbar li:hover {
  opacity: 0.8;
}
.navbar li.active {
  opacity: 1;
}
.navbar li span {
  font-size: 0.6rem;
}

.kachel-grid {
  padding: 0.5rem 0.5rem 1rem;
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(auto-fill, minmax(45%, 1fr));
  flex-wrap: wrap;
}

.active-timer {
  width: 100%;
  height: 130px;
  background-color: #4E6796;
  border-radius: 8px;
  display: flex;
  background: linear-gradient(#ff6c6c 0%, #ff8b8b 100%);
  border: 1px solid #ff8b8b;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.21);
}

.active-timer-container {
  padding: 0.5rem 0.5rem 0 0.5rem;
}

.kachel-button {
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.21);
  aspect-ratio: 1/1;
  background-color: #303243;
  padding: 1rem;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  grid-column: span 1;
  transition: scale(0);
  transition: transform 0.5s 0.2s ease-in-out, scale 0.5s 0.2s ease-in-out;
  user-select: none !important;
}
.kachel-button:active {
  transform: scale(1.02);
  background-color: #17161f;
}
.kachel-button.placeholder {
  opacity: 0.4;
  border: 1px dashed rgba(255, 255, 255, 0.4);
}
@media (min-width: 1024px) {
  .kachel-button {
    width: calc(16.6666666667vw - 2.6rem);
  }
}
.kachel-button.plus {
  background-color: rgba(48, 50, 67, 0.4549019608);
  box-shadow: none;
}
.kachel-button.plus:active {
  background-color: #303243;
  transform: scale(1);
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.21);
}
.kachel-button .icon {
  width: 40px;
  height: 40px;
  pointer-events: none;
}
.kachel-button .text {
  font-size: 0.9rem;
}
.kachel-button .archiv-button {
  display: none;
}

.sorting .draggable-list {
  gap: 30px;
}
.sorting .kachel-button:not(.plus) {
  animation: wiggle ease 0.8s infinite;
  border: 1px dashed #FFFFFF;
}
.sorting .kachel-button:not(.plus):nth-child(odd) {
  animation-delay: 0.1s;
}
.sorting .kachel-button.plus {
  display: none;
}
.sorting .kachel-button {
  position: relative;
}

@keyframes wiggle {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(1deg);
  }
  50% {
    transform: rotate(0deg);
  }
  75% {
    transform: rotate(-1deg);
  }
  100% {
    transform: rotate(0deg);
  }
}
.round-button {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: #FF5A5A;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.round-button:active, .round-button:focus {
  background-color: #FF8B8B;
}
.round-button:hover {
  background-color: rgba(0, 0, 0, 0.61);
}
.round-button.transparent {
  background-color: transparent;
}
.round-button.back {
  background: rgba(0, 0, 0, 0.31) url(../images/arrow-left.svg) no-repeat center;
}
.round-button.settings {
  background: url(../images/settings.svg) no-repeat center;
}

.view-header {
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.view-header .view-title {
  font-size: 1.2rem;
  font-weight: bold;
  flex-grow: 1;
}

h3 {
  margin-bottom: 0;
  font-weight: normal;
}

.settings-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 15px;
}
.settings-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.settings-list ul li {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  padding: 10px 15px;
  background-color: hsla(0, 0%, 90%, 0.1);
  border-radius: 8px;
  user-select: none;
}
.settings-list ul li[data-vm-type=view] {
  cursor: pointer;
}
.settings-list ul li[data-vm-type=view]::after {
  content: "";
  display: block;
  border: solid #FFFFFF;
  border-width: 0 2px 2px 0;
  padding: 3px;
  transform: rotate(-45deg);
  transition: transform 0.3s ease;
}
.settings-list ul li .settings-item-title {
  font-size: 1rem;
  flex-grow: 1;
  font-weight: bold;
}
.settings-list ul li .settings-item-description {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.4);
  font-weight: normal;
}
.settings-list ul li.plus {
  background-color: rgba(48, 50, 67, 0.4549019608);
  box-shadow: none;
  cursor: pointer;
  position: relative;
  height: 30px;
}
.settings-list ul li.plus::after {
  content: "";
  display: block;
  background-image: url(../images/plus.svg);
  background-size: 20px;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.4;
  width: 20px;
  height: 20px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  position: absolute;
}
.settings-list ul li.button {
  background-color: #5060b3;
  color: #FFFFFF;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-align: center;
  display: block;
  user-select: none;
}
.settings-list ul li.button:hover {
  background-color: #17161f;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 15px;
}
.form form {
  display: flex;
  flex-direction: column;
}
.form form label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 15px;
  padding-bottom: 4px;
  padding-left: 6px;
}
.form form label:first-child {
  margin-top: 0;
}
.form form input[type=text],
.form form input[type=number],
.form form input[type=password],
.form form input[type=email],
.form form select,
.form form textarea {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid hsla(0, 0%, 24%, 0.296);
  background-color: hsla(0, 100%, 0%, 0.82);
  color: hsla(0, 0%, 100%, 0.82);
  font-size: 1rem;
  resize: none;
}
.form form .tag-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 0 0 15px 0;
}
.form form .tag-group .tag {
  display: inline-block;
  padding: 5px 15px;
  background-color: #303243;
  border-radius: 50px;
}
.form form select {
  appearance: none;
  padding-right: 15px;
  background-image: url("../images/down.svg");
  background-size: 10px;
  background-position: right 10px center;
  background-repeat: no-repeat;
}
.form form button[type=submit] {
  padding: 10px 15px;
  margin-top: 20px;
  border-radius: 8px;
  background-color: #5060b3;
  border: 0;
  color: #FFFFFF;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.form form button[type=submit]:hover {
  background-color: #17161f;
}
.form form .number-input {
  display: flex;
  gap: 10px;
  align-items: center;
  width: 100px;
}
.form form .number-input .number-input-container {
  display: flex;
  gap: 10px;
  align-items: center;
  background-color: hsla(0, 100%, 0%, 0.82);
  color: hsla(0, 0%, 100%, 0.82);
  border-radius: 8px;
  flex-grow: 1;
  padding: 0 10px;
}
.form form .number-input .number-input-container button {
  border: 0;
  padding: 10px;
  cursor: pointer;
  background-color: transparent;
}
.form form .number-input .number-input-container button.minus, .form form .number-input .number-input-container button.plus {
  background-image: url("../images/minus.svg");
  background-size: 20px;
  background-position: center;
  background-repeat: no-repeat;
}
.form form .number-input .number-input-container button.plus {
  background-image: url("../images/plus.svg");
}
.form form .number-input .number-input-container button:hover {
  background-color: hsla(0, 0%, 24%, 0.296);
}
.form form .number-input .number-input-container input[type=number] {
  padding: 10px;
  border: 0;
  background-color: hsla(0, 100%, 0%, 0.82);
  color: hsla(0, 0%, 100%, 0.82);
  font-size: 1rem;
  text-align: center;
  flex: 1 1 auto;
  width: 50px;
}
.form form .number-input .number-input-unit {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.4);
  display: block;
}

/*

<div class="settings-item-switch">
          <input type="checkbox" id="switch-1" checked>
          <label for="switch-1"></label>
        </div>

*/
.settings-item-switch {
  display: flex;
  gap: 10px;
  align-items: center;
}
.settings-item-switch input[type=checkbox] {
  display: none;
}
.settings-item-switch label {
  display: block;
  width: 50px;
  height: 30px;
  background: #d1d1d1;
  border-radius: 100px;
  position: relative;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.settings-item-switch label:after {
  content: "";
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  top: 0;
  left: 0;
  transition: margin 0.3s ease;
}
.settings-item-switch input:checked + label {
  background: #4E6796;
}
.settings-item-switch input:checked + label:after {
  margin-left: 20px;
}/*# sourceMappingURL=main.css.map */