@import "./colors/beige.css";

:root {
  --main-border-radius: 4px;
  --mainBtn-border: none;
  font-family: Montserrat, sans-serif;
}

@font-face {
  font-family: Montserrat;
  src: url(/fonts/Montserrat-Regular.ttf);
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Montserrat;
  src: url(/fonts/Montserrat-Bold.ttf);
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Lucky;
  src: url(/fonts/LuckiestGuy-Regular.ttf);
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

* {
  scroll-behavior: smooth;
  transition: all 0.5s;
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  background: var(--bg-color);
  color: var(--card-color);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.12;
}

main {
  min-height: 95vh;
}

a {
  text-decoration: none;
  color: var(--text-color);
}

nav ul {
  list-style: none;
  padding: 0;
}

h1 {
  font-family: inherit;
  color: var(--title-color-hover);
  font-weight: 700;

  margin-top: 120px !important;

  font-size: 50px;
  text-align: center;
  margin-bottom: 5px !important;
  margin-top: 15px !important;
}

h2 {
  text-align: left;
  font-size: 36px;
  color: var(--title-color-hover);
}

h3 {
  font-size: 26px;
  color: var(--title-color-hover);
  margin-top: 20px !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: 700;
  line-height: 1.15;
}

p {
  text-align: justify;
  font-size: 21px;
  color: var(--text-color);
  margin: 5px 0;
  line-height: 1.7em;
  margin: 15px 0;
}

p a {
  color: var(--mainBtn-background);
}

.imageWrapper {
  margin: 60px 0;
}

.imageWrapper img {
  width: 100%;
  margin: 0 auto;
  display: block;
}

.header--left {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.aboutBlock p a {
  font-weight: bold;
}

.aboutBlock p a:hover {
  opacity: 0.8;
}

.mainSection {
  padding-top: 70px !important;
}

.hero-list {
  display: flex;
  gap: 70px;
  justify-content: center;
  text-align: center;
  list-style-type: none;
  padding: 0;
  margin: 30px 0;
}

.hero-list__item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-list__title {
  font-size: 1.2em;
  font-weight: bold;
  color: var(--card-background);
}

.mainImage {
  display: block;
  margin: 10px auto;
  width: min(100%, 950px);
  height: auto;
  max-height: 100%;
  border-radius: var(--main-border-radius);
  object-fit: contain;
}

.mainBlock,
.headerBlock,
.aboutBlock,
.footerBlock {
  width: min(100%, 1140px);
  margin: 0 auto;
  padding: 0 20px;
}

.mainBtn {
  gap: 5px;
  text-align: center;
  background-color: var(--main-color);
  white-space: nowrap;
  display: flex;
  border-radius: 10px;
  padding: 10px 25px;
  align-items: center;
  justify-content: center;
  font-size: 25px !important;
  font-weight: 700 !important;
  color: var(--card-color);
  transition: all 0.3s linear;
}

.mainBtn:hover {
  transform: translateY(-3px);
}

.link {
  color: #ab823f;
  text-decoration: none;
}

/* header */
.headerLogo {
  display: flex;
}

.headerLogo:last-child {
  display: flex;
  justify-content: center;
}

.headerBlock nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

header {
  width: 100%;
  z-index: 2000;
  position: relative;
}

.headerBlock ul {
  margin: 0;
  padding: 0;
  gap: 25px;
  list-style: none;
  display: flex;
  align-items: center;
}

.headerBlock ul li a {
  font-size: 18px;
  position: relative;
  color: inherit;
  text-decoration: none;
  text-align: center;
  transition: 0.4s ease color;
  color: var(--title-color);
  line-height: 60px;
  text-transform: uppercase;
}

.headerBlock ul li a.link,
.headerBlock ul li a.active,
.headerBlock ul li a:hover {
  color: var(--title-color-hover);
}

.header-toggler {
  display: none;
  color: var(--title-color);
  font-size: 24px;
  height: 30px;
}

.header-menu-toggle {
  opacity: 0;
  pointer-events: none;
}

.header-toggler::after {
  content: "\f0c9";
  font-family: "FontAwesome", sans-serif;
}

.header-toggler--open::after {
  content: "\f00d";
  font-family: "FontAwesome", sans-serif;
}

.header-menu-toggle:checked ~ .header--left .header-toggler::after {
  content: "\f00d";
  font-family: "FontAwesome", sans-serif;
}

header .mainBtn {
  padding: 7px 10px;
  font-size: 14px;
  border-radius: 8px;
}

.headerLogo img {
  width: 80px;
  object-position: center;
  object-fit: contain;
  border-radius: 4px;
}

.headerLogo a span {
  box-sizing: border-box;
  color: var(--title-color);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.8px;
  line-height: 24px;
  font-family: Lucky;
}

.headerLogo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.headerLogo-div {
  display: flex;
  gap: 10px;
}

.header {
  background: var(--header-bg);
  z-index: 2000;
  width: 100%;
  display: flex;
  position: relative;
  box-shadow: 10px 0 13px 7px #00000080;
}

.headerBlock {
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(32px, 3.8vw, 76px);
  padding: 20px;

  width: min(100%, 1420px);
  padding: 20px;
}

.header--left {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(28px, 2.4vw, 52px);
}

.headerLogo {
  min-width: 0;
}
.headerLogo img {
  width: 190px;
  max-height: 65px;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
}

.headerMenu {
  justify-content: center;
}

.headerBlock ul li a {
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 700;
  line-height: 1.1;
  text-transform: none;
  white-space: nowrap;
  color: #ffffff;
}

.headerBlock ul li a.link,
.headerBlock ul li a.active,
.headerBlock ul li a:hover {
  color: #ffbc08;
}

.headerActions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.headerBlock > .headerLogo:last-child {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.headerBtn,
.headering__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 13px 8px;
  border-radius: 8px;
  border: 2px solid #ffbc08;
  color: #ffbc08;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  min-width: 120px;
}

.headerBtn--primary,
.headering__btn:first-child {
  background: #ffbc08;
  color: #ffffff;
  border-color: #ffbc08;
}

.headerBtn--outline,
.headering__btn:nth-child(2) {
  background: transparent;
  color: #ffbc08;
}

.headerBtn svg,
.headering__btn svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  fill: currentColor !important;
}

.headerLanguage {
  display: flex;
  align-items: center;
}

.headerBtn:hover,
.headering__btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}
.headerBtn:hover span,
.headerBtn:hover svg,
.headering__btn:hover {
  color: #000;
  fill: #000;
}

