@import url('https://fonts.googleapis.com/css2?family=Comfortaa&display=swap');

* {
  font-family: 'Comfortaa';
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

ul, li {
  list-style: none;
}

a {
  text-decoration: none;
}

body {
  height: 100%;
  font-size: 16px;
  color: #fff;
  text-align: center;
  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;
}

/* audioPlayer */
.player {
  position: relative;
  width: 200px;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 15px;
  overflow: hidden;
  z-index: 2;
}

.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.top-bar i {
  font-size: 20px;
  color: black;
}
.top-bar span {
  font-size: 12px;
  color: black;
}

.img-area {
  height: 100px;
  width: 100%;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.15);
}
.img-area img {
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.song-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 15px 0px;
  color: black;
  height: 50px;
}
.song-details .name {
  font-size: 16px;
  text-align: center;
}
.song-details .artist {
  opacity: 0.9;
  font-size: 14px;
}

.progress-area {
  height: 6px;
  width: 100%;
  background: #f0f0f0;
  border-radius: 50px;
  cursor: pointer;
  margin-bottom: 20px;
}
.progress-area .progress-bar {
  width: 0%;
  position: relative;
  height: inherit;
  border-radius: inherit;
  background: black;
}
.progress-area .timer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2px;
}

.material-icons {
  cursor: pointer;
}

.material-icons:hover {
  transform: scale(.8);
}

.progress-bar::before {
  content: "";
  position: absolute;
  height: 12px;
  width: 12px;
  background: black;
  border-radius: inherit;
  top: 50%;
  right: -5px;
  transform: translateY(-50%);
  background: inherit;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.progress-bar:hover::before {
  opacity: 1;
}

.timer span {
  font-size: 11px;
  color: black;
}

.controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.controls i {
  font-size: 20px;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  background: black;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition-duration: 1s;
}
.controls i:hover {
  transform: scale(0.8);
  transition-duration: 1s;
}
.controls i:nth-child(2),
.controls i:nth-child(4) {
  font-size: 20px;
}
.controls #prev {
  margin-right: -13px;
}
.controls #next {
  margin-left: -13px;
}
.controls .play-pause {
  height: 34px;
  width: 34px;
  background: black;
  box-shadow: 0px 0px 5px black;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition-duration: 1s;
}
.controls .play-pause:hover {
  transform: scale(0.9);
  transition-duration: 1s;
}

.play-pause::before {
  content: "";
  position: absolute;
  height: 23px;
  width: 23px;
  border-radius: inherit;
  background: white;
}
.play-pause i {
  height: 43px;
  width: 43px;
  line-height: 43px;
  text-align: center;
  border-radius: inherit;
  background-clip: text;
  background: inherit;
  position: relative;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.music-list {
  position: absolute;
  left: 0;
  bottom: -100%;
  opacity: 0;
  pointer-events: none;
  width: 100%;
  padding: 5px 10px;
  border-radius: 15px;
  background: white;
  box-shadow: 0px -5px 10px rgba(0, 0, 0, 0.1);
  transition: all 1s ease-out;
}
.music-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.music-list-title {
  font-weight: bold;
}
.player-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.player-hide {
  transition: all 1s ease-in-out;
}
.music-list ul {
  margin: 10px 0;
  padding-left: 0px;
  overflow: auto;
  max-height: 100px;
}
.music-list ul li {
  cursor: pointer;
  list-style: none;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid #e5e5e5;
  color: black;
}
.music-list ul li:last-child {
  border-bottom: 0px;
}
.music-list ul li .row p {
  opacity: 0.8;
}
.music-list ul::-webkit-scrollbar {
  width: 0px;
}
span.audio-duration {
  font-size: 8px;
}

li .row {
  max-width: 140px;
}

li .row span {
  text-align: left;
  margin-right: 5px;
}
li .row p {
  text-align: left;
}

.music-list.show {
  bottom: 0;
  opacity: 1;
  pointer-events: auto;
}

.header .row {
  display: flex;
  align-items: center;
  font-size: 8px;
  color: black;
}
.header #close {
  font-size: 20px;
  color: black;
}

.header .row i {
  cursor: default;
}
.header .row span {
  font-size: 8px;
  margin-left: 5px;
}

.row p {
  margin: 0px;
}

.audio-duration {
  font-size: 10px;
}

ul li.playing {
  color: black;
  font-weight: bold;
  pointer-events: none;
}
.icon-playlist {
  pointer-events: all;
}

.icon-playlist {
  width: 5px;
  height: 5px;
  border-top: 1px solid black;
  border-right: 1px solid black;
  border-left: 0px;
  border-bottom: 0px;
  background-color: transparent;
  transform: rotate(45deg);
  margin-right: 5px;
  cursor: pointer;
  transition: all 1s ease-in-out;
}

.icon-playlist.pause {
  border-bottom: 1px solid black;
  border-right: 0px;
  transform: rotate(90deg);
  transition: all 1s ease-in-out;
}

.turn {
  transform: rotate(180deg);
  transition-duration: 1s;
}

