@font-face {
  font-family: "GT America Standard Regular";
  src: url("../fonts/GT-America-Standard-Regular.woff2") format("woff2"),
       url("../fonts/GT-America-Standard-Regular.woff") format("woff");
}

@font-face {
  font-family: "GT America Standard Regular";
  font-style: italic;
  src: url("../fonts/GT-America-Standard-Regular-Italic.woff2") format("woff2"),
       url("../fonts/GT-America-Standard-Regular-Italic.woff") format("woff");
}

/*body {
  background-image: url("http://localhost:8888/mvva/assets/icons/grid.png");
  background-size: 100%;
  background-repeat: repeat-y;
}*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: "GT America Standard Regular", Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-smoothing: antialiased;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

strong, b {
  font-weight: normal;
}

.content {
  flex: 1 0 auto;
}

.footer {
  flex-shrink: 0;
}

a:link, a:visited, a:active, a:hover {
  text-decoration: none;
  color: inherit;
  transition: color 300ms;
}

a:hover, a.menu-active {
  color: rgba(255,97,0,1);
}

h1, h2, h3, h4 {
  font-weight: inherit;
  font-size: inherit;
  line-height: inherit;
  margin: 0;
  padding: 0;
}

nav {
  width: 100%;
  display: flex;
  padding: 18px 20px;
  z-index: 10;
  background-color: white;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 25;
  overflow-anchor: none;
}

nav .site-title {
  flex: 1;
}

nav .menu-links {
  flex: 0;
  display: flex;
}

nav .menu-links a {
  white-space: nowrap;
  padding-left: 20px;
}

nav .menu-mobile,
nav .menu-mobile-links {
  display: none;
}

footer {
  position: relative;
  padding: 60px 10px 20px 10px;
  width: 100%;
}

footer .contact {
  display: flex;
}

footer .contact > div {
  padding: 0 10px;
  width: calc(100% / 6); 
} 

.footer-mobile {
  display: none;
}

.social {
  width: 15px;
  display: block;
  position: absolute;
  right: 20px;
  bottom: 20px;
}

.social svg path, 
.sidebar-social svg path {
  fill: #000000;
  transition: fill 300ms;
}

nav .menu-mobile .menu-button div svg line {
  stroke: #000000;
  transition: stroke 300ms;
}

.social:hover svg path,
.sidebar-social:hover svg path {
  fill: rgba(255,97,0,1);
}

nav .menu-mobile .menu-button div:hover svg line {
  stroke: rgba(255,97,0,1);
}

.col-1 {
  width: calc(100% / 12 - 20px);
}
.col-2 {
  width: calc((100% / 12) * 2 - 20px);
}
.col-xsmall,
.col-3 {
  width: calc((100% / 12) * 3 - 20px);
}
.col-small,
.col-4 {
  width: calc((100% / 12) * 4 - 20px);
}
.col-medium,
.col-5 {
  width: calc((100% / 12) * 5 - 20px);
}
.col-large,
.col-6 {
  width: calc((100% / 12) * 6 - 20px);
}
.col-7 {
  width: calc((100% / 12) * 7 - 20px);
}
.col-xlarge,
.col-8 {
  width: calc((100% / 12) * 8 - 20px);
}
.col-9 {
  width: calc((100% / 12) * 9 - 20px);
}
.col-10 {
  width: calc((100% / 12) * 10 - 20px);
}
.col-11 {
  width: calc((100% / 12) * 11 - 20px);
}
.col-12 {
  width: calc(100% - 20px);
}

/* font sizes */

.xlarge {
  font-size: 72px;
  line-height: 75px; 
  letter-spacing: -0.04em;
} 

.large {
  font-size: 40px;
  line-height: 42px;
  letter-spacing: -0.03em;
}

.medium,
.text-page-content strong {
  font-weight: normal;
  font-size: 24px;
  line-height: 27px;
  letter-spacing: -0.02em;
}

.small {
  font-size: 18px;
  line-height: 21px;
  letter-spacing: -0.02em;
}

.text-page-content .medium {
  font-size: 18px;
  line-height: 22px;
  letter-spacing: -0.02em;
}

.xsmall {
  font-size: 15px;
  line-height: 18px;
  letter-spacing: -0.01em;
}

