/*  Reset */

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body{
    background-color: #f7f7f7;
    padding: 0.75em;
    opacity: 1;
    transition-duration: 1s;
    transition-property: opacity !important;
}
body.fade {
  opacity: 0;
}
ul, li{
    list-style-type: none;
}
iframe{
    border: 0;
}
input {
    border-radius: 0;
    -webkit-appearance: none;
}
:focus{
    border: 0px;
    outline: none;
}

/*  Typography */

@font-face {
    font-family: 'Folio';
    src: url('fonts/FolioBT-Medium.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
body, html, h1, h2, h3, h4, ::placeholder, input, button, small{
    font-family: 'Folio', Arial, Helvetica, sans-serif;
    font-size: 25px;
    line-height: 1.25em;
    font-weight: normal;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: font-family 1s ease;
}

a{
	color: initial;
    text-decoration: none !important;
}
.nav-item a:hover{
    color: grey;

}
.nav-item{
    position: fixed;
}
/* Intro */
#intro-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: white;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 7em;
  transition: opacity 0.6s ease;
  pointer-events: all;
  text-transform: uppercase;
}

#intro-loader.hidden {
  opacity: 0;
  pointer-events: none;
}

#intro-text {
  opacity: 1;
  transition: opacity 0.3s ease;
}

/* Works container */
.bio a:hover{
    color: grey;
}
.homepage-grid {
  display: flex;
  gap: 2rem;
}
.works a:hover{
    color: grey;
}
.column {
  flex: 1;
}
.column p{
    padding-bottom: 1em;
}

.thumbnail img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
  transition: opacity 0.3s ease;
}
.thumbnail p {
  font-size: 0.65em;
}
.work-title .work-label {
  margin-right: 1em;
}
footer{
    bottom: 0;
    position: fixed;
}
.language-switcher a{
    display: inline-block;
    text-decoration: none;
    border-radius: 5px;
}
.language-switcher a:hover{
    color: grey;
}
  
.language-switcher a.active{
    text-decoration: underline !important;
    text-underline-offset: 6px;
    text-decoration-thickness: 2.5px; 
    padding-bottom: 0.6em;
}
.language-switcher a:not(:last-child)::after {
  content: '/';
  text-decoration: none;
  display: inline-block;
}
#thumb-caption{
margin-top: 0.4em;
line-height: normal;
}

/* Work */

.title{
    font-size: 2em;
    margin: 0 auto;
    text-align: center;
    text-transform: uppercase;
    padding-top: 1em;
    padding-bottom: 1em;    
}

/* Blocks */

.paragraph{
    width: 100%;
    padding-bottom: 2em;
}
.credits{
    width: 60%;
    padding-bottom: 2em;
}
.block.credits ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.credit-row {
  display: flex;
}
.credit-role {
  width: 25%;
}
.credit-name {
  width: 35%;
}
.left-single-image{
    width: 50%;
    height: auto;
    padding-bottom: 2em;
}
.left-single-image img{
    width: 100%;
    height: auto;
}
.triple-images {
    display: flex;
    width: 100%;
    gap: 1em;
    padding-bottom: 2em;
}
.triple-images img{
    width: 100%;
    height: auto;
}
.triple-images figure {
    width: calc(33,33%);
    /* height:auto; */
    margin: 0;
    padding-bottom: 2em;    
}


