@font-face {
  font-family: Roboto;
  font-weight: 400;
  src: url(../resources/fonts/Roboto-Thin.ttf);
}
@font-face {
  font-family: Roboto;
  font-weight: 500;
  src: url(../resources/fonts/Roboto-Light.ttf);
}
@font-face {
  font-family: Roboto;
  font-weight: 600;
  src: url(../resources/fonts/Roboto-Regular.ttf);
}
@font-face {
  font-family: Roboto;
  font-weight: 700;
  src: url(../resources/fonts/Roboto-Medium.ttf);
}
@font-face {
  font-family: Roboto;
  font-weight: 800;
  src: url(../resources/fonts/Roboto-Bold.ttf);
}
@font-face {
  font-family: Roboto;
  font-weight: 900;
  src: url(../resources/fonts/Roboto-Black.ttf);
}

:root {
  --primaryColor: #4c9fc8;
  --primaryBoldColor: #ebbc4e;
  --primaryBlackColor: #ebbc4e;
  --secondaryColor: #ffffff;
  --opaqueBackground: #000000e6;
  --mainCanvasBackground: #141414;
  --primaryTextSize: 15px;
  --primaryTextSizeS: 10px;
  --letterSpacing: 5px;
  --radius: 4px;
  --contentTransitionDuration: 600ms;
  --contentTransitionBezier: cubic-bezier(0.83, 0.39, 0.21, 0.96);
}

* {
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

ul {
  padding: 0;
  list-style: none;
}

li {
  color: var(--secondaryColor);
  font: 600 15px Roboto, sans-serif;
  text-align: left;
}
li::before {
  content: "•";
  color: var(--primaryColor);
  display: inline-block;
  width: 15px;
  margin-left: -1em;
}

body {
  margin: 0;
  padding: 0;
  overscroll-behavior: contain;
  width: 100%;
  height: auto;
  overflow: hidden;
}

canvas {
  display: block;
}

.ui-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#copyright:hover:after {
  content: " - Website made by Kainoa";
}

.text-indent {
  border-left: 3px solid var(--primaryBoldColor);
  padding-left: 10px;
}

.emphasize {
  font-weight: bold;
}

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

/***** LOADED PAGE ANIMATIONS *****/
.ui-wrapper.page-not-loaded .loader {
  animation: none;
}
.ui-wrapper.page-not-loaded .loader__text::after {
  animation: none;
}
.ui-wrapper.page-not-loaded .fixed-content {
  opacity: 0;
}

/***** LOADER *****/

.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--mainCanvasBackground);
  z-index: 2;
  animation: loaderFinished 1s 1s forwards;
}

.loader__text {
  font: 900 10vw Roboto, sans-serif;
  position: relative;
  letter-spacing: 15px;
  color: var(--primaryColor);
  user-select: none;
}

.loader__text::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: var(--mainCanvasBackground);
  animation: loaderStarted 1s ease forwards;
}

