@charset "UTF-8";
:root {
  --cyan-050: #e0fcff;
  --cyan-100: #bef8fd;
  --cyan-200: #87eaf2;
  --cyan-300: hsl(184, 65%, 59%);
  --cyan-400: hsl(185, 57%, 50%);
  --cyan-500: hsl(185, 62%, 45%);
  --cyan-600: #14919b;
  --cyan-700: hsl(185, 81%, 29%);
  --cyan-800: #0a6c74;
  --cyan-900: #044e54;
  --warm-grey-050: hsl(40, 23%, 97%);
  --warm-grey-100: hsl(43, 13%, 90%);
  --warm-grey-200: #d3cec4;
  --warm-grey-300: #b8b2a7;
  --warm-grey-500: #857f72;
  --warm-grey-600: #625d52;
  --warm-grey-700: #504a40;
  --warm-grey-800: #423d33;
  --warm-grey-900: #27241d;
  --red-050: #ffeeee;
  --red-100: #facdcd;
  --red-200: #f29b9b;
  --red-300: #e66a6a;
  --red-400: #d64545;
  --red-500: #ba2525;
  --red-600: #a61b1b;
  --red-700: #911111;
  --red-800: #780a0a;
  --red-900: #610404;
  --yellow-050: #fffaeb;
  --yellow-100: #fcefc7;
  --yellow-200: #f8e3a3;
  --yellow-300: #f9da8b;
  --yellow-400: #f7d070;
  --yellow-500: #e9b949;
  --yellow-600: #c99a2e;
  --yellow-700: #a27c1a;
  --yellow-800: #7c5e10;
  --yellow-900: #513c06;
  --teal-050: hsl(152, 68%, 96%);
  --teal-100: hsl(154, 75%, 87%);
  --teal-200: hsl(156, 73%, 74%);
  --teal-300: hsl(158, 58%, 62%);
  --teal-400: hsl(160, 51%, 49%);
  --teal-500: hsl(162, 63%, 41%);
  --teal-600: hsl(164, 71%, 34%);
  --teal-700: hsl(166, 72%, 28%);
  --teal-800: hsl(168, 80%, 23%);
  --teal-900: hsl(170, 97%, 15%);
  --color-body: var(--warm-grey-900);
  --color-primary: var(--teal-300);
  --color-secondary: var(--yellow-300);
  --color-tertiary: var(--red-200);
  --color-primary-darker: var(--teal-400);
  --color-secondary-darker: var(--yellow-400);
  --color-tertiary-darker: var(--red-300);
  --color-primary-opacity: var(--cyan-050);
  --color-secondary-opacity: #ffcd0331;
  --color-tertiary-opacity: #ff58602d;
  --gradient-primary: linear-gradient(to top left; #39b385; #9be15d);
  --gradient-secondary: linear-gradient(to top left; #ffb003; #ffcb03);
}

:root {
  --border-radius-sm:2rem;
  --border-radius-l:10rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}

html {
  font-size: 62.5%;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  color: var(--color-body);
  line-height: 1.9;
  background-color: var(--warm-grey-050);
}

h1 {
  font-weight: 500;
}

h2 {
  font-weight: 500;
}

h3 {
  font-weight: 500;
}

h4 {
  font-weight: 500;
}

h5 {
  font-weight: 500;
}

h6 {
  font-weight: 500;
}

h1 {
  font-size: 5.5rem;
  line-height: 1.35;
  margin-bottom: 2rem;
}

h3 {
  font-size: 4rem;
  line-height: 1.3;
}

h4 {
  font-size: 2.4rem;
  max-width: 25ch;
}
@media screen and (min-width: 1024px) {
  h4 {
    max-width: none;
  }
}

h5 {
  font-size: 2.25rem;
  line-height: 3.375rem;
}

p {
  font-size: 1.7rem;
  line-height: 3.4rem;
  color: var(--color-body);
}

/* GENERAL ELEMENTS */
.container {
  width: 95%;
  margin: 0 auto;
}
@media screen and (min-width: 768px) {
  .container {
    width: 668px;
  }
}
@media screen and (min-width: 1024px) {
  .container {
    width: 924px;
  }
}
@media screen and (min-width: 1440px) {
  .container {
    width: 1240px;
  }
}

/* UTILITIES. */
.hidden {
  visibility: hidden;
  opacity: 0;
}

.section {
  padding: 18rem 5rem 15rem 5rem;
  border-top: 1px solid var(--warm-grey-200);
  transition: transform 1s, opacity 1s;
}
@media screen and (min-width: 1024px) {
  .section {
    padding: 15rem;
  }
}
.section--hidden {
  opacity: 0;
  transform: translateY(8rem);
}
.section__title {
  max-width: 80rem;
  margin: 0 auto 8rem auto;
}
.section__description {
  font-size: 1.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

img {
  transition: filter 0.5s;
}

.lazy-img {
  filter: blur(20px);
}

/* HEADER */
.header {
  --nav-height: 9rem;
  --tiny-nav:4rem;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.header__title {
  flex: 1;
  padding-top: calc(var(--tiny-nav) * 2);
  display: flex;
  flex-direction: column-reverse;
}
@media screen and (min-width: 768px) {
  .header__title {
    display: grid;
    grid-template-columns: 3fr 2fr;
    row-gap: 3rem;
    align-content: center;
    justify-content: center;
    align-items: center;
    justify-items: start;
  }
}
@media screen and (min-width: 1024px) {
  .header__title {
    padding-top: 0;
  }
}
.header__img {
  margin: 2rem 0;
  max-height: calc(var(--tiny-nav) * 4);
}
@media screen and (min-width: 768px) {
  .header__img {
    margin: 0;
    max-height: auto;
    grid-column: 2/3;
    grid-row: 1/span 4;
  }
}
.header__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left top;
}

.highlight {
  color: var(--color-primary);
}

/* FOOTER */
.footer {
  padding: 10rem 3rem;
  background-color: var(--warm-grey-900);
}
.footer__nav {
  list-style: none;
  margin-bottom: 5rem;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .footer__nav {
    display: flex;
    justify-content: space-between;
  }
}
.footer__link {
  font-size: 1.6rem;
  color: var(--warm-grey-050);
  text-decoration: none;
}
.footer__logo {
  height: 5rem;
  display: block;
  margin: 0 auto;
  margin-bottom: 5rem;
}
.footer__copyright {
  font-size: 1.4rem;
  color: #aaa;
  text-align: center;
}
.footer__copyright .footer__link {
  font-size: 1.4rem;
}

.flex-column {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--nav-height);
  width: 100%;
  padding: 0 1rem;
  position: relative;
  z-index: 100;
}
@media screen and (min-width: 1024px) {
  .nav {
    padding: 0 2rem;
  }
}
@media screen and (min-width: 1280px) {
  .nav {
    padding: 0 6rem;
  }
}
.nav.sticky {
  position: fixed;
  background-color: rgba(255, 255, 255, 0.95);
}
.nav.sticky .nav__links {
  background-color: rgba(255, 255, 255, 0.95);
}
.nav__logo {
  height: 4.5rem;
  transition: all 0.3s;
}
.nav__tiny-screen {
  display: flex;
  gap: 1.5rem;
}
.nav__tiny-screen a.btn--show-modal {
  display: none;
}
@media screen and (min-width: 768px) {
  .nav__tiny-screen a.btn--show-modal {
    display: inline-block;
  }
}
@media screen and (min-width: 1024px) {
  .nav__tiny-screen {
    display: none;
  }
}
.nav__links {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 0.5rem;
  position: absolute;
  top: var(--nav-height);
  left: 0;
  z-index: 1000;
  width: 100vw;
  height: var(--tiny-nav);
  background-color: var(--warm-grey-050);
  border-width: 1px 0;
  border-color: var(--warm-grey-500);
  border-style: solid;
}
@media screen and (min-width: 425px) {
  .nav__links {
    column-gap: 1rem;
  }
}
@media screen and (min-width: 1024px) {
  .nav__links {
    height: var(--tiny-nav);
    position: unset;
    border: none;
    justify-content: end;
  }
}
.nav__item {
  margin: 0;
  display: inline-block;
  text-align: center;
}
@media screen and (min-width: 1024px) {
  .nav__item {
    margin-left: 3rem;
  }
}
@media screen and (min-width: 1280px) {
  .nav__item {
    margin-left: 4rem;
  }
}
.nav__item:nth-child(n+4) {
  display: none;
}
@media screen and (min-width: 1024px) {
  .nav__item:nth-child(n+4) {
    display: inline-block;
  }
}
.nav__link:link, .nav__link:visited {
  font-size: 1.7rem;
  font-weight: 400;
  color: inherit;
  text-decoration: none;
  display: block;
  transition: all 0.3s;
}
.nav__link--btn:link, .nav__link--btn:visited {
  padding: 0.8rem 1.5rem;
  border-radius: 1rem;
  background-color: var(--color-primary);
  color: var(--color-body);
}
@media screen and (min-width: 1024px) {
  .nav__link--btn:link, .nav__link--btn:visited {
    border-radius: 3rem;
    padding: 0.8rem 2rem;
  }
}
@media screen and (min-width: 1280px) {
  .nav__link--btn:link, .nav__link--btn:visited {
    padding: 0.8rem 2.5rem;
  }
}
.nav__link--btn:hover, .nav__link--btn:active {
  color: inherit;
  background-color: var(--color-primary-darker);
  color: #333;
}

button:focus {
  outline: none;
}

.btn {
  display: inline-block;
  text-align: center;
  background-color: var(--cyan-200);
  font-size: 1.6rem;
  font-family: inherit;
  font-weight: 500;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 1rem;
  cursor: pointer;
  transition: all 0.3s;
}
@media screen and (min-width: 1024px) {
  .btn {
    border-radius: var(--border-radius-l);
    padding: 1.25rem 4.5rem;
  }
}
.btn:link, .btn:visited {
  text-decoration: none;
  color: var(--color-body);
}
.btn:hover {
  background-color: var(--cyan-300);
}
.btn--text {
  display: inline-block;
  background: none;
  font-size: 1.7rem;
  font-family: inherit;
  font-weight: 500;
  color: var(--cyan-300);
  border: none;
  border-bottom: 1px solid currentColor;
  padding-top: 6rem;
  padding-bottom: 2px;
  cursor: pointer;
  transition: all 0.3s;
}

#back-to-top {
  padding: 1rem;
  width: 15ch;
  height: 15ch;
  transform: scale(0.5);
  display: none;
  background-color: var(--yellow-400);
  border-radius: 50%;
  transition: all 0.2s;
  cursor: pointer;
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
}
@media screen and (min-width: 768px) {
  #back-to-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}
#back-to-top:hover {
  transform: scale(0.8);
}
#back-to-top span:first-child {
  font-size: 5rem;
  line-height: 2ch;
}
#back-to-top span:last-child {
  display: none;
}
@media screen and (min-width: 1024px) {
  #back-to-top span:first-child {
    font-size: 2.5rem;
    line-height: 2ch;
  }
  #back-to-top span:last-child {
    display: inline-block;
  }
  #back-to-top:hover {
    transform: scale(1);
  }
}