.changer-themes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 10px 10px;
  width: 100%;
  height: 90px;
  background-color: white;
  border-radius: 15px;
  position: absolute;
  top: -180px;
  right: 0px;
  opacity: .8;
  transition: all 1s ease-in-out;
}

.changer-themes i {
  position: absolute;
  font-size: 14px;
  bottom: 0px;
  right: 5px;
  color: black;
  opacity: .6;
}

.down {
  top: 0px;
  transition: all 1s ease-in-out;
}

.themes-item {
  flex: 1 0 25%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 8px;
  height: 20px;
  background: black;
  border-radius: 10px;
  margin-bottom: 5px;
  cursor: pointer;
  opacity: .8;
}

.themes-item:hover {
  transform: scale(1.1);
  opacity: 1;
}

.themes-item:not(:nth-child(3n+3)) {
  margin-right: 5px;
}

/* themes */
.original-theme {
  position: absolute;
  color: black;
  bottom: 5px;
  font-size: 10px;
  cursor: pointer;
}

.orange {
  background: orange;
  color: white;
  opacity: .7;
}

.green {
  background: green;
  color: white;
  opacity: .7;
}

.red {
  background: red;
  color: white;
  opacity: .7;
}

.blue {
  background: blue;
  color: white;
  opacity: .7;
}

.purple {
  background: purple;
  color: white;
  opacity: .7;
}

.yellow {
  background: yellow;
  color: white;
  opacity: .7;
}

/* volume */
.arrow-open-volume {
  position: absolute;
  width: 10px;
  height: 10px;
  border-top: 1px solid black;
  border-right: 1px solid black;
  transform: rotate(45deg);
  top: 90px;
  right: 5px;
  cursor: pointer;
  transition: all 1s ease-in-out;
}

.arrow-open-volume.rotate {
  transform: rotate(225deg);
  transition: all 1s ease-in-out;
}

.volume-container {
  position: absolute;
  top: 110px;
  left: 165px;
  opacity: 0;
  transition: all 1s ease-in-out;
}

.volume-container.show {
  opacity: .6;
  left: 190px;
  transition: all 1s ease-in-out;
}