@keyframes loaderStarted {
  to {
    width: 0%;
  }
}
@keyframes loaderFinished {
  50% {
    background-color: transparent;
  }
  100% {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

/***** MAIN MENU *****/

.menu {
  position: relative;
  display: none;
  justify-content: center;
  align-items: center;
  height: 100%;
  background: var(--opaqueBackground);
}

.menu-list {
  list-style-type: none;
  z-index: 1;
  padding: 0;
}

/* Styles for screens 600px and smaller */
@media only screen and (max-width: 600px) {
.menu-list__item {
  color: var(--secondaryColor);
  position: relative;
  font: 400 4vh Roboto, sans-serif !important;
  letter-spacing: var(--letterSpacing);
  cursor: pointer;
  padding-left: 30px;
  margin-top: 0px;
  -webkit-tap-highlight-color: transparent;
}
}

/* Styles for screens 601px and bigger */
@media only screen and (min-width: 601px) {
.menu-list__item {
  color: var(--secondaryColor);
  position: relative;
  font: 900 8vh Roboto, sans-serif !important;
  letter-spacing: var(--letterSpacing);
  cursor: pointer;
  padding-left: 30px;
  margin-top: 0px;
  -webkit-tap-highlight-color: transparent;
}
}

.menu-list__item::before,
.menu-list__item::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  content: "";
  background-color: var(--primaryBoldColor);
  z-index: -1;
  transition: width 400ms ease;
  margin: 0;
}
.menu-list__item:hover::before {
  width: 100%;
  transition: width 300ms ease;
  background-color: var(--primaryBoldColor);
}
.menu-list__item:hover::after {
  width: 20px;
  transition: width 200ms 200ms ease;
  background-color: var(--primaryBlackColor);
}
.menu-list__item:last-of-type {
  margin-bottom: 0;
}

.menu-opened .menu {
  display: flex;
}
.menu-opened .scroll-letters,
.menu-opened .sponsor-logos,
.menu-opened .paging__page,
.menu-opened .fixed-content-header__contact,
.menu-opened .fixed-content-paging {
  opacity: 0;
  visibility: hidden;
}
.menu-opened .content {
  z-index: -1;
}

/***** POPUP *****/

.popup {
  width: 100%;
  height: 100%;
  position: relative;
  display: none;
  justify-content: center;
  align-items: center;
  background: var(--opaqueBackground);
  z-index: 2;
}
.popup--active {
  display: flex;
}

.popup__inner {
  width: 70%;
  height: 70%;
  padding: 50px 100px;
  background: #00000070;
  filter: drop-shadow(2px 4px 100px #1b1b1be6);
  overflow: hidden;
  overflow-y: auto;
}

.popup__title {
  opacity: 0;
  transform: translateY(50px);
  color: var(--secondaryColor);
  font: 800 40px Roboto, sans-serif;
  margin-bottom: 0;
}

.popup__subtitle {
  color: var(--secondaryColor);
  margin: 0;
  letter-spacing: 1px;
  opacity: 0;
  font: 500 18px Roboto, sans-serif;
  margin-bottom: 30px;
}

.popup--animated .popup__title {
  transform: translateY(0);
  opacity: 1;
  transition: var(--contentTransitionDuration) 400ms
    var(--contentTransitionBezier);
}
.popup--animated .popup__subtitle {
  transform: translateY(0);
  opacity: 0.5;
  transition: var(--contentTransitionDuration) 600ms
    var(--contentTransitionBezier);
}

/** POPUP SUBSECTIONS START**/
/* WHAT WE OFFER */

.popup__offers {
  display: flex;
  flex-wrap: wrap;
  opacity: 0;
}

.popup__offer {
  flex-basis: 25%;
}

.popup__offer-title {
  color: var(--secondaryColor);
  font: 500 30px Roboto, sans-serif;
}

.popup--animated .popup__offers {
  transform: translateY(0);
  opacity: 1;
  transition: var(--contentTransitionDuration) 300ms
    var(--contentTransitionBezier);
}

/* VIDEO */

.video__inner {
  padding: 0;
  overflow: hidden;
}

iframe {
  filter: drop-shadow(2px 4px 100px #1b1b1be6);
  border: none;
}

/** POPUP SUBSECTIONS END **/

/***** FIXED CONTENT SECTIONS *****/

/* Styles for screens 601px and bigger */
@media only screen and (min-width: 601px) {
  .fixed-content-header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 5% 5% 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
  }
  .social-links__anchor {
    margin-right: 10px;
    display: inline-block;
    text-decoration: none;
  }
  
}

/* Styles for screens 600px and smaller */
@media only screen and (max-width: 600px) {
  .fixed-content-header {
    position: fixed;
    top: 0;
    width: 100vw;
    padding: 1% 5% 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
  }

  /* Ensure the child elements are not restricting alignment */
  .fixed-content-header > * {
    flex-shrink: 0; /* Prevents the elements from shrinking */
  }

  .social-links__anchor {
    margin-left: 10px;
    display: inline-block;
    text-decoration: none;
  }

  .social-links__anchor__content {
    margin-left: 20px;
    display: inline-block;
    text-decoration: none;
  }

  .social-links__image__content {
    margin-left: 0px;
    vertical-align: bottom;
    cursor: pointer;
  }

  .social-links__image__content1 {
    margin-left: 30px;
    vertical-align: bottom;
    cursor: pointer;
  }

  .social-links__image__content2 {
    margin-left: 60px;
    vertical-align: bottom;
    cursor: pointer;
  }

  .social-links__image__content3 {
    margin-left: 90px;
    vertical-align: bottom;
    cursor: pointer;
  }
}



.fixed-content-header__contact {
  opacity: 1 !important;
}


.fixed-content-header__logo {
  color: var(--secondaryColor);
  font: 900 35px Roboto, sans-serif;
  letter-spacing: 20px;
  user-select: none;
  margin-left: 30px;
}

.fixed-content-header__logo::first-letter {
  color: var(--primaryColor);
}


.fixed-content-paging {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  right: 5%;
  width: 50px;
  z-index: 1;
}

.fixed-content-paging:hover .paging__page {
  height: 30px;
  width: 30px;
  transition: 300ms ease;
  border-radius: var(--radius);
}

.paging__page {
  background-color: var(--secondaryColor);
  width: 100%;
  height: 3px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: 300ms;
  /* Set !important on opacity because it has the same data attribute
  as content sections (check index.html). Because of that, it will
  hide when switching to next section (check ui.js) */
  opacity: 1 !important;
}
.paging__page.section--hidden,
.paging__page.section--hidden-reverse {
  width: 30px;
  opacity: 0.5 !important;
}

.paging__page:last-of-type {
  margin-bottom: 0;
}

.fixed-content-footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  padding: 0 5% 5% 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1;
}


.social-links__anchor:last-of-type {
  margin-right: 0;
  margin-bottom: 10px; /* position the only advisor's linkedin */
}

.social-links__image__content {
  filter: invert(90%);
  vertical-align: bottom;
  cursor: pointer;
}
.social-links__image__content:hover {
  filter: invert(100%);
}


.social-links__image {
  filter: invert(90%);
  vertical-align: bottom;
  cursor: pointer;
}
.social-links__image:hover {
  filter: invert(100%);
}

.configuration__letters {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}
.configuration__letters--hidden {
  display: none;
}

.configuration__letters-text {
  font: 900 11vw Roboto, sans-serif;
  position: relative;
  letter-spacing: 20px;
  color: var(--primaryColor);
  user-select: none;
  text-shadow: 1px 1px 1px var(--primaryBoldColor),
    1px 2px 1px var(--primaryBoldColor), 1px 3px 1px var(--primaryBoldColor),
    1px 4px 1px var(--primaryBoldColor), 1px 5px 1px var(--primaryBoldColor),
    1px 6px 1px var(--primaryBoldColor), 1px 7px 1px var(--primaryBoldColor),
    1px 8px 1px var(--primaryBoldColor), 1px 9px 1px var(--primaryBoldColor),
    1px 10px 1px var(--primaryBoldColor), 1px 18px 6px rgba(16, 16, 16, 0.4),
    1px 22px 10px rgba(16, 16, 16, 0.2), 1px 25px 35px rgba(16, 16, 16, 0.2),
    1px 30px 60px rgba(16, 16, 16, 0.4);
}

.fall-recruitment {
  display: flex;
  position: absolute;
  bottom: 2rem;
}

.sponsor-logos--wrap {
  flex-wrap: wrap;
  max-width: 700px;
  justify-content: center;
  margin: 0 auto;
}

.sponsor-logos__logo {
  padding: 1rem;
}

.sponsor-logos__logo img {
  max-width: 100%;
  height: auto;
}

@media only screen and (max-width: 600px) {
  .sponsor-logos {
    flex-wrap: wrap;
    justify-content: center;
  }

  .sponsor-logos--wrap {
    max-width: 100%;
  }

  .sponsor-logos__logo {
    padding: 0.6rem;
  }

  .sponsor-logos__logo img {
    max-width: 90px;
    height: auto;
  }
}

.scroll-letters {
  display: flex;
  position: absolute;
  bottom: 0;
  overflow: hidden;
}
.scroll-letters__letter {
  position: relative;
  display: inline-block;
  margin-right: 10px;
  color: var(--secondaryColor);
  font: 600 var(--primaryTextSize) Roboto, sans-serif;
  animation: scrollLetterDrops 4s linear forwards infinite;
}
.scroll-letters__letter::after {
  content: attr(title);
  position: absolute;
  left: 0;
  top: -100%;
  width: 100%;
  height: 100%;
}
.scroll-letters__letter:last-of-type {
  margin-right: 0;
}

.scroll-letters__letter:nth-of-type(1) {
  animation-delay: 100ms;
}
.scroll-letters__letter:nth-of-type(2) {
  animation-delay: 200ms;
}
.scroll-letters__letter:nth-of-type(3) {
  animation-delay: 300ms;
}
.scroll-letters__letter:nth-of-type(4) {
  animation-delay: 400ms;
}
.scroll-letters__letter:nth-of-type(5) {
  animation-delay: 500ms;
}
.scroll-letters__letter:nth-of-type(6) {
  animation-delay: 600ms;
}

@keyframes scrollLetterDrops {
  25%,
  100% {
    transform: translate3d(0, 100%, 0);
  }
}

.fixed-content-footer__copy {
  color: var(--secondaryColor);
  font: 600 var(--primaryTextSize) Roboto, sans-serif;
}

/***** MAIN CONTENT SECTIONS *****/

.content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  max-width: 1250px;
  height: 80%;
}

