/*$primaryColor:#71D99E;
$secondaryColor: #3A8C7D;
$tertiaryColor:#255954;
$fourthColor: #1E4040;
$fifthColor: #212226;*/
*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

* {
  user-select: none;
}
*::-webkit-scrollbar {
  width: 8px;
}
*::-webkit-scrollbar-track {
  background: none;
}
*::-webkit-scrollbar-thumb {
  background: gray;
  border-radius: 5px;
}
*::-webkit-scrollbar-thumb:hover {
  background: gainsboro;
}

.preview-window {
  position: fixed;
  inset: 0;
  padding: 25px;
  left: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
}
.preview-window img {
  max-width: 100%;
  max-height: 100%;
}

body {
  background: #0f0f0f;
  height: 100vh;
  overflow: hidden;
}
body.phone {
  background: #000;
}

a {
  color: white;
}

hr {
  border: 1px solid #4d5864;
}

div.hidden {
  display: none;
}

.content-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background: #292929;
  position: sticky;
  top: 0;
  z-index: 11;
}
.content-header .left-side,
.content-header .center-side,
.content-header .right-side {
  width: 33%;
}
.content-header .left-side {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
}
.content-header .left-side .go-back-link, .content-header .left-side .go-back-link-disabled {
  position: static;
  cursor: pointer;
}
.content-header .left-side .go-back-link-disabled {
  position: static;
}
.content-header .center-side {
  display: flex;
  justify-content: center;
  align-items: center;
}
.content-header .right-side {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: bold;
}

.max-content.no-limit {
  max-width: initial;
}

.strikethrough {
  text-decoration: line-through;
}

.add-form .selected {
  border: 3px solid gray;
}

.image-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.5);
  padding: 5px;
}

.list {
  display: flex;
  flex-direction: column;
  overflow: auto;
  height: 100%;
}
.list .center {
  text-align: center;
}
.list.faded {
  opacity: 0.25;
}
.list .label {
  font-size: 14px;
  margin-bottom: 5px;
}
.list .list-title {
  font-size: 24px;
  font-weight: bold;
}
.list.quarter {
  width: 25%;
}
.list.no-border {
  border: 0;
}
.list.no-min-height {
  min-height: initial;
}

.content {
  overflow: auto;
}
.content.three-quarter {
  width: 75%;
}

div.no-padding-bottom {
  padding-bottom: 0;
}

.sidebar-view .image.fixed-height {
  height: initial;
  flex-grow: 1;
}
.sidebar-view .image.fixed-height.empty {
  height: 150px;
}

.item.image.selected {
  border: 5px solid #757575;
}

.application-content .fixed-height.contain-image img {
  width: initial;
  height: 100%;
}

.mobile-view .image.fixed-height {
  height: initial;
}
.mobile-view .image.fixed-height.empty {
  height: 150px;
}

.half-width {
  width: 50%;
}

.full-width {
  width: 100%;
}

.cover {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin-top: 53px;
}

.row {
  display: flex;
  flex-direction: row;
}

.column {
  display: flex;
  flex-direction: column;
}
.column.center {
  justify-content: center;
  align-items: center;
}

.countdown {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 250px;
}

.hidden {
  display: none;
}

.form-container {
  max-height: 90vh;
  overflow-y: auto;
  align-items: flex-start;
}

.list {
  /*min-height: calc(100vh - 55px);*/
  border-right: 1px solid #424242;
}
.list .item {
  background: #0f0f0f;
  border: 0;
  border-bottom: 1px solid #424242;
  border-radius: 0;
  cursor: pointer;
  padding: 15px;
}
.list .item.no-bg {
  background: initial;
}
.list .item.add-new.row {
  padding: 5px;
}
.list .item.add-new.row a {
  flex-direction: row;
  align-items: center;
}
.list .item.add-new.row a .item-plus {
  margin-top: 0;
  margin-right: 15px;
  font-size: 36px;
}

