:root {
  /* delete these if unused */
  --text-color: #99999;
  --primary-color: #333;
  --secondary-color: #666;
  --hover-color: #0066cc;
  --bg-color: #f8f8f8;
  --border-color: #e7e7e7;
  /* ^^^ */

  /*  */
  --black: #000000;
  --blue: #a4b4f9;
  --green: #1ad270;
  --yellow: #f2c32a;
  --white: #ffffff;
  --card-bg-color: #f2f2f2;
  /*  */
}

@font-face {
  font-family: "DenimINK";
  src: url("../fonts/denim/DenimINK-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --text-color: #99999;
  --primary-color: #333;
  --secondary-color: #999;
  --hover-color: #0066cc;
  --bg-color: #f8f8f8;
  --border-color: #e7e7e7;
}

body {
  font-family: "DenimINK", "Open Sans", "Helvetica Neue", sans-serif;
}

.nav {
  position: fixed;
  top: 1.66666666vw;
  right: 10.11111111vw;
  left: 21.5555555vw;
  backdrop-filter: blur(35px);
  display: flex;
  align-items: center;
  z-index: 10;
}

.nav__link_logo {
  margin-right: auto;
}

.nav__link {
  font-size: 1.33333333vw;
  padding: 1.27777777vw 2.5vw;
  color: #000;
  text-decoration: none;
}

.nav__link:hover {
  opacity: 0.5;
  transition: 0.3s opacity;
}

.header {
  padding-top: 8.16666666vw;
  padding-right: 10.11111111vw;
  padding-left: 21.88vw;
  position: relative;
  margin-bottom: 10vw;
}

.header__lines {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 170.33vw;
  z-index: -1;
}

.header__lines_right {
  position: absolute;
  height: 35.6666666vw;
  left: unset;
  width: auto;
}

.header__lines path {
  stroke-dasharray: 4000;
  animation: dash 4s ease-out forwards;
}

@keyframes dash {
  from {
    stroke-dashoffset: 4000;
  }
  to {
    stroke-dashoffset: 0;
  }
}

.header__logo-top,
.header__logo-bottom {
  background-image: url("../images/front-landing/header-logo-top.svg");
  background-size: contain;
  background-repeat: no-repeat;
  animation: 0.5s ease fadeIn;
  height: 27.8333333vw;
}

.header__logo-bottom {
  background-image: url("../images/front-landing/header-logo-bottom.svg");
  background-position: bottom center;
  animation-duration: 1s;
}

.header__title {
  font-weight: 400;
  font-size: 3.05vw;
  line-height: 1;
  padding: 1.94vw 0;
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
  text-align: center;
  animation: 0.5s ease fadeIn;
}

.what-we-do {
  padding-top: 7.8vw;
  padding-left: 20vw;
  margin-bottom: 7.77777777vw;
}

.what-we-do__title {
  font-size: 3.33vw;
  font-weight: 400;
  color: #fff;
  margin-bottom: 15.44444444vw;
}

.what-we-do__text {
  width: 62.55vw;
  font-size: max(3.05555555vw, 16px);
  line-height: 1;
  margin-bottom: 3.05555555vw;
}

.what-we-do__text:last-child {
  margin-bottom: 0;
}

@media (max-width: 500px) {
  .what-we-do {
    padding-top: 18vw;
  }

  .what-we-do__title {
    color: #4a69f3;
    margin-bottom: 24px;
  }
}

@keyframes fadeIn {
  from {
    transform: scale(0.97) translateY(0.22222222vw);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* WHY SECTION - START */

.why-section {
  position: relative;
  padding-top: 40vw;
  margin-bottom: max(2vw, 40px);
}

.why-mobile-decor {
  position: absolute;
  right: 0;
  top: 5vw;
  width: 100%;
  height: auto;
}

.why-desktop-decor {
  display: none;
}

.why-container {
  max-width: 70vw;
  margin: 0 auto;
}

.why-sectionTitle {
  font-size: 2.3vh;
  color: #e3ae00;
  letter-spacing: -2%;
  font-weight: 400;
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}

.why-mobile-title-logo {
  width: 30vw;
  max-width: 120px;
  height: auto;
  margin-left: 3px;
  margin-top: 5px;
}

.why-desktop-title-logo {
  display: none;
}

.whyItem {
  background-color: #f2f2f2;
  margin-bottom: 10px;
  padding: 16px 8px;
}

.whyItem__title {
  font-size: max(3.05555555vw, 16px);
  line-height: 1.32;
  font-weight: 400;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.whyItem__description {
  font-size: max(3.05555555vw, 16px);
  line-height: 1.15;
}

/* WHY SECTION - END */

/* >>> */

.our-product-section {
  padding-top: 60.8888888vw;
  background: url("../images/front-landing/grey-green-path.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top center;
  min-height: 297.222222vw;
}

.bankify-winner-section {
  padding-top: 46.2222222vw;
  background: url("../images/front-landing/yellow-blue-path.svg");
  background-size: contain;
  background-repeat: no-repeat;
  margin-top: -22.2222222vw;
  margin-bottom: 14.6666666vw;
  background-position: top center;
}

.appreciated {
  margin-right: 15.8333333vw;
  margin-left: 21.6111111vw;
  margin-bottom: 38.4444444vw;
}

.appreciated__title {
  font-size: 3.33333333vw;
  font-weight: 400;
  color: #fff;
  margin-bottom: 6.05555555vw;
}

.appreciated__text {
  font-size: 3.05555555vw;
  line-height: 1;
}

.appreciated__text + .appreciated__text {
  margin-top: 3.27777777vw;
}

/* OUR PRODUCTS - START */
.product-family__title {
  font-size: max(8.66666666vw, 28px);
  line-height: 1;
  text-align: center;
  font-weight: 400;
  color: #000000;
  margin-bottom: 6.05555555vw;
  white-space: nowrap;
}

.product-card {
  margin-top: 1.66666666vw;
  margin-right: 17.3888888vw;
  margin-left: 18.5vw;
  display: flex;
  flex-direction: column;
  gap: max(0.5555vw, 10px);
}

.product-card_bordered {
  outline: 1vw solid #fff;
}

.product-card_otc {
  height: 50.55555554vw;
}

.product-card.product-card_invoicer {
  height: 61.6666666vw;
}

.product-card.product-card_bankify {
  height: 59.2222222vw;
}

.product-card__header {
  padding-top: max(0.3889vw, 2px);
  padding-right: max(0.8889vw, 4px);
  padding-bottom: max(0.3889vw, 2px);
  padding-left: max(1.7778vw, 4px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
}

.product-card__header.bg__green {
  background-color: var(--green);
  color: var(--white);
}

.product-card__header.bg__yellow {
  background-color: var(--yellow);
  color: var(--black);
}

.product-card__header.bg__blue {
  background-color: var(--blue);
  color: var(--black);
}

.product-card__title {
  margin: 0;
  padding: 0;
  min-width: 0;
  line-height: 1.3;
  font-weight: 400;
  text-transform: uppercase;
  color: inherit;
  font-size: 2.7778vw;
}

.product-card__title.color__green {
  color: var(--green);
}

.product-card__title.color__yellow {
  color: var(--yellow);
}

.product-card__title.color__blue {
  color: var(--blue);
}

.product-card__title-text {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card__link {
  display: inline-block;
  flex-shrink: 0;
  flex-grow: 0;
  background: url("../images/front-landing/arrow-right-circle.png") no-repeat 0 0;
  background-size: contain;
  width: 4.55555555vw;
  height: 4.55555555vw;
}

.product-card__body {
  background-color: var(--card-bg-color);
  padding: 2.33333333vw 2vw;
}

.product-card__description {
  color: #000000;
  font-weight: 400;
  line-height: 1.15;
  /* todo - set body default font-size: unset; */
  font-size: 2.7778vw;
}

/* ===
  OUR PRODUCTS - overriding 
  === */
.product-card__header > .product-card__title {
  visibility: hidden;
}

.product-card__body > .product-card__title {
  padding-bottom: max(2.7778vw, 16px);
}
/* OUR PRODUCTS - END */
/* <<< */

/* ====================
          FOOTER
   ==================== */

footer {
  background-color: var(--bg-color);
  color: var(--primary-color);
  padding: 2.5rem 0;
}

.footer-container {
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.brand-title {
  display: flex;
  align-items: center;
  color: var(--secondary-color);
  font-size: max(11.446vw, 12px);
  font-style: normal;
  font-weight: 400;
  line-height: max(13.735vw, 16px);
  letter-spacing: -4.12px;
  text-align: start;
}

.brand-logo {
  margin-left: 1rem;
  width: max(60vw, 260px);
  max-width: max(60vw, 260px);
}

.footer-main {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-nav {
  display: grid;
  gap: 1rem;
}

.nav-column {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 0.75rem;
}

.nav-link {
  color: var(--primary-color);
  text-decoration: none;
  font-size: max(1.111vw, 12px);
  transition: color 0.3s;
}

.nav-link:hover {
  color: var(--hover-color);
  cursor: pointer;
}

.footer-bottom {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 1rem;
}

.address {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  color: var(--text-color);

  font-size: max(1.111vw, 12px);
  font-style: normal;
  font-weight: 400;
  line-height: 100%; /* 12px */
  letter-spacing: -0.24px;
}

.copyright {
  color: var(--primary-color);
  font-size: max(1.111vw, 12px);
  align-self: start;
}

/* ====================
   TABLET MEDIA QUERIES
   ==================== */

@media screen and (min-width: 768px) {
  /* WHY SECTION - START */

  .why-section {
    padding-top: 20vw;
  }

  .why-mobile-title-logo {
    display: none;
  }

  .why-desktop-title-logo {
    display: block;
    z-index: 10;
    width: 15vw;
    height: auto;
    margin-left: 3px;
    margin-top: 5px;
  }

  .why-container {
    max-width: 70vw;
    margin: 0 auto;
  }

  .why-mobile-decor {
    display: none;
  }

  .why-desktop-decor {
    display: block;
    z-index: -1;
    position: absolute;
    right: 0;
    left: auto;
    top: 15px;
    min-width: 110%;
    height: auto;
  }

  .why-sectionTitle {
    color: #fff;
    font-size: 3vw;
    margin-bottom: 15vw;
    z-index: 10;
  }

  .whyItem {
    display: flex;
    justify-content: space-between;
    padding: 40px 33px;
    margin-bottom: 30px;
  }
  /* WHY SECTION - END */

  .footer-top {
    flex-direction: column;
    /*justify-content: space-between;*/
  }

  .footer-main {
    flex-direction: column;
    justify-content: space-between;
  }
  .whyItem__title {
    font-size: 2.5vw;
    min-width: 20vw;
    margin-bottom: 0;
  }

  .whyItem__description {
    font-size: 2.5vw;
    text-align: left;
  }

  .footer-nav {
    width: auto;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }

  .nav-column {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    justify-content: space-between;
    width: 100%;
  }

  /* >>> */
  /* OUR PRODUCTS - START */
  .product-card {
    gap: 0;
  }

  .product-card__header > .product-card__title {
    visibility: visible;
  }
  .product-card__body > .product-card__title {
    display: none;
  }
  /* OUR PRODUCTS - END */
  /* <<< */
}

/* ====================
   DESKTOP MEDIA QUERIES
   ==================== */

@media screen and (min-width: 1024px) {
  /* WHY SECTION - START */

  .why-section {
    padding-top: 19.5vw;
    margin-bottom: 2vw;
  }

  .whyItem {
    min-width: 370px;
  }

  /*.whyItem__title {*/
  /*  font-size: 3vh;*/
  /*}*/

  /* WHY SECTION - END */

  .footer-bottom {
    flex-direction: column;
    justify-content: start;
    align-items: flex-start;
  }
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }
  .footer-main,
  .nav-column {
    flex-direction: column;
  }
  .copyright {
    text-align: start;
  }
}

/* ====================
   LARGE DESKTOP
   ==================== */

@media screen and (min-width: 1440px) {
  /* WHY SECTION - START */

  .why-section {
    padding-top: 19.2vw;
    margin-bottom: 2vw;
  }

  .why-sectionTitle {
    margin-bottom: 10vw;
  }

  .why-desktop-title-logo {
    width: 13.2vw;
    margin-left: 8px;
    margin-top: 8px;
  }

  .whyItem__title {
    font-size: 2.3vw;
    min-width: 25vw;
  }

  /* WHY SECTION - END */

  .address,
  .copyright {
    font-size: 20px;
  }
}
