@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-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 {
  margin-top: 30px;
  max-width: 320px;
  opacity: 1;
  transition: all 0.8s ease;
}
.upplayer {
  display: flex;
  width: 200%;
  justify-content: space-between;
}
.player-time {
  display: flex;
}
.timeline {
  width: 200%;
  position: relative;
  background: white;
  height: 5px;
  border-radius: 5px;
  cursor: pointer;
}
.progress {
  background: orange;
  width: 0%;
  height: 100%;
  transition: 0.25s;
}
.player-controls {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 200%;
  margin-top: 10px;
  margin-bottom: 28px;
}

.volume-container {
  cursor: pointer;
  position: relative;
  z-index: 2;
  margin-left: 50px;
}
.volume-button {
  height: 26px;
  display: flex;
  align-items: center;
}
.icono-volume {
  width: 0;
  height: 0;
  border:7px solid;
  border-left: none;
  border-top-color:transparent;
  border-bottom-color: transparent;
  padding: 6px 3px;
  box-shadow: inset 4px 0;
}
.icono-volume::before {
  content: '';
  border: 2px solid;
  border-style: double;
  width: 15px;
  height: 15px;
  position: absolute;
  border-radius: 50%;
  border-top-color: transparent;
  border-bottom-color: transparent;
  border-left-color:transparent;
  border-width: 6px;
  left: -2px;
  top: 0;
}
.icono-volumeMute {
  width: 0;
  height: 0;
  border:7px solid;
  border-left: none;
  border-top-color:transparent;
  border-bottom-color: transparent;
  padding: 6px 3px;
  box-shadow: inset 4px 0;
}
.icono-volumeMute::before {
  content: '';
  position: absolute;
  width: 10px;
  height: 2px;
  box-shadow: inset 0 0 0 32px;
  top: 50%;
  left: 16px;
  transform: translateY(-50%) rotate(45deg);
}
.icono-volumeMute::after{
  content: '';
  position: absolute;
  width: 10px;
  height: 2px;
  box-shadow: inset 0 0 0 32px;
  top: 50%;
  left: 16px;
  transform: translateY(-50%) rotate(-45deg);
}
.volume-slider {
  position: absolute;
  left: 30px;
  top: 6px;
  z-index: -1;
  width: 0;
  height: 15px;
  background: white;
  box-shadow: 0 0 20px #000a;
  transition: .25s;
}
.volume-percentage {
  background: orange;
  height: 100%;
  width: 20%;
}
.volume-container:hover .volume-slider {
  width: 180px;
  right: 100px;
}

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

.play-item {
  position: relative;
  padding: 5px;
  padding-left: 20px;
  list-style: none;
  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: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 {
  margin: 0 10px;
  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: 180px;
  min-height: 180px;  
  text-align: left;
  opacity: 1;
  transition: all 0.8s 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: .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.8s ease;
}

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

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

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

.change-quote {
  margin-bottom: 30px;
  background-image: url("../assets/svg/reload.svg");  
}
.quote-container {
  opacity: 1;
  transition: all 0.8s ease;
}
.quote {
  min-height: 32px;
}

.author {
  min-height: 20px;
}

@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;
  }
}

.parametrs__open img {
  position: absolute;
  top: 565px;
  left: 40px;
  width: 48px;
  height: 48px;
}
.parametrs {
  position: fixed;
  width: 0%;
  height: 0%;
  background-color: rgba(0, 0, 0, 0.8);
  bottom: 110px;
  left: 60px;
  border-radius: 5%;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 55;
  transition: all 0.8s ease;
}
.parametrs:target {
  width: 30%;
  height: 50%;
}

.parametrs__close::after {
  content: '';
  width: 15px;
  height: 2px;
  position: absolute;
  top: 18px;
  right: 20px;
  background-color: white;
  transform: rotate(45deg);
  z-index: 5;
}
.parametrs__close::before {
  content: '';
  width: 15px;
  height: 2px;
  position: absolute;
  top: 18px;
  right: 20px;
  background-color: white;
  transform: rotate(-45deg);
  z-index: 5;
}

.parametrs__body {
  width: 100%;
  height: 100%;
}

.parametrs__content {
  display: flex;
  width: 100%;
  height: 100%;
}
.parametrs__content:after {
  content: '';
  display: block;
  position: absolute;
  left: 40%;
  height: 100%;
  width: 2px;
  background-color: #FFF;
  opacity: 0.2;
}
.parametr__column1 {
  width: 40%;
  height: 100%;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
}
.parametr__column2 {
  width: 60%;
  height: 100%;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
}
.title {
  font-size: 22px;
  letter-spacing: 2px;
  text-align: center;
  opacity: 0.6;
}
.column1-options {
  text-align: left;
  margin-left: 10px;
}
.column1-options li {
  cursor: pointer;
  margin-top: 20px;
}
.column2-title {
  opacity: 0;
}
.column2-title-opacity {
  opacity: 0.6;
  transition: all 0.5s ease;
}
.selectlanguage {
  opacity: 0;
  width: 40%;
  margin: 20px 0 0 10px;
}
.selectlanguage-opacity {
  opacity: 1;
  transition: all 0.5s ease;
}
.invisible {
  position: absolute;
  opacity: 0;
  transition: all 0.5s ease;
  display: none;
}
.visible {
  position: relative;
  opacity: 1;
  transition: all 0.5s ease;
  display: block;
}
.block-list {
  opacity: 0;
}
.block-list-opacity {
  opacity: 1;
  transition: all 0.5s ease;
}
.block-list label {
  display: flex;
  justify-content: space-around;
  margin-top: 20px;
}
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 20px;
  margin-left: 10px;
}
.switch input {
  display:none;
}
.slider-checkbox {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 270px;
  right: -270px;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
}
.slider-checkbox:before{
  content: '';
  position: absolute;
  height: 16px;
  width: 16px;
  left: 5px;
  bottom: 2px;
  background-color: white;
  transition: .4s;
}
input:checked + .slider-checkbox {
 background-color: #2196F3;
}
input:focus + .slider-checkbox {
  box-shadow: 0 0 1px #2196F3;
}
input:checked + .slider-checkbox::before {
  transform: translateX(26px);
}
.slider-checkbox.round {
  border-radius: 34px;
}
.slider-checkbox.round:before {
  border-radius: 50%;
}
.hide {
  opacity: 0;
  transition: all 0.8s ease;
}