.item {
  background-color: #292929;
  border: 1px solid #424242;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background-size 3s;
  position: relative;
  overflow: hidden;
}
.item-label {
  position: absolute;
  top: 5px;
  text-transform: uppercase;
  padding: 10px;
  font-weight: bold;
  font-size: 14px;
  line-height: 10px;
}
.item-label.normal {
  background-color: #007db5;
  color: white;
}
.item-label.warning {
  background-color: orange;
  color: white;
}
.item-label.danger {
  background-color: red;
  color: white;
}
.item-label.success {
  background-color: green;
  color: white;
}
.item-label.none {
  display: none;
}
.item:hover {
  background-size: contain;
}
.item.broken {
  border: 1px solid rgba(255, 0, 0, 0.25);
}
.item.add-new a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.item.add-new a .item-plus {
  font-size: 72px;
  line-height: 36px;
  margin-top: 15px;
}
.item.add-new a .item-add {
  font-weight: bold;
  font-size: 16px;
  pointer-events: none;
}
.item .image.fixed-height {
  height: 175px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: none;
}
.item .image.fixed-height span {
  color: #292929;
  font-weight: bold;
  font-size: 2rem;
}
.item .image.fixed-height img {
  width: 100%;
  max-height: initial;
}
.item .image.radius-top {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  overflow: hidden;
  pointer-events: none;
  background-color: gainsboro;
}
.item .image.radius-top img {
  margin: 0 auto;
  width: 100%;
}
.item .image.fill {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  transition: all 0.3s;
}
.item .image.fill img {
  flex-shrink: 0;
  min-width: 100%;
  min-height: 100%;
}
.item .image img {
  display: block;
  max-width: 100%;
  max-height: 100%;
}

.max-content {
  width: 100%;
  max-width: 1800px;
  margin: 0 auto;
}

.header {
  background-color: #0f0f0f;
  border-bottom: 3px solid #292929;
  position: relative;
  z-index: 10;
}
.header a {
  text-decoration: none;
  color: inherit;
}

.padding-5 {
  padding: 5px;
}
.padding-10 {
  padding: 10px;
}
.padding-25 {
  padding: 25px;
}

.count {
  font-size: 72px;
  font-weight: bold;
  text-align: center;
}
.count .caption {
  font-size: 16px;
  font-weight: normal;
}

.modal {
  display: none;
  background: rgba(0, 0, 0, 0.75);
  z-index: 100;
}

.modal-active {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px 15px;
}

.no-event {
  pointer-events: none;
  touch-action: none;
}

.broken {
  order: 999;
  background: rgba(255, 0, 0, 0.25);
}

.collapsed {
  max-height: 0;
  padding: 0;
}

.content-container {
  overflow: auto;
}

.add-new *,
.item-add {
  pointer-events: none;
}

body.phone .content-container {
  padding-bottom: 100px;
}

html {
  font-size: 62.5%;
}

body {
  font-family: sans-serif;
  font-weight: 400;
  font-size: 1.6rem;
  color: #f5f5f5;
}

.title {
  font-size: 28px;
  font-weight: bold;
}
.title.center {
  text-align: center;
}

.btn {
  padding: 5px 10px;
  background-color: rgba(0, 0, 0, 0);
  border: 1px solid #757575;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  color: #757575;
  transition: all 0.3s;
}
.btn.full {
  width: 100%;
}
.btn:hover {
  background-color: #757575;
  color: #0f0f0f;
}
.btn.destructive {
  border-color: rgb(178, 50, 50);
  color: rgb(178, 50, 50);
}
.btn.destructive:hover {
  border-color: rgb(160, 16, 16);
  color: rgb(160, 16, 16);
  background-color: rgb(226, 68, 68);
}

.add-new-item-btn {
  padding: 10px;
  width: 100%;
  display: flex;
  text-align: center;
  text-decoration: none;
  color: #757575;
  font-weight: bold;
  transition: color 0.3s ease;
}
.add-new-item-btn span {
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  background-color: #292929;
  border: 1px solid #757575;
  transition: all 0.3s ease;
}
.add-new-item-btn:hover {
  color: #292929;
}
.add-new-item-btn:hover span {
  background-color: #757575;
  border: 1px solid #5c5c5c;
}

