html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-family: "Rubik", sans-serif;
  font-style: normal;
  padding: 0;
  margin: 0;
  overflow-x: hidden;
}

h1 {
  font-size: 72px;
  font-weight: 300;
}

h2 {
  font-size: 42px;
  font-weight: 300;
  text-transform: uppercase;
}

h3 {
  font-size: 36px;
  font-weight: 500;
  line-height: 42px;
}

h4 {
  font-size: 24px;
  line-height: 1.5rem;
}

section:not(:last-child) {
  margin-bottom: 5rem;
}

.caption-one {
  font-weight: 400;
  font-style: italic;
  font-size: 1rem;
  line-height: 1.5rem;
}

.quote {
  font-weight: 400;
  font-style: italic;
  font-size: 1rem;
  line-height: 1.75rem;
}

button {
  background-color: var(--primary-main);
  color: var(--primary-dark);
  border-radius: 0.375rem;
  border: none;
  text-transform: uppercase;
  font-family: "Rubik", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 1.25rem 2.5rem;
  cursor: pointer;
}

button:hover {
  background-color: var(--primary-dark);
  color: var(--primary-main);
}

.bold {
  font-weight: bold;
}

.row {
  padding: 2% 0;
}

.grid {
  display: grid;
}

.section__title {
  text-transform: uppercase;
  font-weight: 300;
  font-size: 3em;
  z-index: 15;
  margin-bottom: 2rem;
}
#expertises .section__title,
#clients .section__title,
#members .section__title,
#technologies .section__title,
#cases .section__title,
#services .section__title {
  margin: 0 1.5rem 1.5rem 1.5rem;
}

.section__title.show {
  animation: fade-right 0.5s 1 linear;
}

.section__title img {
  margin-bottom: -0.75rem;
}

.section__title::before {
  color: var(--primary-main);
  content: "/";
}

.infinite-bg {
  position: absolute;
  width: calc(50vw - 540px);
  height: 100%;
  left: 0;
  z-index: -1;
}

.call-to-action {
  margin: -5px 0 4% 0 !important;
}

.shadow {
  color: var(--shadow-color) !important;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.8rem;
}
.hide {
  display: none !important;
}

.flex {
  display: flex !important;
  justify-content: center;
  align-items: center;
}

a:hover {
  text-decoration: underline;
}

.hidden {
  opacity: 0;
}

.card {
  padding: 15px;
  display: grid;
  grid-template-rows: 90px auto;
}

.card .card-title {
  color: var(--dark-blue);
  display: flex;
  place-items: center;
}

.card .card-title h4 {
  font-weight: 600;
  text-align: left;
  margin-left: -30px;
}

.container {
  width: 85%;
  max-width: 67.5rem;
  height: 100%;
  margin-inline: auto;
  display: grid;
  grid-column-gap: 2rem;
  grid-row-gap: 0;
  grid-template-columns: 3fr 1fr;
  font-size: 16px;
}

.container__adapter {
  display: grid;
  grid-template-columns: 67.5% 1fr;
  /* grid-template-columns: auto; */
  grid-template-rows: auto auto auto auto auto auto;
}

.content-container {
  grid-template-columns: minmax(10%, auto) minmax(auto, 40.125rem) minmax(
      16%,
      8.44rem
    );
  grid-row-gap: 2.5rem;
  grid-column-gap: 1rem;
  display: grid;
}
.infinite-bg--services {
  position: unset !important;
}

.heading {
  grid-column-start: 2;
}

.container > * {
  grid-column: 1;
}

.background {
  display: none;
  position: fixed;
  background: #e5e5e5;
  width: calc(50% - 960px);
  height: 100vh;
  top: 0;
  z-index: 3;
  left: 0;
}

.uppercase {
  text-transform: uppercase;
}

.lowercase {
  text-transform: lowercase;
}

.background:nth-of-type(2) {
  right: 0;
  left: unset;
}

#footer {
  background-color: var(--primary-dark);
  height: 116px;
  padding: 30px 0px;
}

@media screen and (max-width: 1270px) {
  .infinite-bg {
    width: calc(50vw + 18.7% - 1px);
  }
}

@media screen and (max-width: 1270px) {
  .infinite-bg--services {
    width: 100% !important;
  }
}

@media (max-width: 950px) {
  .container {
    width: 85%;
    grid-template-columns: auto;
  }
  .infinite-bg {
    width: 100%;
  }
  .container__adapter {
    grid-template-columns: auto;
  }
  .content-container {
    grid-template-columns: 5% auto 5%;
    grid-row-gap: 2.5rem;
    grid-column-gap: unset;
    display: grid;
  }
  #expertises .section__title,
  #clients .section__title,
  #members .section__title,
  #technologies .section__title,
  #cases .section__title,
  #services .section__title {
    margin: 0 0 1.5rem 0;
  }
}
@media screen and (min-width: 1920px) {
  .background {
    display: block;
  }
}

@media screen and (max-width: 1200px) {
  .members__items {
    max-width: unset !important;
  }
}

@media screen and (max-width: 720px) {
  .section__title .space {
    display: none;
  }
  .container {
    font-size: 90%;
  }
}

@media screen and (max-width: 350px) {
  .container {
    width: 95%;
  }
  #cases .case,
  #services .case {
    padding: 2rem 0.75rem !important;
  }
}
