@font-face {
  font-family: 'Arial-MT';
  src: url("../assets/fonts/Arial-MT.woff"); /* Путь к файлу со шрифтом */
 }

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  transition: all 1s;
}

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(119, 117, 117, 0.5);
  background-blend-mode: multiply;
  background-repeat: no-repeat;
  background-size: cover;
  transition: background-image 1s ease-in-out;
  overflow: hidden;
}

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

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

.play-list {
  text-align: left;
  z-index: 5;
}

.play-item {
  position: relative;
  padding: 5px;
  padding-left: 20px;
  list-style: none;
  opacity: .8;
  /* cursor: pointer; */
  transition: .3s;
} 

.playbuttonli {
  margin-left: 5px;
  width: 1.2em;
  height: 1.2em;
  background-color: #24809E;
  background-size: cover;
  background-image: url("../assets/svg/play.svg");
  background-repeat: no-repeat;
  background-color: transparent;
  border: 0;
  outline: 0;
  opacity: .8;
  cursor: pointer;
  transition: .3s;
}

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

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

.item-active {
  opacity: 1;
}

.item-active::before {
  color: #eecd2b;
}

.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");
}

.progress-container {
  height: 1rem;
  transition: 1s;
  transition: ease-in-out;
}


.progress {  
  border: solid 2px #24809E;
  border-radius: 2px;
  height: 8px;
  width: 95%;
  outline: none;
  background-color: linear-gradient(to right, #24809E 0%, #24809E 0%, #fff 0%, #fff 100%);
  transition: background 450ms ease-in;
  -webkit-appearance: none;
}

.volume {
  background-image: url(../assets/svg/Volume_btn.svg);  
}

.volumerange {
  border: solid 2px #24809E;
  border-radius: 2px;
  height: 8px;
  width: 60%;
  outline: none;
  background-color: linear-gradient(to right, #24809E 0%, #24809E 75%, #fff 75%, #fff 100%);
  transition: background 450ms ease-in;
  -webkit-appearance: none;
}

.progress::-webkit-slider-thumb {
     width: 0px;
     height: 0px;
     border-radius: 50%;
     -webkit-appearance: none;
     cursor: ew-resize;
     background-color: #24809E;
   }

.volumerange::-webkit-slider-thumb {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  -webkit-appearance: none;
  cursor: ew-resize;
  background-color:#24809E;
}


.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: 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;
  color: #44aadd;
}

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

.city::placeholder {  
  font-size: 0.5em;
  color: #fff;
  opacity: .6;
}

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

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

.slider-icon:hover {
  opacity: 1;
  filter: invert(41%) sepia(84%) saturate(1548%) hue-rotate(175deg) brightness(92%) contrast(85%);    
  transform: scale(1.5, 1.5);
}

.slider-icon:active {
  transform: scale(2.5, 2.5);
}

.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: 5em;
  letter-spacing: -4px;  
  opacity: 0.7;
}

.date {
  min-height: 28px;
  font-size: 1.7em;
  margin-bottom: 20px;
  opacity: 0.8;
  text-transform: capitalize;
}

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

.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~label {
  position: absolute;
  top: 10px;
}

.name::placeholder {
  color: #fff;
  opacity: .6;
}
/*---------------------------------------------------------------*/
.footer {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 35vh;
  min-height: 160px;  
  padding: 20px;
}

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

.quote {
  min-height: 32px;
  font: 1.5rem sans-serif;
  opacity: 0.7;
}

.author {
  min-height: 20px;
  font-size: 1.5rem;
  opacity: 0.7;
}

.settings-container {
  width: 100%;
  max-width: 300px;
  /* min-height: 255px; */
  overflow: hidden;
  transition: ease-in-out;
  transition: 1s;
  cursor: pointer;
} 

.toggle-input {
  display: none;
}

.menu-toggle{ 
  display: block;
  /* width: 200px; */
  height: 37px;
  left: 0px;  
  border: none;
  background-color: transparent;
  background: 32px 32px;
  /* background-image: url(../assets/data/settings.svg); */
 background-position: left;
  background-repeat: no-repeat;
  text-align: left;
  cursor: pointer;
}

.menu-toggle::before {
  position: absolute;
  width: 30px;
  height: 30px;
  left: 20px;
  content: url(../assets/data/settings.svg);
  
  /* background-color: transparent; */
  z-index: 5;
  opacity: 1;
}
.settings-togle { 
  width: 200px;
  margin-left: 50px;
  margin-bottom: 5px;
  color: #fff;
  opacity: 0.6;
  font-size: 1.6rem;
  text-align: left;
  cursor: pointer;
}

.settings {
  width: 100%;
  height: 200px;
  background-color: rgba(78, 77, 77, 0.514);
  border-radius: 8px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: left;
  z-index: 1;
}

.blocks-visibility-container {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr) ;
  justify-content: center;
  align-items: center;
}

.blocks-visibility-container input {
  display: none;  
}

.blocks-visibility-container label {
  cursor: pointer;
  z-index: 1;
}

.checked:before {
  font-size: 110%;
  content: "\2713";
  color: rgb(49, 235, 163);
  left: -20px;
  top: 2px;
  font-weight: 900;
}

.todo-container {
  width: 20%;
  height: 80%;
}
select {
  width: 33%;
  background-color: slategray;
  color: #fff;
  font: 1rem sans-serif;
}
.hidden {
  opacity: 0;
 
}
 .off {
    visibility: hidden;
 }

label {
  right: 0px;
  font-size: 1rem;
  color: #80cbe4;
}


.footer-rsusername {
  position: absolute;
  height: 14px;
  width: 100%;
  bottom: 5px;
  left: 10%;
  max-width: 1440px;  
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  font-size: 22px;
  line-height: 100%;
  letter-spacing: 2px;
  box-sizing: border-box;
  color: #fff;
  opacity: 0.8;
  list-style: none;
}

.footer-rsusername a {
  color: #fff;
}

/*------------------------------------------------------------------------------------------*/
@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;
  }
  .footer-rsusername  {
   font-size: 10px;
  }

}
@media (max-width: 500px) {
  .header {
    height: inherit;
    font-size: 10px;
    min-height: 150px;
  }
  body {
    min-width: 320px;
    min-height: 110vh;
  }
 .weather {
   width: 100px;
   min-height: 80 px;
   text-align: left;
 }

.city {
  width: 110px;
}

  .time {
    min-height: inherit;
    font-size: 35px;
  }
  .main {
    height: 15vh;
    min-height: 40px;
    margin: 0px;
  }

  .greeting-container {
    padding: 0 auto;
  }

  .play-list,
  .quotes-container,
  .todo-container {
    display: none;
  }

  .slider-icon {
    top: 30%;
  }

  .greeting {
    padding: 0px;
    font-size: 22px;
    margin: 0 auto;
  }

  .name {
    font-size: 22px;
    padding: 5px;
  }
  .settings-container {
    top: -20px;
    width: 80%;
    height: 80%;
    margin: 0 auto;
    z-index: 5;
  }
  .settings {
    font-size: 10px;
  }
  .settings label,
  .settings select {
    font-size: 10px;
  }
  .footer {
    height: inherit;
   
    min-height: 200px;
  }

  
  
  .footer-rsusername {
    width: 100%;
    margin: 0px;
    font-size: 10px;
    bottom: 10px;
    justify-content: space-around;
  }

  .footer-rsusername li:nth-child(2) {
    display: none;
  }
}