@import url("reset.css");
@import url("https://fonts.googleapis.com/css2?family=Inter&family=Lato:wght@400;700;900&family=Rubik+Glitch&display=swap");
:root {
  --dark-grey: #1a1a1a;
  --glitch-darkness: #000000;
  --grey: #767676;
  --light-grey: #cccccc;
  --white: #ffffff;

  /* FONTS */
  --font-inter: "Inter", Arial, sans-serif;
  --font-lato: "Lato", "Helvetica Neue", Helvetica, sans-serif;
  --font-rubik-glitch: "Rubik Glitch", "Courier New", Courier, monospace;
}

.container {
  margin: 0 auto;
  max-width: 1280px;
}
.full-width {
  width: 100%;
}
.underline{
  text-decoration: underline;
}
body {
  background-color: var(--glitch-darkness);
  color: var(--white);
  margin: 0 80px;
  font-family: var(--font-lato);
  font-size: 16px;
  overflow-x: hidden;
}

/* MODAL */
.modal {
  display: none;
  align-items: center;
  position: fixed;
  z-index: 3;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.8);
}

/* Modal Content/Box */
.modal-content {
  display: flex;
  flex-direction: column;
  text-align: center;
  border-radius: 25px;
  background-color: var(--glitch-darkness);
  color: var(--white);
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  max-width: 300px;
  justify-content: space-between;
}

.modal-content .buttons {
  align-items: flex-end;
}

.header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
}

.header__nav {
  align-items: center;
  display: flex;
  flex-direction: row;
  gap: 24px;
  color: var(--grey);
  font-family: var(--font-lato);
}

.hamburger-menu {
  display: none;
  cursor: pointer;
}

.bar1,
.bar2,
.bar3 {
  width: 35px;
  height: 5px;
  border: 1px solid var(--white);
  margin: 6px 0;
  transition: 0.4s;
}

@media (max-width: 768px) {
  .header__nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--glitch-darkness);
    color: var(--white);
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
    flex-direction: column;
    display: none; /* Hide by default */
    z-index: 1;
  }

  .hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 2rem;
    height: 2rem;
    z-index: 2;
  }

  /* Show the nav when the checkbox is checked */
  #toggle:checked ~ .header__nav {
    display: flex;
  }

  /* Change the appearance of the hamburger menu when the checkbox is checked */
  #toggle:checked ~ #hamburger-menu .bar1 {
    transform: translate(0, 11px) rotate(-45deg);
  }

  #toggle:checked ~ #hamburger-menu .bar2 {
    opacity: 0;
  }

  #toggle:checked ~ #hamburger-menu .bar3 {
    transform: translate(0, -11px) rotate(45deg);
  }
}

/* HERO section */

.hero {
  text-align: center;
  margin-top: 117px;
  max-width: 656px;
  font-weight: 700;
  font-size: 72px;
  margin-bottom: 40px;
}

.hero__description {
  color: var(--grey);
  font-size: 16px;
  margin-top: 16px;
  padding: 0 105px;
  font-weight: 400;
}

.special-font {
  font-family: var(--font-rubik-glitch);
  font-weight: 400;
}

.buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
  font-weight: 400;
}
.buttons .btn {
  padding: 12px 24px;
  border-radius: 24px;
  cursor: pointer;
  width: 135px;
  text-align: center;
  font-size: 16px;
  text-decoration: none;
}
.btn--get-in-touch {
  background-color: var(--white);
  color: var(--glitch-darkness);
}

.btn--services {
  border: 1px solid #fff;
}

/* PURPLE THINGS */
.purple-thing.top-left {
  position: absolute;
  background-image: url("/assets/images/hero_left.png");
  background-repeat: no-repeat;
  background-size: cover;
  top: 492px;
  left: 80px;
  width: 106px;
  height: 151px;
  transform: translateX(50%) rotate(-24deg);
}

.purple-thing.bottom-right {
  position: absolute;
  background-image: url("/assets/images/hero_right.png");
  background-repeat: no-repeat;
  background-size: cover;
  top: 127px;
  right: 0px;
  width: 143px;
  height: 260px;
}

.purple-thing.it-services {
  position: absolute;
  background-image: url("/assets/images/circle_it-services.png");
  background-repeat: no-repeat;
  background-size: cover;
  bottom: 0;
  left: 0;
  width: 220px;
  height: 200px;
  transform: rotate(32deg);
}

.purple-thing.triangle {
  position: absolute;
  background-image: url("/assets/images/triangle.png");
  background-repeat: no-repeat;
  background-size: cover;
  top: 97px;
  left: 15px;
  width: 159px;
  height: 153px;
  transform: rotate(-32deg);
}
.purple-thing.square {
  position: absolute;
  background-image: url("/assets/images/square.png");
  background-repeat: no-repeat;
  background-size: cover;
  top: 67px;
  right: 63px;
  width: 79px;
  height: 73px;
  transform: rotate(-32deg);
}
.purple-thing.cropped_circle {
  position: absolute;
  background-image: url("/assets/images/cropped_circle.png");
  background-repeat: no-repeat;
  background-size: cover;
  bottom: 0;
  right: 210px;
  width: 165px;
  height: 120px;
}

