:root {
  --dark-gray: #474747;
  --light-gray: #f8f8f8;
  --blue: #009fe3;
  --medium-gray: #e6e6e6;
}

html {
  scroll-behavior: auto !important;
}

.onboarding {
  display: none;
  position: absolute;
  width: 100vw;
  height: 100vh;
  z-index: 9999999;
  inset: 0;
  color: var(--dark-gray);
}

.onboarding h1 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.onboarding p {
  font-size: 1.125rem;
  margin-bottom: 1.25rem;
}

.onboarding button,
.modal-next-sign-up-button {
  border: none;
  background-color: var(--blue);
  color: white;
  padding: 0.25rem 1.25rem;
  border-radius: 10px;
  text-transform: uppercase;
}

.bg-overlay {
  position: absolute;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
}

.modals {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal {
  position: absolute;
  max-height: calc(100svh - 80px);
  top: 40px;
  padding: 1.25rem;
  background-color: var(--light-gray);
  max-width: 805px;
  border-radius: 20px;
  height: auto;
  overflow: auto;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
}

.modal::-webkit-scrollbar {
  display: none;
}

.video-wrapper {
  position: relative;
  cursor: pointer;
  margin-bottom: 1.25rem;
  max-height: 100%;
}

.play-button-img-wrapper {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.video {
  display: block;
  width: 100% !important;
  height: auto !important;
}

.modal-content-wrapper {
  display: none;
}

.banner {
  padding: 1.875rem;
  background-image: url(../images/banner-bg.png);
  background-size: cover;
  background-position: center;
  border-radius: 0.75rem;
}

.banner ul {
  padding: 0;
  list-style: none;
  margin-bottom: 0.625rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.banner ul li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.banner .banner__icon {
  display: flex;
  justify-content: center;
  min-width: 30px;
}

.banner button,
.button-anchor {
  display: block;
  width: fit-content;
  margin-top: 0.625rem;
  padding-inline: 1.625rem;
  border-radius: 20px;
  text-transform: none;
  background-color: var(--blue);
  padding: 0.5rem 1rem;
  font-weight: 600;
  color: var(--light-gray);
}

.heading-container {
  display: flex;
  width: 100%;
  align-items: center;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.heading-container div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.heading-container h1 {
  width: fit-content;
  margin-right: auto;
  order: -2;
}

@media screen and (max-width: 725px) {
  .heading-container h1 {
    order: -2;
  }
}

.modal-next-button,
.modal-previous-button,
.modal-next-sign-up-button {
  line-height: normal;
  text-transform: uppercase;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  padding: 0.75rem !important;
  font-size: 18px;
  font-weight: 700;
}

.modal-next-sign-up-button:hover {
  color: white;
}

.modal-previous-button {
  background-color: var(--medium-gray) !important;
  color: var(--dark-gray) !important;
}

.image-container {
  max-height: 400px;
  overflow: hidden;
  margin-bottom: 1.25rem !important;
  border-radius: 20px;
}

.image-container img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.onboarding-start-button-container {
  display: flex;
  justify-content: end;
  flex-shrink: 0;
}

@media screen and (max-width: 725px) {
  .modal-previous-button,
  .modal-next-button,
  .modal-next-sign-up-button {
    font-size: 0.85rem !important;
  }
}

.navigation-custom {
  position: absolute;
  top: 183px;
  left: -20px;
  background-color: white;
  width: 244px;
  padding: 15px;
  border-radius: 20px;
  -webkit-box-shadow: 0px 0px 18px 0px rgba(255, 255, 255, 1);
  -moz-box-shadow: 0px 0px 18px 0px rgba(255, 255, 255, 1);
  box-shadow: 0px 0px 18px 0px rgba(255, 255, 255, 1);
}

@media screen and (max-width: 1025px) {
  .navigation-custom {
    display: none;
  }
}

.navigation-main-item {
  display: flex;
  justify-content: space-between;
}

.navigation-main-item span {
  font-size: 15px;
}

.arrow-down {
  transform: rotate(-90deg);
}

.navigation-custom li {
  padding: 0.55rem 1.5rem !important;
  position: relative;
  font-size: 13px;
}

.navigation-custom li::before {
  content: "-";
  position: absolute;
  left: 4px;
}

.modal-arrow {
  width: 30px;
  height: 30px;
  border-radius: 3.5px;
  position: absolute;
  transform: rotate(45deg);
  background-color: var(--light-gray);
}

#modal-step-0 .heading-wrapper {
  flex-direction: column;
  align-items: start;
  margin-bottom: 1.25rem;
}

#modal-step-1 .modal-arrow {
  display: none;
}

@media screen and (min-width: 1025px) {
  #modal-step-0 .heading-wrapper {
    flex-direction: row;
    align-items: center;
    margin-bottom: 0;
  }

  #modal-step-1 .modal {
    position: absolute;
    top: 40px;
    left: 270px;
    margin: 0;
  }

  #modal-step-1 .modal-arrow {
    display: block;
    left: 257px;
    top: 190px;
  }

  #modal-step-1 .navigation-custom {
    display: block;
    top: 130px;
    left: -20px;
  }
}

