* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color: #000;
}

body {
  font-family: "Roboto", sans-serif;
  background-color: #f5f5f5;
  display: flex;
  justify-content: center;
  align-items: center;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
}

.app {
  background: url(./images/bg.webp) no-repeat center center;
  background-size: 100% 100%;
  background-position: center bottom;
  height: 100vh;
  max-width: 450px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.content {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  border-radius: 100px;
  gap: 0;
  padding: 0 2%;
}

.logo {
  width: 50%;
  margin: 5% 0;
}

.banner {
  margin-bottom: -10%;
}

.title {
  width: 90%;
}

.text {
  position: relative;
  display: flex;
  width: 100%;
}

.btn {
  width: 80%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn:last-child {
  margin-top: 5%;
}

@keyframes scaleAnimation {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.btn a img,
.btn1 a img,
.btn-km img {
  animation: scaleAnimation 1.5s infinite ease-in-out;
}

.slide {
  background: #00000075;
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 10px;
}

span {
  color: #fff;
}

.phone_number {
  color: #f6ff00;
}

.text-mb {
  display: none;
}

.content__main {
  width: 70%;
  position: relative;
}

.colon {
  font-size: 7rem;
  font-weight: bold;
  color: #fff;
  margin: 0;
}

.main__content {
  width: 100%;
}

.qt {
  width: 90%;
}

.btn1 {
  display: flex;
}

.countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Arial, sans-serif;
  gap: 20px;
  width: 100%;
  position: absolute;
  bottom: 10%;
}

.time-block {
  border-radius: 20px;
  padding: 8px 0;
  text-align: center;
  width: 20%;
  background-color: #031700;
  border: 1px #7bb17e solid;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0px;
}

.number {
  font-size: 2.2rem;
  font-weight: bold;
  color: #fff;
  padding: 6px;
  border-radius: 10px;
}

.register {
  margin-top: 2%;
  width: 90%;
}

.label {
  font-size: 1.2rem;
  color: #7bb17e;
  margin-top: 4px;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
}

.popup {
  background: url(./images/bg-content.webp);
  background-size: 100% 100%;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20%;
  padding: 30px;
  border-radius: 12px;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
  background-size: 100% 100%;
}

.popup .close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 2.2rem;
  cursor: pointer;
  color: #fff;
  background: #008f32;
  border-radius: 100%;
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #008f32;
}

.title-popup {
  text-align: center;
  text-transform: uppercase;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #df251e;
}

.title-popup img {
  width: 35%;
}

.description {
  font-size: 2.5rem;
  line-height: 1.2;
  color: #000;
  text-align: center;
  font-weight: 500;
  margin: 5% 0;
}

.btn-km {
  display: block;
  text-align: center;
  font-size: 2rem;
  border-radius: 10px;
  color: #fff;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-km img {
  width: 100%;
}

.btn-km:hover {
  opacity: 0.7;
  cursor: pointer;
}

.text.text1 {
  margin: -5% 0;
}

@media screen and (max-width: 768px) {
  .app {
    height: auto;
  }

  .bg-qt {
    background: url(./images/bg-qt.webp);
    background-size: 100% 100%;
  }
  .content {
    width: 90%;
    gap: 5px;
  }

  span {
    font-size: 0.8rem;
  }

  .countdown {
    gap: 5px;
  }

  .time-block {
    width: 20%;
    padding: 5px 0;
    border-radius: 10px;
    gap: 0px;
  }

  .number {
    font-size: 1rem;
    padding: 0;
  }

  .label {
    font-size: 1rem;
  }

  .btn {
    width: 80%;
  }

  .text,
  .title {
    width: 80%;
  }

  .text {
    width: 100%;
  }

  .popup {
    width: 90%;
  }

  .popup .close {
    width: 15px;
    height: 15px;
    font-size: 1.5rem;
    padding: 10px;
  }

  .description {
    font-size: 1.5rem;
  }

  .title-popup {
    font-size: 2rem;
  }
  .btn-km img {
    width: 100%;
  }
}
