@import url("https://fonts.googleapis.com/css2?family=Karla:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=DM+Serif+Display&display=swap");
*,
*::after,
*::before {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding: 0;
  margin: 0;
  border: none;
  outline: none;
  text-decoration: none;
  list-style: none;
  color: inherit;
}

/*
    --color-success: #88c459;
    --color-error: #f5414f;
    --color-warning: #ffd137;
  */
/*------------------------------------------------------------------------------*/
/* -------------------------------- Typography -------------------------------- */
/*------------------------------------------------------------------------------*/
body {
  font-size: 0.9375rem;
  font-family: "Karla";
  font-weight: 700;
}

h1,
h2,
h3 {
  font-weight: 400;
  font-family: "DM Serif Display";
}

h1 {
  font-size: 2.875rem;
}

@media screen and (min-width: 768px) {
  h1 {
    font-size: 4.375rem;
  }
}

h2 {
  font-size: 1.625rem;
}

h3 {
  font-size: 46px;
}

@media screen and (min-width: 768px) {
  h3 {
    font-size: 0.563rem;
  }
}

a {
  text-transform: uppercase;
  font-size: 14px;
}

@media screen and (min-width: 768px) {
  a {
    font-size: 13px;
  }
}

.container {
  max-width: 1110px;
  margin: auto;
}

.nav {
  z-index: 100;
  position: fixed;
  background: #fafafa;
  width: 100%;
  padding: 0.8rem 1.5rem;
}

.nav .container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: baseline;
      -ms-flex-align: baseline;
          align-items: baseline;
}

.nav .container .nav__logo {
  width: 110px;
}

.nav .container .nav__icon {
  cursor: pointer;
  border: 2px #2d2640 solid;
  width: 30px;
  height: 30px;
  padding: 0 3px;
}

.nav .container .nav__icon span {
  width: 80%;
  display: block;
  margin: 5px auto;
  height: 2px;
  width: 100%;
  background-color: #2d2640;
  -webkit-transition: -webkit-transform ease-in-out 0.4s;
  transition: -webkit-transform ease-in-out 0.4s;
  -o-transition: transform ease-in-out 0.4s;
  transition: transform ease-in-out 0.4s;
  transition: transform ease-in-out 0.4s, -webkit-transform ease-in-out 0.4s;
}

.nav .container .nav__icon--active span:nth-child(1) {
  -webkit-transform: rotate(-45deg) translate(-5px, 5px);
      -ms-transform: rotate(-45deg) translate(-5px, 5px);
          transform: rotate(-45deg) translate(-5px, 5px);
}

.nav .container .nav__icon--active span:nth-child(2) {
  -webkit-transform: scaleX(0);
      -ms-transform: scaleX(0);
          transform: scaleX(0);
}

.nav .container .nav__icon--active span:nth-child(3) {
  -webkit-transform: rotate(-135deg) translate(5px, 5px);
      -ms-transform: rotate(-135deg) translate(5px, 5px);
          transform: rotate(-135deg) translate(5px, 5px);
}

@media screen and (min-width: 768px) {
  .nav .container .nav__icon {
    display: none;
  }
}

.nav .container .nav__menu {
  text-align: center;
  position: absolute;
  left: 0;
  top: 3.5rem;
  width: 100%;
  height: 0;
  color: #fafafa;
  overflow: hidden;
  -webkit-transition: all ease 0.3s;
  -o-transition: all ease 0.3s;
  transition: all ease 0.3s;
}

@media screen and (min-width: 768px) {
  .nav .container .nav__menu {
    position: static;
    width: auto;
    color: #2d2640;
    height: auto;
  }
}

.nav .container .nav__menu--active {
  height: calc(100vh - 3.5rem);
  padding-top: 1.3rem;
  background: #2b272f url("../images/home/bg-pattern-mobile-nav.svg") bottom/100% no-repeat;
}

.nav .container .nav__menu .menu__item {
  margin: 3px auto;
  width: 85%;
  max-width: 20.3rem;
  margin: 1rem auto;
}

@media screen and (min-width: 768px) {
  .nav .container .nav__menu .menu__item {
    color: #837d87;
    width: auto;
    display: inline-block;
    margin: 0.3rem;
  }
}

.nav .container .nav__menu .menu__link {
  display: block;
  padding: 0.8rem 2rem;
  -webkit-transition: color, background-color ease-in 0.1s;
  -o-transition: color, background-color ease-in 0.1s;
  transition: color, background-color ease-in 0.1s;
}