.close-button,
.delete-button {
  position: absolute;
  right: 10px;
  top: 10px;
  font-size: 28px;
  font-weight: bold;
  background: rgba(255, 255, 255, 0.75);
  color: black;
  height: 50px;
  width: 50px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
}

.delete-button {
  background: rgba(255, 0, 0, 0.25);
  top: initial;
  bottom: 10px;
  font-size: 16px;
  color: white;
}

.form-container {
  display: flex;
  justify-content: center;
  max-height: initial;
  overflow-y: hidden;
  align-items: flex-start;
  width: 100%;
  height: -webkit-fill-available;
}

.form {
  padding: 24px;
  background-color: #0f0f0f;
  border: 3px solid #292929;
  border-radius: 10px;
  overflow: auto;
  height: -webkit-fill-available;
}
.form input[type=submit] {
  margin-top: 15px;
}
.form h1 {
  margin-bottom: 15px;
}
.form .message {
  width: 100%;
  text-align: center;
  padding: 5px;
  font-weight: bold;
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 16px;
}
.form .message.success {
  background-color: #757575;
  border: 1px solid #292929;
  color: #292929;
}
.form .message.warning {
  background-color: #dac072;
  border: 1px solid #3d3210;
  color: #3d3210;
}
.form .message.danger {
  background-color: #da7272;
  border: 1px solid #3d1010;
  color: #3d1010;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 12px;
}
.input-group .folder {
  aspect-ratio: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #202020;
}
.input-group img {
  width: 100%;
  height: auto;
}
.input-group img.svg {
  width: 25px;
  height: 25px;
}
.input-group.row {
  flex-direction: row;
}
.input-group.row input {
  margin-left: 5px;
}
.input-group label {
  font-weight: bold;
  font-size: 12px;
}
.input-group input,
.input-group select,
.input-group textarea {
  font-size: 16px;
  padding: 10px;
  background: #0f0f0f;
  border: 1px solid;
  border-radius: 5px;
  color: white;
  border: 1px solid #292929;
}
.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
  border: 1px solid #292929;
  outline: 3px solid #424242;
}

.grid {
  display: grid;
  gap: 12px;
}
.grid.responsive {
  overflow: auto;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  grid-auto-flow: dense;
}
.grid .header {
  grid-column-start: 1;
  grid-column-end: 5;
  font-size: 28px;
  font-weight: bold;
  padding-bottom: 5px;
}
.grid.full {
  grid-template-columns: 100%;
}
.grid.half {
  grid-template-columns: 100%;
}
.grid.third {
  grid-template-columns: 100%;
}
.grid.quarter {
  grid-template-columns: 100%;
}
.grid.six {
  grid-template-columns: 100%;
}
.grid.icons {
  grid-template-columns: calc(33.3333333333% - 8px) calc(33.3333333333% - 8px) calc(33.3333333333% - 8px);
}

.food-grid img {
  width: 100%;
}

