* {
  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: flex-start;
  align-items: center;
  padding: 2% 0;
}

.content {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 0;
}

.logo {
  width: 90%;
  margin-bottom: -10%;
}

.btn {
  width: 90%;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 5%;
  animation: scaleAnimation 1.2s infinite linear;
}

@keyframes scaleAnimation {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.text-mb {
  display: none;
}

.bg-qt {
  background: url(./images/bg-qt.webp);
  background-size: 100% 100%;
  width: 90%;
  padding: 3% 5%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Arial, sans-serif;
  gap: 20px;
  width: 100%;
}

.time-block {
  border-radius: 20px;
  padding: 5px 0;
  text-align: center;
  width: 25%;
  height: 80%;
  background: linear-gradient(to bottom, #0a3305 2%, #026d10, #0a3305);
  border: 1px #7bb17e solid;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0px;
  flex-direction: column;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.8);
}

.number {
  font-size: 3rem;
  font-weight: bold;
  color: #ffcc17;
  border-radius: 10px;
  margin-top: 5%;
}

.register {
  margin-top: 2%;
  width: 90%;
}

.label {
  font-size: 1.2rem;
  color: #0a3305;
  font-weight: bold;
  margin-top: 4px;
  width: 90%;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  bottom: 0px;
  border-radius: 8px;
  background: linear-gradient(to bottom, #ffcc17, #fff, #ffcc17);
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 20;
}

.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20%;
  padding: 30px;
  border-radius: 30px;
  border: 3px solid #aaaaaa;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
  background-size: 100% 100%;
  background-color: #fff;
  z-index: 20;
}

.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;
}

@media screen and (max-width: 768px) {
  .bg-qt {
  }
  .content {
    margin-top: 5%;
  }

  .countdown {
  }

  .time-block {
  }

  .number {
    font-size: 1.8rem;
    padding: 0;
  }

  .label {
    font-size: 1rem;
    bottom: -3px;
  }

  .btn {
    width: 90%;
    gap: 0px;
  }

  .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%;
  }
}
