@font-face {
  font-family: "MuseoSansCyrl";
  src: url("MuseoSansCyrl-700.woff") format("woff");
  font-weight: 700;
  font-style: normal;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  width: 100vw;
  height: 100vh;
  font-family: "MuseoSansCyrl", Helvetica, Arial, sans-serif;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}
.timer-floating {
  width: 90%;
  height: 90%;
  position: fixed;
  background: #3b146a;
  border-radius: 2vw;
  padding: 1vw;
  box-shadow: 0 0 1vw rgba(255, 255, 255, 0.1);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  animation: fade-in 0.3s ease-out;
}
@keyframes fade-in {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.timer-close {
  position: absolute;
  top: 1vw;
  right: 1vw;
  background: transparent;
  border: none;
  font-size: 3vw;
  color: #ffffff;
  cursor: pointer;
}
.timer-title {
  width: 80%;
  margin: 1vw 0;
  font-size: 3vw;
}
.timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1vw;
}
.segment {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.digit {
  background: #ffffff6b;
  padding: 3vw;
  border-radius: 2vw;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 10vw;
}
.digit span {
  display: inline-block;
  width: 6vw;
}
.last-digit {
  display: inline-flex;
  gap: 0.1vw;
}
.last-digit-inner.animate {
  animation: slideUp 0.4s ease;
}
@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.label {
  opacity: 0.8;
  font-size: 2vw;
  margin: 0.5vw 0 1vw;
}
.anchor-button {
  background-color: #ff1a6c;
  color: #fff;
  padding: 2vw 4vw;
  border: none;
  border-radius: 2vw;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  font-size: 2vw;
  margin: 0 0 0.3vw;
}
@media (max-width: 800px) {
}
@media (max-width: 500px) {
  .timer-close {
    font-size: 6vw;
    right: 2vw;
  }
  .timer-title {
    font-size: 5vw;
  }
  .label {
    font-size: 3vw;
  }
  .anchor-button {
    padding: 3vw 5vw;
    font-size: 4vw;
  }
}
