* {
  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%;
  max-height: 100%;
}

.app {
  background: url(images/bg.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: auto;
  padding: 5% 0;
}

.container {
  height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 40px;
  max-width: 1600px;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20%;
}

.logo {
  width: 100%;
}

.banner {
  width: 50%;
}

.email {
  width: 80%;
  margin-top: 2%;
  cursor: pointer;
}

.main {
  padding: 0 5%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5%;
}

.main__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, auto);
  width: 50%;
  gap: 16px;
}

.people {
  width: 50%;
}

.main__download {
  display: flex;
  width: 50%;
  flex: 1;
}

.main__download__phone {
  width: 65%;
}

.main__download__phone__down {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 35%;
}

.main__download__phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.main__download__phone__down__title {
  width: 50%;
}

.footer {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 0 5%;
}

.footer__left,
.footer__right {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url("./images/bg_footer.webp");
  background-size: 100% 100%;
  position: relative;
}

.footer__left__list,
.footer__right__list {
  display: flex;
  width: 100%;
  justify-content: center;
  padding: 40px 0;
  position: relative;
  top: 20px;
  gap: 20px;
}

.footer__left__list__item,
.footer__right__list__item {
  width: 20%;
}

.footer__right .footer__right__list {
  display: flex;
}

.footer__left__title {
  position: absolute;
  width: 48%;
  top: -3%;
}

a img {
  transition: transform 0.3s ease;
}

a:hover img {
  transform: translateY(-5px);
}

.main__download--mb {
  display: none;
}

#livechat-frame-wrapper {
  display: none;
  position: fixed;
  bottom: 80px;
  right: 30px;
  width: 400px;
  height: 550px;
  z-index: 9999;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  overflow: hidden;
  background: white;
}

#down_ios,
#down_android {
  position: relative;
}

.qr_ios,
.qr_android {
  position: absolute;
  bottom: 100%;
  display: none;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
}

#down_ios:hover .qr_ios {
  display: block;
  animation: fadeIn 0.5s ease-in;
}

#down_android:hover .qr_android {
  display: block;
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.logo-mb {
  display: none;
}

.additional {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 0 5%;
}

.contact-mail {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 49%;
  border-radius: 20px;
  border: 2px solid #efefef4d;
  padding: 3%;
  background: #ffffff0a;
}

.form-mb,
.title-contact-mb {
  display: none;
}

@media screen and (max-width: 768px) {
  .app {
    height: auto;
    padding-top: 10%;
  }

  .container {
    gap: 20px;
  }

  .header {
    width: 100%;
    flex-direction: column;
    gap: 20px;
  }

  .banner {
    width: 90%;
  }

  .logo-mb {
    display: block;
    width: 90%;
  }

  .logo {
    display: none;
  }

  .main {
    width: 100%;
    flex-direction: column;
  }

  .people {
    order: 1;
    width: 100%;
    margin-bottom: 5%;
  }

  .main__list {
    width: 100%;
    gap: 5px;
    order: 2;
  }

  .main__download {
    display: none;
  }

  .main__download--mb {
    display: flex;
    width: 100%;
  }

  .main__download--mb .main__download__phone {
    width: 55%;
  }

  .footer {
    flex-direction: column;
    gap: 30px;
    padding: 0;
  }

  .footer__left,
  .footer__right {
    width: 90%;
  }

  .footer__left__list,
  .footer__right__list {
    padding: 20px 0;
    top: 10px;
  }

  #livechat-frame-wrapper {
    display: none;
    position: fixed;
    bottom: 0px;
    right: 0px;
    width: 100%;
    height: 80%;
    z-index: 9999;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    overflow: hidden;
    background: white;
  }

  .email {
    width: 100%;
  }

  .form,
  .title-contact {
    display: none;
  }

  .form-mb,
  .title-contact-mb {
    display: block;
  }

  .contact-mail {
    width: 90%;
  }

  .additional {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
  }
}