.volume {
  position: absolute;
  transform: rotate(270deg);
  width: 90px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.volume::-webkit-slider-runnable-track {
  height: 8px;
  background-color: rgba(0, 0, 0, .1)
}

.volume::-webkit-slider-thumb {
  background: black;
  border-radius: 0px;
  cursor: pointer;
  width: 12px;
  height: 12px;
  -webkit-appearance: none;
  margin-top: -1.8px;
}

/* settings*/
.settings {
  position: relative;
  left: -110px;
}

.settings-hide {
  position: absolute;
  top: -20px;
  width: 200px;
  height: 10px;
  background-color: rgba(255, 255, 255, 0.71);
  border-bottom-left-radius: 50px;
  border-bottom-right-radius: 50px;
  cursor: pointer;
  transition: all .5s ease-in;
  z-index: 5;
}

.settings-hide img {
  margin-bottom: 5px;
  transition: all .5s linear;
}

.reflect {
  transform: scale(1, -1);
  transition: all .5s linear;
}

.settings-hide:hover {
  transform: scale(1.1);
  transition: all .5s ease-in;
}

.settings-container {
  position: absolute;
  width: 720px;
  top: -320px;
  left: -260px;
  padding: 15px;
  font-size: 12px;
  color: black;
  background-color: rgba(255, 255, 255, 0.541);
  border-radius: 30px;
  display: flex;
  justify-content: space-between;
  text-align: left;
  white-space: nowrap;
  z-index: 2;
  transition: all 1s ease-in-out;
}

.settings-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.settings-container.show {
  top: -20px;
  transform: scale(1);
  transition: all 1s ease-in-out;
}

.settings-language,
.settings-background-sourse,
.settings-music-sourse,
.settings-show-hide-blocks,
.settings-links {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  font-size: 14px;
  padding: 10px 10px 5px 10px;
}

.settings-language::after,
.settings-background-sourse::after,
.settings-music-sourse::after,
.settings-show-hide-blocks::after,
.settings-links::after {
  position: absolute;
  content: '';
  width: 80%;
  height: .1px;
  bottom: 5px;
  background-color: black;
}

.language-value {
  display: flex;
  flex-direction: column;
}

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

.background-item:not(:last-child) {
  margin-bottom: 5px;
}

.music-value {
  display: flex;
  align-items: center;
  justify-content: center;
}

.show-hide-blocks-value {
  margin: 0 auto;
  width: 60%;
}

.settings-block {
  display: flex;
  justify-content: center;
  align-items: center;
}

.settings-block:not(:last-child) {
  margin-bottom: 5px;
}

.settings-links {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.links-item:not(:last-child) {
  margin-bottom: 10px;
}

.input-tag {
  width: 100px;
  height: 40px;
  margin-top: 10px;
  font-size: 10px;
  opacity: .4;
  padding: 5px;
  background-color: transparent;
}

.opacity {
  transform: scale(0);
  transition: all 1s linear;
}

.player,
.time,
.date,
.greeting-container,
.weather,
.quoter-container,
footer {
  transition: all 1s linear;
}

/* translator */

.translator-ru,
.translator-en,
.background-item,
.music-value a,
.settings-block,
.links-item {
  font-size: 12px;
  padding: 5px;
  color: black;
  background-color: transparent;
  border: 0px;
  border-radius: 5px;
  cursor: pointer;
  transition-duration: 1s;
}
.translator-ru {
  margin-bottom: 5px;
}

.translator-ru:hover,
.translator-en:hover,
.background-item:hover,
.music-value a:hover,
.settings-block:hover,
.links-item:hover {
  color: rgba(255, 255, 255, 0.7);
  background-color: rgba(0, 0, 0, .2);
  transition-duration: 1s;
}

.isEnabled {
  background-color: rgba(0, 0, 0, .2);
  color: rgba(255, 255, 255, .7);
}

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

.weather-info {
  padding: 5px 5px 5px 30px;
}

.weather-info:not(:last-child) {
  margin: 5px 0px 5px 0px;
}

.temperature,
.wind,
.humidity {
  position: relative;
}

.temperatureIcon {
  position: absolute;
  width: 30px;
  height: 30px;
  top: 95px;
  left: -10px;
  opacity: 0;
  transition: all 3s linear;
}

.windIcon {
  position: absolute;
  top: 140px;
  left: -15px;
  opacity: 0;
  transition: all 3s linear;
}

.humidityIcon {
  position: absolute;
  top: 175px;
  left: -10px;
  opacity: 0;
  transition: all 3s linear;
}

.showIcon {
  opacity: 1;
  transition: all 3s linear;
}

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

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

.city::placeholder {  
  font-size: 20px;
  color: #fff;
  opacity: .6;
}

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

.slider-icon {
  position: absolute;
  top: 50%;
  margin-top: -16px;
  cursor: pointer;
  opacity: .2;
  transition: all 1s ease-in-out
}

.slider-icon:hover {
  opacity: 1;
  transition: all 1s ease-in-out
}

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

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

/* time */
.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 */
.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;
}

.greeting-container .name {
  flex: 1;
  max-width: 50%;
  padding: 10px;
  font-size: 40px;
  text-align: left;
  color: #fff;
  background-color: transparent;
  border: 0;
  outline: 0;
}

.name::placeholder {
  color: #fff;
  opacity: .6;
}

/* footer */
.footer {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  height: 30vh;
  min-height: 160px;  
  padding: 20px;
  overflow: hidden;
}

/* quotes */
.change-quote {
  margin-bottom: 30px;
  background-image: url("../assets/svg/arrowCircleAround.svg");
  transform: rotate(0deg);
  transition: all 1s ease-in-out;
  cursor: pointer;
}

.quote {
  min-height: 32px;
}

.author {
  min-height: 20px;
}

.around {
  transform: rotate(720deg);
  transition: all 1s ease-in-out;
}

/* todolist */
.todolist-show-hide {
  position: absolute;
  bottom: 0px;
  right: 125px;
  width: 200px;
  height: 10px;
  background-color: rgba(255, 255, 255, 0.71);
  border-top-left-radius: 50px;
  border-top-right-radius: 50px;
  cursor: pointer;
  transition: all .5s ease-in;
  z-index: 5;
}

.todolist-show-hide:hover {
  transform: scale(1.1);
  transition: all .5s ease-in;
}

.todolist-arrow {
  margin-bottom: 5px;
  transition: all .5s linear;
  transition: all .5s linear;
  transform: scale(1, -1);
}

.reflectArrow {
  transform: scale(1);
}

.todolist-container {
  position: absolute;
  padding: 20px 10px;
  bottom: -320px;
  right: 80px;
  width: 300px;
  height: 240px;
  background-color: rgba(255, 255, 255, 0.4);
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 1s linear;
}

.showTodolist {
  bottom: 0px;
  transition: all 1s linear;
}

.todolist-input-container {
  display: flex;
  align-items: center;
}

.todolist {
  padding: 10px;
  width: 100%;
  height: 80%;
  border: 1px solid black;
  border-radius: 15px;
  background-color: rgba(255, 255, 255, 0.4);
  overflow: auto;
}

.todolist::-webkit-scrollbar {
  width: 0px;
}

.todolist-input {
  opacity: .5;
  padding: 5px;
  width: 60%;
  border-radius: 5px;
  margin-right: 10px;
}

.plusIcon {
  cursor: pointer;
  opacity: .6;
  transform: rotate(-90deg);
  transition: all .5s linear;
}

.plusIcon:hover {
  transform: rotate(90deg);
  transition: all .5s linear;
}

.todolist-list {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.todolist-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: black;
  font-size: 12px;
  padding: 5px;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  text-align: left;
  margin-bottom: 10px;
  overflow: auto;
}

.todolist-item::-webkit-scrollbar {
  width: 0px;
}

.smallcross {
  cursor: pointer;
  transition: all 5s linear;
}

.smallcross:hover {
  transform: rotate(720deg);
  transition: all 5s linear;
}

/* media */
@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;
  }
}