/* =====================
  General
======================== */

:root {
  --body: 'Hind', 'Source Sans Pro', 'Work Sans', 'Montserrat', 'Helvetica Neue', 'Helvetica', sans-serif;
  --title: 'Montserrat', 'Work Sans', 'Source Sans Pro', 'Poppins', 'Helvetica Neue', 'Helvetica', sans-serif;

  /* primary colours */
  --white: #fff;
  --black: #121A45;
  --true-black: #000;
  --blue: #7582CB;

  /* secondary colours */
  --grey-a: #E0E4F7;
  --grey-b-has-transparency: #16252c96;
  --grey-c: #E0E4F7;
  --grey-d-has-transparency: #B6C3DB73;
  --grey-e: #C4CEDF;
  --grey-f-has-transparency: #FCFDFE91;
  --full-button-on-light-border-grey-a: #BED0DB;
  --grey-g: #8498a7;
  --image-overlay: #2036422a;
  --blue-32: #2F73A552;
  --error-message-background-blue-has-transparency: #4079a31f;
}

* {
  padding: 0;
  margin: 0;
  text-decoration-line: none;
  box-sizing: border-box;
  /* scroll-behavior: smooth!important; */
}

body {  
  position: relative;
  opacity: 1;
  background-color: #F2F4FB;
  transition: opacity .6s;
}

/* body.fade {
  opacity: 0;
  transition: none;
} */

/*Imports Hind typeface (from 300 to 700)

/*light (300)*/
@font-face {
  font-family: "Hind";
  src: url('/assets/hind/Hind-Light.ttf');
  font-weight: 300;
  font-style: normal;
}

/*regular (400)*/
@font-face {
  font-family: "Hind";
  src: url('/assets/hind/Hind-Regular.ttf');
  font-weight: 400;
  font-style: normal;
}

/*medium (500)*/
@font-face {
  font-family: "Hind";
  src: url('/assets/hind/Hind-Medium.ttf');
  font-weight: 500;
  font-style: normal;
}

/*semi-bold (600)*/
@font-face {
  font-family: "Hind";
  src: url('/assets/hind/Hind-SemiBold.ttf');
  font-weight: 600;
  font-style: normal;
}

/*bold (700)*/
@font-face {
  font-family: "Hind";
  src: url('/assets/hind/Hind-Bold.ttf');
  font-weight: 700;
  font-style: normal;
}

/*Imports Montserrat typeface (from 300 to 700)

/*light (300)*/
@font-face {
  font-family: "Montserrat";
  src: url('/assets/montserrat/Montserrat-Light.ttf');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: "Montserrat";
  src: url('/assets/montserrat/Montserrat-LightItalic.ttf');
  font-weight: 300;
  font-style: italic;
}

/*regular (400)*/
@font-face {
  font-family: "Montserrat";
  src: url('/assets/montserrat/Montserrat-Regular.ttf');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Montserrat";
  src: url('/assets/montserrat/Montserrat-Italic.ttf');
  font-weight: 400;
  font-style: italic;
}

/*medium (500)*/
@font-face {
  font-family: "Montserrat";
  src: url('/assets/montserrat/Montserrat-Medium.ttf');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: "Montserrat";
  src: url('/assets/montserrat/Montserrat-MediumItalic.ttf');
  font-weight: 500;
  font-style: italic;
}

/*semi-bold (600)*/
@font-face {
  font-family: "Montserrat";
  src: url('/assets/montserrat/Montserrat-SemiBold.ttf');
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: "Montserrat";
  src: url('/assets/montserrat/Montserrat-SemiBoldItalic.ttf');
  font-weight: 600;
  font-style: italic;
}

/*bold (700)*/
@font-face {
  font-family: "Montserrat";
  src: url('/assets/montserrat/Montserrat-Bold.ttf');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: "Montserrat";
  src: url('/assets/montserrat/Montserrat-BoldItalic.ttf');
  font-weight: 700;
  font-style: italic;
}

/*changes highlight colour*/
::selection {
  background: var(--blue); /* WebKit/Blink Browsers */
  color: var(--white);
}

::-moz-selection {
  background: var(--blue); /* Gecko Browsers */
  color: var(--white);
}

h1, h2, h3, h4, h5, h6, p, li, a, input, label, textarea, select, option, button, address, small {
  font-family: var(--body);
  font-style: normal;
  color: var(--black);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--title);
  line-height: 138.4%;
}

/* p, li, a, input, label, textarea, select, option, button, address, small {
  letter-spacing: .25px;
} */

h1, .page-title {
    font-weight: 600;
    font-size: 42px;
}

h2 {
    font-weight: 600;
    font-size: 38px;
}

h3 {
    font-weight: 600;
    font-size: 28px;
}

h4 {
    font-weight: 600;
    font-size: 21px;
}

h5 {
    font-weight: 400;
    font-size: 18px;
}

h6 {
    font-weight: 400;
    font-size: 18px;
}

p {
    font-weight: 400;
    font-size: 18px;
}

li {
  font-weight: 400;
  font-size: 18px;
}

span {
  font-family: inherit;
  font-style: inherit;
  color: inherit;
  line-height: inherit;
}

small {
  font-size: 14px;
}

input, select, textarea, a, button {
  outline: none;
}

button:focus, a:focus, input:focus, button:active, a:active, input:active {
  outline: none;
}

a:focus-visible, button:focus-visible {
  outline: auto;
  outline-color: var(--blue);
}

a {
  text-decoration: none !important;
}

a:-webkit-any-link {
  text-decoration: none !important;
}

a:-moz-any-link {
  text-decoration: none !important;
}

a:link, a:active, a:any-link, a:visited, a:focus, a:hover, a:active {
  text-decoration: none !important;
}

button {
  color: unset;
  background-color: unset;
  font: unset;
  border: none;
  box-sizing: unset;
  align-items: unset;
  font-family: var(--body);
}

button:hover {
  cursor: pointer;
}

button:active {
  outline: none;
  border: none;
}

/* not applied to mobile */
@media only screen and (hover: hover) and (pointer: fine) {
  .page-end-cta .full-button, .main-nav ul li:last-child a, .home .intro .play-video-button {
    transition: scale .3s;
  }
  .home .intro .play-video-button:hover {
    scale: 1.02;
  }
  .page-end-cta .full-button:hover, .main-nav ul li:last-child a:hover {
    scale: 1.08;
  }
}

@media only screen and (max-width: 1550px) {
  h1, .page-title {
    font-size: 38px;
  }

  h2 {
    font-size: 34px;
  }
  
  h3 {
    font-size: 26px;
  }
}

@media only screen and (max-width: 1160px) {
  h1, .page-title {
    font-size: 38px;
  }

  h2 {
    font-size: 32px;
  }

  h3 {
    font-size: 25px;
  }
}

@media only screen and (max-width: 620px) {
  h1, .page-title {
    font-size: 34px;
  }

  h2 {
    font-size: 29px;
  }

  h3 {
    font-size: 24px;
  }
}

@media only screen and (max-width: 380px) {
  h1, .page-title {
    font-size: 9vw;
    font-size: min(max(28px, 9vw), 33px);
  }

  h2 {
    font-size: 7.8vw;
    font-size: min(max(25px, 7.8vw), 29px);
  }

  h3 {
    font-size: 6.4vw;
    font-size: min(max(22px, 6.4vw), 24px);
  }
}

/* .page-title {
  font-weight: 700;
} */

.hide-visually {
  opacity: 0;
  pointer-events: none;
  position: absolute;
}

.hide {
  opacity: 0;
  pointer-events: none;
}

.no-transition {
  transition: none;
}

.stan-background-image {
  background-position: center; /* Center the image */
  background-repeat: no-repeat; /* Do not repeat the image */
  background-size: cover; /* Resize the background image to cover the entire container */
  background-color: var(--grey-a);
}

.overlap-background {
  position: absolute;
  top: 0;
  width: 100%;
  background-color: var(--grey-a);
  z-index: -1;
  height: 600px;
}

.background-gradient {
  background: var(--blue);
  background-repeat: no-repeat;
  /* background-attachment: fixed; */
}

.js-disabled-box {
  position: fixed;
  background-color: var(--blue);
  width: 100%;
  padding: 28px 40px;
  z-index: 100;
}

