* {
  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 bottom;
  height: 100vh;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.content {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-left: 5%;
  margin-top: 2%;
}

.title,
.text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 80%;
}

.btn {
  width: 70%;
  margin-top: 5%;
  gap: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

@keyframes scaleAnimation {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.btn a img {
  animation: scaleAnimation 1.5s infinite ease-in-out;
}

.title-mb {
  display: none;
}

.overlay {
  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: 20%;
  padding: 30px;
  border: 8px solid #aaaaaa;
  box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.9);
  border-radius: 12px;
}
.popup .close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 2.8rem;
  cursor: pointer;
  color: #fff;
  background: #df251e;
  border-radius: 100%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.title-popup {
  text-align: center;
  text-transform: uppercase;
  font-size: 3rem;
  font-weight: bold;
  color: #df251e;
}

.description {
  font-size: 2.5rem;
  line-height: 1.2;
  color: #000;
  text-align: center;
  font-weight: 500;
  margin: 20px 0;
}

.btn-km {
  background: #df251e;
  display: block;
  text-align: center;
  padding: 20px 30px;
  font-size: 2rem;
  border-radius: 10px;
  color: #fff;
}

.btn-km:hover {
  opacity: 0.7;
  cursor: pointer;
}

.title-mb,
.text-mb {
  display: none;
}

@media screen and (max-width: 768px) {
  .app {
    background: url(./images/bg-mb.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center bottom;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow: hidden;
  }

  .content {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    margin: 0;
    padding: 20px;
  }

  .text,
  .title {
    width: 100%;
  }

  .btn {
    width: 90%;
    gap: 0;
  }

  .popup {
    width: 90%;
    border: 5px solid #aaaaaa;
  }

  .popup .close {
    width: 15px;
    height: 15px;
    font-size: 1.5rem;
    padding: 10px;
  }

  .description {
    font-size: 1.5rem;
  }

  .title-popup {
    font-size: 2rem;
  }
  .btn-km {
    padding: 15px 10px;
    font-size: 1.2rem;
  }
}
