body {
  position: relative;
  margin: 0;
  letter-spacing: 0.07em;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

p {
  margin: 0;
}

.time {
  position: absolute;
  z-index: 2;
  top: 40px;
  right: 40px;
  font-size: 12px;
  color: #fff;
  opacity: 0.9;
}

.alerts {
  position: absolute;
  z-index: 3;
  bottom: 0;
  left: 0;
  font-size: 11px;
}

.alert {
  position: relative;
  margin-bottom: 5px;
  width: 200px;
  padding: 10px;
}

.alert__time {
  font-weight: bold;
}

.alert__btn {
  position: absolute;
  font-size: 10px;
  top: 5px;
  right: 5px;
  width: 15px;
  height: 15px;
}

.alert__btn:before {
  content: '';
  position: absolute;
  top: 5px;
  right: 5px;
  width: 0;
  height: 10px;
  border-right: 1px solid #fff;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}

.alert__btn:after {
  content: '';
  position: absolute;
  top: 5px;
  right: 5px;
  width: 0;
  height: 10px;
  border-right: 1px solid #fff;
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
}

.alert__before {
  display: inline-block;
  padding: 0 10px;
  color: green;
  background-color: #fff;
}

.alert__after {
  display: inline-block;
  padding: 0 10px;
  color: green;
  background-color: #fff;
}

.alert.up {
  background-color: rgba(255, 0, 0, 0.9);
}

.alert.down {
  background-color: rgba(0, 255, 0, 0.9);
}

.swiper {
  position: relative;
  height: 100vh;
}

.swiper-thumb {
  display: none;
  position: absolute;
  bottom: 20px;
  z-index: 2000;
}

.swiper-thumb .swiper-slide img {
  aspect-ratio: 3 / 2;
}

.cur {
  font-family: "Anton",sans-serif;
  letter-spacing: 0.3em;
  position: relative;
  width: 100%;
  height: 100%;
  padding: 160px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.cur__flag {
  position: absolute;
  z-index: 1;
  top: 40px;
  left: 40px;
  background-color: #ccc;
  width: 9%;
  aspect-ratio: 3 / 2;
}

.cur__flag img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.cur__rates {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 50%;
  margin: 0 auto;
}

.cur__yesterday {
  text-align: center;
  color: #fff;
  font-size: 20px;
}

.cur__chart {
  width: 500px;
  height: 300px;
  margin: 40px auto;
  letter-spacing: 0;
  color: #000;
  background-color: #fff;
}

.cur--try {
  background-color: #E30B18;
}

.cur--usd {
  background-color: navy;
}

.rate__title {
  width: 100%;
  background-color: #fff;
  text-align: center;
  font-size: 60px;
}

.rate__rate {
  text-align: center;
  font-size: 200px;
  color: #fff;
}

.rate__rate small {
  font-size: 50%;
}

.rate--try .rate__title {
  color: #E30B18;
}

.rate--usd .rate__title {
  color: navy;
}

.autoplay-progress {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 10;
  width: 48px;
  height: 48px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.1em;
}

.autoplay-progress svg {
  --progress: 0;
  position: absolute;
  left: 0;
  top: 0px;
  z-index: 10;
  width: 100%;
  height: 100%;
  stroke-width: 1px;
  stroke: #fff;
  fill: none;
  stroke-dashoffset: calc(125.6px * (1 - var(--progress)));
  stroke-dasharray: 125.6;
  -webkit-transform: rotate(-90deg);
          transform: rotate(-90deg);
}

@media screen and (max-width: 1550px) {
  .cur {
    padding: 30px 20px;
  }
  .cur__rates {
    width: 70%;
  }
  .rate__title {
    font-size: 40px;
  }
  .rate__rate {
    font-size: 140px;
  }
}

@media screen and (max-width: 767px) {
  body {
    font-size: 70%;
  }
  .time {
    text-align: right;
    top: 20px;
    font-size: 10px;
  }
  .cur {
    width: 100%;
    padding: 60px 20px;
  }
  .cur__flag {
    position: static;
    width: 30%;
    padding-top: 0;
    margin: 0 auto 30px;
  }
  .cur__rates {
    display: block;
    width: 100%;
  }
  .cur__yesterday {
    font-size: 16px;
  }
  .cur__chart {
    width: 100%;
    height: 200px;
    margin: 40px auto;
  }
  .rate {
    padding: 0 20px;
  }
  .rate__title {
    font-size: 30px;
  }
  .rate__rate {
    font-size: 80px;
  }
  .rate__rate small {
    font-size: 50%;
  }
}
/*# sourceMappingURL=styles.css.map */