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

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

body {
  min-width: 320px;
  min-height: 100vh;
  font-family: 'Arial', sans-serif;
  font-size: 16px;
  color: #fff;
  text-align: center;
  background: center/cover;
  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;
  max-width: 900px;
  margin-bottom: 5px;
}

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

.play-item {
  position: relative;
  font-size: 13px;
  width: 100%;
  padding: 10px;
  padding-left: 40px;
  list-style: none;
  opacity: .8;
  cursor: pointer;
  transition: .3s;
}

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

.play-item::before {
  content: '';
  width: 25px;
  height: 25px;
  background-size: 25px 25px;
  background-image: url("../assets/svg/play.svg");
  cursor: pointer;
  background-color: transparent;
  text-align: center;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 4px;
}

.item-active {
  color: #C5B358;
}

.item-active::before {
  content: '';
  width: 25px;
  height: 25px;
  background-size: 25px 25px;
  background-image: url("../assets/svg/pause.svg");
  cursor: pointer;
  background-color: transparent;
  text-align: center;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 4px;
}


.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 {
  width: 40px;
  height: 40px;
  background-size: 40px 40px;
  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;
  transition: ease-in-out 0.5s;
}

.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: #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: ease-in-out 0.5s;
}

.date {
  min-height: 28px;
  font-size: 24px;
  margin-bottom: 20px;
  transition: ease-in-out 0.5s;
}

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

.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;
  justify-content: space-between;
}

.footer-quotes {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  width: 70%;
  height: 30vh;
  min-height: 160px;  
  padding: 20px;
}

.change-quote {
  margin-bottom: 30px;
  background-image: url("../assets/svg/reload.svg");  
  transition: ease-in-out 0.5s;
}

.quote {
  min-height: 32px;
  transition: ease-in-out 0.5s;
}

.author {
  min-height: 20px;
  transition: ease-in-out 0.5s;
}

/* AUDIOPLAYER */

.player {
  transition: ease-in-out 0.5s;
}

.buttons-player {
  display: flex;
  align-items: center;
}

.audioplayer-container { 
  position: relative;
  margin: 0;
  max-width: 700px;
}

.audioplayer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 40px;
} 

.audioplayer-info {
  display: flex;
  flex: 1 0 auto;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 40px;
}

/* Top Info */

.name-song {
  margin-left: 25%;
  margin-bottom: -5px;
  font-family: 'Arial', sans-serif;
  text-align: left; 
  font-size: 14px;
  color: #fff;
}

/* Progress */
.progress {
  position: relative;
  display: flex;
  height: 5px;
  margin: 0 10px 0 20px;
  width: 20vw;  
  background-color: #fff;
  transition: 0.3s;
}

.progress:hover {
  cursor: ew-resize;
}

.progress-field {
  height: 100%;
  width: 100%;
  background: #00BFFF;
  flex: 0;
  flex-basis: 0%;
}

/* Timer */
.duration-timer {
  display: flex;
  font-size: 16px;
  color: #fff;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.timer:after {
  content: ' / ';
  font-size: 16px;
  white-space: pre;
}

/* Volume */
.audio-volume {
  display: flex;
  align-items: center;
}

.muteButton {
  display: flex;
  align-items: center;
  margin: 12px;
}

.audio-volume input[type='range'] {
  width: 70px;
  height: 5px;
  background-color: #fff;
  margin-right: 10px;
  outline: none;  
  -webkit-appearance: none;
}


/* SETTINGS */

.settings-button {
  margin-left: 20px;
  margin-bottom: 20px;
  width: 40px;
  height: 40px;
  bottom: 0;
  background-image: url(../assets/svg/settings.svg);
  background-size: cover;
  background-color: transparent;
  cursor: pointer;
  border: none;
  align-self: flex-end;
}

.settings {
    width: 30%;
    height: auto;
    left: 20px;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    transition: all .5s ease 0s;
    transform: translateX(-120%);
    overflow-y: auto;
    position: fixed;
    bottom: 65px;
    z-index: 100;
    border: 3px solid white;
    border-radius: 10px;
    background: rgba(14, 134, 138, 0.8);
}

.choose-option {
  display: flex;
  justify-content: space-between;
  margin: 10px 20px;
}

.choose-option p{
  transition: ease-in-out 0.5s;
  text-align: left;
}

.choose-option input{
  width: 105px;
  border: 1px;
  transition: ease-in-out 0.5s;
  opacity: 0;
}

.show-option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-content: space-between;
  margin: 10px 20px;
}

.show-option p{
  margin-bottom: 10px;
}

select {
  cursor: pointer;
}

.show-inputs {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: flex-start;
  columns: 2;
  column-gap: 50px;
  max-height: 160px;
  cursor: pointer;
}

.show-inputs div{
  margin: 10px;
  display: flex;
  align-items: center;
}