.food-grid .item {
  justify-content: center;
}
.food-grid .item .title {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.food-container {
  display: flex;
  padding: 25px;
  gap: 25px;
}

.food-image {
  width: 40%;
  overflow: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}
.food-image img {
  width: 100%;
}

.food-info {
  width: 60%;
  overflow: auto;
}
.food-info .description {
  margin: 10px 0 30px;
}

.sidebar-view .food-container, .mobile-view .food-container {
  flex-direction: column;
}
.sidebar-view .food-container .food-image, .sidebar-view .food-container .food-info, .mobile-view .food-container .food-image, .mobile-view .food-container .food-info {
  width: 100%;
  overflow: initial;
}
.sidebar-view .food-container .food-image img, .mobile-view .food-container .food-image img {
  max-height: 600px;
  width: initial;
}
.sidebar-view .food-container .grid.quarter, .mobile-view .food-container .grid.quarter {
  grid-template-columns: calc(25% - 18px) calc(25% - 18px) calc(25% - 18px) calc(25% - 18px);
}

.sidebar-view .food-container .grid.quarter {
  grid-template-columns: 100%;
}

.calorie-tracker .max-content-width {
  max-width: 1200px;
  margin: 0 auto;
}
.calorie-tracker .center-side {
  font-size: 12px;
}
.calorie-tracker .center-side input {
  appearance: none;
  border: none;
  background: none;
  color: white;
  text-decoration: underline;
  border-bottom: 1px solid white;
  cursor: pointer;
  margin-left: 5px;
}
.calorie-tracker .meals {
  padding: 1rem;
  display: flex;
  flex-direction: column;
}
.calorie-tracker .meals h2 {
  text-align: center;
  margin-top: 0.5rem;
  color: #b5cea8;
}
.calorie-tracker .meals hr {
  margin: 3px -5px;
  border: 1px solid #4d5864;
}
.calorie-tracker .meals .meal-type {
  background: rgba(41, 41, 41, 0.6);
  border: 1px solid #4d5864;
  padding: 0.5rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  color: #ee8349;
  display: grid;
  grid-template-columns: 100%;
  justify-content: space-evenly;
}
.calorie-tracker .meals .meal-type .meal-items {
  display: grid;
  justify-content: space-evenly;
  grid-template-columns: 100%;
}
.calorie-tracker .meals .meal-type .meal-items .meal-item {
  margin: 1rem 0;
  overflow: hidden;
  text-align: center;
}
.calorie-tracker .meals .meal-type .meal-items .meal-item h3 {
  letter-spacing: 0.08rem;
  margin-bottom: 0.5rem;
}
.calorie-tracker .meals .meal-type .meal-items .meal-item > span {
  display: inline-block;
  margin-bottom: 0.5rem;
}
.calorie-tracker .meals .meal-type .meal-items .meal-item .meal-item-nutrition {
  display: grid;
  grid-template-columns: 32% 32% 32%;
  justify-content: space-evenly;
}
.calorie-tracker .meals .meal-type .meal-items .meal-item .meal-item-nutrition .meal-nutrition {
  display: flex;
  flex-direction: column;
  margin: 5px 0;
  font-size: 1.2rem;
  letter-spacing: 0.1rem;
  font-family: monospace;
  color: #5db0d7;
  gap: 0.4rem;
}
.calorie-tracker .meals .meal-type .meal-items .meal-item .meal-item-nutrition .meal-nutrition span {
  font-weight: bold;
  font-size: 1rem;
}
.calorie-tracker .grid.third,
.calorie-tracker .grid.half {
  grid-template-columns: 100%;
}
.calorie-tracker .daily-info {
  padding: 1rem;
  display: grid;
  grid-template-columns: 100%;
  justify-content: space-evenly;
}
.calorie-tracker .daily-info .nutrition-group {
  width: 100%;
  margin: 3px 0;
  font-size: 1rem;
}
.calorie-tracker .daily-info .nutrition-group span {
  line-height: 25px;
}
.calorie-tracker .daily-info .nutrition-group .nutrition-span {
  display: inline-block;
  margin-bottom: 0.4rem;
  line-height: initial;
}
.calorie-tracker .daily-info .nutrition-group.protein {
  color: #ee4949;
}
.calorie-tracker .daily-info .nutrition-group.calorie {
  color: #b5cea8;
}
.calorie-tracker .daily-info .nutrition-group.carbs {
  color: #ee8349;
}
.calorie-tracker .daily-info .nutrition-group.fat {
  color: #5db0d7;
}
.calorie-tracker.mobile-view .grid.third,
.calorie-tracker.mobile-view .grid.half {
  grid-template-columns: calc(50% - 12px) calc(50% - 12px);
}
.calorie-tracker.mobile-view .meals .meal-type .meal-items {
  grid-template-columns: 49% 49%;
}
.calorie-tracker.mobile-view .daily-info {
  grid-template-columns: 49% 49%;
}
.calorie-tracker.tablet-view .grid.half {
  grid-template-columns: calc(50% - 12px) calc(50% - 12px);
}
.calorie-tracker.tablet-view .grid.third {
  grid-template-columns: calc(33.3333333333% - 24px) calc(33.3333333333% - 24px) calc(33.3333333333% - 24px);
}
.calorie-tracker.tablet-view .meals .meal-type .meal-items {
  grid-template-columns: 32% 32% 32%;
}
.calorie-tracker.tablet-view .calories-hidration {
  padding: 25px 100px;
}
.calorie-tracker.desktop-view .content-container {
  display: flex;
}
.calorie-tracker.desktop-view .content-container .calorie-tracker {
  width: 60%;
  overflow: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.calorie-tracker.desktop-view .content-container .calorie-tracker .calories-hidration {
  width: 100%;
}
.calorie-tracker.desktop-view .content-container .calorie-journal {
  width: 40%;
  overflow: auto;
}
.calorie-tracker.desktop-view .content-container .calorie-journal .meal-type.empty {
  height: -webkit-fill-available;
}
.calorie-tracker.desktop-view .grid.half {
  grid-template-columns: calc(50% - 12px) calc(50% - 12px);
}
.calorie-tracker.desktop-view .grid.third {
  grid-template-columns: calc(33.3333333333% - 24px) calc(33.3333333333% - 24px) calc(33.3333333333% - 24px);
}
.calorie-tracker.desktop-view .meals .meal-type .meal-items {
  grid-template-columns: 50% 50%;
}
.calorie-tracker.desktop-view .calories-hidration {
  padding: 25px 100px;
}
.calorie-tracker .macros,
.calorie-tracker .calories-hidration {
  text-align: center;
}
.calorie-tracker .macros .radial-group > span,
.calorie-tracker .calories-hidration .radial-group > span {
  font-size: 18px;
  display: inline-block;
  margin-bottom: 10px;
}
.calorie-tracker .macros .radial-group.calories,
.calorie-tracker .calories-hidration .radial-group.calories {
  color: #80f048;
}
.calorie-tracker .macros .radial-group.fat,
.calorie-tracker .calories-hidration .radial-group.fat {
  color: #44b9f0;
}
.calorie-tracker .macros .radial-group.carbs,
.calorie-tracker .calories-hidration .radial-group.carbs {
  color: #ff7e38;
}
.calorie-tracker .macros .radial-group.protein,
.calorie-tracker .calories-hidration .radial-group.protein {
  color: #ff3838;
}
.calorie-tracker .macros .radial-group.hidration,
.calorie-tracker .calories-hidration .radial-group.hidration {
  color: #448cf0;
}
.calorie-tracker .macros .nutrition-group,
.calorie-tracker .calories-hidration .nutrition-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  font-size: 18px;
  font-weight: bold;
}
.calorie-tracker .macros .nutrition-group .nutrition-value,
.calorie-tracker .calories-hidration .nutrition-group .nutrition-value {
  font-size: 28px;
}

.radial-progress {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, #ffcbcb 79%, transparent 80% 100%), conic-gradient(hotpink 75%, pink 0);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.radial-progress span {
  width: 100%;
  text-align: center;
  font-size: 28px;
  font-weight: bold;
}
.radial-progress span.radial-amount, .radial-progress span.radial-title {
  font-size: 18px;
}

.progress-container {
  width: 100%;
  height: 25px;
  display: flex;
  border-radius: 0.5rem;
  background: black;
  color: #c9c9d4;
  /*border: 1px gray solid;*/
  overflow: hidden;
  margin-bottom: 1rem;
  position: relative;
}
.progress-container span {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  text-align: center;
  font-weight: bolder;
  line-height: 2.4rem;
}
.progress-container .progress-bar__protein {
  background: #ff3838;
}
.progress-container .progress-bar__calories {
  background: #aaf086;
}
.progress-container .progress-bar__carbs {
  background: #ff7e38;
}
.progress-container .progress-bar__fat {
  background: #44b9f0;
}

@media screen and (max-width: 640px) {
  .calorie-tracker .grid.third,
  .calorie-tracker .grid.half {
    grid-template-columns: calc(50% - 12px) calc(50% - 12px);
  }
  .calorie-tracker .meals .meal-type .meal-items {
    grid-template-columns: 49% 49%;
  }
  .calorie-tracker .daily-info {
    grid-template-columns: 49% 49%;
  }
}
.logs-container {
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.logs-container hr {
  border-color: #ffffff;
}

.log-group-title {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
}

.log-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.log-exercise-item__header {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 5px;
}

.log-exercise-item-set {
  display: flex;
  flex-direction: row;
  gap: 10px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}
.log-exercise-item-set:first-of-type {
  border-top: 1px solid rgba(255, 255, 255, 0.5);
}
.log-exercise-item-set p {
  display: inline-block;
  width: 33.3333333333%;
}

.exercise-modal {
  position: fixed;
  left: 0;
  top: 100vh;
  right: 0;
  bottom: -100vh;
  background: rgb(34, 34, 34);
  border: 1px solid rgb(50, 50, 50);
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  transition: all 0.3s ease;
}
.exercise-modal.modal-open {
  top: 25vh;
  bottom: 0;
}
.exercise-modal .item.column.hidden {
  display: none;
}
.exercise-modal .left-side, .exercise-modal .right-side {
  width: 10%;
  display: flex;
  align-items: center;
}
.exercise-modal .left-side button, .exercise-modal .right-side button {
  width: 30px;
  height: 30px;
  background: none;
  border: 2px solid white;
  color: white;
  border-radius: 50%;
  font-size: 21px;
  font-weight: bold;
}
.exercise-modal .center-side {
  width: 80%;
}
.exercise-modal input {
  font-size: 18px;
  padding: 5px 10px;
  background: #111111;
  border: 1px solid #000000;
  appearance: none;
  color: white;
  border-radius: 5px;
  outline: rgba(255, 166, 0, 0.5);
}
.exercise-modal input:focus {
  border-color: rgba(255, 166, 0, 0.5);
}
.exercise-modal h2 {
  margin-top: 20px;
  margin-bottom: 10px;
}
.exercise-modal .content-container {
  padding-top: 0;
}

.exercise-tracking-row-dropsets {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #1a1a1a;
}
.exercise-tracking-row-dropsets .exercise-tracking-row {
  padding: 10px 25px;
  position: relative;
}
.exercise-tracking-row-dropsets .exercise-tracking-row .dropset-remove-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: 1px solid white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  color: white;
  font-size: 12px;
}
.exercise-tracking-row-dropsets .exercise-tracking-row:last-of-type {
  padding-bottom: 20px;
}

.workouts .content-container {
  scrollbar-gutter: stable both-edges;
}

.workout {
  text-align: center;
  padding: 20px 0;
}
.workout .exercise {
  padding-bottom: 25px;
  margin-bottom: 25px;
  display: flex;
  border-bottom: 2px solid #292929;
  /*&:nth-child(odd) {
    .right {
      order: 1;
    }

    .left {
      order: 2;
    }
  }*/
}
.workout .exercise .exercise-set-list {
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  gap: 10px;
}
.workout .exercise h2 {
  margin-bottom: 10px;
}
.workout .exercise .left {
  width: 50%;
  display: flex;
  align-items: center;
}
.workout .exercise .left img {
  display: block;
  width: 100%;
  padding: 0 20px;
}
.workout .exercise .right {
  width: 50%;
  display: flex;
  flex-direction: column;
}
.workout .exercise .right .exercise-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  flex-grow: 1;
  font-size: 28px;
  font-weight: bold;
}
.workout .exercise .right .exercise-info .label {
  font-size: 10px;
  font-weight: bold;
  text-transform: uppercase;
}
.workout .exercise .right .exercise-info-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: calc(33.3333333333% - 3.3333333333px);
}
.workout .exercise:last-child {
  border: 0;
}