/* TICKER TAPE */

.services-section {
  background: var(--white);
  color: var(--grey);
  border-radius: 32px;
  margin-top: 118px;
  padding: 32px 0px;
  overflow: hidden;

  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.tickerTape {
  width: max-content;
  white-space: nowrap;
  animation: slideIt 30s linear infinite;
}

.services-list {
  display: flex;
  gap: 24px;
  list-style-type: none;
}

.services-list__item {
  padding-left: 30px;
  position: relative;
  text-align: center;
  font-size: 24px;
  font-weight: 400;
  line-height: normal;
}

.services-list__item:before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.services-list__item--red:before {
  background-color: #ff6f6f;
}

.services-list__item--light-blue:before {
  background-color: #4de5ff;
}

.services-list__item--green:before {
  background-color: #5affba;
}

.services-list__item--blue:before {
  background-color: #3966ff;
}

.services-list__item--yellow:before {
  background-color: yellow;
}

.services-list__item--purple:before {
  background-color: purple;
}

.services-list__item--orange:before {
  background-color: orange;
}
@keyframes slideIt {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Services */
.services-container {
  display: flex;
  gap: 96px;
  justify-content: center;
}

.it-services {
  margin-top: 112px;
  width: 338px;
  position: relative;
}
.it-services__title {
  font-size: 64px;
}
.it-services__description {
  color: var(--grey);
  font-size: 16px;
  font-weight: 400;
}

.it-services .card {
  max-width: 400px;
}

/* CARDS */

.cards {
  margin-top: 189px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 32px;
}
.card {
  background-color: var(--dark-grey);
  color: var(--white);
  border-radius: 10px;
  padding: 32px 24px;
  max-width: 300px;
  box-sizing: border-box;
  max-width: 400px;
}

.card-icon {
  width: 50px;
  height: 50px;
}

.card-title {
  font-size: 24px;
  margin: 17px 0;
  font-size: 32px;
  font-weight: 400;
  line-height: normal;
}

.card-text {
  color: var(--grey);
  margin-top: 10px;
}

.white-box {
  padding: 121px 392px;
  background: var(--white);
  color: var(--glitch-darkness);
  border-radius: 80px;
  text-align: center;
  margin-top: 155px;
  font-size: 64px;
  margin-bottom: 40px;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* Fintech Consulting */
.fintech-consulting__title {
  margin-top: 112px;
  text-align: center;
  font-size: 64px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.fintech-cards {
  margin-top: 40px;
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(4, 1fr);
}

.stats {
  margin-top: 112px;
}

.stats__description {
  text-align: center;
  font-size: 64px;
  font-weight: 400;
  line-height: 72px; /* 112.5% */
}

.green {
  color: #5affba;
}
.red {
  color: #ff6f6f;
}

.blue {
  color: #3966ff;
}

.footer {
  margin-top: 56px;
  height: auto;
  border-radius: 80px;
  background: var(--white);
  color: var(--glitch-darkness);
}

.footer__content {
  display: flex;
  justify-content: space-between;
  padding: 0 80px;
}

.footer__row {
  margin: 56px 0 48px 0;
  display: flex;
  justify-content: space-between;
}

.footer__left {
  width: 50%;
  display: flex;
  align-items: center;
}

.footer__title {
  font-size: 40px;
  font-weight: 900;
  line-height: 40px;
  letter-spacing: -0.8px;
}

.contact-form {
  display: flex;
  flex-direction: column;
}

.footer__bottom {
  height: 290px;
  margin: 0 80px;
}

.form-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer form {
  width: 50%;
}

.full-input {
  border: 1px solid #ccc;
  border-radius: 12px;
  width: 100%;
  padding: 8px 24px 8px 16px;
  gap: 4px;
  display: flex;
  flex-direction: column;
}

.form-wrapper__title {
  font-weight: 700;
}

.form-wrapper__label {
  display: block;
  color: var(--grey);
  font-size: 10px;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.form-wrapper__input {
  outline: none;
  border: none;
  display: block;
  font-size: 16px;
  width: 100%;
  font-weight: 400;
  line-height: 140%;
}

.form__title {
  font-size: 14px;
  line-height: 140%;
  font-weight: 700;
}

.footer .btn--get-in-touch {
  padding: 12px 24px;
  gap: 12px;
  border-radius: 24px;
  background: var(--glitch-darkness);
  width: 135px;
  color: var(--white);
  margin-top: 28px;
  cursor: pointer;
}

.black-box {
  background-color: black;
  color: white;
  padding: 32px 40px;
  gap: 96px;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
}

.menu,
.contact {
  display: inline-block;
}

.menu {
  display: flex;
  justify-content: space-between;
}

.list {
  display: flex;
}

.nav__link,
.nav__separator {
  color: var(--grey);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-decoration: none;
}

.nav__link:hover {
  color: var(--light-grey);
}

.nav {
  white-space: nowrap;
}

.nav__separator {
  margin: 0 6px;
}

.links {
  display: flex;
  gap: 24px;
  flex-direction: column;
}

.links__menu {
  font-size: 10px;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  opacity: 0.6;
}

.black-box .btn--get-in-touch {
  color: var(--glitch-darkness);
  background-color: var(--white);
  margin-top: 0;
  height: 43px;
}

.footer__first-row {
  display: flex;
  justify-content: space-between;
}

.contacts {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info {
  display: flex;
  flex-direction: column;
  color: var(--grey);
  font-size: 12px;
  font-weight: 400;
  line-height: 130%;
  text-align: right;
}

.footer__second-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.socials {
  display: flex;
  gap: 8px;
  width: 100%;
}

.address {
  width: 442px;
  text-align: left;
  font-family: var(--font-inter);
  font-size: 12px;
  font-weight: 400;
  line-height: 130%;
  display: flex;
  flex-direction: column;
}

.footer__copyright {
  display: flex;
  justify-content: space-between;
  padding: 48px 80px 32px 80px;
  font-size: 10px;
  font-weight: 400;
  line-height: 140%;
}

.footer__links {
  display: flex;
  gap: 10px;
}

.privacy,
.cookies {
  margin-top: 56px;
  margin-bottom: 56px;
}

b {
  font-weight: 700;
}

.privacy__title,
.cookies__title {
  text-align: center;
  font-weight: 700;
  font-size: 48px;
  margin: 40px 0px;
  
}

.privacy__description,
.cookies__description {
  font-size: 16px;
  margin-top: 16px;
  text-align: justify;
}



.cookies__subtitle{
  font-size: 24px;
  font-weight: 700;
  margin-top: 16px;
}

.mail-link{
  text-decoration: underline;
}

.unordered-list{
  list-style-type: disc;
  padding-left: 40px;
}

.bold{
  font-weight: 700;
}

/* Media queries */
@media (max-width: 1024px) {
  .hero__title {
    font-size: 44px;
  }

  .services-container {
    gap: 60px;
  }

  .white-box {
    padding: 120px 250px;
    font-size: 48px;
    margin-top: 100px;
  }

  .fintech-cards {
    gap: 20px;
  }

  .card-title {
    font-size: 20px;
  }

  .stats.container {
    margin-top: 56px;
  }

  .stats__description {
    font-size: 44px;
  }

  .black-box {
    gap: 30px;
  }

  .footer__first-row {
    flex-direction: column;
    gap: 10px;
  }

  .footer__title {
    font-size: 34px;
  }

  .black-box .btn--get-in-touch {
    align-self: flex-end;
  }
}

@media (max-width: 768px) {
  .services-container {
    flex-direction: column;
  }

  .purple-thing.it-services {
    left: 350px;
  }

  .cards {
    margin-top: 56px;
  }

  .white-box {
    padding: 120px 150px;
  }

  .fintech-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats__description {
    font-size: 30px;
  }

  .nav {
    text-wrap: balance;
  }

  .footer {
    height: auto;
  }

  .footer__bottom {
    height: auto;
  }
}

@media (max-width: 430px) {
  body {
    margin: 0px 40px;
  }

  .header img {
    max-inline-size: 40%;
    max-block-size: 40%;
  }

  .purple-thing.bottom-right,
  .purple-thing.top-left,
  .purple-thing.it-services {
    display: none;
  }

  .hero {
    margin-top: 56px;
  }

  .hero__description {
    padding: 0px 20px;
  }

  .services-section {
    margin-top: 72px;
  }

  .services-container {
    align-items: center;
    gap: 72px;
  }

  .it-services {
    margin-top: 72px;
  }

  .cards {
    grid-template-columns: repeat(1, 1fr);
    margin-top: 0px;
  }

  .card-title {
    font-size: 32px;
  }

  .card-text {
    font-size: 16px;
  }

  .stats__description {
    line-height: initial;
  }

  .purple-thing.cropped_circle {
    display: none;
  }

  .purple-thing.square {
    top: -30px;
  }

  .purple-thing.triangle {
    top: 120px;
  }

  .white-box {
    font-size: 30px;
    padding: 45px;
  }

  .fintech-consulting__title {
    font-size: 54px;
    margin-top: 72px;
  }
  .fintech-cards {
    grid-template-columns: repeat(1, 1fr);
    margin-top: 72px;
  }

  .stats.container {
    margin-top: 72px;
  }

  .footer {
    margin-top: 72px;
    width: calc(100vw - 32px);
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: calc(-50vw + 16px);
    margin-right: calc(-50vw + 16px);
  }

  .footer__content {
    padding: 0 20px;
  }

  .footer__row {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .footer__left {
    width: initial;
  }

  .form-wrapper {
    width: 100%;
    align-items: center;
  }

  .footer form {
    width: 100%;
  }

  .footer__title {
    text-align: center;
  }

  .footer__bottom {
    margin: 0 20px;
  }

  .black-box {
    padding: 32px 15px;
  }

  .nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .nav__separator {
    display: none;
  }

  .footer__second-row {
    flex-direction: column;
  }

  .address {
    width: initial;
  }

  .footer__copyright {
    padding: 48px 40px 32px 40px;
  }
}