.scrollmagic-pin-spacer .grid {
  width: 100%;
}

/* video */

.player span {
  display: block;
  position: relative;
}

.player video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player video:hover {
  cursor: pointer;
}

.news-item .player .controls {
  bottom: 10px;
}

.player .controls {
  position: absolute;
  bottom: 5px;
  width: 100%;
  color: white;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  padding: 10px 4px 10px 6px;
}

.player .hideControls {
  opacity: 0;
  pointer-events: none;
}

.player .controls button,
.player .controls progress {
  margin: 0 5px;
}

.player button.play,
.player button.pause,
.player button.mute,
.player button.unmute {
  width: 12px;
  height: 12px;
  user-select: none;
  border: none;
  color: rgba(0,0,0,0);
  font-size: 0;
}

.player button.mute,
.player button.unmute {
  width: 16px;
}

.player button:focus {
  outline: none;
}

.player button,
.player input,
.player progress {
  cursor: pointer;
}

.player progress {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  flex-grow: 2;
}

.player progress::-webkit-progress-bar {
  background: white;
}

.player progress::-webkit-progress-value {
  background: rgba(255,97,0,1);
}

.player button.play {
  background: url(../icons/player-button-play.svg) no-repeat;
}

.player button.play:hover {
  background: url(../icons/player-button-play-hover.svg) no-repeat;
}

.player.playing button.play { 
  background: url(../icons/player-button-pause.svg) no-repeat;
}

.player.playing button.play:hover { 
  background: url(../icons/player-button-pause-hover.svg) no-repeat;
}

.player button.unmute {
  background: url(../icons/player-button-unmute.svg) no-repeat;
}

.player button.unmute:hover {
  background: url(../icons/player-button-unmute-hover.svg) no-repeat;
}

.player.unmuting button.unmute {
  background: url(../icons/player-button-mute.svg) no-repeat;
}

.player.unmuting button.unmute:hover {
  background: url(../icons/player-button-mute-hover.svg) no-repeat;
}

.player.playing .controls {
  opacity: 0;
  transition: opacity 300ms;
}

.player.playing:hover .controls {
  opacity: 1 !important;
}



/* lazy loading */

img.lazy {
  opacity: 0;
}
img:not(.initial) {
  transition: opacity 300ms;
}
img.initial,
img.loaded,
img.error {
  opacity: 1;
}

img:not([src]) {
  visibility: hidden;
}

/* responsive */


@media only screen and (max-width: 1200px) {
  footer.xsmall {
    font-size: 10px;
    line-height: 12px;
    letter-spacing: 0;
  }
}

@media only screen and (max-width: 960px) {
  .footer-desktop {
    display: none;
  }
  .footer-mobile {
    display: block;
  }
  .footer-mobile.show {
    display: block;
    position: fixed;
    bottom: 0;
    z-index: 200;
  }
  footer {
    padding: 60px 8px 12px 8px;
  }
  footer .contact > div {
    padding: 0 12px;
    width: calc(100% / 3); 
  } 
  .footer-mobile {
    display: flex;
    flex-wrap: wrap;
  }
  .footer-mobile > div {
    width: 100%;
  }
  .footer-mobile .social {
    width: 15px;
    display: block;
    position: static;
    margin-left: 12px;
    margin-top: 12px;
    right: auto;
    bottom: auto;
  }
  .xlarge {
    font-size: 62px;
    line-height: 62px; 
    letter-spacing: -0.03em;
  } 
}

@media (orientation: landscape) and (pointer: coarse) and (max-width: 960px) {
  html {
    padding: 0 30px;
  }
  .small,
  .text-page-content .medium,
  nav .site-title a {
    font-size: 14px;
    line-height: 17px;
    letter-spacing: -0.01em;
  }
  .xsmall {
    font-size: 14px;
    line-height: 17px;
    letter-spacing: -0.01em;
  }
  nav {
    width: 100%;
    justify-content: space-between;
    height: calc(18px * 2 + 17px);
  }
  nav .site-title {
    font-size: 14px !important;
    line-height: 17px !important;
    letter-spacing: -0.01em !important;
    flex: none;
    position: absolute;
    left: 20px;
  }
  nav .menu-desktop {
    position: absolute;
    right: 20px;
    display: block;
  }
}

