@import url("https://fonts.googleapis.com/css2?family=Merriweather:opsz,wght@18..144,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Merriweather+Sans:wght@300..800&display=swap");
:root {
  --green: #D9FF00;
  --green-dark: #85990F;
  --blue: #00FFF2;
  --blue-dark:#16919E;
  --black: #292929;
  --cream: #FFFEF6;
  --white: #FFFEF6;
  --red: #FF6034;
  background-color: var(--cream);
  color: var(--black);
}

/* colour */
.bg-green {
  background-color: var(--green);
  color: var(--black);
}
.bg-green .button {
  background-color: var(--blue);
  color: var(--black);
}
.bg-green .button:hover {
  background-color: var(--blue-dark);
  color: var(--white);
}

.bg-blue {
  background-color: var(--blue);
  color: var(--black);
}

.bg-black {
  background-color: var(--black);
  color: var(--white);
}
.bg-black .button {
  background-color: var(--green);
  color: var(--black);
}
.bg-black .button:hover {
  background-color: var(--green-dark);
  color: var(--white);
}
.bg-black a {
  color: var(--white);
}

.bg-red {
  background-color: var(--red);
  color: var(--white);
}

.bg-cream {
  background-color: var(--cream);
  color: var(--black);
}

/* structure */
.p-10 {
  padding: 144px 0px;
}

.p-5 {
  padding: 36px 0px;
}

.pt-2 {
  padding-top: 27px;
}

.pb-2 {
  padding-bottom: 27px;
}

.container {
  max-width: 1000px;
  margin: auto;
  padding-left: 54px;
  padding-right: 54px;
}

.inline-block {
  display: inline-block;
}

.flex {
  display: flex;
}

.column {
  flex-direction: column;
}

.space-between {
  justify-content: space-between;
}

.vertical-alignment {
  align-items: center;
}

.w-5 {
  width: 5%;
}

.w-35 {
  width: 35%;
}

.w-40 {
  width: 40%;
}

.w-60 {
  width: 60%;
}

.img-responsive {
  width: 100%;
}

.bar {
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  width: 35vw;
  z-index: -1;
}

.hero-image {
  position: absolute;
  right: 0px;
  top: 0px;
  z-index: 0;
  height: 750px;
}

@media only screen and (min-width: 1700px) {
  .hero-image {
    right: 5vw;
  }
}
@media only screen and (min-width: 1920px) {
  .hero-image {
    right: 10vw;
  }
}
.mobilemaincontent img {
  padding-left: 90px;
  width: 500px;
}

@media only screen and (max-width: 992px) {
  .logos {
    flex-wrap: wrap;
    gap: 27px;
    justify-content: center;
  }

  .maincontent {
    flex-direction: column;
  }
  .maincontent img {
    width: 290px;
  }
  .maincontent .w-60 {
    width: 100%;
  }

  .mobilemaincontent img {
    width: 100%;
    padding: 0px;
  }

  .hero-image {
    position: relative;
    width: 70vw;
    height: auto;
  }
}
@media only screen and (max-width: 530px) {
  .container {
    padding-left: 36px;
    padding-right: 36px;
  }
}
.title {
  width: 100%;
  margin-bottom: -23px;
  position: relative;
  z-index: -1;
}

.bookmark {
  position: fixed;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -2;
}

.nav {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(9px);
  padding: 18px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
}
.nav a {
  text-decoration: none;
  color: var(--black);
  margin: 0px;
  font-weight: 700;
}

.caseStudy .w-35 {
  padding-left: 4%;
}

@media only screen and (max-width: 792px) {
  .caseStudy .container {
    flex-direction: column;
  }

  .caseStudy .w-60 {
    width: 100%;
  }

  .caseStudy .w-35 {
    width: 100%;
    padding-left: 0px;
  }
}
/* typography */
h1 {
  font-size: 72px;
  font-family: "Merriweather", serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  line-height: 90px;
}

h2 {
  font-size: 48px;
  font-family: "Merriweather", serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  line-height: 60px;
  margin:0px 0px 27px 0px;
}

h3, .display-3 {
  font-size: 36px;
  font-family: "Merriweather", serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  line-height: 45px;
  margin:36px 0px 27px 0px;
}

p, a {
  font-size: 18px;
  font-family: "Merriweather Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  max-width: 70ch;
  line-height: 27px;
  margin:0px 0px 27px 0px;
}

.drop-shadow {
  text-shadow: 0px 0px 18px #353535;
}

strong {
  font-weight: bold;
}

@media only screen and (max-width: 530px) {
  h1 {
    font-size: 45px;
    line-height: 56px;
  }

  h2 {
    font-size: 36px;
    line-height: 45px;
  }

  h3, .display-3 {
    font-size: 27px;
    line-height: 35px;
  }
}
/* components */
.button {
  padding: 13.5px 27px;
  font-size: 18px;
  font-family: "Merriweather Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  display: block;
  width: fit-content;
  text-decoration: none;
}

.card {
  display: flex;
  width: 100%;
  background-color: #ffff;
  box-shadow: 0px 0px 10px 0px #ADA988;
  margin-bottom: 72px;
  flex-direction: row;
}
.card img{
  width:50%;
}

.card div {
  padding: 27px;
}

@media only screen and (max-width: 992px) {
  .card {
    flex-direction: column;
  }
  .card img{
  width:100%;
}

}