@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.1); */
  background-blend-mode: multiply;
  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{
  transition: all 0.5s ease, width 0s;
}

.player-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 550px;
  margin-bottom: 28px;
  padding: 5px 0px 5px 10px;
}

.play-list {
  text-align: left;
  padding-left: 10px;
  width: 200px;
}

.play-item {
  position: relative;
  padding: 5px;
  padding-left: 20px;
  list-style: none;
  opacity: .8;
  width: 170px;
  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::before {
  color: #C5B358;
}

.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: 215px;
  min-height: 180px;  
  text-align: left;
  padding-left: 10px;
  padding-right: 10px;
  transition: all 0.5s ease, width 0s;
}

.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: 100%;
  height: 34px;
  padding: 5px 5px 0px 0px;
  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: 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; 
  transition: all 0.5s ease, width 0s;
}


.date {
  min-height: 28px;
  font-size: 28px;
  margin-bottom: 20px;
  transition: all 0.5s ease, width 0s;
}

.greeting-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: stretch;
  align-items: center;
  min-height: 48px;
  width: 100vw;
  font-size: 40px;
  transition: all 0.5s ease, width 0s;
}

.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 {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  height: 30vh;
  min-height: 160px;  
  padding: 20px;
}

.quotes{
  transition: all 0.5s ease, width 0s;
}

.change-quote {
  margin-bottom: 15px;
  background-image: url("../assets/svg/reload.svg");  
}

.quote {
  font-size: 20px;
  font-weight: 600;
  font-style: italic;
}

.author {
  min-height: 20px;
  font-weight: 600;
  font-size: 18px;
  font-style: italic;
}

@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;
  }
}

/*************************/
.description-container span{
  width: 100%;
  line-height: 28px;
}

.progress-container{
  background: #cccccc;
  flex-wrap: wrap;
  align-content: center;
  width: 100%;
  height: 8px;
  cursor: pointer;
  display: flex;
  margin-bottom: 2px;
}

.sound-title{
  font-size: 20px;
  font-weight: 600;
  color: #ffbc00;
}

.sound-time{
  color: #cccccc;
  font-size: 14px;
}

.volume-level{
  background: #C5B358;
}

.progress-line{
  background: #dba201;
  height: 8px;
}

/* .no-active-sound::before{
  display: none;
} */

.play-item::before, .stop-sound::before{
  content: "";
  background: url(../assets/svg/play.svg) no-repeat center/contain;
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px;
  height: 16px;
  cursor: pointer;
  margin-top: 2px;
  transition: .3s;
}

