@font-face {
  font-family: 'Arial-MT';
  src: url("../assets/fonts/Arial-MT.woff"); /* Путь к файлу со шрифтом */
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-width: 480px;
  min-height: 100vh;
  font-family: 'Arial', sans-serif;
  font-size: 16px;
  color: #fff;
  text-align: center;
  background: url("../assets/img/bg.jpg") center/cover, rgba(0, 0, 0, 0.5);
  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;
}

@media (max-width: 600px) {
  .main {
    margin-top: 40px;
  }
}

.player-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 120px;
  margin-bottom: 10px;
}
/*Soundbar*/

.player-soundbar {
  width: 300px;
}
@media (max-width: 540px) {
  .player-soundbar {
    width: 200px;
  }
}
.sound-name {
  margin-bottom: 10px;
}
.soundbar-controls {
  margin-bottom: 10px;
}
.sound-timeline {
  width: 100%;
  height: 8px;
  background: white;
  margin-bottom: 5px;
  border-radius: 5px;
  cursor: pointer;
  opacity: 0.6;
}
.sound-progress {
  background: rgb(2, 207, 2);
  width: 0%;
  height: 100%;
  border-radius: 5px;
  transition: 0.25s;
}
.sound-time-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
.sound-volume {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.volume-btn {
  width: 32px;
  height: 32px;
  background-size: 32px 32px;
  background-image: url("../assets/svg/volume-up-white.svg");
}
.volume-btn-mute {
  background-image: url("../assets/svg/volume-mute-white.svg");
}
.volume-control {
  width: 70px;
  height: 8px;
  margin-left: 5px;
  background: white;
  border-radius: 5px;
  cursor: pointer;
  opacity: 0.6;
}
.volume-active {
  background: rgb(2, 207, 2);
  width: 50%;
  height: 100%;
  border-radius: 5px;
  transition: 0.25s;
}

/*End soundbar*/

.play-list {
  text-align: left;
}

.play-item {
  position: relative;
  padding: 10px;
  padding-left: 30px;
  list-style: none;
  opacity: .8;
  cursor: pointer;
  transition: .3s;
}

.play-item:hover {
  opacity: 1;
}

.play-item::before {
  content: "";  
  position: absolute;
  left: 0;
  top: 8px;
  width: 20px;
  height: 20px;
  background-size: 20px 20px;
  background-image: url("../assets/img/play_pause.png");
}


.play-item.item-active {
  background-color: rgba(0, 128, 0, 0.413);
  border-radius: 25px;
  scale: 1.05;
}

.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: .8;
  cursor: pointer;
  transition: .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("../assets/svg/play.svg");
}

.pause {
  background-image: url("../assets/svg/pause.svg");
}

.play-prev {
  background-image: url("../assets/svg/play-prev.svg");
}

.play-next {
  background-image: url("../assets/svg/play-next.svg");
}

.weather {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  row-gap: 5px;
  width: 185px;
  min-height: 180px;  
  text-align: left;
}

.weather-error {
  margin-top: -10px;
}

.description-container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  column-gap: 12px;
}

.temperature {
  border: 1px solid;
  padding: 3px;
}

.weather-icon {
  font-size: 44px;
}

.city {
  width: 170px;
  height: 34px;
  padding: 5px;
  font-size: 20px;
  line-height: 24px;
  font-weight: 700;
  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: 30vh;
  min-height: 260px;  
  padding: 20px;
}

.slider-icon {
  position: absolute;
  top: 50%;
  margin-top: -16px;
  cursor: pointer;
}

.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 {
  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: #fff;
  background-color: transparent;
  border: 0;
  outline: 0;
}

.name::placeholder {
  color: #fff;
  opacity: .6;
}

.footer {
  position: relative;
  display: flex;
  /*flex-direction: column;*/
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  height: 40vh;
  min-height: 160px;
  padding: 20px;
}