.content-section {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transform: translate3d(0, 0, 0);
  transition: 100ms ease-out;
}
.content-section.section--hidden {
  display: none;
  opacity: 0;
  transform: translate3d(0, 100%, 0);
}
.content-section.section--hidden-reverse {
  display: none;
  opacity: 0;
  transform: translate3d(0, -100%, 0);
}

.content-section.section--hidden .content-section__title,
.content-section.section--hidden .content-section__text,
.content-section.section--hidden .content-section__button,
.content-section.section--hidden .content-section__image-holder,
.content-section.section--hidden .content-section__buttons-holder,
.content-section.section--hidden .content-services__service {
  opacity: 0;
  transform: translate3d(0, 50px, 0);
}

.content-section.section--hidden-reverse .content-section__title,
.content-section.section--hidden-reverse .content-section__text,
.content-section.section--hidden-reverse .content-section__button,
.content-section.section--hidden-reverse .content-section__image-holder,
.content-section__image-text-name .content-section__image-text-description,
.content-section.section--hidden-reverse .content-section__buttons-holder,
.content-section.section--hidden-reverse .content-services__service {
  opacity: 0;
  transform: translate3d(0, -50px, 0);
}

.content-section.section--hidden .content-section__title::after,
.content-section.section--hidden-reverse .content-section__title::after {
  width: 100%;
}
/* Portfolio single image holder */
.content-section.section--hidden .content-portfolio__image-holder,
.content-section.section--hidden-reverse .content-portfolio__image-holder {
  opacity: 0;
  transform: translate3d(50px, 50px, 0) rotate(90deg);
}
/* Portfolio single image */
.content-section.section--hidden .content-portfolio__image,
.content-section.section--hidden-reverse .content-portfolio__image {
  transform: rotate(-90deg);
}