.headerBtn--outline.headerBtn:hover span,
.headerBtn--outline.headerBtn:hover svg,
.headering__btn:nth-child(2):hover {
  color: #fff;
  fill: #fff;
}
.headerBtn__icon::before {
  font-family: "FontAwesome", sans-serif;
  font-size: 24px;
  line-height: 1;
}

.headerBtn__icon--signup::before {
  content: "\f234";
}

.headerBtn__icon--download::before {
  content: "\f019";
}

.dropdown {
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  color: inherit;
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
}

.language {
  display: flex;
  align-items: center;
  gap: 4px;
}

.language__flag {
  width: 20px;
  aspect-ratio: 1 / 1;
  border-radius: 100%;
  overflow: hidden;
}

.language__flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dropdown .dropdown__arrow::after {
  content: "\f107";
  font-family: "FontAwesome", sans-serif;
  font-size: 25px;
}

.dropdownActive .dropdown__arrow {
  transform: rotate(180deg);
}

.dropdownList {
  display: none;
  position: absolute;
  top: 25px;
  right: 0;
  margin: 0;
  padding: 20px 25px;
  border-radius: 4px;
  background: #2e3d35;
  color: #ffffff;
  z-index: 9999;
  list-style-type: none;
  font-size: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.dropdownActive .dropdownList {
  display: block;
}

/* aboutSection */
.aboutSection {
  position: relative;
  padding: 40px 0;
  border-top: 2px solid gray;
}

.contentSection__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

/* footer */
footer {
  position: relative;
  padding: 40px 30px;
  color: #ffffff;
  overflow: hidden;
  background: var(--title-color-hover);
  width: 100%;
  bottom: 0;
  left: 0;
}

footer h3 {
  color: #fff;
  text-align: center;
  font-family: "Montserrat";
  font-size: 1em;
}

footer p {
  text-align: center;
}

.logo {
  display: block;
  text-decoration: none;
  color: inherit;
}

.logo_large .logo__img {
  width: 120px;
  object-fit: contain;
  border-radius: 4px;
}

.iconCards {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 16px;
}

.iconCards__icon {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  background: var(--icon-background);
  overflow: hidden;
  aspect-ratio: 90 / 48;
  height: 48px;
  padding: 5px 15px;
  transition: 0.4s ease background;
}

.iconCards__icon_circle {
  aspect-ratio: 1 / 1;
  border-radius: 100%;
  padding: 12px;
}

.iconCards__icon:hover {
  background: var(--icon-background-hover);
}

.iconCards__icon svg {
  width: 100%;
  height: 100%;
  fill: #fff;
}

.footer__title {
  font-size: 20px;
  font-family: Montserrat;
  color: var(--text-color);
  text-transform: uppercase;
  text-align: center;
  margin: 1em auto;
}

.mainSection {
  width: 100%;
  padding: 40px 0;
}

.mainBlock {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.mainBlock .mainBlock__btns {
  margin-bottom: 20px;
}
.mainBlock__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  backface-visibility: hidden;
}

.mainBlock__content {
  display: flex;
  align-items: center;
  gap: 5px;
  position: relative;
}

.mainBlock__content .mainBtn {
  padding: 5px 10px;
  font-size: 14px;
}

.mainBlock__content .mainBtn:hover {
  background-color: #3c4b41;
  border-color: #3c4b41;
}

.mainBlock__desc p {
  text-align: left;
}

.mainBlock__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: 15px auto;
  align-items: center;
  justify-content: center;
}