.btn--show-modal {
  background-color: var(--teal-200);
}
.btn--show-modal:hover {
  background-color: var(--teal-300);
}

.section--sign-up .btn--show-modal {
  font-size: 2rem;
}

.btn--bank:link, .btn--bank:visited {
  background-color: var(--yellow-300);
}
.btn--bank:hover {
  background-color: var(--yellow-400);
}

.operations {
  max-width: 100rem;
  margin: 12rem auto 0 auto;
  background-color: #fff;
}
.operations__tab-container {
  display: flex;
  justify-content: center;
}
.operations__tab {
  margin-right: 1rem;
  transform: translateY(-50%);
}
@media screen and (min-width: 768px) {
  .operations__tab {
    margin-right: 2.5rem;
  }
}
.operations__tab span {
  margin-right: 1rem;
  font-weight: 600;
  display: none;
}
@media screen and (min-width: 768px) {
  .operations__tab span {
    display: inline-block;
  }
}
.operations__tab--1 {
  background-color: var(--color-secondary);
}
.operations__tab--1:hover {
  background-color: var(--color-secondary-darker);
}
.operations__tab--3 {
  background-color: var(--color-tertiary);
  margin: 0;
}
.operations__tab--3:hover {
  background-color: var(--color-tertiary-darker);
}
.operations__tab--active {
  transform: translateY(-66%);
}
.operations__content {
  display: none;
  font-size: 1.7rem;
  padding: 2.5rem 4rem 6.5rem 4rem;
}
@media screen and (min-width: 768px) {
  .operations__content {
    padding: 2.5rem 7rem 6.5rem 7rem;
  }
}
.operations__content--active {
  display: block;
}
@media screen and (min-width: 768px) {
  .operations__content--active {
    display: grid;
    grid-template-columns: 7rem 1fr;
    column-gap: 3rem;
    row-gap: 0.5rem;
  }
}
.operations__header {
  align-self: center;
}
.operations__icon {
  display: none;
  align-items: center;
  justify-content: center;
  height: 7rem;
  width: 7rem;
  border-radius: 50%;
}
@media screen and (min-width: 768px) {
  .operations__icon {
    display: flex;
  }
}
.operations__icon svg {
  height: 2.75rem;
  width: 2.75rem;
}
.operations__content p {
  grid-column: 2;
}
.operations__icon--1 {
  background-color: var(--color-secondary-opacity);
}
.operations__icon--2 {
  background-color: var(--color-primary-opacity);
}
.operations__icon--3 {
  background-color: var(--color-tertiary-opacity);
}
.operations__icon--1 svg {
  fill: var(--color-secondary-darker);
}
.operations__icon--2 svg {
  fill: var(--cyan-500);
}
.operations__icon--3 svg {
  fill: var(--color-tertiary);
}

