@font-face {
  font-family: "Arial-MT";
  src: url("../fonts/Arial-MT.woff");
}

:root {
  --white: #fff;
  --black: #000;
  --body-background: #00000080;
  --player-active-item-before: #c5b358;
  --player-active-item: #ff783e;
  --light-grey: #ababab;
  --dark-grey: #545252;
  --settings: #f2bb1e;
  --active-source: #0075ff;
  --inactive-task: #e2dfdf;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-width: 480px;
  min-height: 100vh;
  font-family: "Arial", sans-serif;
  font-size: 16px;
  color: var(--white);
  text-align: center;
  background: url("") center/cover, var(--body-background);
  background-blend-mode: multiply;
  transition: background-image 1s ease-in-out;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  height: 30vh;
  min-height: 220px;
  padding: 20px;
}

.player-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 120px;
  margin-bottom: 28px;
}

.play-list {
  text-align: left;
}

.play-item {
  position: relative;
  padding: 5px;
  padding-left: 20px;
  list-style: none;
  opacity: 0.8;
  cursor: pointer;
  transition: 0.3s;
}

.play-item:hover {
  opacity: 1;
}

.play-item::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 2px;
  font-weight: 900;
}

.item-active::before {
  color: var(--player-active-item-before);
}

.player-icon,
.slider-icon,
.change-quote {
  width: 32px;
  height: 32px;
  background-size: 32px 32px;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: transparent;
  border: 0;
  outline: 0;
  opacity: 0.8;
  cursor: pointer;
  transition: 0.3s;
}

.player-icon:hover,
.slider-icon:hover,
.change-quote:hover {
  opacity: 1;
}

.player-icon:active,
.slider-icon:active,
.change-quote:active {
  border: 0;
  outline: 0;
  transform: scale(1.1);
}

.play {
  width: 40px;
  height: 40px;
  background-size: 40px 40px;
  background-image: url("../svg/play.svg");
}

.pause {
  background-image: url("../svg/pause.svg");
}

.play-prev {
  background-image: url("../svg/play-prev.svg");
}

.play-next {
  background-image: url("../svg/play-next.svg");
}

.weather {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  row-gap: 5px;
  width: 180px;
  min-height: 180px;
  text-align: left;
}

.weather-error {
  margin-top: -10px;
}

.description-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  column-gap: 12px;
}

.weather-icon {
  font-size: 44px;
}

.city {
  width: 170px;
  height: 34px;
  padding: 5px;
  font-size: 20px;
  line-height: 24px;
  color: var(--white);
  border: 0;
  outline: 0;
  border-bottom: 1px solid var(--white);
  background-color: transparent;
}

.city::placeholder {
  font-size: 20px;
  color: var(--white);
  opacity: 0.6;
}

.main {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 40vh;
  min-height: 260px;
  padding: 20px;
  margin-top: 30px;
}

.slider-icon {
  position: absolute;
  top: 50%;
  margin-top: -16px;
  cursor: pointer;
}

.slide-prev {
  left: 20px;
  background-image: url("../svg/slider-prev.svg");
}

.slide-next {
  right: 20px;
  background-image: url("../svg/slider-next.svg");
}

.time {
  min-height: 124px;
  margin-bottom: 10px;
  font-family: "Arial-MT";
  font-size: 100px;
  letter-spacing: -4px;
}

.date {
  min-height: 28px;
  font-size: 24px;
  margin-bottom: 20px;
}

.greeting-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: stretch;
  align-items: center;
  min-height: 48px;
  width: 100vw;
  font-size: 40px;
}

.greeting {
  flex: 1;
  padding: 10px;
  text-align: right;
}

.name {
  flex: 1;
  max-width: 50%;
  padding: 10px;
  font-size: 40px;
  text-align: left;
  color: var(--white);
  background-color: transparent;
  border: 0;
  outline: 0;
}

.name::placeholder {
  color: var(--white);
  opacity: 0.6;
}

.footer {
  position: absolute;
  bottom: 5px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 160px;
  padding: 15px 15px 0 15px;
}

.footer-two {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 15px;
}

.change-quote {
  margin-bottom: 30px;
  background-image: url("../svg/reload.svg");
}

.quote {
  min-height: 32px;
}

.author {
  min-height: 20px;
}

.play-list {
  z-index: 10;
}

.play-item::before {
  content: "\25B7";
  position: absolute;
  left: 0;
  top: 2px;
  font-weight: 900;
}

.item-active::before {
  color: var(--player-active-item);
}

.item-active {
  color: var(--player-active-item);
  font-weight: bold;
}

#progress-bar {
  -webkit-appearance: none;
  appearance: none;
  z-index: 4;
  height: 8px;
  width: 200pt;
  margin-bottom: 10px;
  background: -webkit-linear-gradient(45deg, var(--light-grey), var(--dark-grey));
  border-radius: 30px;
}

#progress-bar::-webkit-slider-thumb {
  -webkit-appearance: none;
  margin-top: -4px;
  margin-left: 0px;
  height: 12px;
  width: 10px;
  border: 0;
  background: var(--player-active-item);
  border-radius: 30px;
  cursor: pointer;
}

#progress-bar::-webkit-slider-runnable-track {
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  max-height: 5px;
  border-radius: 30px;
}