.mainBlock__advantages {
  margin: 20px 0 0;
  padding: 0;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  gap: 15px;
}

.mainBlock__advantages li {
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  width: min(100%, 140px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-align: center;
}

.mainBlock__advantages-number {
  font-size: 24px;
  color: #8acc25;
  font-weight: 700;
}

@media (max-width: 900px) {
  .mainBlock__desc {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 850px) {
  .mainBlock--4 {
    grid-template-columns: 1fr;
  }

  .mainBlock--4 .mainBlock__img {
    margin: 0 auto;
  }
}

.cardsList {
  padding: 0;
  list-style-type: none;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
}

.card {
  color: var(--card-color);

  text-align: left;
}

.card.card_large {
  width: clamp(240px, 33.33% - 20px, 450px);
}

.card p {
  font-weight: 400;
  margin: 0;
}

.card-img {
  border-radius: 4px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  width: 100%;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3s scale cubic-bezier(0.39, 0.575, 0.565, 1);
  cursor: pointer;
}

.card:hover .card-img img {
  scale: 1.05;
}

/* cardsList--1 */

.cardsList li h3 {
  font-size: 1.2em;
  font-weight: normal;
  margin-top: 0 !important;
}

.cardsList li p {
  margin-bottom: 15px;
}

.ordered-list {
  list-style-type: decimal;
}
.headering__btn:first-child {
  border: none;
}

/* media */

@media (max-width: 1280px) {
  .headerBlock > .headerLogo:last-child,
  .headerActions {
    gap: 14px;
  }
}
@media (max-width: 1200px) {
  .headerBlock ul {
    gap: 18px;
  }
}
@media (max-width: 1084px) {
  .header {
    position: relative;
  }

  .headerBlock {
    display: grid;
    justify-content: initial;
    gap: 18px;
    padding: 16px 18px;
    position: relative;
  }

  .headerLogo img {
    width: 150px;
    max-height: 62px;
  }

  .headerBlock > .headerLogo:first-child {
    grid-column: 2;
    justify-self: center;
  }

  .headerBlock > .headerLogo:last-child {
    grid-column: 3;
    justify-self: end;
    width: auto;
    display: flex;
    gap: 16px;
  }

  .headerActions {
    gap: 12px;
  }

  .header-toggler {
    color: #ffffff;
    padding-right: 0;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    transition: none;
  }

  .header-menu-toggle:checked ~ .header--left .header-toggler {
    color: #ffffff;
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    transition: none;
  }

  .headerBlock ul {
    padding: 100px 30px 30px;
    align-items: flex-start;
  }

  .headerBlock ul li a {
    font-size: 24px;
    color: var(--text-color);
  }

  .header--left::before {
    display: none;
  }

  .headerBlock .headerMenu {
    position: fixed;
    left: 0;
    right: 0;
    top: 92px;
    width: 100%;
    max-width: none;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 5px;
    background: var(--header-bg);
    opacity: 1;
    transform: translateX(100%);
    z-index: 1002;
    pointer-events: none;
  }

  .headerBlock.menu-open .headerMenu,
  .header-menu-toggle:checked ~ .header--left .headerMenu {
    transform: translateX(0);
    pointer-events: auto;
  }

  .headerBlock .headerMenu li {
    width: 100%;
  }

  .headerBlock .headerMenu li a {
    width: 100%;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #ffbc08;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    text-align: left;
  }

  .headerBlock .headerMenu li a::after {
    content: ">";
    color: #ffbc08;
    font-weight: 700;
    padding-left: 18px;
  }
  .header {
    position: fixed;
    top: 0;
    left: 0;
  }

  .header--left::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
    z-index: 1002;
  }

  .headerMenu {
    position: fixed;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    left: 0;
    top: 0;
    transform: translateX(-100%);
    width: min(82vw, 360px);
    height: 100%;
    background-color: var(--bg-color);
    transition: 0.3s ease-in-out;
    z-index: 1002;
    padding: 100px 30px 30px 30px;
    align-items: baseline;
  }

  .headerBlock {
    z-index: 2;
  }

  .header-menu--open {
    opacity: 1;
    transform: translateX(0);
  }

  .header-menu-toggle:checked ~ .header--left::before {
    opacity: 1;
    pointer-events: auto;
  }

  .header-menu-toggle:checked ~ .header--left .headerMenu {
    opacity: 1;
    transform: translateX(0);
  }

  header nav ul {
    flex-direction: column;
  }

  .header-toggler {
    display: flex;
    padding-right: 15px;
    z-index: 1003;
    align-items: center;
  }

  .header-menu-toggle:checked ~ .header--left .header-toggler {
    position: fixed;
    top: 28px;
    left: 30px;
    color: var(--title-color);
  }

  .headerBlock__logo::before {
    display: none;
  }

  .headerBlock__logo {
    justify-content: space-between;
  }

  .headerBlock ul {
    padding: 80px 20px;
    align-items: flex-end;
  }

  .headerBlock .headerMenu {
    padding: 30px;
    align-items: flex-start;
  }

  .header-menu--open + span {
    position: fixed;
  }

  .aboutSection:first-child {
    padding-top: 130px;
  }
}

@media (max-width: 900px) {
  .mainBlock {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .mainBlock--style2 {
    flex-direction: column-reverse;
  }

  .mainBlock__btns,
  .mainBlock__content {
    justify-content: center;
  }

  .mainBlock__desc p {
    text-align: center;
  }

  .cardsList--1 .card {
    width: calc(50% - 20px);
  }

  .cardsList--1.cardsList {
    flex-wrap: wrap;
  }
}

@media (max-width: 700px) {
  ul.hero-list {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
    gap: 20px;
  }

  span.hero-list__text {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .headerLogo {
    padding-left: 10px;
  }
  .mainBtn {
    font-size: 16px !important;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .headering__btn {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .headerBlock .headerMenu {
    top: 55px;
  }
  .headerLogo img {
    width: 118px;
  }
  .headerBtn,
  .headering__btn {
    font-size: 12px;
    min-width: auto;
  }
  .lang-dropdown {
    width: 43px !important;
  }
  .headerBtn__icon::before {
    font-size: 20px;
  }

  .headerBtn svg,
  .headering__btn svg {
    display: none;
  }
  .headerBlock,
  .headerActions,
  .headerBlock > .headerLogo:last-child {
    gap: 10px;
  }
  .headerBtn,
  .headering__btn {
    padding: 9px 5px;
  }
  .headerBlock {
    padding: 10px;
  }
}
@media (max-width: 520px) {
  .headerLogo img {
    width: 95px;
  }

  header .mainBtn {
    display: none;
  }

  h1 {
    font-size: 36px;
    word-break: break-word;
  }

  h2 {
    font-size: 24px;
  }

  .logo-text {
    display: none;
  }
}