.sidebar-view .workout .exercise {
  display: flex;
  flex-direction: column;
}
.sidebar-view .workout .exercise .left {
  width: 100%;
}
.sidebar-view .workout .exercise .right {
  width: 100%;
}
.sidebar-view .start-workout-btn, .sidebar-view .complete-workout-btn {
  width: calc(100% - 40px);
}

.mobile-view .workout .exercise {
  display: flex;
  flex-direction: column;
}
.mobile-view .workout .exercise .left {
  width: 100%;
}
.mobile-view .workout .exercise .right {
  width: 100%;
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 0;
}
.mobile-view .start-workout-btn, .mobile-view .complete-workout-btn {
  width: calc(100% - 40px);
}

.start-workout-btn, .complete-workout-btn {
  padding: 10px 20px;
  appearance: none;
  border-radius: 5px;
  background-color: #4CAF50;
  border: 1px solid #163317;
  color: #163317;
  font-size: 18px;
  font-weight: bold;
}

.start-workout-btn {
  margin-bottom: 25px;
}

.drop-set-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.drop-set-container button {
  background: none;
  border: 0;
  border-bottom: 1px solid white;
  padding: 3px;
  padding-top: 10px;
  color: white;
}

.menu-btn {
  color: white;
  appearance: none;
  background: none;
  border: 0;
  border-bottom: 1px solid white;
  padding: 0 1px;
  /*background-color: #111111;
  border: 1px solid #292929;
  border-radius: 5px;
  padding: 5px 10px;*/
}