#progress-bar:focus {
  outline: none;
}

.songName {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}

.timeOfSong {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 5px;
  margin-bottom: 10px;
}

#range {
  -webkit-appearance: none;
  appearance: none;
  z-index: 4;
  height: 8px;
  width: 50pt;
  background: -webkit-linear-gradient(45deg, var(--light-grey), var(--dark-grey));
  border-radius: 30px;
  margin-right: 80px;
}

#range::-webkit-slider-thumb {
  -webkit-appearance: none;
  margin-top: -3px;
  margin-left: 0px;
  height: 12px;
  width: 10px;
  border: 0;
  background: var(--player-active-item);
  border-radius: 30px;
  cursor: pointer;
}

#range::-webkit-slider-runnable-track {
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  max-height: 5px;
  border-radius: 30px;
}

#range:focus {
  outline: none;
}

.volume-button {
  height: 30px;
  width: 30px;
  background-size: 25px 25px;
  background-repeat: no-repeat;
  background-image: url("../svg/volume.svg");
  background-position: 65%;
  border-radius: 50%;
  border: none;
  background-color: var(--player-active-item);
  cursor: pointer;
}

.no-volume-button {
  background-image: url("../svg/noVolume.svg");
}

.container-settings {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.main-settings {
  display: flex;
  gap: 15px;
}

.language {
  padding: 5px;
  border-radius: 10px;
  background-color: var(--white);
  font-size: 14px;
  color: var(--black);
  cursor: pointer;
}

.settings-btn {
  width: 30px;
  cursor: pointer;
}

.windowSettings {
  position: absolute;
  bottom: 70px;
  left: -500px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  width: 450px;
  height: fit-content;
  background-color: var(--settings);
  opacity: 90%;
  border-radius: 20px;
  transition: all 0.6s ease-in;
}

.active-set {
  left: 20px;
}

.set-header {
  margin-bottom: 15px;
}

.set-list {
  list-style: none;
}

.set-item {
  text-align: left;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lang-box {
  display: flex;
}

.lang-set {
  cursor: pointer;
}

.sources-bg {
  padding: 3px;
  border: none;
  border-radius: 10px;
}

.source-item {
  padding: 3px 5px;
  margin-bottom: 4px;
  font-size: 14px;
  color: var(--black);
  background-color: var(--white);
  border-radius: 15px;
  cursor: pointer;
}

.active-source {
  background-color: var(--active-source);
}

.input-tag {
  padding: 3px 8px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
}

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

.hs-list {
  list-style: none;
}

.hs-list label {
  cursor: pointer;
}

.hs-item {
  margin-top: 5px;
}

.todo-btn {
  font-size: 24px;
  cursor: pointer;
}

.active-todo-filter {
  background-color: #ff783e52;
}

.invisible {
  opacity: 0;
}

.time,
.date,
.greeting-container,
.footer-one,
.weather,
.player,
.todo-container {
  transition: opacity 1s ease;
}

.todo-popup {
  position: absolute;
  bottom: 60px;
  right: 15px;
  display: flex;
  flex-direction: column;
  width: 450px;
  height: fit-content;
  background-color: var(--white);
  color: var(--player-active-item);
  font-size: 18px;
  font-weight: bold;
  border-radius: 20px;
  visibility: hidden;
  opacity: 0;
  transition: all 0.6s ease;
  padding: 25px;
}

.todo-heading {
  margin-bottom: 20px;
}

.todo-active {
  visibility: visible;
  opacity: 80%;
}

.tasks-list {
  height: fit-content;
}

.type-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.type-text {
  height: 35px;
  width: 260px;
  padding: 0 7px;
  font-size: 18px;
  border: 2px solid var(--player-active-item);
  border-radius: 20px;
}

.add-btn {
  padding: 5px 15px;
  border: 1px solid var(--player-active-item);
  border-radius: 20px;
  cursor: pointer;
}

.tasks-box {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 25px;
}

.tasks-list {
  list-style: none;
}

.tasks-item {
  width: 400px;
  padding: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.task-deleted {
  display: none;
}

.task-div {
  width: 300px;
  height: auto;
  text-align: start;
  font-weight: 400;
}

.complete {
  text-decoration: line-through;
  color: darkgray;
}

.cross,
.done {
  width: 25px;
}

.type-of-tasks {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.all-tasks {
  border: 1px solid var(--player-active-item);
  border-radius: 20px;
  padding: 5px 15px;
  cursor: pointer;
}

.complete-tasks {
  border: 1px solid var(--player-active-item);
  border-radius: 20px;
  padding: 5px 15px;
  cursor: pointer;
}

.incomplete-tasks {
  border: 1px solid var(--player-active-item);
  border-radius: 20px;
  padding: 5px 15px;
  cursor: pointer;
}

.add-btn:hover,
.all-tasks:hover,
.complete-tasks:hover,
.incomplete-tasks:hover {
  box-shadow: 2px 2px 3px var(--body-background);
}

.rs-logo {
  width: 60px;
}

@media (max-width: 768px) {
  .time {
    min-height: 80px;
    font-size: 72px;
  }

  .greeting-container {
    min-height: 40px;
    font-size: 32px;
  }

  .greeting {
    padding: 5px;
  }

  .name {
    font-size: 32px;
    padding: 5px;
  }
}