.settings_icon {
  width: 30px;
  height: 30px;
  background: url(/assets/img/settings.png);
  background-size: contain;
}
.setting_container {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  left: 0;
  bottom: 0;
  width: 150px;
  padding: 10px;
  background: #7b7b7b;
  border-radius: 5px;
  z-index: 20;
  transition: all 0.5s ease;
}
.close_setting_button {
  position: absolute;
  right: 10px;
  top: 10px;
}
.setting_hide_blok {
  width: 80%;
}
.hide_list {

  list-style: none;
}
.hide_list > li{
  margin: 5px 0 5px 0;
}
.hide_items_time {
}
.hide_items_date {
}
.hide_items_greeting {
}
.hide_items_quote {
}
.hide_items_weather {
}
.hide_items_player {
}
.hide_items_todo {
}

.hide_items_text {
  text-decoration: line-through;
  color: rgb(46, 46, 46);
}

.footer_main_block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.language_container {
  display: flex;
  justify-content: space-between;
  width: 60px;
  margin: 0 0 10px 0;
  padding: 5px;
  background-color: #8f8f8fad;
  border-radius: 5px;
}
.ru_lang {
  cursor: pointer;
}
.en_lang {
  cursor: pointer;
}

.lang_opacity {
  opacity: 0.3;
}

.social-link {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-top: 20px;
}
.margin-social {
  margin: 0 20px;
}
.footer-rss-img {
  width: 75px;
  height: 30px;
}
.change-quote {
  margin-bottom: 10px;
  background-image: url("../assets/svg/reload.svg");
  transition: all 1s linear;
}

.change-quote:hover {
  transform: rotate(360deg);
}

.quote {
  min-height: 32px;
}

.author {
  min-height: 20px;
}

.todo_icon {
  width: 30px;
  height: 30px;
  background: url(/assets/img/todo.png);
  background-size: contain;
}

.todo_container {
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 10px 10px 10px 10px;
  background: rgba(210, 210, 210, 0.85);
  border: 2px solid #ffffff;
  border-radius: 10px;
  z-index: 10;
  transition: all 0.5s ease;
}

.hide_opacity {
  opacity: 0;
  pointer-events: none;
  transition: all 0.5s ease;
}

.todo_header {
  position: relative;
}

.close_todo_button {
  position: absolute;
  right: 5px;
  top: 5px;
}
.todo_title {
  margin: 0 0 10px 0;
  font-size: 22px;
}
.todo_input_container {
  display: flex;
}
.todo_input {
  width: 70%;
  padding: 10px;
  background: rgba(255, 255, 255, 0.4);
  font-size: 16px;
  border: none;
  border-radius: 5px 0 0 5px;

}
.todo_button {
  width: 30%;
  border: none;
  border-radius: 0 5px 5px 0;
  background: #a09f9f;
  transition: all 0.3s ease;
}
.todo_button:hover {
  background: #7b7b7b;
}
.todo_list {
  max-width: 300px;
  max-height: 250px;
  margin: 15px 0 0 0;
  overflow: auto;
}
.todo_item {
  position: relative;
  margin: 0 0 5px 0;
  padding: 10px 30px 10px 35px;
  font-size: 14px;
  list-style: none;
  border-radius: 10px;
  background: #dbdbdba2;
  text-align: left;
  word-wrap: break-word;
  cursor: pointer;
  transition: all 0.5s ease;
}
.todo_item:hover {
  background: #868686a2;
}
.todo_item.finished {
  background: #606060a2;
  color: black;
  text-decoration: line-through;
}

.todo_item::before {
  position: absolute;
  content: '';
  width: 11px;
  height: 11px;
  top: 11px;
  left: 13px;
  border: 2px solid rgba(51, 255, 0, 0.7);
  border-radius: 50%;
  transition: all 0.3s ease;
}
.todo_item.finished::before {
  position: absolute;
  content: '';
  width: 6px;
  height: 14px;
  top: 9px;
  left: 15px;
  border: solid rgba(51, 255, 0, 0.406);
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

.todo_colse_button {
  position: absolute;
  top: 0;
  right: 0;
  padding: 10px 10px 10px 10px;
  border-radius: inherit;
  transition: all 0.5s ease;
}

.todo_colse_button:hover {
  background: #cdcccc62;
}

.finished {
}

@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;
  }
}