.active-sound::before {
  content: "";
  background: url(../assets/svg/pause.svg) no-repeat center/contain;
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.stop-sound::before{
  content: "";
  background: url(../assets/svg/play.svg) no-repeat center/contain;
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

/* .active-sound::before{
  content: "";
  background: url(../assets/svg/play.svg) no-repeat center/contain;
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px;
  height: 16px;
  cursor: pointer;
} */

.active-sound{
  color: #ffbc00;
}

.player-plus{
  width: 250px;
}

.volume{
  background-image: url(../assets/svg/volume.svg);
  width: 40px;
  height: 40px;
  background-size: 40px;
  cursor: pointer;
  transition: .3s;
}



.volume-main{
  width: 150px;
  margin-top: 3px;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
}

.volume-container{
  width: 0px;
  background: #cccccc;
  flex-wrap: wrap;
  align-content: center;
  height: 8px;
  display: flex;
  margin-bottom: 2px;
  transition: 0.4s ease;
  margin-top: 15px;
/*   position: absolute;
  left: 470px; */
  cursor: pointer;
}

.volume-line{
  background: #e90000;
  height: 8px;
}

.volume-quietly{
  background-image: url(../assets/svg/volume-quietly.svg);
  width: 40px;
  height: 40px;
  background-size: 40px;
  cursor: pointer;
  transition: .3s;
}

.volume-mute{
  background-image: url(../assets/svg/volume-mute.svg);
  width: 40px;
  height: 40px;
  background-size: 40px;
  cursor: pointer;
  transition: .3s;
}

.settings-btn{
  background-image: url(../assets/svg/settings.svg);
  position: absolute;
  left: 30px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  opacity: 0.8;
  transition: transform 0.5s linear 0s;
}

.settings-box{
  padding: 20px;
  position: absolute;
  left: -300px;
  bottom: 80px;
  box-sizing: border-box;
  flex-direction: column;
  gap: 15px;
  min-width: 230px;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 10px;
  color: #fff;
  transition: all 0.4s ease;
  display: flex;
}

.active{
  left: 20px;
  transition: all 0.4s ease;
}

.open{
  transform: rotate(30deg);
}

.player-controls, .play-list, .weather{
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 10px;
}

/*Настройки*/
.setting-title{
  font-size: 20px;
  color: #cccccc;
  text-align: left;
  font-weight: 700;
}

.setting-item{
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
}

.setting-item span{
  color: #cccccc;
}

.off{
  opacity: 0;
}

/*todolist*/
.todo-btn{
  background-image: url(../assets/svg/todolist.svg);
  position: absolute;
  right: 30px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  transition: all 0.5s ease, width 0s
}

.todo-box{
  padding: 20px;
  position: absolute;
  right: -450px;
  bottom: 80px;
  box-sizing: border-box;
  flex-direction: column;
  gap: 15px;
  min-width: 220px;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 10px;
  color: #fff;
  transition: all 0.4s ease;
  display: flex;
  width: 400px;
}

.todo-active{
  right: 20px;
}

.todo-input-btn{
  display: flex;
  justify-content: space-between;
}

.todo-input{
  width: 250px;
  padding-left: 5px;
}

.messege{
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
  border-bottom: 1px solid;
  padding-bottom: 5px;
}

.todo-label{
  position: absolute;
  margin-left: 20px;
}

.todo-title {
  font-size: 20px;
  color: #FFFFFF;
  text-align: center;
  font-weight: 700;
}

.todo-add{
  background: #CCC;
  border-radius: 5px;
  padding: 5px;
  color: #000;
  cursor: pointer;
  min-width: 70px;
}

.todo-add:hover {
  background: #eaeaea;
}

.delete-messege{
  background-image: url(../assets/svg/todo-delete.svg);
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.todo-input{
  border-radius: 5px;
  border: 1px solid #ccc;
}

/*чекбокс*/

/* .setting-cover {
  display: table-cell;
  position: relative;
  width: 200px;
  height: 140px;
  box-sizing: border-box;
} */

.knobs,
.layer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.setting-button {
  position: relative;
  width: 74px;
  height: 36px;
  overflow: hidden;
  position: absolute;
  right: 30px;
}

.setting-button.radius,
.setting-button.radius .layer {
  border-radius: 100px;
  height: 28px;
  width: 68px;
}

.setting-button.b2 {
  border-radius: 2px;
}

.checkbox {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 3;
}

.knobs {
  z-index: 2;
}

.layer {
  width: 100%;
  background-color: #ebf7fc;
  transition: 0.3s ease all;
  z-index: 1;
}

/* Button 1 */
.button-1 .knobs:before {
  content: "EN";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 10px;
  color: #fff;
  font-size: 9px;
  font-weight: bold;
  text-align: center;
  line-height: 1.5;
  padding: 7px 2px;
  background-color: #03a9f4;
  border-radius: 50%;
  transition: 0.3s cubic-bezier(0.18, 0.89, 0.35, 1.15) all;
}

.button-1 .checkbox:checked + .knobs:before {
  content: "RUS";
  left: 42px;
  background-color: #03a9f4;
}

.button-1 .checkbox:checked ~ .layer {
  background-color: #d9f2fc;
}

.button-1 .knobs,
.button-1 .knobs:before,
.button-1 .layer {
  transition: 0.3s ease all;
}

/* Button 2 */

.button-2 .knobs:before {
  content: "ON";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 10px;
  color: #fff;
  font-size: 9px;
  font-weight: bold;
  text-align: center;
  line-height: 1.5;
  padding: 7px 2px;
  background-color:#00a92e;
  border-radius: 50%;
  transition: 0.3s cubic-bezier(0.18, 0.89, 0.35, 1.15) all;
}

.button-2 .checkbox:checked + .knobs:before {
  content: "OFF";
  left: 42px;
  background-color: #f44336;
}

.button-2 .checkbox:checked ~ .layer {
  background-color: #fcebeb;
}

.button-2 .knobs,
.button-2 .knobs:before,
.button-2 .layer {
  transition: 0.3s ease all;
}