@media screen and (max-width: 640px) {
  .workout .exercise {
    display: flex;
    flex-direction: column;
  }
  .workout .exercise .left {
    width: 100%;
  }
  .workout .exercise .right {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
  }
  .start-workout-btn, .complete-workout-btn {
    width: calc(100% - 40px);
  }
}
.form-container.workout-creator-container {
  width: 100%;
  height: 100%;
  max-height: initial;
}
.form-container.workout-creator-container .form {
  flex-grow: 1;
  max-width: initial;
  margin: 25px;
}

.workout-builder {
  width: 100%;
  border: 1px solid #292929;
  padding: 20px;
  display: flex;
  flex-direction: column;
}
.workout-builder .exercise-list-item__info {
  display: flex;
  justify-content: space-between;
}
.workout-builder .exercise-list-item__info-group {
  display: flex;
  align-items: center;
  gap: 5px;
  width: calc(33.3333333333% - 20px);
}
.workout-builder .exercise-list-item__info-group input {
  flex-grow: 1;
}
.workout-builder .exercise-list-item {
  border-bottom: 1px solid #292929;
  margin-bottom: 20px;
  padding-bottom: 20px;
}
.workout-builder .exercise-list-item .remove-btn {
  display: block;
}
.workout-builder .exercise-list-item:last-of-type {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.workout-builder .exercise-list-item {
  flex-direction: row;
  align-items: center;
  gap: 20px;
}
.workout-builder .exercise-list-item__header-thumbnail {
  display: none;
}
.workout-builder .exercise-list-item__big-thumbnail {
  display: flex;
  aspect-ratio: 1;
  width: 100px;
}
.workout-builder .exercise-list-item__big-thumbnail img {
  width: 100%;
}
.workout-builder .exercise-list-item-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.exercise-list {
  height: 100vh;
  align-self: flex-end;
  overflow-y: auto;
  min-width: 250px;
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background-color: rgb(31, 31, 31);
  padding: 10px;
}
.exercise-list .exercise-list-item__header-thumbnail {
  display: block;
}
.exercise-list .exercise-list-item__big-thumbnail {
  display: none;
}
.exercise-list-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  transition: all 0.3s ease;
}
.exercise-list-item .remove-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  display: none;
}
.exercise-list-item.dragging {
  border: 1px solid rgba(255, 166, 0, 0.5);
  border-radius: 5px;
  transform: scale(1.02);
}
.exercise-list-item__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.exercise-list-item__header-thumbnail {
  width: 75px;
  height: 75px;
}
.exercise-list-item__header-thumbnail img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.exercise-list-item__header-title {
  font-size: 18px;
  font-weight: bold;
  text-align: left;
  flex-grow: 1;
}
.exercise-list-item__info {
  display: none;
}