.content-section--left-align {
  flex-direction: row;
}
.content-holder--left-align {
  text-align: left;
  flex-basis: 50%;
}

.content-section__title {
  position: relative;
  color: var(--secondaryColor);
  font: 800 40px Roboto, sans-serif;
  transform: translate3d(0, 0, 0);
  transition: var(--contentTransitionDuration) 300ms
    var(--contentTransitionBezier);
}

.content-section__title--sub {
  font-size: 28px;
  margin-top: 40px;
}

/* Grid layout for large teams */
.content-section__images--grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 20px;
  width: 90%;
}

/* Turn each card into a column flex container */
.content-section__images--grid .content-section__image-holder {
  position: relative !important;
  left: auto !important;
  transform: none !important;
  width: 120px !important;
  height: auto !important;
  flex: 0 0 120px !important;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
  margin-bottom: 0;
  transition: opacity 400ms 100ms var(--contentTransitionBezier) !important;
}

.content-section.section--hidden .content-section__images--grid .content-section__image-holder {
  opacity: 0;
}

/* Move circle styling to the image itself */
.content-section__images--grid .content-section__image {
  width: 100px !important;
  height: 100px !important;
  border-radius: 50% !important;
  border: 3px solid var(--primaryBlackColor) !important;
  box-shadow: 0 0 20px 5px rgba(0, 0, 0, 1) !important;
  flex-shrink: 0;
}

/* Text flows naturally below the image */
.content-section__images--grid .content-section__image-text-name {
  position: static !important;
  transform: none !important;
  width: 100% !important;
  height: auto !important;
  text-align: center;
  margin-top: 10px;
  white-space: normal;
  justify-content: flex-start;
}

.content-section__images--grid .content-section__image-text-title {
  position: static !important;
  transform: none !important;
  width: 100% !important;
  height: auto !important;
  text-align: center;
  margin-top: 2px;
  white-space: normal;
  justify-content: flex-start;
}

.content-section__text {
  width: 70%;
  color: var(--secondaryColor);
  font: 600 20px Roboto, sans-serif;
  margin-bottom: 50px;
  transform: translate3d(0, 0, 0);
  transition: var(--contentTransitionDuration) 500ms
    var(--contentTransitionBezier);
}

