@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: url('../assets/img/bg.jpg') center/cover, rgba(0, 0, 0, 0.5);
  background-blend-mode: multiply;
  transition: background-image 1s ease-in-out;
  background-repeat: no-repeat;
  background-size :cover;
}

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

.player {
  display: flex;
  flex-direction: column;
  align-items: center;
  visibility: visible;
  opacity: 1;

  transition: all 0.5s ease;
}

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

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

.play-item,
.song-name,
.progress-time {
  position: relative;
  padding: 5px;
  padding-left: 20px;
  list-style: none;
  opacity: 0.8;
  cursor: pointer;
  transition: 0.3s;
}

.song-name {
  height: 28px;
}

.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: 0.8;
  cursor: pointer;
  transition: 0.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');
}

.progress-time {
  /* position: relative; */
  cursor: unset;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.progress-container {
  display: flex;
  position: relative;
  margin-bottom: 10px;
  opacity: 0.7;
  background-color: rgba(220, 242, 245, 0.774);
  border-radius: 5px;
  width: 90%;
  height: 10px;
  cursor: pointer;
}

.progress {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 5px;
  height: 100%;
}

.settings-block {
  z-index: 4;
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}
.settings-block:last-child {
  margin: 0;
}

.select,
.tags-choice {
  width: 45%;
  background-color: #5894c5;
  border: none;
  border-radius: 15px;
}

.volume {
  cursor: pointer;
  border-radius: 25px;
  text-decoration: none;
  outline: none;
  background-image: url('../assets/svg/volume.svg');
  width: 30px;
  height: 30px;
}

.volume-mute {
  background-image: url('../assets/svg/volumemute.svg');
}

.volume-progress-container {
  display: flex;
  position: absolute;
  top: 34%;
  left: 68%;
  margin-bottom: 10px;
  background-color: rgba(220, 242, 245, 0.774);
  border-radius: 5px;
  width: 0;
  height: 10px;
  cursor: pointer;
  z-index: 5;
  transition: .5s ease;
}

.volume-progress-container.active {
  width: 30%;
 
}

.volume-progress {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 5px;
  height: 100%;
  width: 50%;
}

.checkbox-blocks {
  width: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* align-items: space-between */
}

.checkbox-block {
  display: flex;
  justify-content: space-between;
}

.checkbox-label {
  display: flex;
  justify-content: space-between;
}

.tags-choice {
  padding: 5px;
}

.settings-button {
  cursor: pointer;
  border: none;
  width: 50px;
  height: 50px;
  text-decoration: none;
  outline: none;
  background-color: transparent;
  background-image: url('../assets/svg/setting.svg');
  background-repeat: no-repeat;
  transition: all 0.3s ease;
}

.settings-button.active {
  transform: rotate(0.5turn);
}

.setting-container {
  padding: 10px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  width: 400px;
  visibility: hidden;
  position: absolute;
  top: -100%;
  left: 35%;
  background-color: rgba(0, 0, 0, 0.5);

  transition: all 0.3s ease;
}

.setting-container.active {
  visibility: visible;
  top: 9%;
}

.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;
  visibility: visible;
  opacity: 1;
  transition: all 0.5s ease;
}

.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: 0.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;
  opacity: 1;
  transition: all 0.5s ease;
}

.date {
  min-height: 28px;
  font-size: 24px;
  margin-bottom: 20px;
  visibility: visible;
  opacity: 1;
  transition: all 0.5s ease;
}

.greeting-container {
  display: flex;
  /* flex-direction: column; */
  flex-wrap: wrap;
  justify-content: stretch;
  /* align-items: center; */
  min-height: 48px;
  width: 100vw;
  font-size: 40px;
  opacity: 1;
  visibility: visible;
  transition: 0.5s ease;
}

.greeting {
  flex: 1;
  padding: 10px;
  text-align: right;
}

.name {
  text-align: center;
  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: 0.6;
}

.footer {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  height: 30vh;
  min-height: 160px;
  padding: 20px;
  visibility: visible;
  opacity: 1;
  transition: all 0.5s ease;
}

.change-quote {
  margin-bottom: 30px;
  background-image: url('../assets/svg/reload.svg');
}

.quote {
  min-height: 32px;
}

.author {
  min-height: 20px;
}

.visible {
  visibility: hidden;
  opacity: 0;
}

.list {
  justify-content: space-between;
  display: flex;
  align-items: center;
  list-style: none;
}

.github, .year {
  margin-right: 15px;
}

.rs { 
  background-image: url('../assets/svg/rs_school_js.svg');
  width: 50px;
  height: 20px;
  background-repeat: no-repeat;
  position: relative;
}

.rs a {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

@media (max-width: 768px) {
  .time {
    min-height: 70px;
    font-size: 62px;
  }

  .weather {
    width: 110px;
  }

  .greeting-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 40px;
    font-size: 32px;
    opacity: 1;
    visibility: visible;
    transition: all 0.5s ease;
  }

  .setting-container {
    width: 320px;
    left: 0;
    z-index: 2;
    background: rgba(0,0,0,0.8);
  }

  .visible {
    visibility: hidden;
    opacity: 0;
}

  .greeting {
    padding: 5px;
  }

  .name {
    text-align: center;
    font-size: 32px;
    padding: 5px;
  }
}
