html {
  position: relative;
}

body {
  scroll-behavior: smooth;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
  background-color: #393743;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

/* Prevent zoom on input focus */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="url"],
input[type="tel"],
input[type="search"],
textarea,
select {
  font-size: 16px; /* Minimum font size to prevent zoom on iOS */
}

.nav {
  z-index: 5;
}

.nav > button {
  color: #28282F;
  font-family: Arial,sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 21px;
  letter-spacing: -0.02em;
}

.nav-bg-wrapper {
  background-color: #fff;
  position: absolute;
  right: 0;
  top: 0;
  width: 40%;
  height: 100%;
}

.header {
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.button {
  width: 130px;
  height: 40px;
  font-weight: 400;
  font-size: 14px;
  color: #ffffff;
  background: none;
  border: none;
  cursor: pointer;
}

.with-border {
  border: 1px solid #28282F4D;
  border-radius: 4px;
}

.menu-wrapper {
  display: none;
}

.mobile-menu {
  display: none;
}

.main {
  position: relative;
  display: flex !important;
  gap: 64px !important;
  max-width: 1280px !important;
  padding: 40px 40px 0 !important;
  margin: 0 auto !important;
  align-items: center !important;
}

.image-container .mobile-phone {
  display: none;
}

.text-container {
  width: 100%;
  max-width: 450px;
  min-width: 450px;
}

.home-title {
  margin-bottom: 62px;
  display: flex;
  justify-content: space-between;
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: 40px;
  line-height: 52px;
  position: relative;
  letter-spacing: -2px;
  z-index: 5;
}

.description {
  margin: 2px 0 0 0;
}

.benefits {
  display: flex;
  gap: 10px;
  flex-direction: column;
  margin: 30px 0 0 0;
  padding: 13px;
  font-size: 14px;
  list-style-type: disc;
  opacity: 0.7;
}

.benefits > li {
  margin: 0;
}

.localize {
  margin: 37px 0 90px;
  opacity: 0.7;
}

.app-buttons {
  display: flex;
  gap: 27px;
}

.image-container {
  margin-top: -70px;
  position: relative;
  margin-left: 110px;
  overflow: hidden;
  height: 800;
  margin-bottom: 0px;
}

.image-container .device {
  transform: scale(0.8); /* Adjust the scale factor according to your needs */
}

.image-wrapper {
  position: absolute;
  width: 100%;
  left: -2px;
  height: 100%;
}

.image-container video {
  overflow: hidden;
  height: 660px;
  position: absolute;
  width: 100%;
  transform: scaleX(1.07);
  top: 13px;
  z-index: -1;
  border-radius: 17%;
}

footer {
  position: absolute;
  padding-top: 42px;
}

footer div,
footer a {
  color: white !important;
}

@media screen and (min-width: 2000px) {
  .nav-bg-wrapper {
    width: 44%;
  }
}

@media screen and (max-width: 1440px) {
  .nav-bg-wrapper {
    width: 40%;
  }

  .image-container {
    margin-left: 104px;
  }
}

@media screen and (max-width: 1240px) {
  .nav-bg-wrapper {
    width: 40%;
  }

  .image-container {
    margin-left: 24px;
  }
}

@media screen and (max-width: 1160px) {
  .nav-bg-wrapper {
    width: 44%;
  }
}

@media screen and (max-width: 1000px) {
  .nav-bg-wrapper {
    display: none;
  }

  .image-container .device {
    transform: scale(0.7); /* Adjust the scale factor according to your needs */
  }

  .image-container {
    margin-bottom: 0px;
  }

  .main {
    flex-direction: column-reverse;
  }

  .nav > button {
    color: #fff;
  }
}

/* Mailchimp modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  background-color: #ffffff;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px;
  overflow: visible;
}

.mailchimp-form-container {
  overflow-x: auto;
  overflow-y: hidden;
}

.google-play img {
  background-color: transparent;
  border-radius: 4px;
}

.app-button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

/* Add a hover effect for better user experience */
.google-play:hover img {
  opacity: 0.8;
}

.mailchimp-form {
  max-width: 100%;
  box-sizing: border-box;
}

#mc_embed_signup {
  background: #fff;
  clear: left;
  font: 14px Helvetica, Arial, sans-serif;
}

.mailchimp-form,
.mailchimp-form * {
  color: #000;
}

@media screen and (max-width: 767px) {
  .mailchimp-form {
    width: 600px;
  }

  .image-container {
    margin-bottom: -140px;
  }

  .modal-content {
    width: 90%;
  }

  .header {
    margin: 32px auto 0;
    padding: 0 20px;
  }
  .nav {
    display: none;
  }
  .menu-wrapper {
    display: block;
  }

  .mobile-menu {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 302px;
    background: #FFFFFF;
    z-index: 50;
    opacity: 1;

  }

  .mobile-menu.inactive {
    display: none;
   opacity: 0;
    z-index: 0;
    transition: opacity 0.3s;
  }

  .open-burger-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 20px 0;
  }

  .open-burger-header .large-logo-wrapper {
    width: 32px;
    height: 32px;
  }

  .large-logo-wrapper img {
    width: 100%;
    height: 100%;
  }

  .mobile-nav ul {
    margin-top: 40px;
    margin-left: 64px;
  }

  .mobile-nav ul li a {
    display: inline-block;
    margin-bottom: 32px;
    font-weight: 400;
    font-size: 28px;
    line-height: 130%;
    letter-spacing: -0.02em;
    color: #28282F;
    text-decoration: none;
  }

  .main {
    margin-top: 24px;
    padding: 20px 20px;
  }

  .text-container {
    max-width:unset;
    min-width: unset;
  }

  .home-title {
    margin-bottom: 40px;
    font-size: 40px;
    line-height: 130%;
    letter-spacing: -2px;
  }

  .title img {
    max-width: 116px;
  }

  .image-container {
    max-width: auto;
    margin-left: 0px;
    margin-right: 0px;
    justify-content: center;
  }

  .image-container video {
    margin-top: -40px;
    margin-left: -148px;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1152px;
    height: 360px;
    transform: rotate(-14.57deg);
  }

  .app-buttons {
    justify-content: center;
  }
}

/* Cookies bar styles (converted from SCSS) */
.cookies-bar {
  position: sticky;
  bottom: 0;
  padding: 5px 10px 5px 10px;
  border: 1px solid #9CA3AF;
  border-top: none;
  background-color: #F3F4F6;
  justify-content: center;
  align-items: center;
}

.cookies-bar .btnn {
  display: block;
  border: 1px solid #4B5563;
  background-color: #6B7280;
  color: #FFF;
  padding: 5px;
  margin-bottom: 5px;
  text-align: center;
  text-decoration: none;
}

.cookies-bar .btnn.accept:hover {
  background-color: #047857;
}

.cookies-bar .btnn.reject:hover {
  background-color: #B91C1C;
}

@media (min-width: 768px) {
  .cookies-bar {
    display: flex;
    max-width: 1000px;
    align-items: center;
    margin: 0 auto;
    padding-bottom: 0;
  }

  .cookies-bar .btnn {
    padding: 5px 10px;
    margin-left: 10px;
  }
}