.nav .container .nav__menu .menu__link--active {
  border: 2px solid #fafafa;
  color: #fafafa;
}

.nav .container .nav__menu .menu__link:hover, .nav .container .nav__menu .menu__link:active, .nav .container .nav__menu .menu__link:focus {
  background-color: #fafafa;
  color: #2d2640;
}

@media screen and (min-width: 768px) {
  .nav .container .nav__menu .menu__link {
    background-color: #fafafa;
    color: #837d87;
    border-color: #2d2640;
  }
  .nav .container .nav__menu .menu__link--active {
    background: #fafafa;
    border: 2px solid #2b272f;
    color: #2d2640;
  }
  .nav .container .nav__menu .menu__link--active:hover, .nav .container .nav__menu .menu__link--active:active, .nav .container .nav__menu .menu__link--active:focus {
    color: #fafafa;
    background-color: #2b272f;
  }
}

header {
  background-color: #2d2640;
  color: #fafafa;
  text-align: center;
  position: relative;
}

header .container {
  z-index: 6;
  position: relative;
}

@media screen and (min-width: 768px) {
  header .container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    max-height: 460px;
    padding-bottom: 50px;
  }
}

header .container picture {
  width: 100%;
}

@media screen and (min-width: 768px) {
  header .container picture {
    width: 50%;
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
    padding-left: 2px;
  }
}

header .container picture .header__img {
  width: 100%;
}

header .container .header__content {
  position: relative;
  padding: 90px 8px 100px 8px;
}

header .container .header__content::before {
  content: "";
  display: block;
  width: 60%;
  height: 60%;
  position: absolute;
  top: 0;
  left: 0;
  background: url("../images/home/bg-pattern-intro-left-mobile.svg") top left/contain no-repeat;
}

header .container .header__content::after {
  content: "";
  display: block;
  width: 60%;
  height: 60%;
  position: absolute;
  bottom: -40%;
  right: 0;
  background: url("../images/home/bg-pattern-intro-right-mobile.svg") bottom right/contain no-repeat;
}

@media screen and (min-width: 768px) {
  header .container .header__content::before {
    display: none;
  }
  header .container .header__content::after {
    display: none;
  }
}

header .container .header__content .content__title {
  max-width: 16ch;
  margin: auto;
}

@media screen and (min-width: 768px) {
  header .container .header__content .content__title {
    margin-left: 0;
  }
  header .container .header__content .content__title::before {
    content: "";
    display: block;
    width: 40%;
    height: 2px;
    background: #fafafa;
    margin-bottom: 70px;
  }
}

header .container .header__content .content__p {
  max-width: 74ch;
  margin: 30px auto 35px auto;
  opacity: 0.7;
  line-height: 1.5rem;
}

@media screen and (min-width: 768px) {
  header .container .header__content .content__p {
    margin-left: 0;
  }
}

header .container .header__content .content__button {
  cursor: pointer;
  padding: 0.8rem 2rem;
  border: 2px solid #fafafa;
  color: #fafafa;
}

header .container .header__content .content__button:hover, header .container .header__content .content__button:active, header .container .header__content .content__button:focus {
  background-color: #fafafa;
  color: #2b272f;
}

@media screen and (min-width: 768px) {
  header .container .header__content {
    padding: 0;
    text-align: left;
  }
}

@media screen and (min-width: 768px) {
  header {
    padding: 6.5625rem 1.5rem 1.5rem;
  }
  header::before {
    content: "";
    top: 0;
    right: 0;
    position: absolute;
    width: 100%;
    height: 85%;
    background: url("../images/home/bg-pattern-intro-right-desktop.svg") right/contain no-repeat;
  }
  header::after {
    content: "";
    bottom: -50%;
    left: 0;
    position: absolute;
    width: 100%;
    height: 85%;
    background: url("../images/home/bg-pattern-intro-left-desktop.svg") left/contain no-repeat;
  }
}

.weAreDifferent {
  padding-bottom: 140px;
  padding-top: 140px;
  background: #fafafa;
}

.weAreDifferent .container {
  text-align: center;
  padding: 0 0.3rem;
}

@media screen and (min-width: 768px) {
  .weAreDifferent .container {
    text-align: left;
  }
}

.weAreDifferent .container .weAreDifferent__title {
  margin: auto;
  margin-top: 0;
  margin-bottom: 65px;
  color: #2b272f;
}