/* Styles for screens 600px and smaller */
@media only screen and (max-width: 600px) {
.content-section__text__what_we_do {
opacity: 0;
height: 0px;
margin-top: -50px; /* Fix mobile spacing */
}
}

.content-section__buttons-holder {
  display: flex;
  transform: translate3d(0, 0, 0);
  transition: var(--contentTransitionDuration) 700ms
    var(--contentTransitionBezier);
}
.content-section__buttons-holder .content-section__button:first-of-type {
  margin-right: 20px;
  left: 0;
  transition: 300ms ease;
}
.content-section__buttons-holder .content-section__button:first-of-type:hover {
  padding-right: 100px;
  left: -10px;
  transition: 300ms ease;
}
.content-section__buttons-holder
  .content-section__button:first-of-type:hover
  .button__invisible-email {
  display: block;
}
.content-section__buttons-holder
  .content-section__button:first-of-type:hover
  .button__text {
  display: none;
}

.button__invisible-email {
  display: none;
  z-index: 1;
}

.content-section__button {
  transform: translate3d(0, 0, 0);
  transition: var(--contentTransitionDuration) 700ms
    var(--contentTransitionBezier);
}

/* Content services section */

.content-services {
  display: flex;
  margin-bottom: 40px;
}

.content-services__service {
  position: relative;
  margin-right: 50px;
  padding: 50px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  border-bottom: 2px solid var(--primaryBlackColor);
  border-radius: var(--radius);
  transform: translate3d(0, 0, 0);
  transition: var(--contentTransitionDuration) var(--contentTransitionBezier);
  will-change: transform;
}
.content-services__service::before {
  content: "";
  width: 100%;
  height: 0;
  background-color: var(--primaryBlackColor);
  position: absolute;
  bottom: 0;
  left: 0;
  transition: 200ms var(--contentTransitionBezier);
}
.content-services__service:nth-of-type(1) {
  transition-delay: 700ms;
}
.content-services__service:nth-of-type(2) {
  transition-delay: 800ms;
}
.content-services__service:nth-of-type(3) {
  transition-delay: 900ms;
}
.content-services__service:nth-of-type(4) {
  transition-delay: 1s;
}

.content-services__service:hover::before {
  height: 100%;
  transition: 200ms var(--contentTransitionBezier);
}
.content-services__service:hover .content-service__image {
  transform: translateY(-40px);
  opacity: 0;
  transition: 200ms var(--contentTransitionBezier);
}
.content-services__service:hover .content-service__text {
  transform: translateY(-100px);
  transition: 200ms var(--contentTransitionBezier);
}
.content-services__service:hover .extended-services {
  transform: translateY(-40px);
  opacity: 1;
  transition: 200ms var(--contentTransitionBezier);
}

.content-service__image {
  filter: invert(100%);
  width: 45px;
  transition: 200ms var(--contentTransitionBezier);
}

.content-service__text {
  color: var(--secondaryColor);
  font: 800 20px Roboto, sans-serif;
  margin-top: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: 200ms var(--contentTransitionBezier);
}

.extended-services {
  padding: 0;
  list-style: none;
  z-index: 1;
  position: absolute;
  bottom: 0;
  opacity: 0;
  transition: 200ms var(--contentTransitionBezier);
}

/* Styles for screens 600px and smaller */
@media only screen and (max-width: 600px) {
.content-section__images {
  position: relative;
  flex-basis: 50%;
  height: 100%;
  margin-left: -150px;
}

.content-section__image-holder {
  height: 90px;
  width: 100px;
  border-radius: 50%;
  flex-basis: 50%;
  position: absolute;
  border: 3px solid var(--primaryBlackColor);
  box-shadow: 0 0 20px 5px rgba(0, 0, 0, 1);
}

.content-section__image-text-name {
  position: absolute;
  bottom: -40px;
  left: -5px;
  width: 140%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--secondaryColor);
  font: 450 13px Roboto, sans-serif;
  letter-spacing: 1px;
  transition: 200ms var(--contentTransitionBezier);
}

.content-section__image-text-title {
  position: absolute;
  bottom: -70px;
  left: -10px;
  width: 230%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--secondaryColor);
  font: 300 10px Roboto, sans-serif;
  letter-spacing: 1px;
  transition: 200ms var(--contentTransitionBezier);
}

