@font-face {
  font-family: "HelveticaCustom";
  src: url("./fonts/helvetica-regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  font-family: Helvetica, Arial, sans-serif;
  color: #ffffff;
  overflow: hidden;
}

.body-wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.background-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.background-image[data-lang="vi_VN"] {
  background-image: url('../img/chagee_desk_vn.jpeg');
}

.background-image[data-lang="en_US"],
.background-image[data-lang="default"] {
  background-image: url('../img/chagee_desk_us.jpeg');
}

.cta-wrapper {
  position: absolute;
  bottom: 5%;
  width: 100%;
  text-align: center;
  z-index: 5;
}

.wifi-text {
  font-family: "HelveticaCustom", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 50px;
  letter-spacing: 2px;
  margin-bottom: 6px;
  color: #ffffff;
  white-space: nowrap;
}

.rj-btn {
  display: flex;
  align-items: center;
  height: 58px;
  border-radius: 22px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0);
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  margin: 0 auto;
  transition-duration: 0.4s;
}

.rj-btn:hover {
  background: rgba(0, 0, 0, 0.45);
}

.btn-icon {
  width: 64px;
  height: 100%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn-icon img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.btn-text {
  padding: 0 24px;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 29px;
  color: #ffffff;
  white-space: nowrap;
  text-align: center;
}

@media screen and (max-width: 521px) {

  .background-image[data-lang="vi_VN"],
  .background-image[data-lang="en_US"],
  .background-image[data-lang="default"] {
    background-image: url('../img/mobile1.jpeg');
    background-size: cover;
    background-position: 50% 32%;
  }

  .cta-wrapper {
    top: 24%;
    bottom: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .wifi-text {
    font-size: 30px;
    margin-bottom: 8px;
  }

  .rj-btn {
    width: auto;
    min-width: max-content;
    height: 48px;
    border-radius: 18px;
    background: rgba(0, 0, 0, 0);
  }

  .rj-btn:hover {
  background: rgba(0, 0, 0, 0.45);
}

  .btn-icon {
    width: 44px;
  }

  .btn-icon img {
    width: 72%;
    height: 72%;
  }

  .btn-text {
    flex: none;
    padding: 0 14px;
    font-size: 17px;
    letter-spacing: -0.3px;
    white-space: nowrap;
    text-align: center;
  }
}
