@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;600;700;800&display=swap');

.fh-money-mail-page {
  --light-gray-bg: #f2f3f3;
  --padding-left-right: 10px;
  color: #313131;
  background: #fff;
}

.fh-money-mail-page,
.fh-money-mail-page * {
  box-sizing: border-box;
}

.fh-money-mail-page p,
.fh-money-mail-page h1,
.fh-money-mail-page h2,
.fh-money-mail-page h3,
.fh-money-mail-page h4,
.fh-money-mail-page h5,
.fh-money-mail-page h6 {
  margin: 0;
}

.fh-money-mail-page section {
  width: 100%;
}

/* Personal App Message */
.personal-app-message {
  display: flex;
  flex-direction: column;
  padding: 60px var(--padding-left-right);
  align-items: center;
  background-color: #f8fcfd;
}

.select-language-header {
  justify-self: center;
  color: #012132;
  text-align: center;
  /* font-family: Raleway, sans-serif; */
  font-size: 24px;
  font-weight: 600;
  line-height: 130%;
}

.select-language-buttons-grid {
  display: grid;
  grid-template-columns: repeat(6, fit-content(100%));
  gap: 10px;
  justify-self: center;
  margin-bottom: 70px;
  margin-top: 20px;
}

.select-language-button {
  display: flex;
  padding: 15px 25px;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  background: #f2f4f6;
  color: #09446b;
  text-align: center;
  /* font-family: Montserrat, sans-serif; */
  font-size: 16px;
  font-weight: 700;
  border: none;
  cursor: pointer;
}

.select-language-button.is-active {
  border: 1px solid #2e8fd2;
  background: #edf7fe !important;
}

@media (max-width: 1205px) {
  .select-language-buttons-grid {
    grid-template-columns: repeat(3, fit-content(100%));
  }
}

@media (max-width: 900px) {
  .personal-app-message {
    padding: 26px 16px 40px;
  }
}

@media (max-width: 626px) {
  .select-language-buttons-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .select-language-button {
    padding: 15px 5px;
    font-size: 14px;
  }
}

/* Message container */
.message-content-container {
  max-width: 1200px;
  box-sizing: border-box;
  display: inline-flex;
  padding: 80px 105px;
  flex-direction: column;
  border-radius: 24px;
  box-shadow:
    0 0 1px 0 rgba(40, 41, 61, 0.04),
    0 2px 4px 0 rgba(96, 97, 112, 0.16);
  background-color: #fff;
  gap: 40px;
}

.message-header-text {
  color: #000;
  /* font-family: Arial, sans-serif; */
  font-size: 28.474px;
  font-weight: 700;
  line-height: 130%;
  letter-spacing: 0.89px;
}

.message-body-text {
  color: #000;
  /* font-family: Arial, sans-serif; */
  font-size: 28px;
  font-weight: 400;
  line-height: 130%;
  letter-spacing: 0.89px;
}

@media (max-width: 900px) {
  .message-content-container {
    padding: 20px 24px;
  }

  .message-body-text {
    font-size: 24px;
    line-height: 150%;
  }
}

/* Waiting for you cards */
.waiting-for-you-card-grid {
  width: 100%;
  max-width: 1100px;
  justify-content: center;
  display: grid;
  box-sizing: border-box;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 226px), 226px));
  gap: 24px;
}

.waiting-for-you-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 370px;
  overflow: hidden;
  position: relative;
  border-radius: 12px;
  align-items: center;
  justify-content: flex-end;
  background-color: #00426a;
}

.waiting-for-you-card::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(0, 123, 189, 0) 0%, #094267 95.36%);
  z-index: 2;
  pointer-events: none;
}

.waiting-for-you-card-background-video {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.waiting-for-you-card > img {
  width: 100%;
  z-index: 1;
  aspect-ratio: 237 / 388;
  object-fit: contain;
  position: absolute;
  bottom: -12px;
  transform: scale(1.3);
}

.person-3-decorative-resolver {
  object-fit: scale-down !important;
  transform: scale(1) !important;
}

.waiting-for-you-card-content {
  display: flex;
  flex-direction: column;
  min-height: 60px;
  margin: 12px;
  padding: 13px 6px;
  border-radius: 8px;
  background: #fff;
  width: calc(100% - 24px);
  position: relative;
  z-index: 3;
}

.waiting-for-you-card-info {
  color: #012132;
  text-align: center;
  /* font-family: Montserrat, sans-serif; */
  font-size: 15px;
  font-weight: 700;
  line-height: 16.117px;
}

@media (max-width: 1264px) {
  .waiting-for-you-card-grid {
    grid-template-columns: repeat(2, minmax(min(100%, 226px), 226px));
  }
}

@media (max-width: 650px) {
  .waiting-for-you-card-grid {
    grid-template-columns: repeat(1, minmax(min(100%, 347px), 347px));
  }

  .waiting-for-you-card {
    height: 440px;
  }

  .waiting-for-you-card > img {
    bottom: -70px;
    transform: scale(1);
  }

  .waiting-for-you-card-content {
    min-height: 100px;
  }

  .waiting-for-you-card-info {
    font-size: 22px;
    line-height: 32px;
  }
}

/* Bottom app banner */
.personal-app-link-bottom-label {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 32px;
  padding: 0 calc(var(--padding-left-right) + 50px);
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

.personal-app-link-bottom-label > img {
  width: 276px;
}

.personal-app-link-bottom-background-video-wrapper {
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80%;
  z-index: 0;
  pointer-events: none;
}

.personal-app-link-bottom-background-video {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.personal-app-link-bottom-label-content-wrapper {
  display: flex;
  padding-top: 100px;
  padding-bottom: 10px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  position: relative;
  z-index: 1;
  gap: 24px;
}

.personal-app-link-bottom-label-header {
  color: #fff;
  /* font-family: Raleway, sans-serif; */
  font-size: 34px;
  font-weight: 700;
  line-height: normal;
}

.personal-app-link-bottom-label-info {
  color: #fff;
  /* font-family: Montserrat, sans-serif; */
  font-size: 18px;
  font-weight: 400;
}

.download-buttons-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
}

.download-button {
  display: inline-flex;
}

.download-button > img {
  display: block;
  width: auto;
  height: 50px;
  object-fit: contain;
}

.personal-app-preview {
  display: block;
  max-width: 100%;
  align-self: flex-end;
  object-fit: contain;
  width: min(100%, 340px);
  position: relative;
  z-index: 1;
}

@media (max-width: 1640px) {
  .fh-money-mail-page {
    --padding-left-right: 90px;
  }
}

@media (max-width: 1470px) {
  .fh-money-mail-page {
    --padding-left-right: clamp(20px, 4vw, 90px);
  }
}

@media (max-width: 1000px) {
  .personal-app-link-bottom-label {
    padding: 0 var(--padding-left-right);
  }
}

@media (max-width: 900px) {
  .personal-app-link-bottom-label {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px var(--padding-left-right);
    margin: 0 -40px;
  }

  .personal-app-link-bottom-background-video-wrapper {
    height: 100%;
  }

  .personal-app-link-bottom-label-content-wrapper {
    width: 100%;
    padding-top: 0;
    padding-bottom: 0;
  }

  .personal-app-link-bottom-label > img {
    margin-bottom: -16px;
  }

  .personal-app-preview {
    align-self: center;
  }

  .download-buttons-wrapper {
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    align-self: center;
  }
}

@media (max-width: 760px) {
  .personal-app-link-bottom-label {
    gap: 24px;
  }

  .personal-app-preview {
    margin-bottom: -80px;
  }
}