#modal-step-2 .modal-arrow {
  display: none;
}

@media screen and (min-width: 1025px) {
  #modal-step-2 .modal {
    position: absolute;
    left: 270px;
    margin: 0;
  }

  #modal-step-2 .modal-arrow {
    display: block;
    left: 257px;
    top: 240px;
  }

  #modal-step-2 .navigation-custom {
    display: block;
    top: 180px;
    left: -20px;
  }
}

#modal-step-3 .modal-arrow {
  display: none;
}

@media screen and (min-width: 1025px) {
  #modal-step-3 .modal {
    position: absolute;
    left: 270px;
    margin: 0;
  }

  #modal-step-3 .modal-arrow {
    display: block;
    left: 257px;
    top: 290px;
  }

  #modal-step-3 .navigation-custom {
    display: block;
    top: 230px;
    left: -20px;
  }
}

#modal-step-4 .modal-arrow {
  display: none;
}

@media screen and (min-width: 1025px) {
  #modal-step-4 .modal {
    position: absolute;
    left: 270px;
    margin: 0;
  }

  #modal-step-4 .modal-arrow {
    display: block;
    left: 257px;
    top: 290px;
  }

  #modal-step-4 .navigation-custom {
    display: block;
    top: 230px;
    left: -20px;
  }
}

.language-switch-wrapper {
  position: relative;
}

@media screen and (max-width: 725px) {
  .heading-container .language-switch-wrapper {
    order: -1;
  }

  .heading-wrapper .language-switch-dropdown {
    left: 0;
    right: auto;
  }
}

.language-switch {
  display: flex;
  justify-content: center;
  cursor: pointer;
  align-items: center;
  background-color: var(--blue);
  border-radius: 10px;
  width: 46px;
  height: 46px;
  padding: 0;
}

@media screen and (max-width: 725px) {
  .language-switch {
    width: 41px;
    height: 41px;
  }
}

.heading-container .language-switch-dropdown,
.heading-wrapper .language-switch-dropdown {
  position: absolute;
  display: none;
  flex-direction: column;
  background-color: white;
  border-radius: 10px;
  min-width: 120px;
  top: 100%;
  right: 0;
  z-index: 99999999999;
}

.language-switch-dropdown-item {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 4px;
  padding-block: 8px;
  padding-inline: 16px;
}

.language-switch-dropdown-item:hover {
  background-color: var(--medium-gray);
}

.language-switch-dropdown-item-icon {
  width: 24px;
  height: 24px;
}

.heading-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

@media screen and (max-width: 725px) {
  .heading-wrapper h1 {
    order: -2;
  }
}
