/*!**************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/scss/style.scss ***!
  \**************************************************************************************************************/
html {
  scroll-behavior: smooth;
}

.grid {
  display: grid;
  grid-template-columns: repeat 12, 1fr;
  gap: 30px;
  max-width: 1400px;
}

.center {
  margin: 0 auto;
  max-width: 1400px;
}

body {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  background-color: rgba(0, 0, 0, 0.874);
  color: white;
  z-index: 1000;
}
body.active-training {
  animation: active-sport-animation 5s ease infinite;
}

footer {
  position: fixed;
  left: 0;
  bottom: 0;
  right: 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: #051C38;
  height: 50px;
  z-index: 10;
}
footer .footer-btn {
  background-color: #143153;
  color: white;
  font-weight: bold;
  height: 35px;
  width: 30%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.add-button {
  position: fixed;
  top: 0;
  right: 0;
  width: 50px;
  height: 50px;
  background-color: #143153;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 34px;
  border-radius: 5px;
  cursor: pointer;
}

.timer-button {
  position: fixed;
  top: 0;
  left: 0;
  width: 50px;
  height: 50px;
  background-color: #143153;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 34px;
  border-radius: 5px;
  cursor: pointer;
}

.timer-label {
  display: none;
}
.timer-label.active {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 50px;
  background-color: #143153;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 24px;
  border-radius: 5px;
  cursor: pointer;
  color: yellow;
  box-shadow: 0 0 15px white;
  z-index: 999;
}

.finish-button {
  display: none;
}
.finish-button.active-training {
  display: block;
  position: fixed;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  background-color: #AA3939;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  padding: 13px 25px;
  box-shadow: inset 0 0 10px white;
  border: 1px solid white;
  letter-spacing: 3px;
  cursor: pointer;
}

@keyframes active-sport-animation {
  0% {
    border: 8px solid #748BA7;
  }
  50% {
    border: 8px solid #051C38;
  }
  100% {
    border: 8px solid #748BA7;
  }
}
table {
  border-collapse: collapse;
  width: 100%;
  font-family: Arial, sans-serif;
  margin-bottom: 20px;
  background: radial-gradient(#2B4A6F, #143153);
  box-shadow: 0 0 10px rgb(0, 200, 255);
  hyphens: auto;
}

th,
td {
  text-align: center;
  padding: 8px;
  border: 1px solid white;
}

th {
  background-color: black;
  color: white;
}

tr:nth-child(even) {
  background-color: #346569;
}

.button-calendar-trigger {
  background-color: rgb(64, 64, 64);
  padding: 11px;
  border-radius: 5px;
  float: right;
  margin-right: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.delete-button {
  background-color: black;
  color: red;
  font-weight: bold;
  letter-spacing: 1.5px;
  font-size: 0.7rem;
  text-transform: uppercase;
  width: fit-content;
  padding: 8px 15px;
  margin: 10px 0;
  border-radius: 15px;
  box-shadow: inset 0 0 10px white;
  text-shadow: 0 0 10px black;
  outline: 1px solid grey;
  cursor: pointer;
  float: right;
}

.homepage {
  text-align: center;
  z-index: 1;
}
.homepage h1 {
  color: rgb(0, 200, 255);
  font-size: 7vw;
  text-shadow: 0 0 5px rgb(0, 200, 255);
  letter-spacing: 3px;
}
.homepage .exercises {
  display: flex;
  flex-direction: column;
  background-color: transparent;
  height: 40vh;
  overflow: scroll;
  padding-bottom: 50px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  background: linear-gradient(to left, #2B4A6F, transparent);
}
.homepage .exercises .exercise-place-label {
  color: yellow;
  font-size: 16px;
  text-shadow: 0 3px 10px black;
}
.homepage .exercises .exercise {
  background: linear-gradient(to right, #2B4A6F, transparent);
  border: 1px solid rgba(255, 255, 255, 0.151);
  color: white;
  font-weight: bold;
  letter-spacing: 2px;
  min-height: 40px;
  margin-bottom: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 6px rgb(0, 200, 255);
  cursor: pointer;
}
.homepage .exercises .exercise.half-solved {
  background-color: yellow;
  color: black;
}
.homepage .exercises .exercise.solved {
  background-color: green;
}

.last-trainings {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: transparent;
  padding: 20px;
  padding-bottom: 50px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  box-shadow: 0 0 6px rgb(0, 200, 255);
  background: linear-gradient(to bottom, #051C38, transparent);
}
.last-trainings .secondary-button {
  background-color: #135a23;
  padding: 10px 20px;
  border-radius: 8px;
  letter-spacing: 1.5px;
  cursor: pointer;
}

.statistic-headline {
  width: 100%;
  text-align: center;
  margin: 30px auto 0 auto;
}

.select-year {
  margin: 15px auto -20px 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 40px;
  background-color: black;
  color: rgb(0, 200, 255);
  border-radius: 10px;
  padding: 5px;
  font-weight: bold;
  font-size: 20px;
}

.chart {
  margin: 40px auto 80px auto;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  box-shadow: 0 0 6px rgb(0, 200, 255);
  height: 400px;
  overflow-x: scroll;
  position: relative;
}
.chart .chart__col {
  position: absolute;
  bottom: 0;
  border-radius: 5px;
  font-size: 10px;
  font-weight: bold;
  background: linear-gradient(to top, rgb(0, 200, 255), aqua);
  color: black;
  padding: 4px;
  min-height: 10px;
  width: 18px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  text-align: center;
  cursor: pointer;
}
.chart .chart #col_1 {
  left: 2%;
}
.chart .chart #col_2 {
  left: 10%;
}
.chart .chart #col_3 {
  left: 18%;
}
.chart .chart #col_4 {
  left: 26%;
}
.chart .chart #col_5 {
  left: 34%;
}
.chart .chart #col_6 {
  left: 42%;
}
.chart .chart #col_7 {
  left: 50%;
}
.chart .chart #col_8 {
  left: 58%;
}
.chart .chart #col_9 {
  left: 66%;
}
.chart .chart #col_10 {
  left: 74%;
}
.chart .chart #col_11 {
  left: 82%;
}
.chart .chart #col_12 {
  left: 90%;
}
.chart .training-sum-number {
  color: yellow;
  font-weight: bold;
  font-size: 1.3rem;
}