.weAreDifferent .container .weAreDifferent__title::before {
  content: "";
  display: block;
  width: 20%;
  height: 2px;
  background: #2b272f;
  margin: auto;
  margin-bottom: 70px;
}

@media screen and (min-width: 768px) {
  .weAreDifferent .container .weAreDifferent__title::before {
    margin: 0;
    margin-bottom: 70px;
  }
}

@media screen and (min-width: 768px) {
  .weAreDifferent .container .weAreDifferent__items {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
}

.weAreDifferent .container .weAreDifferent__items div {
  max-width: 375px;
  margin: 50px auto;
}

@media screen and (min-width: 768px) {
  .weAreDifferent .container .weAreDifferent__items div {
    margin: 50px 0;
    margin-right: 20px;
  }
}

.weAreDifferent .container .weAreDifferent__items div h2 {
  color: #2b272f;
  padding: 24px 0;
}

.weAreDifferent .container .weAreDifferent__items div p {
  color: #837d87;
  line-height: 1.5rem;
}

.weAreDifferent .container .more {
  width: 95%;
  margin: auto;
  margin-top: 150px;
  position: relative;
  padding: 75px 10px;
  background: #2d2640;
  color: #fafafa;
  text-align: center;
}

.weAreDifferent .container .more::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: url("../images/home/bg-pattern-how-we-work-mobile.svg") right top/contain no-repeat;
}

@media screen and (min-width: 768px) {
  .weAreDifferent .container .more::before {
    background: url("../images/home/bg-pattern-how-we-work-desktop.svg") right top/contain no-repeat;
  }
}

.weAreDifferent .container .more::after {
  display: block;
  content: "";
  clear: both;
}

@media screen and (min-width: 768px) {
  .weAreDifferent .container .more {
    padding: 75px;
  }
}

.weAreDifferent .container .more h1 {
  z-index: 6;
  position: relative;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  margin-bottom: 40px;
}

@media screen and (min-width: 768px) {
  .weAreDifferent .container .more h1 {
    font-size: 2.8rem;
    float: left;
    max-width: 393px;
    font-size: 2.7rem;
    margin: 0;
    text-align: left;
  }
}

.weAreDifferent .container .more a {
  z-index: 6;
  position: relative;
  cursor: pointer;
  padding: 0.8rem 2rem;
  border: 2px solid #fafafa;
  color: #fafafa;
}

.weAreDifferent .container .more a:hover, .weAreDifferent .container .more a:active, .weAreDifferent .container .more a:focus {
  cursor: pointer;
  background-color: #fafafa;
  color: #2b272f;
}

@media screen and (min-width: 768px) {
  .weAreDifferent .container .more a {
    float: right;
    margin-top: 30px;
  }
}

@media screen and (min-width: 768px) {
  .weAreDifferent {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

footer {
  padding: 50px;
  text-transform: uppercase;
  position: relative;
}

footer .container {
  text-align: center;
}

footer .container .head {
  z-index: 6;
  position: relative;
  border-bottom: 2px solid #d1d1d1;
}

footer .container .head ul {
  margin: 30px 0;
}

footer .container .head li {
  display: inline;
  margin: 10px;
}

footer .container .head li a {
  opacity: 0.7;
}

footer .container .head li a:hover, footer .container .head li a:active, footer .container .head li a:focus {
  opacity: 1;
}

@media screen and (min-width: 768px) {
  footer .container .head {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: baseline;
        -ms-flex-align: baseline;
            align-items: baseline;
  }
}

footer .container .links {
  z-index: 6;
  position: relative;
}

footer .container .links div h4 {
  margin: 38px 0;
  color: #837d87;
}

footer .container .links div ul li {
  margin: 8px 0;
}

footer .container .links div ul li a {
  opacity: 0.9;
}

footer .container .links div ul li a:hover, footer .container .links div ul li a:active, footer .container .links div ul li a:focus {
  opacity: 1;
}

@media screen and (min-width: 768px) {
  footer .container .links {
    text-align: left;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: baseline;
        -ms-flex-align: baseline;
            align-items: baseline;
  }
}

footer::before {
  content: "";
  width: 100%;
  height: 100%;
  display: block;
  top: 0;
  left: 0;
  position: absolute;
  background: url("../images/home/bg-pattern-footer-mobile.svg") top left/contain no-repeat;
}

@media screen and (min-width: 768px) {
  footer::before {
    background: url("../images/home/bg-pattern-footer-desktop.svg") top left/contain no-repeat;
    left: -250px;
  }
}

@media screen and (min-width: 768px) {
  footer {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