.five-images {
    display: flex;
    width: 100%;
    gap: 1em;
    padding-bottom: 2em;
}
.five-images img{
    width: 100%;
    height: auto;
}
.five-images figure {
    width: calc(20%);
    /* height:auto; */
    margin: 0;
    padding-bottom: 2em;    
}
.central-image{
    width: 40%;
    height: auto;
    margin: 0 auto;
    padding-bottom: 2em;
}
.central-image img{
    width: 100%;
    height: auto;
}
.small-1{
    width: calc(15%);
    height: auto;
    padding-bottom: 2em;
}
.small-1 img{
    width: 100%;
    height: auto;
}
.small-2{
    width: calc(15%);
    height: auto;
    transform: translateX(200%);
    padding-bottom: 2em;    
}
.small-2 img{
    width: 100%;
    height: auto;
}
.small-3{
    width: calc(15%);
    height: auto;
    transform: translateX(400%);
    padding-bottom: 2em;    
}
.small-3 img{
    width: 100%;
    height: auto;
}
.small-4{
    width: calc(15%);
    height: auto;
    margin-left: auto;
    display: block;
    padding-bottom: 2em;
}
.small-4 img{
    width: 100%;
    height: auto;
}
.left-vertical-image{
    width: calc(30%);
    height: auto;
    padding-bottom: 2em;
}
.left-vertical-image img{
    width: 100%;
    height: auto;
}
figcaption{
    font-size: 0.5em;
    margin-top: 0.2em;
}
figure {
    margin: 0 !important;
    padding: 0 !important;
}
figure img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    border: none;
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
body, html, h1, h2, h3, h4, ::placeholder, input, button, small{
    font-family: 'Folio', Arial, Helvetica, sans-serif;
    font-weight: normal;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: font-family 1s ease;
    }
.thumbnail{
    display: none;
}
.thumbnail img {
    display: none;
}
.thumbnail p {
    display: none;
}
#thumb-preview{
    display: none !important;
}
#thumb-caption{
    display: none !important;
}
}

@media screen and (max-width: 480px) {

body, html, h1, h2, h3, h4, ::placeholder, input, button, small{
    font-family: 'Folio', Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: normal;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: font-family 1s ease;
}
/* Intro */
#intro-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: white;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 4em;
  transition: opacity 0.6s ease;
  pointer-events: all;
  text-transform: uppercase;
}
.language-switcher a.active{
    text-decoration: underline !important;
    text-underline-offset: 5px;
    text-decoration-thickness: 2px; 
    padding-bottom: 0.6em;
}

.homepage-grid{
    display: block;
}
.column{
    padding: 0 !important;
}

.thumbnail{
    display: none;
}
.thumbnail img {
    display: none;
}
.thumbnail p {
    display: none;
}
#thumb-preview{
    display: none !important;
}
#thumb-caption{
    display: none !important;
}
/* Blocks */
.left-single-image{
    width: 100%;
    height: auto;
    padding-bottom: 2em;
}
.left-single-image img{
    width: 100%;
    height: auto;
}
.left-vertical-image{
    width: calc(100%);
    height: auto;
    padding-bottom: 2em;
}
.left-vertical-image img{
    width: 100%;
    height: auto;
}
.triple-images {
    display: block;
    width: 100%;
    padding-bottom: 2em;
}
.triple-images img{
    width: 100%;
    height: auto;
}
.triple-images figure {
    padding-bottom: 2em !important;    
}
.triple-images figure:last-child {
    padding-bottom: 0 !important;
}

.five-images {
    display: block;
    width: 100% !important;
    height:auto;
    background-color: red;
    padding-bottom: 2em;
}
.five-images img{
    width: 100%;
    height: auto;
}
.five-images figure {
    padding-bottom: 2em !important;    
        width: 100% !important;
}
.five-images figure:last-child {
    padding-bottom: 0 !important;
}

.central-image{
    width: 100%;
    height: auto;
    margin: 0 auto;
    padding-bottom: 2em;
}
.central-image img{
    width: 100%;
    height: auto;
}
.small-1{
    width: calc(30%);
    height: auto;
    padding-bottom: 2em;
}
.small-1 img{
    width: 100%;
    height: auto;
}
.small-2{
    width: calc(30%);
    height: auto;
    transform: translateX(100%);
    padding-bottom: 2em;    
}
.small-2 img{
    width: 100%;
    height: auto;
}
.small-3{
    width: calc(30%);
    height: auto;
    transform: translateX(200%);
    padding-bottom: 2em;    
}
.small-3 img{
    width: 100%;
    height: auto;
}
.small-4{
    width: calc(30%);
    height: auto;
    margin-left: auto;
    display: block;
    padding-bottom: 2em;    
}
.small-4 img{
    width: 100%;
    height: auto;
}
.credits{
    width: 100%;
    padding-bottom: 2em;
}
.block.credits ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.credit-row {
  display: flex;
}
.credit-role {
  width: 45%;
}
.credit-name {
  width: 55%;
}
}