.exercise-tracking {
  display: flex;
  flex-direction: column;
}
.exercise-tracking-row {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 15px;
}
.exercise-tracking-row .exercise-tracking-header {
  width: 100%;
}
.exercise-tracking-row .exercise-tracking-item {
  width: 20%;
  display: flex;
  flex-direction: column;
  padding: 0 5px;
  justify-content: center;
  gap: 5px;
}
.exercise-tracking-row .exercise-tracking-item input {
  width: 100%;
  background-color: #111111;
  border: 1px solid #292929;
  padding: 10px;
  border-radius: 5px;
  appearance: none;
  color: white;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  transition: border-color 0.3s ease;
}
.exercise-tracking-row .exercise-tracking-item input.active {
  border-color: rgba(255, 166, 0, 0.5);
}

.exercises .content-container {
  padding-top: 0;
}
.exercises h2 {
  margin: 25px 0 10px;
}

.sidebar-view .exercise-tracking-row .exercise-tracking-item {
  margin-bottom: 10px;
  width: 100%;
}
.sidebar-view .workout-builder .exercise-list-item__info-group {
  width: 100%;
}

.mobile-view .exercise-tracking {
  gap: 20px;
  margin-top: 25px;
}
.mobile-view .exercise-tracking-row {
  flex-wrap: wrap;
  margin: 0;
  border-bottom: 1px solid #292929;
  padding-bottom: 20px;
  gap: 10px;
}
.mobile-view .exercise-tracking-row .exercise-tracking-item {
  padding: 0;
}
.mobile-view .exercise-tracking-row .exercise-tracking-item.exercise-item-header {
  width: 100%;
}
.mobile-view .exercise-tracking-row .exercise-tracking-item.exercise-item-group {
  width: calc(50% - 5px);
}
.mobile-view .exercise-tracking-row:first-of-type {
  border-top: 1px solid #292929;
  padding-top: 20px;
}
.mobile-view .exercise-tracking-row:last-of-type {
  border-bottom: 0;
  padding-bottom: 0;
}