.show-inputs label {
  margin-left: 10px;
  cursor: pointer;
}

.show-inputs label:hover {
  opacity: 0.8;
}

.button-todo {
  margin-right: 20px;
  margin-bottom: 20px;
  background-color: transparent;
  cursor: pointer;
  border: none;
  color: #fff;
  font-size: 16px;
  transition: ease-in-out 0.5s;
  align-self: flex-end;
}

.todo {
  position: fixed;
  right: 20px;
  bottom: 65px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 310px;
  padding: 5px 10px;
  height: auto;
  transition: all .5s ease 0s;
  overflow-x: hidden;
  transform: translateX(120%);
  overflow-y: auto;
  z-index: 100;
  border: 3px solid white;
  border-radius: 10px;
  background: rgba(14, 134, 138, 0.8);
}


.todo__input {
  position: relative;
  margin-bottom: 10px;
  margin-top: 5px;
}

.todo__text {
  outline: none;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  border-radius: 4px;
  border: 1px solid #fff;
  padding: 5px 35px 5px 5px;
  width: 150px;
  margin-right: 3px;
}

.todo__add {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  height: 20px;
  width: 20px;
  background-color: rgb(36, 169, 173);
  cursor: pointer;
  border-radius: 2px;
  transition: 0.15s ease-in;
  opacity: 0.8;
}

.todo__add:hover {
  opacity: 1;
}

.todo__text:disabled+.todo__add {
  cursor: default;
  opacity: 0.5;
}

.todo__add::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 5px;
  width: 10px;
  height: 10px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='%23fff' d='M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z' class=''%3E%3C/path%3E%3C/svg%3E");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.todo__options {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='12' fill='%23fff'%3E%3Cpath d='M0 0h24L12 12z'/%3E%3C/svg%3E") calc(100% - 10px) center no-repeat;
  background-color: rgb(36, 169, 173);
  background-size: 10px;
  border: none;
  border-radius: 4px;
  border: 1px white solid;
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  max-width: 100%;
  outline: none;
  padding: 2px 30px 6px 12px;
  width: 120px;
  margin-bottom: 10px;
  margin-top: 5px;
}

/* скрываем дефолтную стрелку в IE10 и IE11 */
.todo__options::-ms-expand {
  display: none;
}

.todo__options>option {
  color: #212529;
  background-color: #fff;
}

.todo__items {
  width: 100%;
  list-style-type: none;
  padding-left: 0;
  margin-left: auto;
  margin-right: auto;
}

.todo__item {
  border-radius: 3px;
  text-align: left;
  border: 1px solid white;
  background-color: rgb(127, 208, 211);
  padding: 5px;
  position: relative;
  overflow: hidden;
}

.todo__item:not(:last-child) {
  margin-bottom: 0.5rem;
}

.todo__action {
  position: absolute;
  top: -20px;
  right: 5px;
  height: 25px;
  width: 25px;
  border-radius: 4px;
  transform: translateY(-50%);
  background-color: #60d4e4;
  opacity: 0.5;
  transition: top 0.3s ease-in;
  cursor: pointer;
}

.todo__action::before {
  content: '';
  position: absolute;
  top: 6px;
  right: 6px;
  width: 13px;
  height: 13px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.todo__action_delete {
  right: 35px;
  background-color: #e57373;
}

.todo__action_complete {
  background-color: #66bb6a;
}

.todo__action_restore::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23fff' d='M212.333 224.333H12c-6.627 0-12-5.373-12-12V12C0 5.373 5.373 0 12 0h48c6.627 0 12 5.373 12 12v78.112C117.773 39.279 184.26 7.47 258.175 8.007c136.906.994 246.448 111.623 246.157 248.532C504.041 393.258 393.12 504 256.333 504c-64.089 0-122.496-24.313-166.51-64.215-5.099-4.622-5.334-12.554-.467-17.42l33.967-33.967c4.474-4.474 11.662-4.717 16.401-.525C170.76 415.336 211.58 432 256.333 432c97.268 0 176-78.716 176-176 0-97.267-78.716-176-176-176-58.496 0-110.28 28.476-142.274 72.333h98.274c6.627 0 12 5.373 12 12v48c0 6.627-5.373 12-12 12z'%3E%3C/path%3E%3C/svg%3E");
}

.todo__action_complete::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23fff' d='M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z'%3E%3C/path%3E%3C/svg%3E");
}

.todo__action_delete::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='%23fff' d='M32 464a48 48 0 0 0 48 48h288a48 48 0 0 0 48-48V128H32zm272-256a16 16 0 0 1 32 0v224a16 16 0 0 1-32 0zm-96 0a16 16 0 0 1 32 0v224a16 16 0 0 1-32 0zm-96 0a16 16 0 0 1 32 0v224a16 16 0 0 1-32 0zM432 32H312l-9.4-18.7A24 24 0 0 0 281.1 0H166.8a23.72 23.72 0 0 0-21.4 13.3L136 32H16A16 16 0 0 0 0 48v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16V48a16 16 0 0 0-16-16z'%3E%3C/path%3E%3C/svg%3E");
}