.js-disabled-box h4 {
  color: var(--white);
  text-align: center;
  font-family: var(--title);
  font-weight: 500;
  font-size: 19px;
  line-height: 157%;
}

.cody-logo {
  max-width: 65px;
  height: auto;
}

/* swup */

.transition-fade {
  transition: 0.4s;
  opacity: 1;
}

html.is-animating .transition-fade {
  opacity: 0;
}

body {
  transition: background-color .4s;
}

.swup-progress-bar {
  height: 3px;
  background-color: var(--blue);
}

.overlay-menu-open .swup-progress-bar {
  background-color: var(--white);
}

.no-select {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

::-moz-placeholder { /* Firefox 19+ */
  opacity: 1;
}
:-ms-input-placeholder { /* IE 10+ */
  opacity: 1;
}
::-ms-input-placeholder { /* Microsoft Edge */
  opacity: 1;
}
:-moz-placeholder { /* Firefox 18- */
  opacity: 1;
}
::placeholder { /* Most modern browsers */
  opacity: 1;
}

.full-button {
  padding: 10px 32px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 500;
  /* transition: all .2s; */
}

.full-button.on-light {
  border: 2px solid var(--full-button-on-light-border-grey-a);
  color: var(--blue);
}

.section-divider {
  background-color: var(--grey-d-has-transparency);
  height: 1px;
  width: 1160px;
}

.curved-section {
  display: none;
  background: linear-gradient(192deg, #3177A0 12.22%, #449F9A 91.11%), #2F73A5;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%);
  width: 2500px;
  z-index: -1;
}

/* underline link */

.underline-link {
  display: flex;
  flex-direction: column;
  padding: 5px 10px;
}

.underline-link .text-and-arrow {
  display: flex;
  align-items: center;
  font-weight: 500;
  font-size: 15px;
  color: var(--blue);
}

.underline-link span {
  margin-right: 6px;
}

.right-arrow {
  fill: var(--blue);
  transform: rotate(180deg);
}

.underline-link .lines {
  height: 2px;
  width: 100%;
  margin-top: 0px;
}

.underline-link .line {
  background-color: var(--blue-32);
  height: 2px;
  width: 100%;
}

.underline-link .hover-line {
  height: 2px;
  width: 0%;
  margin-top: -2px;
  background-color: var(--blue);
  transition: width 0.25s;
}

.underline-link:hover > .lines > .hover-line {
  width: 100%;
}

.underline-link:active > .lines > .hover-line {
  width: 100%;
  transition: none;
}

/* header */

.main-header {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 35px 85px;
  position: absolute;
  top: 0;
  left: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  z-index: 12;
}

.overlay-menu-open .main-header {
  position: fixed;
  z-index: 12;
}

.main-nav ul {
  display: flex;
  align-items: center;
  list-style-type: none;
}

.main-nav ul li {
  display: flex;
}

.main-nav ul a {
  padding: 7px 15px;
  color: var(--white);
  font-weight: 500;
}

.main-nav ul li:nth-child(2) {
  margin-right: 15px;
}

.main-nav ul li:last-child a {
  border: 2px solid var(--full-button-on-light-border-grey-a);
  padding: 8px 25px;
  border-radius: 50px;
}

.header-logo {
  font-weight: 700;
  font-size: 32px;
  z-index: 1;
  transition: opacity .2s;
}

.overlay-menu-open .header-logo {
  pointer-events: none;
  opacity: 0;
}

.header-logo a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-logo > * {
  color: var(--white);
}

.main-nav a:not(li:last-child a):after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  margin-top: -1px;
  background: var(--full-button-on-light-border-grey-a);
  transition: width 0.25s;
}

.burger-icon-button {
  display: none;
  align-items: center;
  padding: 8px 10px;
}

.burger-icon-button .icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 16px;
  width: 20px;
  margin-left: 3px;
}

/* not applied to mobile */
@media only screen and (hover: hover) and (pointer: fine) {
  .burger-icon-button:hover .line {
    background-color: var(--grey-a);
  }
}

.burger-icon-button .line {
  width: 100%;
  height: 2px;
  background-color: var(--white);
  transition: background-color 0.2s;
}

.overlay-menu-open .burger-icon-button .line {
  background-color: var(--white);
}

.burger-icon-button .line.b {
  transition: width .15s, background-color 0.2s;
}

.burger-icon-button .line.a, .burger-icon-button .line.c {
  transition: all .2s;
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
}

.burger-icon-button .line.b.open {
  width: 0;
}

