@font-face {
  font-family: 'Overpass';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(assets/fonts/overpass/Overpass-VariableFont_wght.ttf) format('truetype-variations');
}
@font-face {
  font-family: 'Overpass';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url(assets/fonts/overpass/Overpass-Italic-VariableFont_wght.ttf) format('truetype-variations');
}

@font-face {
  font-family: 'Droid Serif';
  font-style: normal;
  font-weight: normal;
  font-display: swap;
  src: url(assets/fonts/droid-serif/DroidSerif-Regular.ttf) format('truetype');
}
@font-face {
  font-family: 'Droid Serif';
  font-style: italic;
  font-weight: normal;
  font-display: swap;
  src: url(assets/fonts/droid-serif/DroidSerif-Italic.ttf) format('truetype');
}
@font-face {
  font-family: 'Droid Serif';
  font-style: normal;
  font-weight: bold;
  font-display: swap;
  src: url(assets/fonts/droid-serif/DroidSerif-Bold.ttf) format('truetype');
}
@font-face {
  font-family: 'Droid Serif';
  font-style: italic;
  font-weight: bold;
  font-display: swap;
  src: url(assets/fonts/droid-serif/DroidSerif-BoldItalic.ttf) format('truetype');
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background-color: #000000;
  color: #ffffff;
  font-size: 16px;
  font-family: Droid Serif;
  padding-top: 157px;
}
img {
  max-width: 100%;
}
h1, h3 {
  font-family: Overpass;
}
h2 {
  color: #ceba85;
  font-size: 20px;
  font-weight: normal;
  text-transform: uppercase;
  margin-bottom: 32px;
  text-align: center;
}
a {
  color: #ceba85;
}
@media (max-width: 1366px) {
  body {
    padding-top: 108px;
  }
}
@media (max-width: 960px) {
  body {
    padding-top: 74px;
  }
}

.container {
  max-width: 1366px;
  margin: 0 auto;
  padding: 0 32px;
}
.button-primary {
  background-color: #ceba85;
  color: #000000;
  width: 270px;
  padding: 18px 45px;
  text-align: center;
  font-size: 16px;
  text-decoration: none;
  text-transform: uppercase;
  display: inline-block;
  font-family: Overpass;
  transition: background-color 0.2s ease-in;
}
.button-primary:hover {
  background-color: #ffffff;
}
.anchor {
  outline: none;
  display: block;
  position: absolute;
  width: 100%;
  height: 89px;
  top: -89px;
  z-index: 0;
}

@media (max-width: 1366px) {
  .container {
    max-width: 1140px;
  }
}
@media (max-width: 1140px) {
  .container {
    max-width: 960px;
  }
}
@media (max-width: 960px) {
  .container {
    max-width: 720px;
    padding: 0 16px;
  }
  .button-primary {
    width: 170px;
    font-size: 12px;
    padding: 12px 30px;
  }
}
@media (max-width: 720px) {
  .container {
    width: 375px;
  }
}