/* FEATURES */
.features__card {
  background-color: #fff;
  flex: 1;
}
.features__figure {
  width: 100%;
}
.features__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.features__feature {
  padding: 4rem 5rem;
  margin-bottom: 5rem;
  font-size: 1.5rem;
}
@media screen and (min-width: 1024px) {
  .features__feature {
    margin-bottom: 0;
  }
}
.features__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary-opacity);
  height: 4rem;
  width: 4rem;
  border-radius: 50%;
  margin: 0 auto 2rem auto;
}
@media screen and (min-width: 1440px) {
  .features__icon {
    margin: 0;
  }
}
.features__icon svg {
  height: 2rem;
  width: 2rem;
  fill: var(--color-primary);
}
.features__header {
  font-size: 2rem;
  margin-bottom: 1rem;
}
@media screen and (min-width: 1440px) {
  .features__header {
    display: grid;
    grid-template-columns: 5rem auto;
    align-items: center;
  }
}
@media screen and (min-width: 1024px) {
  .features {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
  }
}
@media screen and (min-width: 1280px) {
  .features {
    margin: 0 12rem;
  }
}

/* MODAL WINDOW */
.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 60rem;
  overflow-x: hidden;
  background-color: var(--warm-grey-050);
  padding: 5rem 6rem;
  box-shadow: 0 4rem 6rem rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: all 0.5s;
}
.modal__header {
  font-size: 3.25rem;
  margin-bottom: 4.5rem;
  line-height: 1.5;
}
.modal__form {
  margin: 0 3rem;
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: center;
  gap: 2.5rem;
}
.modal__form label {
  font-size: 1.7rem;
  font-weight: 500;
}
.modal__form input {
  font-size: 1.7rem;
  border: 1px solid var(--warm-grey-200);
  border-radius: 0.5rem;
  padding: 1rem 1.5rem;
}
.modal__form fieldset {
  border: 1px solid var(--warm-grey-050);
}
.modal__form button {
  grid-column: 1/span 2;
  justify-self: center;
  margin-top: 1rem;
}
.modal__item {
  transition: all 0.2s;
}
.modal__item--form.submitted {
  transform: translateX(-60rem);
}
.modal__item--response {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  height: 100%;
  width: 100%;
  padding: 5rem 6rem;
  background-color: var(--warm-grey-050);
  position: absolute;
  top: 0;
  left: 60rem;
  z-index: 5;
}
.modal__item--response.active {
  left: 0;
}
.modal__item--response h2 {
  text-align: center;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 100;
  transition: all 0.5s;
}