.burger-icon-button .line.a.open {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

.burger-icon-button .line.c.open {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

/* burger menu */
@media only screen and (max-width: 1550px) {
  .burger-icon-button {
    display: flex;
  }

  .main-nav ul {
    display: none;
  }

  .main-header {
    padding-right: 75px;
  }
}

@media only screen and (max-width: 1160px) {
  .burger-icon-button .line {
    background-color: var(--white);
  }

  .burger-icon-button:hover .line {
    background-color: var(--white);
  }

  .main-header {
    padding: 28px 65px;
    padding-right: 55px;
  }
}

@media only screen and (max-width: 620px) {
  .main-header {
    padding: 16px 33px;
    padding-right: 23px;
  }
  
  .burger-icon-button .icon {
    height: 14px;
    width: 17px;
  }

  .header-logo {
    font-size: 26px;
    margin-top: 3px;
  }

  .curved-section {
    width: 1600px;
  }
}

/* adds underline hover effect */
@media only screen and (hover: hover) and (pointer: fine) {
  .main-nav a:not(li:last-child a):hover::after {
    width: 100%;
  }
}

/* overlay menu */
.transition-screen-1 {
  height: 100%;
  opacity: 1;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background-color: var(--blue);
  z-index: 11;
  transition: opacity .2s;
}

.transition-screen-1.hidden {
  opacity: 0;
  pointer-events: none;
}

.main-links .large {
  font-family: var(--title);
  font-size: 56px;
  font-weight: 600;
  color: var(--white);
}

.main-links .large.p {
  margin-left: -2px;
}

.main-links .side-number {
  font-family: var(--body);
  font-size: 21px;
  font-weight: 300;
  color: var(--white);
  opacity: .4;
  margin-top: 9px;
  margin-right: 23px;
  min-width: 30px;
}

.main-links {
  margin: 14.2vh 40px 40px 9vw;
}

.main-links ul {
  list-style-type: none;
}

.main-links .link {
  padding: 19px 22px;
  display: flex;
  transition: opacity .4s, transform .4s, color .2s;
}

.main-links .link.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(25px);
}

.overlay-menu {
  position: fixed;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  z-index: 12;
  overflow: scroll;
}

.overlay-menu a p {
  transition: color 0.2s, opacity .2s;
}

.overlay-menu a.dim p {
  opacity: .6!important;
}

.overlay-menu a.stay-bright p {
  opacity: 1!important;
}

.overlay-menu .main-links a.dim .side-number {
  opacity: .4!important;
}

.overlay-menu .main-links a.stay-bright .side-number {
  opacity: .6!important;
}

/* hide scrollbars for overlay menu */
.overlay-menu {
  scrollbar-width: none; /* for Firefox */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.overlay-menu::-webkit-scrollbar {
  width: 0px;
  background: transparent;
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.overlay-menu {
  scrollbar-color: transparent transparent;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
  overscroll-behavior: none;
}

@media only screen and (max-width: 1200px) {
  .main-links .large {
    font-size: 50px;
  }

  .main-links .side-number {
    margin-top: 8px;
    font-size: 20px;
  }

  .main-links .link {
    padding: 16px 22px;
  }
}

@media only screen and (max-width: 850px) {
  .main-links .large {
    font-size: 35px;
  }

  .main-links .side-number {
    margin-top: 3px;
    font-size: 15px;
    margin-right: 8px; 
  }

  .main-links .link {
    padding: 13px 22px;
  }
}

@media only screen and (max-width: 520px) {
  .main-links .large {
    font-size: 32px;
    font-size: min(max(20px, 8.5vw), 34px);
    font-size: clamp(20px, 8.5vw, 34px);
  }

  .main-links {
    margin-left: 7vw;
    margin-top: 14vh;
  }
}

/* footer */

.main-footer {
  display: flex;
  border-radius: 30px 30px 0px 0px;
  padding: 67px 85px;
  position: relative;
}

.main-footer a:not(.footer-logo) {
  padding: 3px 10px;
}

.main-footer h6 {
  padding-left: 10px;
}

.main-footer a:not(.footer-logo), .main-footer h6, .main-footer small {
  color: var(--white);
  font-weight: 500;
}

.main-footer a:not(.footer-logo), .main-footer h6 {
  font-size: 16px;
}

.main-footer h6 {
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-family: var(--body);
  opacity: .6;
  margin-bottom: 7px;
}

.main-footer .contact {
  display: flex;
  flex-direction: column;
  padding-left: 60px;
  padding-right: 170px;
}

.main-footer .contact .footer-logo {
  margin-bottom: 10px;
}

.footer-logo {
  font-weight: 700;
  font-size: 28px;
  color: var(--white);
  padding: 0px 10px;
  padding-bottom: 3px;
}

.main-footer .links {
  display: flex;
  margin-right: 70px;
  
}

.main-footer .links .haymay {
  padding-right: 60px;
}

.main-footer .legal-links {
  flex-grow: 1;
  flex-shrink: 1;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

.main-footer .legal-links ul {
  display: flex;
  align-items: center;
}

.main-footer .legal-links a {
  opacity: .8;
  transition: opacity .2s;
}

.main-footer .legal-links a:hover {
  opacity: 1;
}

.main-footer .legal-links ul li {
  display: flex;
}

.main-footer .legal-links ul li:first-child a {
  margin-right: 5px;
}

.main-footer ul {
  list-style-type: none;
}

.main-footer .links a, .main-footer address a {
  display: inline-block;
}

.main-footer .links a::after, .main-footer address a::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  margin-top: 0px;
  background: var(--white);
  opacity: .4;
  transition: width 0.25s;
}

/* adds underline hover effect */
@media only screen and (hover: hover) and (pointer: fine) {
  .main-footer .links a:hover::after, .main-footer address a:hover::after {
    width: 100%;
  }
}

.page-end-cta {
  margin: 0 85px;
  position: relative;
  transition: margin .4s;
}

.page-end-cta .pc {
  background-color: var(--grey-a);
  border-radius: 30px 30px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 122px 40px;
}

.page-end-cta .heading {
  font-size: 28px;
  font-weight: 600;
}

.page-end-cta .extended-portion {
  position: absolute;
  background-color: var(--grey-a);
  border-radius: 0 0 25px 25px;
  width: 100%;
  height: 215px;
}

.dots.footer {
  position: absolute;
  left: 160px;
  bottom: 0;
}

.page-end-cta .full-button {
  margin-top: 30px;
}

@media only screen and (max-width: 1550px) {
  .main-footer .contact {
    padding-left: 40px;
    padding-right: 150px;
  }
}

@media only screen and (max-width: 1240px) {
  .page-end-cta {
    margin: 0 70px;
  }

  .dots.footer {
    left: 110px;
  }

  .main-footer {
    padding: 67px 55px
  }
}

@media only screen and (max-width: 1160px) {
  .dots.footer {
    display: none;
  }

  .page-end-cta {
    margin: 0 7.5vw;
  }

  .page-end-cta .extended-portion {
    display: none;
  }

  .page-end-cta .pc {
    margin-bottom: -20px;
    padding: 115px 70px;
  }

  .page-end-cta .heading {
    text-align: center;
  }

  .main-footer {
    padding-top: 60px;
    padding-bottom: 60px;
    flex-direction: column;
    align-items: center;
  }

  .curved-section.for-footer {
    display: block;
    height: 100%;
    border-radius: 50% 50% 0 0;
  }

  .main-footer .links {
    margin-right: 0;
    margin-bottom: 34px;
  }

  .main-footer .contact {
    padding-right: 0;
    padding-left: 0;
    margin-bottom: 34px;
    margin-left: -121px;
  }

  .main-footer .legal-links {
    margin-right: -140px;
  }
}

@media only screen and (max-width: 800px) {
  .page-end-cta .pc {
    padding: 100px 70px;
  }

  .page-end-cta .full-button {
    margin-top: 33px;
  }
}

@media only screen and (max-width: 620px) {
  .page-end-cta .heading {
    font-size: 22px;
  }

  .page-end-cta .pc {
    padding: 80px 9vw;
  }

  .main-footer {
    padding-left: 8.5vw;
    padding-right: 8.5vw;
    align-items: flex-start;
    display: block;
    margin: 0 auto;
  }

  .main-footer .links {
    justify-content: space-between;
  }

  .main-footer .contact {
    margin-left: 0;
  }

  .main-footer .legal-links {
    margin-right: 0;
  }

  .main-footer .links .haymay {
    padding-right: 10px;
  }

  .main-footer .follow-us {
    padding-right: 10px;
  }
}

@media only screen and (max-width: 350px) {
  .page-end-cta .pc {
    padding: 70px 9vw;
  }
}



/* =====================
  Home
======================== */

/* intro */

.intro {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 20px 50px;
  height: 855px;
  width: 100%;
  border-radius: 0 0 30px 30px;
}

.intro .text {
  padding: 20px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  max-width: 700px;
}

.intro .text > * {
  color: var(--white);
}

.intro .page-title {
  margin-bottom: 16px;
}

.intro .image-dots-wrap {
  position: relative;
  top: 150px;
  width: 555px;
  height: 680px;
}

.intro .image {
  width: 100%;
  height: 100%;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  position: relative;
}

.intro .dots {
  position: absolute;
  top: -60px;
  right: -70px;
}

@media only screen and (max-width: 1550px) {
  .intro .image-dots-wrap {
    top: 180px;
    width: 480px;
    height: 580px;
  }

  .intro .dots {
    top: -60px;
    right: -60px;
  }

  .intro .text {
    max-width: 600px;
  }
}

@media only screen and (max-width: 1240px) {
  .intro .image-dots-wrap {
    top: 200px;
    width: 430px;
    height: 550px;
  }
}

/* mobile view */
@media only screen and (max-width: 1160px) {
  html, body {
    overflow-x: hidden ;
  }

  .intro {
    flex-direction: column;
    height: 840px;
    justify-content: unset;
    padding: 20px;
    padding-top: 100px;
  }

  .intro .text {
    max-width:  550px;
    text-align: center;
    padding-bottom: 0;
  }

  .intro .image-dots-wrap {
    top: 80px;
    width: 350px;
    max-height: 460px;
    height: 100%;
  }

  .intro .dots {
    top: -40px;
    right: -60px;
  }
}

@media only screen and (max-width: 620px) {
  .intro {
    height: 820px;
  }
}

@media only screen and (max-width: 509px) {
  .intro {
    height: 870px;
  }
}

@media only screen and (max-width: 449px) {
  .intro {
    height: 900px;
  }
}

/* features */

.home .features {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  margin-bottom: 95px;
  margin-top: 124px;
  max-width: 1280px;
}

.home .features .section-title {
  text-align: center;
  margin-bottom: 85px;
}

.home .feature {
  display: flex;
  align-items: center;
  position: relative;
  margin-bottom: 100px;
}

.home .feature:last-child {
  margin-bottom: 0;
}

.home .features .feature:nth-last-of-type(2) {
  flex-direction: row-reverse;
}

.home .feature .pattern {
  position: absolute;
  top: -31px;
  left: -64px;
}

.home .features .feature:nth-last-of-type(2) .pattern {
  left: unset;
  right: -64px;
}

.home .feature .media {
  position: relative;
}

.home .feature .image-shadow {
  position: absolute;
  bottom: -27px;
  right: -32px;
  background-color: var(--grey-c);
  width: 92%;
  height: 92%;
  border-radius: 22px;
}

.home .features .feature:nth-last-of-type(2) .image-shadow {
  left: -32px;
  right: unset;
}

.home .feature .media .content {
  width: 536px;
  height: 404px;
  position: relative;
}

.home .feature .media .content .feature-image, .home .feature .media .content .overlay {
  width: 100%;
  height: 100%;
  border-radius: 22px;
}

.home .feature .media .content .overlay {
  background-color: var(--image-overlay);
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
}

.home .feature .text {
  max-width: 488px;
  padding: 90px 0;
  margin-left: 120px
}

.home .features .feature:nth-last-of-type(2) .text {
  margin-right: 120px;
  margin-left: 0;
}

.home .feature .text .feature-title {
  margin-bottom: 16px;
}

.home .feature video {
  object-fit: cover;
  border-radius: 22px;
}

.home .feature .replay-video-button {
  position: absolute;
  right: 13px;
  bottom: 9px;
  padding: 1px;
}

@media only screen and (max-width: 1550px) {
  .home .features {
    margin: 0 133px;
    margin-bottom: 95px;
    margin-top: 124px;
    max-width: unset;
  }
  
  .home .feature .media .content {
    width: 480px;
    height: 350px;
  }

  .home .feature .pattern {
    max-width: 250px;
    height: auto;
    top: -29px;
    left: -54px;
  }

  .home .features .feature:nth-last-of-type(2) .pattern {
    left: unset;
    right: -54px;
  }

  .home .feature .image-shadow {
    bottom: -26px;
    right: -28px;
  }
  
  .home .features .feature:nth-last-of-type(2) .image-shadow {
    left: -28px;
    right: unset;
  }

  .home .feature {
    margin-bottom: 110px;
  }

  .home .feature .text {
    margin-left: 100px;
    padding: 50px 0;
  }
  
  .home .features .feature:nth-last-of-type(2) .text {
    margin-right: 100px;
    margin-left: 0;
  }
}

@media only screen and (max-width: 1240px) {
  .home .features {
    margin-left: 96px;
    margin-right: 96px;
    margin-top: 110px;
  }
  
  .home .feature .media .content {
    width: 435px;
    height: 325px;
  }

  .home .feature .pattern {
    max-width: 250px;
    height: auto;
    top: -29px;
    left: -30px;
  }

  .home .features .feature:nth-last-of-type(2) .pattern {
    left: unset;
    right: -30px;
  }

  .home .feature .image-shadow {
    bottom: -24px;
    right: -26px;
  }
  
  .home .features .feature:nth-last-of-type(2) .image-shadow {
    left: -26px;
    right: unset;
  }
}

@media only screen and (max-width: 1160px) {
  .home .features {
    margin-top: 110px;
    margin-bottom: 48px;
    margin-left: 0;
    margin-right: 0;
  }

  .home .features .section-title {
    margin-bottom: 72px;
    padding: 0 7.5vw;
  }

  .home .feature, .home .features .feature:nth-last-of-type(2) {
    flex-direction: column;
    margin-bottom: 72px;
  }

  .home .feature .text {
    padding: 10px 0;
  }

  .home .feature .text, .home .features .feature:nth-last-of-type(2) .text {
    margin-left: 54px;
    margin-top: 42px;
    padding-right: 54px;
  }

  .home .features .feature:nth-last-of-type(2) .text {
    margin-right: 0;
  }

  .home .feature .media .content {
    width: 435px;
    height: 310px;
  }

  .home .feature .image-shadow {
    bottom: -22px;
    right: -24px;
  }

  .home .features .feature:nth-last-of-type(2) .image-shadow {
    left: -24px;
    right: unset;
  }

  .home .feature .pattern {
    top: -25px;
  }
}

@media only screen and (max-width: 620px) {
  .home .features {
    margin-top: 110px;
    margin-bottom: 30px;
  }

  .home .feature .media .content {
    max-width: 85vw;
    height: 53.5vw;
  }
  
  .home .feature .pattern {
    left: -22px;
    top: -22px;
    max-width: 48vw;
  }

  .home .features .feature:nth-last-of-type(2) .pattern {
    left: unset;
    right: -22px;
  }

  .home .feature .image-shadow {
    bottom: -18px;
    right: -18px;
  }

  .home .features .feature:nth-last-of-type(2) .image-shadow {
    left: -18px;
    right: unset;
  }

  .home .feature .text, .home .features .feature:nth-last-of-type(2) .text {
    margin-left: 7.5vw;
    margin-top: 42px;
    padding-right: 7.5vw;
  }

  .home .features .section-title {
    padding-left: 5.2vw;
    padding-right: 5.2vw;
    margin-bottom: 60px;
  }

  .home .feature, .home .features .feature:nth-last-of-type(2) {
    margin-bottom: 66px;
  }
}

@media only screen and (max-width: 457px) { 
  .home .features {
    margin-top: 115px;
  }
}

/* cody for ... */
.home .cody-for {
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 124px;
  max-width: 1280px;
}

.home .cody-for .list-item {
  padding: 70px;
  border-radius: 22px;
  background-color: var(--grey-a);
  max-width: 519px;
  width: 100%;
}

.home .cody-for .list-item:first-child {
  margin-right: 120px;
}

.home .cody-for .list-item .cody-for-title {
  text-align: center;
  margin-bottom: 15px;
}

.home .cody-for .list-item .blue-text {
  color: var(--blue);
}

@media only screen and (max-width: 1550px) {
  .home .cody-for {
    margin: 0 100px;
    margin-bottom: 95px;
    max-width: unset;
  }

  .home .cody-for .list-item:first-child {
    margin-right: 90px;
  }
}

@media only screen and (max-width: 1240px) {
  .home .cody-for {
    margin-left: 96px;
    margin-right: 96px;
  }

  .home .cody-for .list-item:first-child {
    margin-right: 70px;
  }
}

@media only screen and (max-width: 1160px) {
  .home .cody-for {
    margin-left: 40px;
    margin-right: 40px;
    flex-direction: column;
    margin-bottom: 80px;
  }

  .home .cody-for .list-item:first-child {
    margin-right: 0;
    margin-bottom: 40px;
  }
}

@media only screen and (max-width: 620px) {
  .home .cody-for .list-item{
    padding: 55px;
  }
}

/* section divider */

.home .section-divider {
  display: block;
  margin: 0 auto;
  margin-bottom: 124px;
  max-width: 72vw;
}

/* projects and publications */ 

.home .projects-publications {
  display: flex;
  flex-direction: column;
  margin-bottom: 124px;
  margin-top: 48px;
  margin-left: 230px;
}

.home .projects-publications .main-content {
  display: flex;
  margin-bottom: 33px;
  position: relative;
}

.home .projects-publications .text {
  padding-top: 40px;
  max-width: 360px;
  min-width: 360px;
  margin-right: 40px;
}

.home .projects-publications .text h2 {
  margin-bottom: 16px;
}

.home .projects-publications .text p {
  margin-bottom: 35px;
}

.home .projects-publications .text .links {
  display: flex;
  margin-left: -10px;
}

.home .projects-publications .text .links a:first-child {
  margin-right: 20px;
}

.home .projects-publications .fader {
  height: 100%;
  width: 35px;
  position: absolute;
  z-index: 2;
  background-repeat: no-repeat;
  pointer-events: none;
  transition: margin .2s;
}

.home .projects-publications .left-side-fader {
  top:0;
  left: 400px;
  background: linear-gradient(90deg, #fcfdfe 0%, #fcfdfeeb 10%, rgb(255 255 255 / 0%) 100%);
}

.home .projects-publications.active .left-side-fader {
  margin-left: 10px;
}

.home .projects-publications .right-side-fader {
  top:0;
  right: 0;
  background: linear-gradient(90deg, rgb(255 255 255 / 0%) 0%, #fcfdfeeb 90%, #fcfdfe 100%);
}

.home .projects-publications.active .right-side-fader {
  margin-right: 10px;
}

.home .projects-publications .list {
  display: flex;
  overflow-x: scroll;
  will-change: transform;
  transition: all 0.2s;
  scroll-behavior: unset!important;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.home .projects-publications .list::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.home .projects-publications .list {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
  cursor: grab;
  cursor: -webkit-grab;
}

.home .projects-publications.active .list {
  cursor: grabbing;
  cursor: -webkit-grabbing;
  transform: scale(0.98);
}

.home .projects-publications .card {
  padding: 44px 50px;
  background-color: var(--grey-a);
  display: flex;
  flex-direction: column;
  position: relative;
  margin-bottom: 40px;
  border-radius: 13px;
  min-width: 380px;
  max-width: 380px;
  margin-right: 100px;
}

.home .projects-publications .list .card:first-child {
  margin-left: 100px;
}

.home .projects-publications .card p {
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-size: 13px;
  font-weight: 500;
  color: var(--blue);
  margin-bottom: 8px;
}

.home .projects-publications .card h3 {
  font-size: 20px;
  margin-bottom: 250px;
}

.home .projects-publications .card .underline-link {
  align-self: flex-start;
  left: 40px;
  bottom: 220px;
  position: absolute;
}

.home .projects-publications .card .image {
  width: 305px;
  height: 210px;
  border-radius: 13px;
  position: absolute;
  bottom: -30px;
  right: -35px;
}

.home .projects-publications .scrollbar {
  background-color: var(--grey-c);
  height: 2px;
  width: 250px;
  display: block;
  margin-left: 530px;
  transition: opacity .2s;
}

.home .projects-publications .scrollbar .progress-bar {
  background-color: var(--grey-e);
  height: 100%;
  width: 25%;
  transition: width .2s;
}

.home .projects-publications .spacer-card {
  background-color: transparent;
  pointer-events: none;
  display: none;
}

@media only screen and (max-width: 1550px) {
  .home .projects-publications {
    margin-left: 85px;
  }

  .home .projects-publications .list .card:first-child {
    margin-left: 85px;
  }

  .home .projects-publications.active .right-side-fader {
    margin-right: 7px;
  }

  .home .projects-publications.active .left-side-fader {
    margin-left: 7px;
  } 
}

@media only screen and (max-width: 1240px) {
  .home .projects-publications {
    margin-left: 70px;
    margin-bottom: 110px;
  }

  .home .projects-publications .list .card:first-child {
    margin-left: 50px;
  }

  .home .section-divider {
    margin-bottom: 110px;
  }
}

@media only screen and (max-width: 1160px) {
  .home .projects-publications {
    margin-left: 0;
    margin-bottom: 80px;
  }

  .home .projects-publications .main-content {
    flex-direction: column;
  }

  .home .projects-publications .text {
    margin-right: 0;
    margin: 0 7.5vw;
    max-width: unset;
    margin-bottom: 60px;
    padding-top: 0;
  }

  .home .projects-publications .text p {
    margin-left: 2vw;
    margin-right: 2vw;
  }

  .home .projects-publications .text .section-title, .home .projects-publications .text p {
    text-align: center;
  }

  .home .projects-publications .text .links {
    justify-content: center;
    margin-left: 0;
  }

  .home .projects-publications .left-side-fader {
    left: 0;
  }

  .home .projects-publications.active .right-side-fader {
    margin-right: 6px;
  }

  .home .projects-publications.active .left-side-fader {
    margin-left: 6px;
  } 

  .home .projects-publications .scrollbar {
    margin-left: auto;
    margin-right: auto;
  }

  .home .section-divider {
    margin-bottom: 80px;
  }

  .home .projects-publications .list .card:first-child {
    margin-left: 7.5vw;
  }
}

@media only screen and (max-width: 620px) {
  .home .section-divider {
    margin-bottom: 65px;
  }

  .home .projects-publications {
    margin-bottom: 65px;
  }

  .home .projects-publications .main-content {
    margin-bottom: 10px;
  }

  .home .projects-publications .text {
    margin-bottom: 45px;
    padding-left: 5.2vw;
    padding-right: 5.2vw;
    margin-left: 0;
    margin-right: 0;
    min-width: unset;
  }

  .home .projects-publications .text p {
    margin-bottom: 22px;
    margin-left: 0;
    margin-right: 0;
    text-align: left;
    padding: 0 2.3vw;
  }

  .home .projects-publications .text .links {
    justify-content: left;
    margin-left: -10px;
    padding: 0 2.3vw;
  }

  .home .projects-publications .card {
    padding: 36px 41px;
    min-width: 300px;
    min-width: min(max(265px, 81vw), 355px);
    max-width: 300px;
    max-width: min(max(265px, 81vw), 355px);
    margin-right: 55px;
  }

  .home .projects-publications .card .image {
    width: 250px;
    height: 167px;
    bottom: -19px;
    right: -16px;
  }

  .home .projects-publications .card h3 {
    margin-bottom: 205px;
  }

  .home .projects-publications .card .underline-link {
    bottom: 185px;
  }

  /* .home .projects-publications .right-side-fader {
    bottom: 0;
    top: unset;
  }
  
  .home .projects-publications .left-side-fader {
    bottom: 0;
    top: unset;
  } */

  .home .projects-publications .fader {
    /* height: 68%; */
    display: none;
  }

  .home .projects-publications .card .underline-link {
    margin-left: -10px;
  }

  .home .projects-publications .spacer-card {
    display: flex;
    min-width: 1px;
    max-width: 1px;
    padding: 0;
    margin-right: 0;
  }
}

@media only screen and (max-width: 430px) {
  .home .projects-publications .text .links {
    flex-direction: column;
  }

  .home .projects-publications .text .links .underline-link {
    align-self: flex-start;
  }

  .home .projects-publications .text .links a:first-child {
    margin-right: 0;
    margin-bottom: 8px;
  }
}



/* =====================
  Projects & Publications List Pages (lp)
======================== */

.lp .intro .text {
  height: 690px;
}

.lp .intro .text > * {
  min-width: 603px;
}

.lp .curved-section.for-intro {
  height: 620px;
  border-radius: 0 0 50% 50%;
}

.lp .projects-list {
  margin-top: 110px;
  margin-bottom: 124px;
}

.lp .featured-project {
  background-color: var(--grey-a);
  border-radius: 13px;
  padding: 38px 40px;
  padding-right: 110px;
  padding-left: 510px;
  display: block;
  align-items: center;
  width: fit-content;
  margin: 0 auto;
  position: relative;
  min-height: 390px;
}

.lp .featured-project.no-image {
  padding: 90px 110px;
  position: relative;
}

.lp .featured-project.no-image .pattern {
  position: absolute;
  z-index: -2;
  bottom: -35px;
  left: -54px
}

.lp .featured-project .image {
  width: 454px;
  height: 330px;
  border-radius: 13px;
  bottom: -32px;
  left: -40px;
  position: absolute;
}

.lp .featured-project .text {
  max-width: 485px;
  margin-top: -20px;
  display: flex;
  flex-direction: column;
  padding-top: 60px;
  padding-bottom: 60px;
}

.lp .featured-project.no-image .text {
  padding-left: 0;
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
}

.lp .featured-project .tag {
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-size: 13px;
  font-weight: 500;
  color: var(--blue);
  margin-bottom: 9px;
}

.lp .featured-project .text .project-title {
  font-size: 28px;
  margin-bottom: 16px;
}

.lp .featured-project .underline-link {
  align-self: flex-start;
  margin-left: -10px;
  margin-top: 22px;
}

.lp .section-divider {
  margin: 0 auto;
  margin-top: 70px;
  width: 975px;
}

.lp .uf-projects-list {
  margin: 0 auto;
  width: fit-content;
  max-width: 978px;
  margin-top: 80px;
}

.lp .project {
  background-color: var(--grey-a);
  border-radius: 13px;
  padding: 38px 40px;
  padding-left: 100px;
  padding-right: 478px;
  display: block;
  align-items: center;
  width: fit-content;
  margin-bottom: 112px;
  position: relative;
}

.lp .project.no-image {
  padding: 78px 100px;
  position: relative;
  display: block;
}

.lp .project.no-image .pattern {
  position: absolute;
  z-index: -2;
  bottom: -35px;
  right: -54px
}

.lp .project .image {
  width: 424px;
  height: 295px;
  border-radius: 13px;
  bottom: -32px;
  right: -40px;
  position: absolute;
  flex-basis: 50%;
  flex-shrink: 1;
}

.lp .project .text {
  max-width: 485px;
  display: flex;
  flex-direction: column;
  padding-right: 0;
  flex-basis: 50%;
  flex-shrink: 5;
  padding-top: 40px;
  padding-bottom: 40px;
}

.lp .project.no-image .text {
  padding-left: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.lp .project .text .project-title {
  font-size: 28px;
  margin-bottom: 16px;
}

.lp .project .underline-link {
  align-self: flex-start;
  margin-left: -10px;
  margin-top: 22px;
}

@media only screen and (max-width: 1550px) {
  .lp .intro .text > * {
    min-width: 520px;
  }

  .lp .projects-list {
    padding-left: 14.5vw;
    padding-right: 14.5vw;
  }

  .lp .featured-project {
    margin-right: 0;
    margin-left: 0;
    width: 100%;
    padding-left: 485px;
    padding-right: 90px;
  }

  .lp .featured-project.no-image {
    width: fit-content;
    margin: 0 auto;
  }

  .lp .uf-projects-list {
    max-width: 950px;
  }

  .lp .featured-project .image {
    width: 434px;
    height: 310px;
  }

  .lp .project {
    padding-left: 90px;
    padding-right: 424px;
  }

  .lp .project.no-image {
    padding: 72px 90px;
  }

  .lp .project .image {
    width: 404px;
    height: 275px;
  }

  .lp .section-divider {
    max-width: 65vw;
  }
}

@media only screen and (max-width: 1410px) {
  .lp .projects-list {
    padding-left: 12.5vw;
    padding-right: 12.5vw;
  }

  .lp .featured-project { 
    padding-left: 472px;
    padding-right: 80px;
  }
}

@media only screen and (max-width: 1280px) {
  .lp .projects-list {
    padding-left: 8vw;
    padding-right: 8vw;
  }

  .lp .featured-project { 
    padding-left: 468px;
  }

  .lp .uf-projects-list {
    max-width: 920px;
  }

  .lp .project {
    padding-left: 85px;
    padding-right: 422px;
  }

  .lp .project.no-image {
    padding: 72px 85px;
  }
}

@media only screen and (max-width: 1240px) {
  .lp .intro .text > * {
    min-width: 480px;
  }
}

@media only screen and (max-width: 1160px) {
  .lp .intro .page-title {
    min-width: unset;
    margin-top: -80px!important;
  }

  .lp .intro .text > * {
    min-width: unset;
  }

  .lp .intro .text {
    height: 620px;
  }

  .lp .projects-list {
    margin-top: 80px;
  }

  .lp .featured-project {
    display: flex;
    flex-direction: column-reverse;
    padding-left: 70px;
    padding-right: 70px;
    padding-top: 60px;
    padding-bottom: 30px;
    max-width: 570px;
    margin: 0 auto;
  }

  .lp .featured-project.no-image {
    padding: 60px 70px;
    display: block;
    min-height: unset;
  }

  .lp .featured-project .text {
    padding-bottom: 0;
    padding-top: 0;
    margin-top: 0;
  }

  .lp .featured-project .image {
    position: relative;
    width: 390px;
    height: 260px;
    bottom: -60px;
    right: -118px;
    left: unset;
  }

  .lp .section-divider {
    width: 500px;
    max-width: 70vw;
  }

  .lp .project {
    display: flex;
    flex-direction: column;
    padding-left: 70px;
    padding-right: 70px;
    padding-top: 60px;
    padding-bottom: 30px;
    max-width: 570px;
  }

  .lp .project .text {
    padding-bottom: 0;
    padding-top: 0;
  }

  .lp .project .image {
    position: relative;
    width: 390px;
    height: 260px;
    bottom: -60px;
    right: -118px;
    left: unset;
    flex-basis: unset;
    flex-shrink: unset;
  }

  .lp .project.no-image {
    padding: 60px 70px;
  }
}

@media only screen and (max-width: 730px){
  .lp .section-divider {
    margin-top: 50px;
  }

  .lp .projects-list {
    padding-left: 3.2vw;
    padding-right: 3.2vw;
    margin-bottom: 100px;
  }

  .lp .featured-project {
    padding-left: 10vw;
    padding-right: 10vw;
    padding-top: 60px;
    padding-bottom: 30px;
  }

  .lp .featured-project .image {
    width: 370px;
    height: 243px;
  }

  .lp .uf-projects-list {
    width: 100%;
    margin-top: 50px;
  }

  .lp .project {
    width: 100%;
    padding-left: 10vw;
    padding-right: 10vw;
    padding-top: 60px;
    padding-bottom: 30px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 85px;
  }

  .lp .project .image {
    width: 370px;
    height: 243px;
  }

  .lp .featured-project .text .project-title {
    font-size: 24px;
  }

  .lp .project .text .project-title {
    font-size: 24px;
  }

  .lp .project.no-image .pattern {
    bottom: -47px;
    right: -30px;
  }

  .lp .project.no-image {
    padding-left: 10vw;
    padding-right: 10vw;
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .lp .featured-project.no-image {
    padding-left: 10vw;
    padding-right: 10vw;
    padding-top: 60px;
    padding-bottom: 60px;
  }
}

@media only screen and (max-width: 620px){
  .lp .projects-list {
    margin-top: 60px
  }

  .lp .intro .text > * {
    text-align: center;
  }

  .lp .intro .text {
    height: unset;
  }

  .lp .intro .text .page-title {
    margin-top: 0 !important;
  }

  .lp .curved-section.for-intro {
    height: 520px;
  }

  .lp .featured-project {
    padding-bottom: 24px;
    padding-top: 50px;
  }

  .lp .featured-project .image {
    width: 81vw;
    height: 51vw;
    bottom: -48px;
    right: 0px;
  }

  .lp .project {
    padding-bottom: 24px;
    padding-top: 50px;
  }

  .lp .project .image {
    width: 81vw;
    height: 51vw;
    bottom: -48px;
    right: 0px;
  }

  .lp .project.no-image {
    padding-bottom: 50px;
    padding-top: 50px;
  }

  .lp .featured-project.no-image {
    padding-bottom: 50px;
    padding-top: 50px;
  }
}

@media only screen and (max-width: 470px) {
  .lp .curved-section.for-intro {
    height: 490px;
  }

  .lp .featured-project {
    padding-top: 45px;
  }

  .lp .project {
    padding-top: 45px;
  }

  .lp .project.no-image {
    padding-top: 45px;
    padding-bottom: 45px;
  }

  .lp .featured-project.no-image {
    padding-top: 45px;
    padding-bottom: 45px;
  }
}

@media only screen and (max-width: 420px) {
  .lp .curved-section.for-intro {
    height: 475px;
  }
}

@media only screen and (max-width: 350px) {
  .lp .curved-section.for-intro {
    height: 460px;
  }
}



/* =====================
  Project Page
======================== */
.project .intro .text {
  height: 690px;
}

.project .intro .page-title {
  min-width: 603px;
  margin-bottom: 0;
}

.project .curved-section.for-intro {
  height: 560px;
  border-radius: 0 0 50% 50%;
}

@media only screen and (max-width: 1550px) {
  .project .intro .page-title {
    min-width: 520px;
  }

  .project .intro .text {
    padding-left: 4.5vw;
    padding-right: 4.5vw;
  }
}

@media only screen and (max-width: 1240px) {
  .project .intro .page-title {
    min-width: 480px;
  }
}

@media only screen and (max-width: 1160px) {
  .project .intro .page-title {
    min-width: unset;
    margin-top: -80px!important;
  }

  .project .intro .text {
    height: 560px;
  }

  .project .intro.no-image .text {
    height: 470px;
  }

  .project .intro.no-image .page-title {
    margin-top: 0!important;
  }
}

@media only screen and (max-width: 620px){
  .project .intro .text > * {
    text-align: center;
  }

  .project .intro .text {
    height: unset;
  }

  .project .intro.no-image .text {
    height: unset;
    padding-bottom: 75px;
  }

  .project .intro .text .page-title {
    margin-top: 0 !important;
  }

  .project .curved-section.for-intro {
    height: 520px;
  }
}

@media only screen and (max-width: 470px) {
  .project .curved-section.for-intro {
    height: 490px;
  }
}

@media only screen and (max-width: 420px) {
  .project .curved-section.for-intro {
    height: 475px;
  }
}

@media only screen and (max-width: 350px) {
  .project .curved-section.for-intro {
    height: 460px;
  }
}



/* =====================
  Post-Level Content (plc)
======================== */

.plc {
  margin: 0 auto;
  max-width: 851px;
  padding: 20px 7vw;
  padding: 20px min(max(24px, 100px), 7vw);
  padding: 20px clamp(24px, 100px, 7vw);
  padding-top: 70px;
  padding-bottom: 100px;
  box-sizing: content-box;
}

.plc p, .plc pre, .plc blockquote, .plc ol, .plc ul, .plc h1, .plc h2, .plc h3, .plc h4, .plc h5, .plc h6 {
  max-width: 576px;
  margin: 0 auto;
  overflow-wrap: anywhere
}

.plc h1, .plc h2, .plc h3, .plc h4, .plc h5, .plc h6 {
  margin-top: 18px;
}

.plc p {
  font-size: 16px;
}

.plc p.contains-image {
  font-size: 16px;
  max-width: 576px;
}

.plc img {
  margin: 0 auto;
  max-width: 100%;
  /*-webkit-transform: translateX(-15.7%);
  -moz-transform: translateX(-15.7%);
  -o-transform: translateX(-15.7%);
  transform: translateX(-15.7%);*/
  max-height: 620px;
  display: block;
  margin-top: 50px;
  margin-bottom: 50px;
  background-color: #dde1e6;
  border-radius: 13px;
}

.plc img {
  max-height: 720px;
}

.plc > p:last-child img:last-child {
  margin-bottom: 15px;
}

/*
.plc img.no-transform {
  max-width: 100%;
  -webkit-transform: none;
  -moz-transform: none;
  -o-transform: none;
  transform: none;
}*/

.plc a {
  font-family: inherit;
  font-size: inherit;
  font-weight: 500;
  color: var(--blue);
  display: inline-block;
}

.plc a:after {
  content: '';
  display: block;
  height: 2px;
  margin-top: -2px;
  background: var(--blue-32);
  transition: background-color 0.25s;
  width: 100%;
}

.plc a:hover::after {
  background-color: var(--blue);
}

.plc hr {
  width: 160px;
  margin: 52px auto;
  border: none;
  height: 1px;
  background-color: #9eafbc;
}

.plc hr.image-after {
  margin-top: 72px;
}

.plc hr.image-before {
  margin-bottom: 72px;
}

.plc hr.no-content-after, .plc hr.no-content-before {
  display: none;
}

.plc pre {
  border: 2px solid #dde1e6;
  background-color: #f4f6f8;
  border-radius: 5px;
  padding: 20px 30px;
  font-size: 14px;
  overflow-x: scroll;
}

.plc pre code {
  font-family: "Menlo", "Fira Code", monospace;
}

.plc blockquote {
  background-color: var(--grey-a);
  border-left: 3px solid var(--blue);
  padding: 14px 38px;
}

.plc strong {
  font-weight: 600;
}

/* override strong and em tags for headers */
.plc h1 strong, .plc h2 strong, .plc h3 strong, .plc h4 strong, .plc h5 strong{
  font-weight: 600;
}
.plc h1 em, .plc h2 em, .plc h3 em, .plc h4 em, .plc h5 em, .plc h6 em {
  font-style: normal;
}

.plc h1 {
  font-size: 36px!important;
}

.plc h2 {
  font-size: 31px;
  font-weight: 600;
}

.plc h3 {
  font-size: 26px;
}

.plc h4 {
  font-size: 22px;
}

.plc h5 {
  font-size: 20px;
  font-weight: 600;
}

.plc h6 {
  font-size: 16px;
  font-weight: 600;
}

.plc ol, .plc ul {
  padding-left: 56px;
  padding-left: max(56px, 8%);
}

.plc ol li, .plc ul li {
  font-weight: 400;
  font-family: var(--body);
  font-size: 16px;
  padding-bottom: 5px;
}

.plc ol li:last-child, .plc ul li:last-child {
  padding-bottom: 0;
}

@media only screen and (max-width: 1160px) {
  .plc {
    padding-top: 60px;
    padding-bottom: 90px;
  }
}

@media only screen and (max-width: 750px) {
  .plc img {
    /*max-width: 100%;
    -webkit-transform: none;
    -moz-transform: none;
    -o-transform: none;
    transform: none;*/
    margin-top: 43px;
    margin-bottom: 43px;
  }  

  .plc {
    padding-bottom: 88px;
  }
}

@media only screen and (max-width: 620px) {
  .plc {
    padding-top: 40px;
    padding-bottom: 75px;
  }
}



/* =====================
  Contact
======================== */

.contact .main-nav ul a {
  color: var(--blue);
}

.contact main {
  display: flex;
  margin-bottom: 200px;
  margin-bottom: min(max(200px, 17vh), 800px);
}

.contact .background-block {
  min-height: 942px;
  height: 78.5vh;
  width: 91.5vw;
  position: absolute;
  top: 0;
  left: 0;
  background-color: var(--grey-a);
  z-index: -1;
  border-radius: 0 0 25px 25px;
  margin-left: 7.2vw;
}

.contact .intro {
  position: relative;
  width: 40vw;
  height: 70vh;
  min-height: 890px;
}

.contact .intro .text {
  max-width: 570px;
  text-align: center;
}

.contact .intro .text p {
  max-width: 400px;
}

.contact .curved-section.for-intro {
  height: 550px;
  border-radius: 0 0 50% 50%;
}

.contact .info {
  display: flex;
  flex-grow: 1;
  align-items: center;
  justify-content: center;
}

.contact .info .content {
  display: flex;
  height: fit-content;
}

.contact .form {
  min-width: 400px;
  max-width: 400px;
  display: flex;
  flex-direction: column;
}

.contact .form .row {
  display: flex;
  flex-grow: 1;
  justify-content: space-between;
  margin-bottom: 30px;
}

.contact .form .item {
  display: flex;
  flex-direction: column;
  min-width: 185px;
  flex-grow: 1;
}

.contact .form .row > :nth-child(2) {
  margin-left: 20px;
}

.contact .form label {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  margin-bottom: 0px;
  color: var(--blue);
}

.contact .form input {
  border: none;
  -webkit-appearance: none;
  border-radius: 0;
  border-bottom: 2px solid var(--full-button-on-light-border-grey-a);
  padding: 6px 0px;
  font-family: var(--body);
  font-weight: 400;
  font-size: 16px;
  background-color: transparent;
  color: var(--black);
  transition: border-color .2s;
}

.contact .form textarea {
  resize: none;
  -webkit-appearance: none;
  font-family: var(--body);
  font-weight: 400;
  font-size: 16px;
  border-radius: 0;
  border: none;
  border-bottom: 2px solid var(--full-button-on-light-border-grey-a);
  padding: 6px 0px;
  background-color: transparent;
  color: var(--black);
  transition: border-color .2s;
}

.contact .form input:focus, .contact .form textarea:focus {
  outline: none;
}

.contact .form input:focus-visible, .contact .form textarea:focus-visible {
  border-color: var(--blue);
}

.contact .form input::placeholder, .contact .form textarea::placeholder {
  font-size: 16px;
  font-family: var(--body);
  font-weight: 400;
  color: var(--grey-g);
}

.contact .form input::-webkit-search-decoration {
  -webkit-appearance: none;
}

.contact .form input::-webkit-search-cancel-button{
  -webkit-appearance: none;
}

.contact .form .error-message {
  background-color: var(--error-message-background-blue-has-transparency);
  padding: 10px 18px;
  border-radius: 13px;
  display: none;
  margin-bottom: 20px;
}

.contact .form .error-message-text {
  font-weight: 500;
  color: var(--blue);
  text-align: center;
}

.contact .form button {
  align-self: flex-end;
  transition: border-color .2s;
}

.contact .form button:hover, .contact .form button:active, .contact .form button:focus-visible {
  border-color: var(--blue);
}

.contact .contact-info {
  height: fit-content;
  margin-left: 110px;
}

.contact .contact-info .details {
  padding: 7px 14px;
  border-left: 2px solid var(--blue);
}

.contact .contact-info .title {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--grey-g);
  margin-bottom: 4px;
  font-family: var(--body);
}

.contact .contact-info a {
  color: var(--blue);
  font-weight: 500;
  font-size: 16px;
}

.contact .dots {
  top: unset;
  position: absolute;
  bottom: -65px;
  right: -75px;
  transform: rotate(0deg);
  z-index: -1;
}

.contact .disclaimer {
  color: var(--grey-g);
  font-weight: 400;
  font-size: 14px;
  margin-top: 30px;
}

@media only screen and (max-width: 1550px) {
  .contact .burger-icon-button .line:not(.open) {
    background-color: var(--blue);
  }

  .contact .dots {
    right: -41px;
  }

  .contact .contact-info {
    margin-left: 70px;
  }

  .contact .background-block {
    min-height: 742px;
  }

  .contact main {
    margin-bottom: 180px;
  }
}

@media only screen and (max-width: 1160px) {
  .contact .burger-icon-button .line:not(.open) {
    background-color: var(--white);
  }

  .contact main {
    flex-direction: column;
  }

  .contact .dots {
    display: none;
  }

  .contact .background-block {
    display: none;
  }

  .contact .intro {
    width: 100vw;
    height: 550px;
    min-height: unset;
    padding: 30px;
    padding-bottom: 90px;
    justify-content: center;
  }

  .contact .info {
    position: relative;
    top: -100px;
  }

  .contact .info .content {
    flex-direction: column;
  }

  .contact main {
    margin-bottom: 0;
  }

  .contact .main-footer {
    padding-top: 90px;
  }

  .contact .contact-info {
    margin-left: 0;
    background-color: var(--grey-a);
    border-radius: 13px;
    padding: 43px 65px;
    margin-top: 20px;
  }

  .contact .form {
    background-color: var(--grey-a);
    border-radius: 13px;
    padding: 50px 65px;
    max-width: 600px;
  }
}

@media only screen and (max-width: 620px) {
  .contact .intro {
    height: 500px;
    padding: 30px;
    padding-bottom: 50px;
  }

  .contact .intro .text {
    height: unset;
  }

  .contact .intro .text > * {
    text-align: center;
    min-width: unset;
  }

  .contact .info {
    top: -100px;
  }

  .contact .info .content {
    max-width: 94%;
  }

  .contact .intro .text .page-title {
    margin-top: 0!important;
  }

  .contact .curved-section.for-intro {
    height: 425px;
  }

  .contact .form {
    min-width: unset;
    padding: 50px 12vw;
  }

  .contact .form .row {
    display: flex;
    flex-direction: column;
  }

  .contact .form .row > :nth-child(2) {
    margin-left: 0;
    margin-top: 30px;
  }

  .contact .form .item {
    min-width: 60px;
  }

  .contact .intro .text p {
    margin-right: 0;
  }

  .contact .contact-info {
    padding: 43px 12vw;
  }
}



/* =====================
  Legal
======================== */

.legal .intro .text {
  height: 470px;
  width: calc(100vw / 1.509);
}

.legal .intro .page-title {
  margin-bottom: 0;
}

.legal .curved-section.for-intro {
  height: 420px;
  border-radius: 0 0 50% 50%;
}

.legal .page-title-wrap {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 340px;
}

.legal .page-title-wrap > * {
  color: var(--white);
}

.legal .grey-background-block {
  position: absolute;
  right: 30px;
  top: 0;
  background-color: var(--grey-a);
  border-radius: 0 0 25px 0;
  width: 60%;
  height: 410px;
  z-index: -2;
}

@media only screen and (max-width: 1550px) {
  .legal .intro .page-title {
    min-width: 520px;
  }

  .legal .intro .text {
    padding-left: 4.5vw;
    padding-right: 4.5vw;
  }
}

@media only screen and (max-width: 1240px) {
  .legal .intro .page-title {
    min-width: 480px;
  }
}

@media only screen and (max-width: 1160px) {
  .legal .intro .page-title {
    min-width: unset;
    margin-top: -80px!important;
  }

  .legal .intro .text {
    height: 420px;
  }

  .legal .page-title-wrap {
    height: 310px;
  }

  .legal .grey-background-block {
    display: none;
  }
}

@media only screen and (max-width: 620px){
  .legal .intro .text > * {
    text-align: center;
  }

  .legal .intro .text {
    height: 310px;
  }

  .legal .intro .text .page-title {
    margin-top: 0 !important;
  }

  .legal .curved-section.for-intro {
    height: 300px;
  }

  .legal .page-title-wrap {
    height: 215px;
  }
}



/* =====================
  About
======================== */

.about .intro .text {
  height: 690px;
}

.about .intro .page-title {
  min-width: 603px;
}

.about .curved-section.for-intro {
  height: 620px;
  border-radius: 0 0 50% 50%;
}

.about .team {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 92px;
}

.about .team h2 {
  margin-bottom: 40px;
}

.about .team h3 {
  margin-bottom: 13px;
}

.about .core-team {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  padding: 0 24px;
  max-width: 700px;
}

.about .core-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 200px;
  margin-right: 20px;
  margin-bottom: 40px;
}

.about .core-member:last-child {
  margin-right: 0;
}

.about .core-member .profile-image {
  width: 142px;
  height: 142px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.about .partners {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 700px;
}

.about .partner {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 200px;
  padding: 12px 30px;
}

.about .partner:last-child {
  margin-right: 0;
}

.about .name {
  font-weight: 600;
  text-align: center;
}

.about .university {
  color: var(--grey-g);
  text-align: center;
}

.about .section-divider {
  margin: 60px auto;
  max-width: 500px;
}

.about .plc {
  padding-bottom: 0;
}

@media only screen and (max-width: 1550px) {
  .about .intro .page-title {
    min-width: 520px;
  }
}

@media only screen and (max-width: 1240px) {
  .about .intro .page-title {
    min-width: 480px;
  }
}

@media only screen and (max-width: 1160px) {
  .about .intro .page-title {
    min-width: unset;
    margin-top: -80px!important;
  }

  .about .intro .text {
    height: 620px;
  }
}

@media only screen and (max-width: 730px){
  .about .team {
    margin-bottom: 65px;
  }

  .about .team {
    padding: 0 7vw;
    padding: 0 min(max(24px, 100px), 7vw);
    padding: 0 clamp(24px, 100px, 7vw);
  }

  .about .core-member {
    margin-right: 0;
  }

  .about .section-divider {
    max-width: 75vw;
  }
}

@media only screen and (max-width: 620px){
  .about .intro .text > * {
    text-align: center;
  }

  .about .intro .text {
    height: unset;
  }

  .about .intro .text .page-title {
    margin-top: 0 !important;
  }

  .about .curved-section.for-intro {
    height: 520px;
  }

  .about .core-team {
    display: flex;
    flex-direction: column;
  }

  .about .core-member {
    margin-bottom: 30px;
  }

  .about .core-member:last-child {
    margin-bottom: 30px;
  }

  .about .partners {
    display: flex;
    flex-direction: column;
  }

  .about .section-divider {
    margin-top: 40px;
    margin-bottom: 40px;
  }

  .about .team h2 {
    margin-bottom: 32px;
  }
}

@media only screen and (max-width: 470px) {
  .about .curved-section.for-intro {
    height: 490px;
  }
}

@media only screen and (max-width: 420px) {
  .about .curved-section.for-intro {
    height: 475px;
  }
}

@media only screen and (max-width: 350px) {
  .about .curved-section.for-intro {
    height: 460px;
  }
}



/* =====================
  404 Page (Page Not Found - pnf)
======================== */

.pnf section.content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 22vh 40px;
  padding: max(22vh, 100px) 40px;
}

.pnf section.content h1, .pnf section.content h2, .pnf section.content p {
  text-align: center;
}

.pnf section.content h1 {
  font-size: 50px;
}

.pnf section.content h2 {
  align-items: center;
  margin-top: 1px;
  margin-bottom: 18px;
}

.pnf section.content .underline-link {
  align-self: center;
  margin-top: 30px;
}

.pnf .header-logo a {
  color: var(--blue);
}

.pnf .burger-icon-button .line {
  background-color: var(--blue);
}

@media only screen and (max-width: 510px) {
  .pnf section.content {
    padding: 20vh 25px;
    padding: max(20vh, 100px) 25px;
  }
}

@media only screen and (max-width: 345px) {
  .pnf section.content {
    padding: 75px 25px;
    padding: max(14vh, 75px) 25px;
  }
}
