.hidden {
  display: none;
}
.rotate {
  rotate: 180deg;
}
/* ==================== */
:root {
  --main-color: #5f715d;
  --main-color-alt: #c73a44;
  --main-transition: 0.3s;
}
*:focus {
  outline: none;
}
body {
  background-color: #dbeada;
  background-image: url(../imgs/zoro.jpeg);
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  margin: 0;
}
form {
  display: flex;
  justify-content: space-between;
  padding: 30px 20px;
  border-radius: 10px;
  gap: 20px;
  font-size: 20px;
  background-color: var(--main-color);
}
form > * {
  border: none;
  border-radius: inherit;
}
form .inputs-holder {
  flex: 1;
  caret-color: var(--main-color);
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}
form .inputs-holder > * {
  border: none;
  border-radius: inherit;
}
form .inputs-holder input {
  padding: 15px;
  flex: 1;
}
form .inputs-holder select {
  padding: 15px 5px;
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--main-color-alt);
  color: white;
  font-weight: bold;
  font-size: 14px;
  height: 100%;
  border-radius: 0px 10px 10px 0px;
  appearance: none;
  cursor: pointer;
}
form button {
  padding: 10px 15px;
  background-color: var(--main-color-alt);
  color: white;
  cursor: pointer;
  font-weight: bold;
}

@media (max-width: 768px) {
  form {
    flex-direction: column;
    padding: 20px 15px;
  }
}
.user-info {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgb(0 0 0 / 80%);
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  /* display: none; */
}
.user-info form {
  flex-direction: column;
}
.user-info select {
  padding: 15px;
}
.container {
  padding-left: 15px;
  padding-right: 15px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  margin-top: 30px;
}
/* Small */
@media (min-width: 768px) {
  .container {
    width: 750px;
  }
}
/* Medium */
@media (min-width: 992px) {
  .container {
    width: 970px;
  }
}
/* Large */
@media (min-width: 1200px) {
  .container {
    width: 1170px;
  }
}
.hello {
  text-align: center;
  background: linear-gradient(160deg, #5f715d, #313930);
  background-color: var(--main-color);
  color: white;
  padding: 1px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  letter-spacing: 1px;
}
.hello h3 {
  margin-bottom: 10px;
}
.hello p {
  opacity: 0.6;
  line-height: 1.6;
  margin: 4px;
}
.hello i {
  font-weight: bold;
  transform: translateY(-4px);
  font-size: 18px;
  opacity: 0.6;
  animation: bouncing 1s infinite;
  margin-bottom: 5px;
}

@keyframes bouncing {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.switch-container {
  background-color: var(--main-color);
  margin: 20px 0;
  padding: 7px 10px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-y: hidden;
  overflow-x: auto;
  scrollbar-width: thin;
}
.switch-container span + i {
  color: #fff;
}
.switch-container .plus-group-holder {
  border-radius: inherit;
  display: flex;
  align-items: center;
  position: relative;
}
.switch-container .plus-group-holder input {
  width: 115px;
  border-radius: inherit;
  border: none;
  padding: 0 7px;
}
.switch-container .plus-group-btn {
  position: absolute;
  right: 3px;
}

.switch-container .switch {
  background-color: white;
  padding: 2px 13px;
  user-select: none;
  cursor: pointer;
  transition: var(--main-transition);
  border-radius: inherit;
}
.switch-container .switch:hover,
.switch-container .switch.active {
  background-color: var(--main-color-alt);
  color: white;
}
.tasks {
  margin-top: 20px;
  padding: 20px 15px;
  border-radius: 8px;
  margin-bottom: 50px;
}
.tasks .task {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: white;
  padding: 10px;
  border-radius: inherit;
}
.tasks .task:not(:last-child) {
  margin-bottom: 15px;
}
.tasks .task button {
  padding: 5px 8px;
  background-color: var(--main-color-alt);
  color: white;
  cursor: pointer;
  font-weight: bold;
  border-radius: inherit;
  border: none;
}

footer {
  color: white;
  background-color: #1c201c;
  width: 100%;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  bottom: 0;
  left: 0;
}

.clear-btn {
  position: fixed;
  bottom: 60px;
  right: 25px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: var(--main-color-alt);
  color: white;
  font-size: 19px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  opacity: 0.5;
  transition: var(--main-transition);
  z-index: 200;
}

.clear-btn:hover {
  opacity: 1;
  transform: scale(1.1);
}


