* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-weight: 300;
}

body {
  width: 100vw;
  height: 100svh;
  overflow: hidden;
  display: grid;
  grid-template-rows: 1fr auto;
}

main {
  width: 100vw;
  overflow: hidden;
  overflow-y: auto;
}

section {
  margin: 10px;
  margin-bottom: 0;
}

nav {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  width: 100%;
  padding: 10px 0;
}

body {
  background-color: #141a2f;
  padding-top: 10px;
}

.box {
  background-color: #212843;
  background: linear-gradient(203deg, rgb(47, 58, 106) 0%, rgb(46, 57, 109) 18%, rgb(37, 44, 76) 100%);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
  color: rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  padding: 10px;
}

h1, h2, h3 {
  font-family: "Yanone Kaffeesatz", sans-serif;
  color: #ffffff;
  text-align: center;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

h1 {
  font-size: 34px;
}

h2 {
  font-size: 20px;
}
h2 + .box {
  margin-top: 10px;
}

form {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 10px;
  border-radius: 10px;
  color: #ffffff;
}

label {
  display: block;
  margin-bottom: 3px;
  padding-left: 5px;
  font-size: 12px;
}
label.error {
  color: red;
}

input,
textarea,
select {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #000;
  border-radius: 10px;
  background-color: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  font-size: 16px;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #1a1a1a;
}

button {
  display: block;
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 10px;
  background-color: #42c7dc;
  color: #ffffff;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
  font-size: 18px;
  transition: background-color 0.3s;
  cursor: pointer;
}

button:hover {
  background-color: #6dd4e4;
}

.modals .modal {
  display: grid;
  place-items: center;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(3px);
          backdrop-filter: blur(3px);
}
.modals .modal.hidden {
  display: none;
}
.modals .modal .box {
  width: 80%;
  max-width: 400px;
}
.modals .modal h2 {
  margin: 10px;
}

@keyframes rotation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(359deg);
  }
}
@keyframes floating {
  0% {
    transform: translateY(0px);
  }
  25% {
    transform: translateY(-2px);
  }
  50% {
    transform: translateY(0px);
  }
  75% {
    transform: translateY(-2px);
  }
  100% {
    transform: translateY(0px);
  }
}
i {
  color: rgba(255, 255, 255, 0.7);
  font-size: 20px;
  cursor: pointer;
  transform: scale(1);
  transition: transform 0.5s ease-in-out;
}
i.main {
  background-color: #42c7dc;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.3);
}
i.selected {
  color: #42c7dc;
}
i:hover {
  transform: scale(1.1);
  transition: transform 0.2s ease-in-out;
}

.header {
  display: grid;
  padding: 10px 0;
}
.header.browsable {
  grid-template-columns: auto 1fr auto;
}
.header.browsable i {
  font-size: 18px;
}

#daily .exercises {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  overflow-x: scroll;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
#daily .exercises .exercise {
  display: grid;
  grid-template-rows: 30px auto;
  transform: scale(0.9);
  gap: 2px;
  padding: 5px;
  min-width: 40px;
  width: 40px;
  background-color: #141a2f;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  transition: background-color 0.3s ease-in-out, text-shadow 0.3s ease-in-out, color 0.3s ease-in-out;
}
#daily .exercises .exercise.loaded {
  transform: scale(1);
  transition: transform 0.1s ease-in-out, background-color 0.2s ease-in-out, text-shadow 0.2s ease-in-out, color 0.2s ease-in-out;
}
#daily .exercises .exercise.checked {
  background-color: #42c7dc;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  color: #ffffff;
  transition: background-color 0.3s ease-in-out, text-shadow 0.3s ease-in-out, color 0.3s ease-in-out;
}
#daily .exercises .exercise.checked .icon i {
  color: rgba(255, 255, 255, 0.7);
}
#daily .exercises .exercise .icon {
  display: grid;
  place-items: center;
  width: 30px;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 9999px;
}
#daily .exercises .exercise .icon i {
  font-size: 15px;
  color: rgba(0, 0, 0, 0.2);
}
#daily .exercises .exercise .label {
  display: grid;
  place-items: center;
  font-size: 10px;
}
#daily .exercises::-webkit-scrollbar {
  width: 0px;
  height: 0px;
  background: transparent;
}
#daily.loading .exercises {
  display: grid;
  grid-template-columns: 1fr;
}
#daily.loading .exercises .placeholder {
  display: grid;
  width: 100%;
  place-items: center;
  background: transparent;
  box-shadow: 0 0 0 black;
}
#daily.loading .exercises .placeholder .icon {
  height: 30px;
}
#daily.loading .exercises .placeholder .icon i {
  color: rgba(255, 255, 255, 0.7);
  animation: rotation 2s infinite linear;
}

#weekly .days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  text-align: center;
}
#weekly .days .day {
  display: grid;
  grid-template-rows: 70px auto;
  gap: 5px;
}
#weekly .days .day label {
  font-size: 14px;
  opacity: 0.4;
  text-shadow: 0 0 0 white;
}
#weekly .days .day label.selected {
  opacity: 1;
  text-shadow: 0 0 3px white;
  transition: opacity 1s ease-in-out, text-shadow 1s ease-in-out;
}
#weekly .days .day .bar-container {
  display: grid;
  place-items: center;
}
#weekly .days .day .bar-container .bar {
  background-color: #42c7dc;
  height: 5px;
  width: 5px;
  border-radius: 2.5px;
  box-shadow: 0 0 2px #42c7dc, 0 5px 10px rgba(0, 0, 0, 0.5);
  transition: background-color 0.5s ease-in-out, box-shadow 1s ease-in-out, height 1s ease-in-out;
}
#weekly .days .day .bar-container .bar.empty {
  height: 5px;
  background-color: rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 0 black;
  transition: background-color 1s ease-in-out, box-shadow 1s ease-in-out, height 1s ease-in-out;
  animation: floating 3s ease-in-out infinite;
}

