* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color: #000;
}

body {
  font-family: "Roboto", sans-serif;
  background-color: #f5f5f5;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
}

.app {
  background: url(./images/bg.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  overflow: hidden;
}

.content {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.title {
  width: 90%;
}

.nap-rut {
  width: 80%;
}

.text {
  width: 70%;
}

.btn {
  width: 60%;
  margin-top: 20px;
}

.btn button {
  background: url(./images/dangky.webp);
  width: 100%;
  min-height: 220px;
  background-repeat: no-repeat;
  background-size: contain;
  border: none;
  animation: scaleAnimation 1.5s infinite ease-in-out;
  cursor: pointer;
}

@keyframes scaleAnimation {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

.btn a img {
  animation: scaleAnimation 1.5s infinite ease-in-out;
}

.overlay {
  z-index: 99;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
}

.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  width: 28.385vw;
  padding: 30px;
  border: 2px solid #000;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  z-index: 100;
}

.popup .close {
  position: absolute;
  top: 5px;
  right: 10px;
  font-size: 3rem;
  cursor: pointer;
}

.title-popup {
  text-align: center;
  text-transform: uppercase;
  font-size: 2.5rem;
  font-weight: bold;
  color: red;
}

.description {
  font-size: 2rem;
  line-height: 1.7;
  color: #5c5c5c;
  text-align: center;
}

.btn-km {
  background: red;
  display: block;
  text-align: center;
  padding: 20px 30px;
  font-size: 2rem;
  border-radius: 10px;
  color: #fff;
}

.btn-km:hover {
  opacity: 0.7;
  cursor: pointer;
}

@media screen and (max-width: 768px) {
  .app {
    background: url(./images/bg-mb.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
    height: 100vh;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    overflow: hidden;
  }

  .content {
    margin-top: 5%;
    width: 100%;
  }

  .title,
  .text {
    width: 90%;
  }

  .btn {
    width: 85%;
  }

  .nap-rut {
    width: 95%;
  }

  .countdown {
    width: 100%;
    height: 200px;
    position: relative;
    bottom: 20%;
  }

  .popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    width: 80%;
    padding: 30px;
    border: 2px solid #000;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
  }

  .popup .close {
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 2rem;
    cursor: pointer;
  }

  .title-popup {
    text-align: center;
    text-transform: uppercase;
    font-size: 1.5rem;
    font-weight: bold;
    color: red;
  }

  .description {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #5c5c5c;
  }

  .btn-km {
    padding: 15px 10px;
    font-size: 1.2rem;
  }



  .btn button {
    min-height: 120px;

  }
}