.todo__item:hover .todo__action {
  top: 50%;
}

.todo__item:hover .todo__action:hover {
  opacity: 1;
}

[data-todo-state="active"] .todo__action_restore,
[data-todo-state="completed"] .todo__action_complete,
[data-todo-state="deleted"] .todo__action_complete {
  display: none;
}

[data-todo-state="completed"] {
  text-decoration: line-through;
  color: #727171;
}

[data-todo-state="deleted"] .todo__task {
  color: #727171;
}

[data-todo-state="deleted"] .todo__action_restore {
  right: 5px;
}

[data-todo-option="active"] .todo__item:not([data-todo-state="active"]),
[data-todo-option="completed"] .todo__item:not([data-todo-state="completed"]),
[data-todo-option="deleted"] .todo__item:not([data-todo-state="deleted"]) {
  display: none;
}

.line {
  width: 95%;
  margin: 5px auto;
  height: 1px;
  background-color: rgb(208, 231, 229, 0.7);
}
.about-me {
  width: 95%;
  margin: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}


.about-me a {
  text-decoration: none;
  color:white;
  opacity: 0.8;
}

.about-me a:hover {
  color: white;
  opacity: 1;
}

.rsschool{
  width: 60px;
}

.github{
  width: 1em;
}

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

.greeting-container {
  font-size: 30px;
}

.name {
  font-size: 30px;
}

  .settings {
    font-size: 14px;
  }

  .show-inputs {
    column-gap: 10px;
    max-height: 160px;
  }

  .button-todo {
    font-size: 14px;
  }

  .todo {
    font-size: 14px;
    width: 30%;
  }

  .footer-quotes {
    padding-top: 0;
    height: 27vh;
  }
}


@media (max-width: 768px) {

  .main {
    height: 30vh;
    min-height: 240px;
    margin-bottom: 80px;
  }
  .time {
    min-height: 74px;
    font-size: 72px;    
  }

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

  .greeting {
    padding: 5px;
  }

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

  .footer-quotes {
    width: 70%;
    height: 30vh;
    min-height: 160px;  
    padding: 5px;
    font-size: 16px;
  }
  
  .change-quote {
    margin-bottom: 30px;
    width: 25px;
    height: 25px;
    background-size: cover;
  }
  
  .quote {
    min-height: 20px;
    font-size: 14px;
  }
  
  .author {
    min-height: 14px;
    font-size: 14px;
  }

  .settings-button {
    width: 25px;
    height: 25px;
  }

  .settings {
    font-size: 12px;
  }

.choose-option {
  margin: 5px 10px;
}

.show-inputs div {
  margin: 5px;
}
  .weather {
    font-size: 14px;
  }

  .show-inputs {
    column-gap: 10px;
    max-height: 300px;
  }
}

@media (max-width: 670px) {
  .player-controls {
    flex-direction: column;
    align-items: flex-start;
  }

  .city {
    width: 100px;
    font-size: 14px;
  }

  .weather {
    font-size: 12px;
    width: 20%;
  }
}

@media (max-width: 445px) {
.main {
  margin-bottom: 5px;
}

  .time {
    min-height: 50px;
    font-size: 45px;    
  }

  .footer-quotes {
    width: 40%;
  }

  .progress {
    margin-left: 0;
  }

  .date {
    font-size: 20px;    
  }

  .greeting-container {
    min-height: 30px;
    font-size: 14px;
  }

  .greeting {
    padding: 5px;
  }

  .play-item {
    font-size: 10px;
    width: 100%;
  }

  .name-song {
    margin-left: 10%;
    margin-bottom: -10px;
    margin-top: 5px;
    font-size: 12px;
  }

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

  .play-prev, .play-next, .change-quote {
    width: 20px;
    height: 20px;
    background-size: 20px 20px;
}

.play {
  width: 25px;
  height: 25px;
  background-size: 25px 25px;
}

.play-item {
  padding: 7px;
  padding-left: 20px;
}

.play-item::before {
  width: 15px;
  height: 15px;
  background-size: 15px 15px;
} 

.duration-timer {
  font-size: 12px;
  text-align: center;
}

.muteButton svg {
  width: 15px;
  height: 15px;
}

.audio-volume input[type='range'] {
  width: 35px;
  height: 5px;
}

.settings {
  width: 70%;
}
.show-inputs {
  max-height: 110px;
}

.quote {
  min-height: 14px;
  font-size: 12px;
}

.author {
  min-height: 14px;
  font-size: 12px;
}
}