/* Main menu */
.main-menu {
  padding: 64px 0 32px;
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #000000;
  z-index: 2;
}
.main-menu .container {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.scroll .main-menu {
  padding: 16px 0;
}
.main-menu__links__mobile-trigger {
  display: none;
}
.main-menu__links ul {
  list-style-type: none;
}
.main-menu__links ul li {
  display: inline;
  margin-left: 90px;
  font-family: Overpass;
  font-size: 18px;
}
.main-menu__links ul li a {
  color: #ceba85;
  text-transform: uppercase;
  transition: all 0.2s ease-in;
}
.main-menu__links ul li a:hover {
  text-decoration: none;
  color: #ffffff;
}
@media (max-width: 1366px) {
  .main-menu {
    padding: 32px 0 16px;
  }
  .main-menu__links ul li {
    margin-left: 45px;
    font-size: 16px;
  }
}
@media (max-width: 960px) {
  .main-menu {
    padding: 16px 0;
  }
  .main-menu .container {
    display: block;
    position: relative;
    max-width: 100%;
    width: 100%;
    min-width: 375px;
  }
  .main-menu__logo {
    display: block;
    width: 100px;
  }
  .main-menu__logo a {
    height: 38.3px;
    display: block;
  }
  .main-menu__links {
    position: fixed;
    background-color: #000000;
    top: 0;
    right: -146px;
    transition: all 0.3s linear;
    bottom: 0;
    opacity: 0.9;
    box-shadow: 0 0 4px black;
    border-left: 5px solid #ceba85;
    background-color: #ffffff;
  }
  .main-menu__links__mobile-trigger {
    display: inline-block;
    width: 32px;
    height: 31px;
    background-color: #ceba85;
    position: absolute;
    left: -58px;
    top: 22px;
  }
  .main-menu__links__mobile-trigger::before,
  .main-menu__links__mobile-trigger::after {
    content: '';
    display: block;
    width: 100%;
    height: 8px;
    margin-top: 5px;
    background-color: #000000;
  }
  .main-menu.nav-visible .main-menu__links {
    right: 0;
  }
  .main-menu__links ul {
    padding: 8px 0;
  }
  .main-menu__links ul li {
    display: block;
    margin-left: 0;
    padding: 8px 16px;
  }
  .main-menu__links ul li a {
    text-decoration: none;
    color: #000000;
  }
  .main-menu__links ul li a:hover, .main-menu__links ul li a:active {
    text-decoration: underline;
    color: #000000;
  }
}

/* Hero banner */
.hero-banner {
  background-color: #303030;
  text-align: center;
  padding-top: 340px;
  padding-bottom: 40px;
  background: url(assets/images/hero-background-desktop.jpg) no-repeat center top;
  background-size: cover;
}
.hero-banner h1 {
  font-size: 32px;
  color: #ceba85;
  text-transform: uppercase;
  width: 490px;
  text-align: left;
  margin-bottom: 40px;
  text-shadow: 0 0 10px rgba(0,0,0,0.5);
}
.hero-banner h1 em {
  font-size: 62px;
  font-style: normal;
  letter-spacing: -2px;
}
.hero-banner img {
  display: block;
  margin: 0 auto 16px;
}
@media (max-width: 1366px) {
  .hero-banner {
    padding-top: 260px;
  }
  .hero-banner h1 {
    font-size: 24px;
    width: 380px;
  }
  .hero-banner h1 em {
    font-size: 45px;
  }
  .hero-banner img {
    max-width: 480px;
  }
}
@media (max-width: 1140px) {
  .hero-banner {
    padding-top: 180px;
  }
}
@media (max-width: 960px) {
  .hero-banner h1 {
    font-size: 18px;
    width: 350px;
  }
  .hero-banner h1 em {
    font-size: 36px;
  }
}
@media (max-width: 720px) {
  .hero-banner {
    background-image: url(assets/images/hero-background-mobile.png);
    padding-top: 300px;
    text-align: center;
  }
  .hero-banner h1 {
    display: inline-block;
    text-align: center;
    margin-bottom: 16px;
  }
  .hero-banner img {
    max-width: 350px;
  }
}

/* Founders */
.founders {
  background-color: #ffffff;
  color: #000000;
  padding-top: 40px;
  position: relative;
}
.founders__item {
  padding: 64px 0 40px;
  background: url(assets/images/founders-rick.jpg) no-repeat top right;
  background-size: contain;
}
.founders__item::after {
  content: '';
  display: block;
  clear: both;
}
.founders__item:nth-child(odd) {
  text-align: right;
  background: url(assets/images/founders-rachel.png) no-repeat top left;
  background-size: contain;
}
.founders__item:nth-child(odd) .founders__item__footer {
  float: right;
  flex-direction: row-reverse;
}
.founders__item__main {
  width: 44%;
  display: inline-block;
  margin-bottom: 64px;
  text-align: left;
}
.founders__item__main h3 {
  font-size: 32px;
  text-transform: uppercase;
  width: 320px;
  line-height: 52px;
}
.founders__item__main h3 em {
  font-size: 62px;
  font-style: normal;
}
.founders__item__main p {
  margin-bottom: 16px;
  font-size: 18px;
  line-height: 30px;
}
.founders__item__description {
  color: #ceba85;
  font-style: italic;
}
.founders__item__footer {
  width: 60%;
  display: flex;
  justify-content: space-between;
}
@media (max-width: 1366px) {
  .founders__item {
    background-position: 130%;
  }
  .founders__item:nth-child(odd) {
    background-position: -40%;
  }
  .founders__item__main {
    width: 56%;
  }
  .founders__item__main p {
    font-size: 16px;
    line-height: 24px;
  }
  .founders__item__footer {
    width: 62%;
  }
  .founders__item__footer img {
    width: 55%;
  }
}
@media (max-width: 1140px) {
  .founders__item {
    background-position: 280%;
  }
  .founders__item:nth-child(odd) {
    background-position: -110%;
  }
  .founders__item__footer {
    width: 64%;
  }
  .founders__item__footer img {
    width: 48%;
  }
}
@media (max-width: 960px) {
  .founders__item, .founders__item:nth-child(odd) {
    padding-top: 320px;
    background-position: top center;
    background-size: 75%;
  }
  .founders__item__main {
    background: linear-gradient(rgba(255,255,255,0.75), #ffffff, #ffffff);
    width: 100%;
    margin-bottom: 0;
    padding: 32px 0;
  }
  .founders__item__main h3 {
    font-size: 18px;
    width: 190px;
    line-height: 32px;
  }
  .founders__item__main h3 em {
    font-size: 36px;
  }
  .founders__item__footer {
    background-color: #ffffff;
    width: 100%;
    display: block;
    text-align: center;
    padding: 0 64px;
  }
  .founders__item__footer img {
    width: auto;
    margin-bottom: 16px;
  }
}
@media (max-width: 720px) {
  .founders__item, .founders__item:nth-child(odd) {
    padding-top: 280px;
    background-size: contain;
  }
  .founders__item__main {
    background: #ffffff;
    padding: 16px 0;
  }
  .founders__item__main p {
    font-size: 14px;
    line-height: 18px;
  }
}

/* Case studies */
.case-studies {
  padding: 40px 0;
  background-color: #ffffff;
  color: #000000;
  position: relative;
}
.case-studies__items {
  margin: 0 -2px;
}
.case-studies__items img {
  width: 13.699%;
  height: auto;
  margin: 2px;
}

@media (max-width: 1366px) {
  .case-studies__items img {
    width: 13.577%;
  }
}
@media (max-width: 1140px) {
  .case-studies__items img {
    width: 13.432%;
  }
}
@media (max-width: 960px) {
  .case-studies__items img {
    width: 13.17%;
  }
}
@media (max-width: 720px) {
  .case-studies__items img {
    width: 31.38%;
  }
}

/* History */
.history__item:first-child {
  background-image: url(assets/images/timeline-background-1.jpg);
}
.history__item:last-child {
  background-image: url(assets/images/timeline-background-2-cropped.png);
}
.history__item {
  padding: 40px 0;
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}
.history__item h3 {
  font-size: 32px;
  text-transform: uppercase;
  width: 320px;
  line-height: 52px;
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  color: #ceba85;
}
.history__item h3 em {
  font-size: 62px;
  font-style: normal;
  text-transform: none;
  color: #ffffff;
}
.history__item__cards {
  display: flex;
  flex-wrap: wrap;
  row-gap: 182px;
}
.history__item__card {
  width: 16.66%;
  padding-right: 32px;
  position: relative;
}
.history__item__card::before {
  content: '';
  display: block;
  background: url(assets/images/history-line-cropped.png) no-repeat 0 0;
  background-size: contain;
  width: 53%;
  height: 9px;
  position: absolute;
  right: 10px;
  top: 15px;
}
.history__item__card--last::before {
  content: none;
}
.history__item__card h4 {
  font-size: 32px;
  line-height: 44px;
  font-family: Overpass;
  color: #ceba85;
  letter-spacing: 1px;
}
.history__item__card p {
  font-size: 12px;
  line-height: 18px;
  margin-bottom: 8px;
}
@media (max-width: 1366px) {
  .history__item__card h4 {
    font-size: 24px;
  }
}
@media (max-width: 1140px) {
  .history__item__card {
    max-height: 330px;
  }
  .history__item__card h4 {
    font-size: 20px;
  }
}
@media (max-width: 960px) {
  .history__item {
    text-align: center;
  }
  .history__item h3 {
    position: static;
    top: auto;
    transform: none;
    margin: 0 auto 16px;
    font-size: 18px;
    line-height: 32px;
    width: 180px;
  }
  .history__item h3 em {
    font-size: 36px;
  }
  .history__item__cards {
    display: block;
  }
  .history__item__card {
    width: 100%;
    margin-bottom: 32px;
    padding: 16px;
    border: dashed 3px #ceba85;
    text-align: left;
    max-height: auto;
  }
  .history__item__card:last-child {
    margin-bottom: 0;
  }
  .history__item__card h4 {
    text-align: center;
  }
  .history__item__card::before {
    background: none;
    width: 1px;
    height: 38px;
    border: dashed 3px #ceba85;
    top: 100%;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 0 0 3px;
  }
  .history__item__card--last::before {
    content: '';
  }
  .history__item__card--last:last-child::before {
    content: none;
  }
  .history__item__card--pad {
    display: none;
  }
}

/* Testimonials */
.testimonials {
  background-color: #ffffff;
  color: #000000;
  padding: 80px 0;
  text-align: center;
}
.testimonials__columns {
  column-count: 4;
  column-gap: 30px;
  margin-bottom: 40px;
  text-align: left;
}
.testimonials__item {
  font-size: 12px;
  line-height: 18px;
  break-inside: avoid;
}
.testimonials__item__message {
  margin-bottom: 16px;
}
.testimonials__item__author {
  margin-bottom: 16px;
  color: #ceba85;
}
@media (max-width: 1140px) {
  .testimonials__columns {
    column-count: 3;
  }
}
@media (max-width: 960px) {
  .testimonials {
    padding: 32px 0;
  }
  .testimonials__columns {
    column-count: 2;
  }
}
@media (max-width: 720px) {
  .testimonials__columns {
    column-count: 1;
  }
  .testimonials__item__message {
    margin-bottom: 8px;
  }
}

/* Services Overview */
.services-overview {
  padding: 80px 0;
  position: relative;
}
.services-overview .container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  row-gap: 80px;
  position: relative;
}
.services-overview .container::before {
  content: '';
  width: 4px;
  height: 280px;
  background-color: #ceba85;
  position: absolute;
  left: 50%;
  top: 135px;
  transform: translateX(-50%);
}
.services-overview h2 {
  width: 100%;
  margin-bottom: 64px;
}
.services-overview__item {
  max-width: 502px;
  display: inline-block;
}
.services-overview__item img {
  margin-bottom: 8px;
}
.services-overview__item h3 {
  font-family: Droid Serif;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  margin-bottom: 16px;
  color: #ceba85;
  margin-bottom: 32px;
}
.services-overview__item p {
  font-size: 12px;
  line-height: 18px;
}
@media (max-width: 1366px) {
  .services-overview__item {
    max-width: 402px;
  }
  .services-overview__item h3 {
    font-size: 14px;
  }
}
@media (max-width: 1140px) {
  .services-overview__item {
    max-width: 320px;
  }
  .services-overview .container::before {
    height: 320px;
  }
}
@media (max-width: 960px) {
  .services-overview {
    padding: 32px 0;
  }
  .services-overview h2 {
    margin-bottom: 32px;
  }
  .services-overview .container {
    text-align: center;
    display: block;
  }
  .services-overview .container::before {
    content: none;
  }
  .services-overview__item {
    max-width: 502px;
    margin-bottom: 64px;
  }
  .services-overview__item:last-child {
    margin-bottom: 0;
  }
  .services-overview__item h3 {
    margin-bottom: 16px;
  }
}

/* Contact */
.contact {
  padding: 64px 0;
  background: url(assets/images/contact-background.jpg) no-repeat center;
  background-size: cover;
  text-align: center;
  position: relative;
}
.contact::before {
  content: '';
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: rgba(0,0,0,0.5);
}
.contact .container {
  position: relative;
  z-index: 1;
}
.contact h2 {
  margin-bottom: 16px;
}
.contact h3 {
  text-transform: uppercase;
  font-size: 48px;
  text-align: center;
  text-shadow: 0 0 10px rgba(0,0,0,0.5);
  margin-bottom: 340px;
}
.contact ul {
  list-style-type: none;
  display: inline-block;
  margin-bottom: 32px;
}
.contact ul li {
  text-align: left;
  font-family: Overpass;
  font-size: 14px;
  line-height: 14px;
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}
.contact ul li img {
  margin-right: 8px;
}
@media (max-width: 960px) {
  .contact h3 {
    font-size: 30px;
    margin-bottom: 160px;
  }
  .contact ul {
    margin-bottom: 8px;
  }
  .contact ul li {
    font-size: 12px;
  }
}

/* Footer */
.footer {
  padding: 40px 0;
}
.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.footer img {
  width: 141px;
  height: 54px;
  margin-bottom: 8px;
}
.footer a {
  text-decoration: none;
  color: #ceba85;
}
.footer ul {
  list-style-type: none;
}
.footer ul li {
  text-transform: uppercase;
  font-size: 12px;
  line-height: 24px;
  margin: 8px 0;
}
.footer p {
  font-size: 12px;
  line-height: 24px;
  color: #ceba85;
  margin-bottom: 8px;
}

@media (max-width: 720px) {
  .footer {
    padding: 32px 0;
  }
  .footer .container {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer ul, .footer img {
    margin-bottom: 32px;
  }
}