.active-training-sect {
  display: none;
}
.active-training-sect.active {
  display: block;
  background-color: lightblue;
  color: black;
  border-radius: 8px;
  padding: 10px;
  margin: 20px 0;
}
.active-training-sect.active h3 {
  font-size: 1.8rem;
  margin: 10px;
}
.active-training-sect.active .info-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  font-weight: bold;
  letter-spacing: 2px;
}
.active-training-sect.active .info-wrapper p {
  margin: 0;
  font-size: 1.3rem;
}

.modal, .mini-modal {
  display: none;
}
.modal.active, .mini-modal.active {
  display: block;
  position: fixed;
  background: linear-gradient(to right, #2B4A6F, #051C38);
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  z-index: 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-y: scroll;
  padding: 50px 10px;
}
.modal .modal_close_btn, .modal .mini_modal_close_btn, .mini-modal .modal_close_btn, .mini-modal .mini_modal_close_btn {
  position: fixed;
  background-color: #AA3939;
  top: 10px;
  right: 10px;
  padding: 10px;
  border-radius: 50%;
  height: 20px;
  width: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: inset 0 0 5px white;
  text-align: center;
  font-size: 1.5em;
  cursor: pointer;
}

.mini-modal.active {
  width: 100%;
  height: 100%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.9);
}

.modal-exercise {
  padding-bottom: 50px;
}
.modal-exercise #lbl_trainingsname {
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-shadow: 0 0 15px black;
  margin: 50px auto;
  text-align: center;
}
.modal-exercise .info-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
}
.modal-exercise .info-container .exercise-info {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  text-align: left;
  font-size: 14px;
  border-radius: 5px;
  letter-spacing: 1.5px;
  background: radial-gradient(#4B688B, #051C38);
  box-shadow: 0 0 10px rgb(0, 200, 255);
}
.modal-exercise .info-container .exercise-info .half {
  width: 40%;
  border: 1px solid rgba(255, 255, 255, 0.284);
  padding: 10px;
  color: yellow;
  font-weight: bold;
  font-size: 1rem;
  letter-spacing: 1.5px;
}
.modal-exercise .info-container .exercise-info .half.title {
  font-weight: bold;
  color: white;
  width: 60%;
  text-align: right;
}
.modal-exercise .button-edit {
  background-color: black;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px;
  height: 20px;
  width: 20px;
  position: absolute;
  top: 10px;
  left: 10px;
  border-radius: 8px;
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.654);
  cursor: pointer;
}
.modal-exercise .track-button {
  background-color: rgb(0, 200, 255);
  padding: 20px 30px;
  border-radius: 15px;
  font-size: 20px;
  margin-top: 30px;
  text-shadow: 0 0 10px black;
  box-shadow: 0 0 10px rgb(0, 200, 255);
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
}

.modal-trainints {
  padding-bottom: 50px;
}

