@font-face { 
    font-family: basiersquare_regular; 
    src: url('basiersquare-regular-webfont.ttf');
}
@font-face { 
    font-family: basiersquare_semibold; 
    src: url('basiersquare-semibold-webfont.ttf');
}
@font-face { 
    font-family: basiersquare_regularitalic; 
    src: url('basiersquare-regularitalic-webfont.ttf');
    font-style: italic, oblique;
}
@font-face { 
    font-family: basiersquare_semibolditalic; 
    src: url('basiersquare-semibolditalic-webfont.ttf');
    font-style: italic, oblique;
}






@font-face { 
    font-family: basiersquaremono_regular; 
    src: url('basiersquaremono-regular-webfont.ttf');
}









@font-face { 
    font-family: gp_gargantua; 
    src: url('Gargantua-Regular.ttf');
}
@font-face { 
    font-family: gp_pantagruel; 
    src: url('Pantagruel-Regular.ttf');
}
@font-face { 
    font-family: gp_gargantuaitalic; 
    src: url('Gargantua-Italic.ttf');
    font-style: italic, oblique;
}
@font-face { 
    font-family: gp_pantagruelitalic; 
    src: url('Pantagruel-Italic.ttf');
    font-style: italic, oblique;
}
@font-face { 
    font-family: ventilo; 
    src: url('Ventilo-Regular.woff2');
}
@font-face { 
    font-family: dot23; 
    src: url('DoT23.ttf');
}









html{
    max-width: 1920px;
    margin: auto
}
.header{
    max-width: 1920px;
}

*{
    margin: 0;
    padding: 0;
}
body{
    background-color: black;
}











h1{
    color: white;
    font-family: basiersquare_semibold;
    font-size: 40px;
    font-weight: normal;
}
h2{
    color: white;
    font-family: basiersquare_regular;
    font-size: 36px;
    font-weight: normal;
}
h3{
    color: white;
    font-family: basiersquare_regular;
    font-size: 24px;
    font-weight: normal;
}
h4{
    color: white;
    font-family: basiersquare_regular;
    font-size: 18px;
    font-weight: normal;
}
h5{
    color: white;
    font-family: basiersquaremono_regular;
    font-size: 14px;
    font-weight: normal;
}
h6{
    
}
















.header{
    min-height: 1vh;
    width: 100%;
    position: fixed;
    mix-blend-mode: difference;
    z-index: 1;
}
.nav-wrap{
    display: flex;
    padding-top: 32px;
    padding-bottom: 0%;
    padding-left: 8%;
    padding-right: 8%;
    justify-content: space-between;
}
nav{
    display: flex;
    grid-gap: 40px;
    align-items: center;
}
nav a{
    text-decoration: none;
}
nav .main-pages{
    list-style: none;
    display: flex;
    grid-gap: 40px;
}
nav .main-pages a{
    color: white;
    text-decoration: none;
}
nav .main-pages a:hover{
    text-decoration: underline;
    text-underline-position: alphabetic;
}
nav .main-pages a:active{
    transform: scale(0.94);
}
.label-desktop{
}
.label-desktop a {
    text-decoration: none;
}
.label-desktop:active{
    transform: scale(0.94);
}
label{
    display: none;
}
label a{
    text-decoration: none;
}
label a:active{
    transform: scale(0.94);
}
.mobile-nav{
    display: none;
    justify-content: space-between;
    padding-left: 8%;
    padding-right: 8%;
    padding-top: 16px;
    padding-bottom: 16px;
}
.mobile-nav a{
    text-decoration: none;
    background-color: black;
}
.mobile-nav a:active{
    transform: scale(0.94);
}








.projects-list{
    padding-left: 8%;
    padding-right: 8%;
    align-self: stretch;
    padding-top: 116px;
}
.projects-list-item{
    display: flex;
    align-self: stretch;
    grid-gap: 16px;
    align-items: center;
    align-self: stretch;
    border-top: 1px solid white;
    min-height: 86px;
}
.projects-list a{
    text-decoration: none;
}
.projects-list-item:hover{
    background-color: rgba(255,255,255,0.2);
}
.projects-list-item:active{
    background-color: #1F1D20;
}
.projects-list-item img{
    width: 30%;
    max-width: 240px;
}