@media only screen and (max-width: 700px) {
  .xsmall,
  .small,
  h2.person-name.large {
    font-size: 14px;
    line-height: 16px;
    letter-spacing: -0.01em;
  }
}

@media only screen and (max-width: 630px) {
  footer {
    padding: 60px 0 12px 0;
  }
  nav {
    display: block;
    padding: 16px 12px;
    top: -1px;
  }
  nav .site-title {
    float: left;
  }
  nav .menu-mobile {
    float: right;
    display: block;
  }
  nav .menu-desktop {
    display: none;
  }
  nav .menu-mobile .close {
    display: none;
  }
  nav .menu-mobile .menu-links {
    opacity: 0;
    pointer-events: none;
  }
  nav .menu-mobile-links {
    position: absolute;
    left: 0;
    padding: 0 12px;
    width: 100vw;
    height: 100vh;
    top: 47px;
    background-color: white;
    transition: opacity 300ms;
    opacity: 0;
    pointer-events: none;
    display: block;
    z-index: 400;
    overflow: scroll;
  }
  nav .menu-mobile-links.show {
    opacity: 1;
    pointer-events: all;
  }
  nav .menu-mobile .menu-button {
    display: block;
  }
  nav .menu-mobile .menu-button div {
    cursor: pointer;
  }
  nav .menu-mobile.show .close {
    display: block;
  }
  nav .menu-mobile.show .open {
    display: none;
  }
  nav .menu-mobile-links a {
    display: block;
  }
  nav a.submenu {
    text-indent: 20px;
  }
  .social {
    right: 12px;
  }
  
  .xsmall,
  .small,
  h2.person-name.large {
    font-size: 14px;
    line-height: 16px;
    letter-spacing: -0.01em;
  }
  .medium,
  .menu.small,
  .project-news-title.large,
  .col-5 div.large,
  .people-info .col-9 .text.large {
    font-size: 18px;
    line-height: 21px;
    letter-spacing: -0.02em;
  }
  .text-page-content .medium {
    font-size: 18px;
    line-height: 22px;
    letter-spacing: -0.02em;
  }
  .xlarge {
    font-size: 42px;
    line-height: 42px; 
    letter-spacing: -0.03em;
  } 
  .categories.xlarge {
    font-size: 12vw;
    line-height: 12.3vw;
  }
  nav .menu-mobile-links.large {
    font-size: 12vw;
    line-height: 12.3vw;
  }
  .col-xsmall, .col-small, .col-medium, .col-large, .col-xlarge {
    width: calc((100% / 12) * 9 - 12px);
  }
  a:link, a:visited, a:active, a:hover {
    transition: initial;
  }
  nav .site-title a {
    font-size: 14px !important;
    line-height: 16px !important;
    letter-spacing: -0.01em;
  }
}

@media only screen and (min-width: 1200px) {
  .xlarge {
    font-size: 70px;
    line-height: 74px;
  }
  .medium,
  .text-page-content strong {
    font-size: 25px;
    line-height: 28px;
  }
}

@media only screen and (min-width: 1400px) {
  .xlarge {
    font-size: 72px;
    line-height: 76px;
  }
  .medium,
  .text-page-content strong {
    font-size: 27px;
    line-height: 31px;
  }
}

@media only screen and (min-width: 1600px) {
  .xlarge {
    font-size: 74px;
    line-height: 78px;
  }
  .medium,
  .text-page-content strong {
    font-size: 30px;
    line-height: 33px;
  }
}

@media only screen and (min-width: 1800px) {
  .xlarge {
    font-size: 77px;
    line-height: 81px;
  }
  .medium,
  .text-page-content strong {
    font-size: 33px;
    line-height: 36px;
  }
  .text-page-content .medium {
    font-size: 22px;
    line-height: 26px;
  }
}

@media only screen and (min-width: 2000px) {
  .xlarge {
    font-size: 79px;
    line-height: 83px;
  }
}

@media only screen and (min-width: 2250px) {
  .xlarge {
    font-size: 81px;
    line-height: 85px;
  }
}
