@font-face {
  font-family: "Satoshi";
  src: url(../fonts/Satoshi-Regular.woff) format("woff"), url(../fonts/Satoshi-Regular.woff2) format("woff2");
  font-weight: 400;
}
@font-face {
  font-family: "Satoshi";
  src: url(../fonts/Satoshi-Medium.woff) format("woff"), url(../fonts/Satoshi-Medium.woff2) format("woff2");
  font-weight: 500;
}
@font-face {
  font-family: "Satoshi";
  src: url(../fonts/Satoshi-Bold.woff) format("woff"), url(../fonts/Satoshi-Bold.woff2) format("woff2");
  font-weight: 700;
}

:root {
  --light-green: #dfeed7;
  --light-orange: #f9e4cf;
  --light-purple: #e7e0eb;
  --light-blue: #cee8f9;
  --font-satoshi: "Satoshi", sans-serif;
  --font-lustria: "Lustria", serif;
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
}

html {
  font-family: "Satoshi", sans-serif;
  color: #1b1b1b;
}
body {
  font-size: 20px;
}
.container {
  max-width: 1220px;
  padding: 0 40px;
  margin: 0 auto;
}
a {
  color: inherit;
}
img {
  vertical-align: middle;
  max-width: 100%;
}
h1,
h2 {
  font-family: var(--font-lustria);
  font-weight: 400;
  letter-spacing: -0.02em;
}
h1 {
  font-size: 45px;
}
h2 {
  font-size: 35px;
}
h3 {
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.center {
  text-align: center;
}

section,
footer,
.footer-links {
  margin-top: 100px;
}

.cta {
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  line-height: normal;

  padding: 9px 25px 11px;
  text-decoration: none;
  text-align: center;

  width: fit-content;

  border-radius: 16px;
  background: #1b1b1b;
}
.arrow {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
}
.arrow::after {
  content: "";
  display: inline-block;
  width: 1.2em;
  height: 1.2em;
  background-image: url("../images/arrow.svg");
  background-size: contain;
  background-repeat: no-repeat;
}
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
}
@media (max-width: 500px) {
  body {
    font-size: 16px;
  }
  h1 {
    font-size: 32px;
  }
  h2 {
    font-size: 28px;
  }
  h3 {
    font-size: 18px;
  }
  section,
  footer,
  .footer-links {
    margin-top: 75px;
  }
  .cta {
    font-size: 16px;
  }
}

/* ====================== Navbar ====================== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
}

.custom-li > li {
  margin-left: 15px;
}

#about {
  scroll-margin-top: 50px;
}

#services {
  scroll-margin-top: 50px;
}

#casestudies {
  scroll-margin-top: 50px;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--light-purple);
  border-radius: 3rem;
  padding: 5px 15px;
  margin: 20px 0;
}

.navbar-links ul {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 25px;
}

.navbar-links li {
  list-style: none;
}

.navbar-links li a {
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
  display: block;
}
.navbar-cta {
  color: #fff;
  background-color: #1b1b1b;
  padding: 5px 15px;
  border-radius: 5em;
  font-size: 18px;
}

.toggle-button {
  position: absolute;
  top: 12.5px;
  right: 1rem;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 20px;
  height: 16px;
}

.toggle-button .bar {
  height: 3px;
  width: 100%;
  background-color: #1b1b1b;
  border-radius: 10px;
}

@media screen and (max-width: 768px) {
  .logo img {
    width: 100px;
    height: auto;
  }
  .toggle-button {
    display: flex;
  }

  .navbar {
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    margin: 25px 0;
    border-radius: 2rem;
  }
  .navbar-links {
    display: none;
    width: 100%;
  }
  .navbar-links ul {
    flex-direction: column;
    width: 100%;
    padding-bottom: 20px;
    margin-top: 50px;
    gap: 30px;
  }
  .navbar-links ul li {
    text-align: center;
  }

  .navbar-cta {
    padding: 8px 30px;
  }

  .navbar-links.active {
    display: flex;
  }
}
/* ====================== Footer ======================= */
footer {
  padding: 50px;
  padding-top: 100px;
  background-color: var(--light-purple);
  text-align: center;
}
.footer-top {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer .cta {
  margin: 0 auto;
}
.social-nav {
  display: flex;
  justify-content: center;
  gap: 15px;
}
.social-nav a {
  text-decoration: none;
  display: inline-block;
}
.footer-links {
  display: flex;
  gap: 20px;
  justify-content: space-around;
  /*margin-top: 50px;*/
  width: 50%;
  margin: 50px auto 0 auto;
}
.footer-links a {
  text-decoration: none;
}
.footer-links span {
  flex: 2;
}
.footer-links > * {
  text-align: center;
  font-size: 16px;
  line-height: normal;
  letter-spacing: -0.32px;
  flex: 1;
}
@media (max-width: 768px) {
  .footer {
    padding-top: 75px;
  }
  .footer-links {
    flex-wrap: wrap;
    flex-direction: column;
  }
}