.content-section__image-holder {
  width: 50px;
  height: 50px;
  left: 50%;
}
}

/* Styles for screens 601px and bigger */
@media only screen and (min-width: 601px) {
.content-section__images {
  position: relative;
  flex-basis: 50%;
  height: 100%;
}

.content-section__image-holder {
  height: 90px;
  width: 100px;
  border-radius: 50%;
  flex-basis: 50%;
  position: absolute;
  border: 3px solid var(--primaryBlackColor);
  box-shadow: 0 0 20px 5px rgba(0, 0, 0, 1);
}

.content-section__image-text-name {
  position: absolute;
  bottom: -100px;
  left: -25px;
  width: 140%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--secondaryColor);
  font: 900 25px Roboto, sans-serif;
  letter-spacing: 1px;
  transition: 200ms var(--contentTransitionBezier);
}

.content-section__image-text-title {
  position: absolute;
  bottom: -160px;
  left: -40px;
  width: 160%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--secondaryColor);
  font: 600 16px Roboto, sans-serif;
  letter-spacing: 1px;
  transition: 200ms var(--contentTransitionBezier);
}

.content-section__image-holder {
  width: 100px;
  height: 100px;
  left: 50%;
}
}




.content-section__image-holder:nth-of-type(1) {
  transform: translate(-500%, 40%);
  transition: 400ms 100ms var(--contentTransitionBezier);
}
.content-section__image-holder:nth-of-type(2) {
  transform: translate(-360%, 40%);
  transition: 400ms 150ms var(--contentTransitionBezier);
}
.content-section__image-holder:nth-of-type(3) {
  transform: translate(-220%, 40%);
  transition: 400ms 200ms var(--contentTransitionBezier);
}
.content-section__image-holder:nth-of-type(4) {
  transform: translate(-80%, 40%);
  transition: 400ms 250ms var(--contentTransitionBezier);
}
.content-section__image-holder:nth-of-type(5) {
  transform: translate(60%, 40%);
  transition: 400ms 250ms var(--contentTransitionBezier);
}
.content-section__image-holder:nth-of-type(6) {
  transform: translate(200%, 40%);
  transition: 400ms 250ms var(--contentTransitionBezier);
}
.content-section__image-holder:nth-of-type(7) {
  transform: translate(340%, 40%);
  transition: 400ms 250ms var(--contentTransitionBezier);
}
/* .content-section__image-holder:nth-of-type(8) {
  transform: translate(375%, 1400%);
  transition: 400ms 250ms var(--contentTransitionBezier);
}
.content-section__image-holder:nth-of-type(9) {
  transform: translate(500%, 40%);
  transition: 400ms 250ms var(--contentTransitionBezier);
} */


/* Styles for screens 601px and bigger */
@media only screen and (min-width: 601px) {
.content-section__image-text-name--bill {
  position: absolute;
  bottom: 0px;
  left: 100px;
  width: 200%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: left;
  align-items: center;
  color: var(--secondaryColor);
  font: 900 30px Roboto, sans-serif;
  letter-spacing: 1px;
  transition: 200ms var(--contentTransitionBezier);
}

.content-section__image-text-title--bill {
  position: absolute;
  bottom: -40px;
  left: 100px;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: left;
  align-items: center;
  color: var(--secondaryColor);
  font: 800 20px Roboto, sans-serif;
  letter-spacing: 1px;
  transition: 200ms var(--contentTransitionBezier);
}

.content-section__image-text-description--bill {
  position: absolute;
  bottom: -70px;
  left: 105px;
  width: 400%;
  height: 100%;
  display: flex;
  justify-content: left;
  align-items: left;
  color: var(--secondaryColor);
  font: 800 14px Roboto, sans-serif;
  letter-spacing: 1px;
  transition: 200ms var(--contentTransitionBezier);
}

.content-section__image-text-body--bill {
  position: absolute;
  bottom: 0px;
  left: 420px;
  width: 600%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: right;
  align-items: right;
  text-align: right;
  color: var(--secondaryColor);
  font: 600 14px Roboto, sans-serif;
  letter-spacing: 1px;
  transition: 200ms var(--contentTransitionBezier);
}

.content-section__image-text-social--bill {
  position: absolute;
  bottom: 45%;
  left: 330%;
}
.content-section__image-text-name--bill {
  transform: translate(-8%, 15%);
  font-size: 25px;
}

}