#monthly .days {
  display: grid;
  grid-template-rows: repeat(5, 1fr);
  gap: 15px;
}
#monthly .days .week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 15px;
}
#monthly .days .week .day {
  border-radius: 5px;
  overflow: hidden;
  width: calc((100vw - 150px) / 7);
  height: calc((100vw - 150px) / 7);
  background-color: rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  transform: scale(1) !important;
  transition: background-color 1s ease-in-out, box-shadow 1s ease-in-out, height 1s ease-in-out transform 0.5s ease-in-out;
}
#monthly .days .week .day .fill {
  background-color: #42c7dc;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}
#monthly .days .week .day.outside-month {
  transform: scale(0.1) !important;
}
#monthly .days.unloaded .day {
  transform: scale(0.1) !important;
  background-color: rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 0 black;
  transition: background-color 1s ease-in-out, box-shadow 1s ease-in-out, height 1s ease-in-out transform 0.5s ease-in-out;
  animation: floating 3s ease-in-out infinite;
}

#yearly .days {
  display: grid;
  grid-template-columns: repeat(365, 1fr);
  height: 60px;
  border-radius: 7px;
  overflow: hidden;
}
#yearly .day {
  position: relative;
  width: 100%;
  height: 60px;
}
#yearly .fill {
  position: absolute;
  bottom: 0;
  background-color: #42c7dc;
  width: 100%;
}

main#profile h2 {
  margin-bottom: 10px;
}
main#profile .avatar {
  padding: 30px;
}
main#profile .avatar .image {
  width: 100px;
  height: 100px;
  border-radius: 10px;
  margin: 0 auto;
  display: block;
  background-color: rgba(255, 255, 255, 0.02);
}
main#profile .exercises {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px 0;
}
main#profile .exercises .placeholder {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: center;
  gap: 10px;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}
main#profile .exercises .placeholder.hidden {
  display: none;
}
main#profile .exercises .placeholder .icon {
  display: grid;
  place-items: center;
}
main#profile .exercises .placeholder .icon i {
  animation: rotation 2s infinite linear;
  opacity: 0.5;
}
main#profile .exercises .exercise {
  display: grid;
  gap: 10px;
  grid-template-columns: auto 1fr auto;
  place-items: center start;
}
main#profile .exercises .exercise .exercise-icon {
  display: grid;
  grid-template-rows: 30px auto;
  transform: scale(0.9);
  gap: 2px;
  padding: 5px;
  min-width: 40px;
  width: 40px;
  background-color: #141a2f;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  transition: background-color 0.3s ease-in-out, text-shadow 0.3s ease-in-out, color 0.3s ease-in-out;
}
main#profile .exercises .exercise .exercise-icon.loaded {
  transform: scale(1);
  transition: transform 0.1s ease-in-out, background-color 0.2s ease-in-out, text-shadow 0.2s ease-in-out, color 0.2s ease-in-out;
}
main#profile .exercises .exercise .exercise-icon.checked {
  background-color: #42c7dc;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  color: #ffffff;
  transition: background-color 0.3s ease-in-out, text-shadow 0.3s ease-in-out, color 0.3s ease-in-out;
}
main#profile .exercises .exercise .exercise-icon.checked .icon i {
  color: rgba(255, 255, 255, 0.7);
}
main#profile .exercises .exercise .exercise-icon .icon {
  display: grid;
  place-items: center;
  width: 30px;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 9999px;
}
main#profile .exercises .exercise .exercise-icon .icon i {
  font-size: 15px;
  color: rgba(0, 0, 0, 0.2);
}
main#profile .exercises .exercise .exercise-icon .label {
  display: grid;
  place-items: center;
  font-size: 10px;
}
main#profile .exercises .exercise .exercise-title {
  font-size: 20px;
}
main#profile .exercises .exercise .exercise-actions {
  display: flex;
  gap: 10px;
  padding: 10px;
}
main#profile .exercises .exercise .exercise-actions i {
  font-size: 20px;
  cursor: pointer;
}
main#profile .exercises.loading .exercises {
  display: grid;
  grid-template-columns: 1fr;
}
main#profile .exercises.loading .exercises .placeholder {
  display: grid;
  width: 100%;
  place-items: center;
  background: transparent;
  box-shadow: 0 0 0 black;
}
main#profile .exercises.loading .exercises .placeholder .icon {
  height: 30px;
}
main#profile .exercises.loading .exercises .placeholder .icon i {
  color: rgba(255, 255, 255, 0.7);
  animation: rotation 2s infinite linear;
}

#summary {
  display: grid;
  grid-template-columns: 1fr;
  color: #42c7dc;
}
#summary .week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}
#summary .week .day {
  -o-border-image: linear-gradient(to right, #5cc2eb 0%, #d16df0 100%) 1;
     border-image: linear-gradient(to right, #5cc2eb 0%, #d16df0 100%) 1;
  border-radius: 5px; /* this doesn't work */
  border-width: 2px;
  border-style: solid;
  display: grid;
  grid-template-rows: auto auto;
  justify-content: space-between;
  height: 0;
  padding: 10px 10px 0 10px;
  padding-bottom: 100%;
  border-radius: 10px;
}
#summary .week .day .top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  justify-content: space-between;
  text-align: center;
}
#summary .week .day .top .commute {
  display: grid;
  grid-template-rows: 1fr 1fr;
  align-content: space-around;
}
#summary .week .day .bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
}
#summary .week .day .pushups {
  font-size: 42px;
  padding: 0 0 0 10px;
}/*# sourceMappingURL=main.css.map */