* {
  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;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.content {
  width: 55%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.title {
  display: flex;

  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 60%;
}

.text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 90%;
}

.btn {
  width: 80%;
  margin: 5% 0;
  gap: 50px;
  display: flex;
  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: linear-gradient(to bottom, #8cdbf2, #ffffff 40%);
  width: 20%;
  padding: 30px;
  border: 3px solid #005cd5;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.9);
  border-radius: 20px;
}

.popup .close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 2.8rem;
  cursor: pointer;
  color: #005cd5;
  background: #fff;
  border-radius: 100%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #005cd5;
}

.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: 20px 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;
}

.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 top;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    overflow: hidden;
  }

  .content {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    padding: 20px;
  }

  .title {
    margin-top: 20%;
    width: 80%;
  }

  .text-mb {
    width: 80%;
    display: block;
  }

  .text {
    display: none;
  }

  .btn {
    width: 80%;
    gap: 0;
    display: flex;
    flex-direction: column;
  }

  .popup {
    width: 90%;
    border: 3px solid #005cd5;
  }

  .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%;
  }
}