/* Styles for screens 600px and smaller */
@media only screen and (max-width: 600px) {
  .content-section__image-text-name--bill {
    position: absolute;
    bottom: 0px;
    left: 100px;
    width: 200%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: left;
    align-items: center;
    color: var(--secondaryColor);
    font: 450 15px Roboto, sans-serif;
    letter-spacing: 1px;
    transition: 200ms var(--contentTransitionBezier);
  }
  
  .content-section__image-text-title--bill {
    position: absolute;
    bottom: -40px;
    left: 100px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: left;
    align-items: center;
    color: var(--secondaryColor);
    font: 400 11px Roboto, sans-serif;
    letter-spacing: 1px;
    transition: 200ms var(--contentTransitionBezier);
  }
  
  .content-section__image-text-description--bill {
    position: absolute;
    bottom: -70px;
    left: 105px;
    width: 400%;
    height: 100%;
    display: flex;
    justify-content: left;
    align-items: left;
    color: var(--secondaryColor);
    font: 800 11px Roboto, sans-serif;
    letter-spacing: 1px;
    transition: 200ms var(--contentTransitionBezier);
  }
  
  .content-section__image-text-body--bill {
    position: absolute;
    bottom: 0px;
    left: 420px;
    width: 600%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: right;
    align-items: right;
    text-align: right;
    color: var(--secondaryColor);
    font: 600 14px Roboto, sans-serif;
    letter-spacing: 1px;
    transition: 200ms var(--contentTransitionBezier);
  }
  
  .content-section__image-text-social--bill {
    position: absolute;
    bottom: 15%;
    left: 460%;
  }

  .content-section__image-text-name--bill {
    transform: translate(-50%, 0%);
    font-size: 16px;
  }
  .content-section__image-text-title--bill {
    transform: translate(-50%, -30%);
    font-size: 13px;
  }
  .advisor-section {
    margin-top: 100px
  }
  }

.content-section__image-text-social {
  position: absolute;
  bottom: -170px;
  left: 45%;
}

.content-section__image-text-social-twitter {
  position: absolute;
  bottom: -170px;
  left: 15%;
}

.content-section__image-text-social-instagram {
  position: absolute;
  bottom: -170px;
  left: -15%;
}

/* Styles for screens 600px and smaller */
@media only screen and (max-width: 600px) {
.content-section__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}


}

/* Styles for screens 601px and bigger */
@media only screen and (min-width: 601px) {
  .content-section__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
  }
  }
  

.contact__button {
  margin-bottom: 20px;
}

/* Content portfolio section */

.content-portfolio__images_holder {
  margin-top: -80px;
}

.content-portfolio__images {
  margin-bottom: -80px;
}

.content-portfolio__image-holder {
  width: 200px;
  height: 350px;
  margin-right: 120px;
  border-radius: 20px;
  border-color: var(--primaryColor);
  border-style: solid;
  border-width: 3px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  transform: translate3d(0, 0, 0) rotate(90deg);
  transition: 500ms 800ms ease-in-out;
  position: relative;
}
.content-portfolio__image-holder:last-of-type {
  margin-right: 0;
}

.content-portfolio__image {
  height: 80%;
  transform: rotate(-90deg);
  object-fit: cover;
  transition: 500ms 800ms ease-in-out;
}

.content-portfolio__image-holder:nth-of-type(1),
.content-portfolio__image:nth-of-type(1) {
  transition-delay: 100ms;
}
.content-portfolio__image-holder:nth-of-type(2),
.content-portfolio__image:nth-of-type(2) {
  transition-delay: 200ms;
}
.content-portfolio__image-holder:nth-of-type(3),
.content-portfolio__image:nth-of-type(3) {
  transition-delay: 300ms;
}

.content-portfolio__name {
  font: 600 20px Roboto, sans-serif;
  position: absolute;
  bottom: 0;
  left: 25px;
  transform-origin: left;
  color: var(--secondaryColor);
  z-index: 1;
  transform: rotate(-90deg);
  white-space: nowrap;
}
.content-portfolio__image-holder::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  background: linear-gradient(
    90deg,
    var(--opaqueBackground) 0%,
    rgba(255, 0, 0, 0) 100%
  );
  width: 100%;
  height: 100%;
  z-index: 1;
}

/***** MEDIA QUERIES *****/