.btn--close-modal {
  font-family: inherit;
  color: inherit;
  position: absolute;
  top: 0.5rem;
  right: 2rem;
  z-index: 10;
  font-size: 4rem;
  cursor: pointer;
  border: none;
  background: none;
}

/* TESTIMONIALS */
.testimonial {
  width: 100%;
  position: relative;
}
@media screen and (min-width: 768px) {
  .testimonial {
    width: 65%;
  }
}
@media screen and (min-width: 768px) {
  .testimonial::before {
    content: "“";
    position: absolute;
    top: -5.7rem;
    left: -6.8rem;
    line-height: 1;
    font-size: 20rem;
    font-family: inherit;
    color: var(--color-primary);
    z-index: -1;
  }
}
.testimonial__header {
  margin-bottom: 1.5rem;
}
.testimonial__text {
  font-size: 1.7rem;
  margin-bottom: 3.5rem;
  color: var(--color-body);
}
.testimonial__author {
  margin-left: 3rem;
  font-style: normal;
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  column-gap: 2rem;
}
.testimonial__photo {
  grid-row: 1/span 2;
  width: 6.5rem;
  border-radius: 50%;
}
.testimonial__name {
  font-size: 1.7rem;
  font-weight: 500;
  align-self: end;
  margin: 0;
}
.testimonial__location {
  font-size: 1.5rem;
}

