@font-face {
  font-family: Cambria;
  src: url("./cambria.ttf") format("truetype");
  /* font-weight: 400 900; */
  font-display: swap;
}
img {
  max-width: 100%;
}
* {
  margin: 0;
  padding: 0;
  font-family: Cambria;
  box-sizing: border-box;
}
body {
  overflow-x: clip;
  max-width: 100vw;
}
.container {
  padding: 0 16px;
  width: 1432px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.header {
  background-color: #660066;
  color: #ffffff;
  padding: 20px 0;
  position: fixed;
  top: 0;
  height: 60px;
  left: 0;
  z-index: 20;
  right: 0;
}
.header__container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-between;
}
.header a {
  display: block;
  color: #ffffff;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.12s linear;
}
.header a.current {
  text-decoration: underline;
}
.header a:hover {
  text-decoration: underline;
  color: #ffa6ff;
}
.nav {
  padding: 5px 0;
  position: fixed;
  top: 60px;
  z-index: 9;
  left: 0;
  background-color: #efefef;
  right: 0;
}
.nav__container {
  display: flex;
  flex-direction: row;
}
.nav__hamburger {
  height: 40px;
  width: 40px;
  background-color: transparent;
  border: none;
  position: relative;
  margin-left: auto;
}
.nav__hamburger span {
  width: 32px;
  height: 4px;
  background-color: #000000;
  display: block;
  border-radius: 2px;
  position: absolute;
  left: 3px;
  transition: top 0.12s linear 0.12s, transform 0.12s linear, color 0.12s linear;
}

.nav__container ul {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  padding-top: 130px;
  padding-bottom: 30px;
  padding-left: 16px;
  padding-right: 16px;
  transform: translateX(-100%);
  transition: transform 0.12s linear;
  background-color: #660066;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  list-style: none;
}
.nav__container img {
  display: none;
}
.nav__container ul.open {
  transform: translate(0);
}

.nav__container ul li {
  margin-bottom: 24px;
}
.nav__container ul li a {
  color: #ffffff;
  width: 100%;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}
.nav__container ul li a:hover,
.nav__container ul li a.current {
  font-weight: 900;
  text-decoration: underline;
}

.nav__container ul li a br {
  display: none;
}

.nav__hamburger span:nth-of-type(1) {
  top: 10px;
}
.nav__hamburger span:nth-of-type(2) {
  top: 17px;
}
.nav__hamburger span:nth-of-type(3) {
  top: 24px;
}
.nav__hamburger.open span {
  transition: top 0.12s linear, transform 0.12s linear 0.12s, color 0.12s linear;
}

.nav__hamburger.open span:nth-of-type(1) {
  transform: rotate(-45deg);
  top: 17px;
  background-color: #ffffff;
}
.nav__hamburger.open span:nth-of-type(2) {
  transform: rotate(-45deg);
  top: 17px;
  background-color: #ffffff;
}
.nav__hamburger.open span:nth-of-type(3) {
  transform: rotate(45deg);
  top: 17px;
  background-color: #ffffff;
}

.header__placeholder {
  height: 110px;
  display: block;
  width: 100%;
  pointer-events: none;
}

.cards {
  margin: 40px 0;
}
.cards__container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.serviceCard {
  display: flex;
  cursor: pointer;
  flex-direction: column;
  cursor: pointer;
  text-decoration: none;
}
.serviceCard__title {
  border: 1px solid #000000;
  padding: 12px 8px;
  color: #000000;
  width: 100%;
}
.serviceCard__image {
  width: 100%;
  margin-top: 20px;
  aspect-ratio: 4/3;
  overflow: hidden;
  height: auto;
  display: block;
}
.serviceCard__image:hover img {
  transform: scale(1.1);
}
.serviceCard__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: 0.12s transform linear;
  transform-origin: center;
  object-position: center;
}

.content {
  margin: 48px 0;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.3;
}
.content ul {
  list-style: none;
}
.content ul {
  margin-left: 0;
}
.content ol {
  margin-left: 16px;
}
.content ol li > b {
  font-weight: 700;
  display: block;
  margin-bottom: 0.5em;
}

.content .content__container li {
  margin-bottom: 0.5em;
}
.content .content__container h1,
.content .content__container h2,
.content .content__container h3,
.content .content__container h4,
.content .content__container h5,
.content .content__container h6,
.content .content__container p,
.content .content__container span {
  margin-bottom: 1em;
}

.contact {
  margin: 40px 0;
}
.contact__container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.contact__image {
  max-width: 400px;
}
.contact__image img {
  width: 100%;
  height: auto;
  display: block;
}
.contact__content {
  font-size: 15px;
  line-height: 1.3;
}
.contact__content h1 {
  font-size: 26px;
  line-height: 1;
}
.contact__content a {
  color: #660066;
}
.serviceCard {
  height: 100%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}
.serviceCard__image {
  height: 100%;
  width: 100%;
  max-height: 500px;
  aspect-ratio: unset;
}
@media (min-width: 800px) {
  .cards .cards__container {
    grid-template-columns: 2fr 2fr;
  }
  .contact__container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }
}

@media (min-width: 1200px) {
  .cards,
  .contact,
  .content {
    margin: 100px 0;
  }
  .cards .cards__container {
    align-items: stretch;
    grid-template-columns: 2fr 1fr;
  }
  .cards.cards--reversed .cards__container {
    grid-template-columns: 1fr 2fr !important;
  }
  .nav {
    background-color: #ffffff;
  }
  .nav__hamburger {
    display: none;
  }
  .nav__container {
    padding-top: 20px;
    position: relative;
    padding-bottom: 20px;
  }
  .nav__container img {
    display: block;
    width: 20px;
    height: auto;
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }
  .nav__container ul {
    margin-left: 25px;
    position: static;
    background-color: transparent;
    left: unset;
    top: unset;
    transform: none;
    flex-direction: row;
    padding-top: 0px;
    padding-bottom: 0px;
    padding-left: 0;
    padding-right: 0;
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .nav__container ul li {
    margin-bottom: 0;
  }
  .nav__container ul li a {
    color: #000000;
    text-align: center;
    display: block;
    font-size: 16px;
  }
  .nav__container ul li a br {
    display: inline-block;
  }
}
.caseStudy .caseStudy__container,
.cards .cards__container,
.content .content__container {
width: 1200px !important;
}

.caseStudy {
  padding-top: 20px;
}
.caseStudy h1 {
  margin-bottom: 1em;
}
.caseStudy__photos {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.caseStudy__img {
  width: 100%;
  height: auto;
  overflow: hidden;
  cursor: pointer;
}
.caseStudy__img img {
  width: 100%;
  height: auto;
  display: block;
  transition: all 0.12s linear;
}
.caseStudy__img:hover img {
  transform: scale(1.05);
}
.caseStudy__description {
  margin-top: 30px;
}

@media (min-width: 1200px){
    .caseStudy{
        padding-top: 100px;
    }
}