@media only screen and (max-width: 800px) {
  .menu-list__item {
    font: 900 9vw Roboto, sans-serif;
  }
  .content-section__image-holder:nth-of-type(1) {
    transform: translate(-140%, -50px);
  }
  .content-section__image-holder:nth-of-type(2) {
    transform: translate(-140%, -5px);
  }
  .content-section__image-holder:nth-of-type(3) {
    transform: translate(-140%, 40px);
  }
  .content-section__image-holder:nth-of-type(4) {
    transform: translate(-140%, 85px);
  }
  .content-section__image-holder:nth-of-type(5) {
    transform: translate(-140%, 125px);
  }
  .content-section__image-holder:nth-of-type(6) {
    transform: translate(-140%, 170px);
  }
  .content-section__image-holder:nth-of-type(7) {
    transform: translate(-140%, 215px);
  }
  .content-section__image-holder:nth-of-type(8) {
    transform: translate(-140%, 260px);
  }
  .content-section__image-holder:nth-of-type(9) {
    transform: translate(-140%, 305px);
  }

  .content-section__image-text-social {
    position: absolute;
    bottom: 40%;
    left: 330%;
  }
  .content-section__image-text-social-twitter {
    position: absolute;
    bottom: 40%;
    left: 370%;
  }
  .content-section__image-text-social-instagram {
    position: absolute;
    bottom: 40%;
    left: 410%;
  }
  .content-section__image-text-name {
    transform: translate(50%, -80%);
    width: 300%;
    align-items: left;
    text-align: left;
    justify-content: left;
  }
  .content-section__image-text-title {
    transform: translate(84%, -120%);
    width: 250%;
    font-size: 10px;
    font-weight: 800;
    align-items: left;
    text-align: left;
    justify-content: left;
  }
  .content-section__image-text-description--bill,
  .content-section__image-text-body--bill {
    display: none;
  }

  .popup {
    align-items: flex-end;
  }
  .popup__inner {
    width: 100%;
    max-height: 60%;
    padding: 0px 5%;
    padding-bottom: 5%;
  }
  .popup__inner::before {
    content: "";
    position: absolute;
    top: 10px;
    left: calc(50% - 20px);
    width: 20px;
    height: 2px;
    background: var(--primaryBlackColor);
  }
  #meet-the-team-title {
    top: -10%;
  }
}

@media only screen and (max-width: 1000px) {
  .content {
    width: 90%;
  }

  .fixed-content-paging {
    display: none;
  }

  .scroll-letters__letter,
  .fixed-content-footer__copy {
    font-size: var(--primaryTextSizeS);
  }

  .fixed-content-header__logo {
    font-size: var(--primaryTextSize);
    letter-spacing: var(--letterSpacing);
  }

  .menu-list__item {
    font-size: 30px;
    margin-bottom: 20px;
  }

  .content-section__title {
    font-size: 30px;
  }
  .content-section__text {
    font-size: 16px;
    width: 100%;
  }

  .content-services {
    flex-wrap: wrap;
    justify-content: center;
  }
  .content-services__service {
    padding: 10px;
    margin: 0;
    flex-basis: 50%;
    border-bottom: none;
    pointer-events: none;
  }
  .content-service__image {
    width: 35px;
  }
  .content-service__text {
    font-size: 15px;
  }

  .content-portfolio__image-holder {
    width: 90px;
    height: 200px;
    margin-right: 60px;
  }
  .content-portfolio__name {
    font-size: 12px;
    left: 15px;
  }

  .content-section__text-team {
    text-align: initial;
  }

  .popup__title {
    font-size: 30px;
  }
  .popup__subtitle {
    font-size: 12px;
  }

  .popup__offers {
    justify-content: space-between;
  }
  .popup__offer {
    flex-basis: 50%;
  }

  .content-section__buttons-holder
    .content-section__button:first-of-type:hover {
    padding-right: 25px;
    left: 0;
    transition: 300ms ease;
  }
  .content-section__buttons-holder
    .content-section__button:first-of-type:hover
    .button__invisible-email {
    display: none;
  }
  .content-section__buttons-holder
    .content-section__button:first-of-type:hover
    .button__text {
    display: block;
  }
}

/* Minimum device height; */
@media only screen and (max-height: 450px) {
  .content-services,
  .content-section__images,
  .content-portfolio__images {
    display: none;
  }

  .content-holder--left-align {
    flex-basis: 100%;
  }

  .content-section__text-team {
    margin-bottom: 17px;
  }
}
