* {
  box-sizing: border-box;
}

body {
  background-image: url("../back-groud.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  height: 100vh;
  color: #fff;
  font-family: "Lato", sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0;
  overflow: hidden;
}
a {
  text-decoration: none;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
  -webkit-user-select: none;
  -moz-user-focus: none;
  -moz-user-select: none;
}
.words {
  font-size: 150px;
  font-family: "Regular", cursive;
  width: auto;
  text-align: center;
}
.days {
  font-size: 216px;
  font-family: "Rye", cursive;
  width: auto;
  text-align: center;
}
.days-label {
  font-size: 54px;
}
.seconds {
  margin-top: 32px;
  font-size: 32px;
  font-family: "Monda_bo", Georgia, sans-serif;
  width: auto;
  text-align: center;
}
.seconds-label {
  margin-top: 32px;
  font-size: 32px;
  font-family: "Monda_no", Georgia, sans-serif;
  width: auto;
  text-align: center;
}
.container {
  color: deeppink;
  z-index: 1;
  display: flex !important;
  display: -webkit-flex;
  flex-direction: column;
  opacity: 0.9;
  background-position: center top;
  background-size: cover;
}
.container:after {
  background-image: url("../back-groud.webp");
  background-position: center top;
  background-size: cover;
  background-attachment: fixed;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  -webkit-filter: blur(20px);
  -moz-filter: blur(20px);
  -ms-filter: blur(20px);
  -o-filter: blur(20px);
  filter: blur(20px);
  z-index: -3;
  margin: -30px;
}
.year {
  font-size: 150px;
  z-index: -1;
  opacity: 0.06;
  position: absolute;
  bottom: 20px;
  top: 70%;
}
.footer {
  position: absolute;
  opacity: 0.3;
  bottom: 10px;
  right: 0px;
  left: 50%;
  transform: translateX(-50%);
}

.music-container {
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 20px 20px 0 rgba(252, 169, 169, 0.6);
  display: flex;
  padding: 20px 30px;
  position: fixed;
  left: 10px;
  bottom: 10px;
  z-index: 10;
  opacity: 0.8;
}

.img-container {
  position: relative;
  width: 110px;
}

.img-container::after {
  content: "";
  background-color: #fff;
  border-radius: 50%;
  position: absolute;
  bottom: 100%;
  left: 50%;
  width: 20px;
  height: 20px;
  transform: translate(-50%, 50%);
}

.img-container img {
  border-radius: 50%;
  object-fit: cover;
  height: 110px;
  width: inherit;
  position: absolute;
  bottom: 0;
  left: 0;
  animation: rotate 3s linear infinite;

  animation-play-state: paused;
}

.music-container.play .img-container img {
  animation-play-state: running;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.action-btn {
  background-color: #fff;
  border: 0;
  color: #dfdbdf;
  font-size: 20px;
  cursor: pointer;
  padding: 10px;
  margin: 0 20px;
}

.action-btn.action-btn-big {
  color: #cdc2d0;
  font-size: 30px;
}

.action-btn:focus {
  outline: 0;
}

.music-info {
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 15px 15px 0 0;
  position: absolute;
  top: 0;
  left: 20px;
  width: calc(100% - 40px);
  padding: 10px 10px 10px 150px;
  opacity: 0;
  transform: translateY(0%);
  transition: transform 0.3s ease-in, opacity 0.3s ease-in;
  z-index: 0;
}

.music-container.play .music-info {
  opacity: 1;
  transform: translateY(-100%);
}

.music-info h4 {
  margin: 0;
}

.progress-container {
  background: #fff;
  border-radius: 5px;
  cursor: pointer;
  margin: 10px 0;
  height: 4px;
  width: 100%;
}

.progress {
  background-color: #fe8daa;
  border-radius: 5px;
  height: 100%;
  width: 0%;
  transition: width 0.1s linear;
}

/* latin-ext */
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local("Lato Regular"), local("Lato-Regular"),
    url(/myfonts/S6uyw4BMUTPHjxAwXjeu.woff2) format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local("Lato Regular"), local("Lato-Regular"),
    url(/myfonts/S6uyw4BMUTPHjx4wXg.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Regular";
  font-style: normal;
  font-weight: 400;
  src: local("Rye Regular"), local("Rye-Regular"),
    url(/myfonts/text1.ttf) format("truetype");
}
@font-face {
  font-family: "Rye";
  font-style: normal;
  font-weight: 400;
  src: local("Rye Regular"), local("Rye-Regular"),
    url(/myfonts/Clockopia.ttf) format("truetype");
}
@font-face {
  font-family: "Monda_no";
  font-style: normal;
  font-weight: normal;
  src: local("Monda"), local("Monda-Regular"),
    url(/myfonts/Monda-Regular.ttf) format("truetype");
}
@font-face {
  font-family: "Monda_bo";
  font-style: normal;
  font-weight: bold;
  src: local("Monda Bold"), local("Monda-Bold"),
    url(/myfonts/Monda-Bold.ttf) format("truetype");
}