.newExercise {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.newExercise form {
  background: linear-gradient(to bottom, #143153, #051C38);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  flex-wrap: wrap;
  padding: 15px 70px;
  border-radius: 15px;
  width: 100%;
  box-shadow: 0 0 10px #4B688B;
  border: 1px solid rgba(255, 255, 255, 0.222);
}
.newExercise form input {
  margin-bottom: 10px;
  width: 90%;
  height: 25px;
  border-radius: 8px;
  padding-left: 10px;
  letter-spacing: 2px;
  font-weight: bold;
  font-size: 16px;
}
.newExercise form .lbl {
  width: 100%;
  text-align: left;
  margin-bottom: 0;
  font-size: 12px;
  color: white;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.newExercise form .range-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  margin: -15px 0 0 0;
  padding: 0;
}
.newExercise form .range-wrapper .value-label {
  font-weight: bold;
  font-size: 1.5rem;
  margin-top: 7px;
  text-decoration: underline;
}
.newExercise form div {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 10px auto;
  width: 100%;
}
.newExercise form .submitButton {
  margin: 20px auto;
  background-color: #4B688B;
  width: 100px;
  height: 40px;
  border-radius: 10px;
  box-shadow: inset 0 0 15px rgb(65, 65, 65), 0 0 10px rgba(0, 0, 0, 0.655);
  border: 1px solid rgba(0, 0, 0, 0.552);
  text-shadow: 0 0 5px black;
  cursor: pointer;
}
.newExercise form select {
  width: 100%;
  height: 25px;
  border-radius: 8px;
}

.button-delete {
  display: none;
}
.button-delete.active {
  background-color: darkred;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px;
  height: 20px;
  width: 20px;
  position: absolute;
  top: 10px;
  left: 10px;
  border-radius: 8px;
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.654);
  cursor: pointer;
}

.max-weight-label {
  padding: 20px 30px;
  color: yellow;
  font-size: 1.5rem;
}

.between-trainings {
  margin: 70px 0;
}

.modal-settings .backup-button {
  background-color: lightgreen;
  color: black;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: bold;
  letter-spacing: 2px;
  margin-bottom: 50px;
  cursor: pointer;
}
.modal-settings .status-label {
  text-align: center;
  letter-spacing: 2px;
}

.training-addendum {
  width: 100%;
  margin-top: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: #232c2b;
  padding: 20px;
}
.training-addendum #form_add_training {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.training-addendum .addendum-label {
  font-size: 1.2rem;
  color: white;
  text-align: center;
  margin-bottom: 10px;
  letter-spacing: 2px;
}
.training-addendum textarea {
  width: 90%;
  height: 100px;
  border-radius: 8px;
  padding-left: 10px;
  letter-spacing: 2px;
  font-weight: bold;
  font-size: 16px;
}
.training-addendum input {
  margin-bottom: 10px;
  width: 90%;
  height: 25px;
  border-radius: 8px;
  padding-left: 10px;
  letter-spacing: 2px;
  font-weight: bold;
  font-size: 16px;
}
.training-addendum #training_place {
  margin: 0 0 30px 0;
  font-size: 16px;
  font-weight: bold;
  width: 100%;
  height: 30px;
  border-radius: 8px;
  padding-left: 10px;
  letter-spacing: 2px;
}
.training-addendum .submit-button {
  margin: 20px auto;
  background-color: #4B688B;
  width: 100px;
  height: 40px;
  border-radius: 10px;
  box-shadow: inset 0 0 15px rgb(65, 65, 65), 0 0 10px rgba(0, 0, 0, 0.655);
  border: 1px solid rgba(0, 0, 0, 0.552);
  text-shadow: 0 0 5px black;
  color: white;
  cursor: pointer;
}

.modal-calendar .calendar {
  width: 95%;
  margin: 0 auto;
  background-color: black;
  padding: 10px;
  max-width: 400px;
  display: flex;
  flex-direction: column;
}
.modal-calendar .calendar .calendar-year-label {
  position: sticky;
  top: 0;
  background-color: rgba(0, 0, 0, 0.727);
  backdrop-filter: blur(3px);
  width: fit-content;
  border-radius: 15px;
  padding: 20px 30px;
  margin-left: 50%;
  transform: translateX(-50%);
  color: aqua;
  text-shadow: 0 0 30px aqua, 0 10px 30px rgba(0, 255, 255, 0.915);
  transition: all 400ms ease-in-out;
}
.modal-calendar .calendar .month-wrapper {
  padding: 10px 0;
  background-color: rgb(16, 16, 16);
  margin-bottom: 70px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.modal-calendar .calendar .calendar-day {
  width: 53px;
  height: 53px;
  background-color: rgb(33, 33, 33);
  display: flex;
  flex-direction: column;
  padding: 3px 0;
  align-items: center;
  justify-content: flex-start;
  font-size: 14px;
  letter-spacing: 3px;
  gap: 6px 0;
  border-radius: 5px;
}
.modal-calendar .calendar .calendar-day.sport-day {
  background-color: #17514d;
  box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.866);
}
.modal-calendar .calendar .calendar-day .calendar-training-day {
  width: 8px;
  height: 8px;
  background-color: aqua;
  box-shadow: 0 0 15px white;
  border-radius: 50%;
}
.modal-calendar .calendar .calendar-day.current-day {
  background-color: rgb(12, 76, 125);
}

.message {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translate(-50%, -200%);
  width: 85%;
  min-height: 20vh;
  background-color: #AA3939;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  padding: 13px 25px;
  border: 1px solid white;
  letter-spacing: 4px;
  text-align: center;
  transition: all 0.4s ease-in-out;
  z-index: 9999;
}
.message.active {
  transform: translate(-50%, 0);
}
.message .message-title {
  font-weight: bold;
  font-size: 1.7rem;
  margin-bottom: 30px;
}
.message .message-text {
  font-size: 1.2rem;
  letter-spacing: 2px;
}
.message.info {
  background-color: #2599eb;
}
.message.error {
  background-color: #ff0000;
}
.message.success {
  background-color: #087408;
}
.message.warning {
  background-color: #ff7700;
}