.tablet-view .exercise-tracking-row .exercise-tracking-item {
  margin-bottom: 10px;
  width: 33%;
}

.personal-bests-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 25px;
  padding-top: 0;
}
.personal-bests-container .pb-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 5px;
  border-bottom: 1px solid white;
  width: 100%;
  text-align: center;
  padding: 5px;
}

@media screen and (max-width: 640px) {
  .exercise-tracking {
    gap: 20px;
    margin-top: 25px;
  }
  .exercise-tracking-row {
    flex-wrap: wrap;
    margin: 0;
    border-bottom: 1px solid #292929;
    padding-bottom: 20px;
    gap: 10px;
  }
  .exercise-tracking-row .exercise-tracking-item {
    padding: 0;
  }
  .exercise-tracking-row .exercise-tracking-item.exercise-item-header {
    width: 100%;
  }
  .exercise-tracking-row .exercise-tracking-item.exercise-item-group {
    width: calc(50% - 5px);
  }
  .exercise-tracking-row:first-of-type {
    border-top: 1px solid #292929;
    padding-top: 20px;
  }
  .exercise-tracking-row:last-of-type {
    border-bottom: 0;
    padding-bottom: 0;
  }
  .workout-builder .exercise-list-item__info-group {
    width: 100%;
  }
  .workout-builder .exercise-list-item__header-thumbnail {
    display: block;
  }
  .workout-builder .exercise-list-item__big-thumbnail {
    display: none;
  }
  .workout-builder .exercise-list-item-content {
    width: 100%;
  }
  .form-container.workout-creator-container {
    width: 100%;
    height: 100%;
    max-height: initial;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: flex-start;
  }
  .form-container.workout-creator-container .form {
    flex-grow: 1;
    margin: 0;
    width: 100%;
  }
  .form-container.workout-creator-container .exercise-list {
    flex-shrink: 1;
    min-height: 250px;
    min-width: initial;
    width: 100%;
    max-width: initial;
  }
  .form-container.workout-creator-container .exercise-list-item__info {
    flex-direction: column;
  }
  .form-container.workout-creator-container .workout-builder .exercise-list-item__info-group input {
    width: 100%;
  }
}