.about-wrap{
    padding-left: 8%;
    padding-right: 8%;
    align-self: stretch;
    padding-top: 116px;
    padding-bottom: 32px;
    justify-content: space-between;
    display: flex;
    grid-gap: 24px;
}
.contact-wrap{
    min-width: 320px;
    display: flex;
    flex-direction: column;
}
.contact-infos{
    padding-top: 16px;
    padding-bottom: 16px;
}
.contact-infos li{
    list-style: none;
}
.contact-infos li a{
    text-decoration: none;
}
.contact-infos .instagram{
    display: flex;
    grid-gap: 4px;
}






.gallery-grid{
    padding-left: 8%;
    padding-right: 6%;
    align-self: stretch;
    padding-top: 116px;
}
.row {
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 2%;
}

.column {
    flex: 23%;
    max-width: 25%;
    padding-right: 2%;
}

.column img {
    vertical-align: middle;
    width: 100%;
    margin-bottom: 16px;
}





.row2 {
    display: flex;
    flex-wrap: wrap;
}
.column2 {
    flex: 50%;
    max-width: 50%;
}
.column2 div {
    vertical-align: middle;
    width: 100%;
    padding-bottom: 20%;
    padding-top: 20%;
}
.column2 img {
    vertical-align: middle;
    width: 100%;

}







.project-wrap{
    padding-left: 8%;
    padding-right: 8%;
    align-self: stretch;
    padding-top: 116px;
    padding-bottom: 32px;
    justify-content: space-between;
    display: flex;
    grid-gap: 24px;  
}

.project-description{
    display: flex;
    flex-direction: column;
    grid-gap: 16px;
    max-width: 30%;
}






.typeface-wrap{
    padding-left: 8%;
    padding-right: 8%;
    align-self: stretch;
    padding-top: 116px;
    padding-bottom: 32px;
    justify-content: space-between;
    display: flex;
    flex-direction: column;
    grid-gap: 24px;  
}
.typeface-description{
    display: flex;
    flex-direction: column;
    grid-gap: 16px;
    max-width: 100%;
}
.type-tester {
    word-break: normal;
    padding: 100px 50px;
    border-top: 1px solid #000;
}
.type-tester-text{
    text-align: center;
}





/* Slideshow container */
.slideshow-container {
    display: flex;
    align-items: center;
    position: relative;
}
/* Hide the images by default */
.mySlides {
    display: none;
    max-width: 100%;
}
/* Next & previous buttons */
.prev, .next {
    cursor: pointer;
    padding: 16px;
    color: white;
    font-size: 18px;
    transition: 0.6s ease;
    position: absolute;
    mix-blend-mode: difference;
}
/* Position the "next button" to the right */
.next {
    right: 0
}
/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(255,255,255,0.2);
}
/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 0.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}





body {
  position: relative;
  min-height: 100vh;
}

main{
    min-height: 100vh;
    margin-bottom: -86px;
}




footer {
    bottom: 0;
    align-content: center;
    width: 100%;
    height: 86px;
}
footer .wrap{
    display: flex;
    justify-content: space-between;
    border-top: 1px solid white;
    padding-top: 32px;
    margin-left: 8%;
    margin-right: 8%;
    padding-bottom: 32px;
}
footer .wrap a{
    text-decoration: none;
}
footer .wrap a:hover{
    text-decoration: underline;
}
footer .wrap a:active{
    transform: scale(0.94)
}

.push{
    height: 86px;
}



@media all and (max-width: 1124px){
    .project-wrap{
        display: flex;
        flex-direction: column;
    }
    .project-description{
        max-width: 100%
    }
}

@media all and (max-width: 800px){
    nav .main-pages{
        display: none;
    }
    .mobile-nav{
        display: flex;
    }
    .label-desktop{
        display: none;
    }
    label{
        display: flex;
    }
    .projects-list{
        padding-top: 140px;
    }
    .projects-list-item{
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .about-wrap{
        flex-direction: column;
        padding-top: 140px;
    }
    .gallery-grid{
        padding-top: 140px;
    }
    .project-wrap{
        padding-top: 140px;
    }
    .typeface-wrap{
        padding-top: 140px;
    }
    .column {
        flex: 44%;
        max-width: 50%;
    }
    .prev, .next {
        font-size: 24px;
    }
    .column2 {
        flex: 100%;
        max-width: 100%;
    }
}

@media all and (max-width: 600px) {
    .column {
        flex: 100%;
        max-width: 100%;
    }
    .column2 div h1{
        font-size: calc(40px + 3vw) !important;
    }
    .type-tester {
    font-size: 48px !important;
}
}