.section__title--testimonials {
  margin-bottom: 4rem;
}

/* SLIDER */
.slider {
  max-width: 100rem;
  margin: 0 auto;
  position: relative;
  overflow-x: hidden;
}

.slide {
  position: absolute;
  top: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 1s;
}

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

.slider__btn {
  display: none;
  cursor: pointer;
}
@media screen and (min-width: 768px) {
  .slider__btn {
    display: block;
    position: absolute;
    top: 50%;
    z-index: 10;
    border: none;
    background: rgba(255, 255, 255, 0.7);
    font-family: inherit;
    color: #333;
    border-radius: 50%;
    height: 5.5rem;
    width: 5.5rem;
    font-size: 3.25rem;
  }
}

.slider__btn--left {
  left: 6%;
  transform: translate(-50%, -50%);
}

.slider__btn--right {
  right: 6%;
  transform: translate(50%, -50%);
}

.dots {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
}

.dots__dot {
  border: none;
  background-color: #b9b9b9;
  opacity: 0.7;
  height: 1rem;
  width: 1rem;
  border-radius: 50%;
  margin-right: 1.75rem;
  cursor: pointer;
  transition: all 0.5s;
}

.dots__dot:last-child {
  margin: 0;
}

.dots__dot--active {
  background-color: #888;
  opacity: 1;
}

.cookie-message {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  width: 100%;
  background-color: white;
  color: #bbb;
  font-size: 1.5rem;
  font-weight: 400;
}

/*# sourceMappingURL=style.css.map */
