@charset "UTF-8";
/* CSS Document */

/* FONTS
////////////////////////////////////*/
@font-face {
    font-family: "Walsheim";
    src: url("fonts/GT-Walsheim-Regular.woff2") format("woff2");
    font-weight: normal;
    font-display: swap;
    }
@font-face {
    font-family: "WalsheimOblique";
    src: url("fonts/GT-Walsheim-Regular-Oblique.woff2") format("woff2");
    font-weight: oblique;
    font-display: swap;
    }
h1, h2, h3 {font-size: inherit; font-weight: normal;}



/* GENERAL
////////////////////////////////////*/
:root {
	--dark: #101010;
	--light: #FAFAFA;
	--color: #B04F2A;
    --hoverColor: #B04F2A;
    --REMfonts: 16px;
    }

html {
    font-family: Walsheim, sans-serif;
    font-size: var(--REMfonts);
    font-display: swap;
    }
    
* {
    box-sizing: border-box;
    margin: 0;
    }

body {
    background: var(--light);
    color: var(--dark);
    }

img, video {
    display: block;
    }



/* COMPONENTS
////////////////////////////////////*/
.fontSizeS {font-size: var(--REMfonts);}
.fontSizeM {font-size: 1.2rem;}
.fontSizeL {font-size: 1.6rem;}
.fontSizeXLfix {font-size: 3rem;}
.fontSizeXL {font-size: 7vw;}
.fontSizeXXL {font-size: 9vw;}
.uppercase {text-transform: uppercase;}

.colorLight {color: var(--light);}
.colorDark {color: var(--dark);}
.color {color: var(--color);}
.hoverColor:hover {color: var(--hoverColor);}

.marginTopL {margin-top: 150px;}
.marginTopM {margin-top: 30px;}
.marginTopS {margin-top: 25px;}
.marginBottom {margin-bottom: 30px;}
.marginM {margin: 80px;}

.paddingSides {padding: 0 32px;}

.flex {display: flex;}
.flexStrech {display: flex; justify-content: space-between;}
.flexCenter {display: flex; justify-content: center; align-items: center;}

.width1-3 {width: calc((100% / 3) * 1);}
.width2-3 {width: calc((100% / 3) * 2);}

.grid {display: grid;}
.gridTemplate3 {grid-template-columns: repeat(3, calc(100% / 3));}
.sixColumnGrid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: auto;
    grid-column-gap: 11px;
    grid-row-gap: 40px;
    }
.fourColumnGrid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto;
    grid-gap: 16px;
    }

.backgroundCover {background-size: cover; background-position: center}
.borderLeft {border-left: 1px solid var(--dark);}

a {
    color: var(--dark);
    text-decoration: none;
    }
a:hover {text-decoration: underline;}

.clickableElement:hover {cursor: pointer; text-decoration: underline;}

.stickyTop {
    position: sticky;
    top: 60px;
}



/* JAVA SCRIPT FUNCTION STYLES
////////////////////////////////////*/
.fadeElement {opacity: 0;}
.fadeInElement {
    animation: fadeInAnimation 1.5s forwards;
    }
@keyframes fadeInAnimation {
  from {
    transform: translateY(100px);
    opacity: 0;
      }
  to {
    transform: translateY(0px);
    opacity: 1;
      }
    }




/* HOME TEMPLATE
////////////////////////////////////*/
#heroHeader {
    position: relative;
    width: 100vw;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    border-bottom: 1px solid var(--dark);
    }
#heroHeader video {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    }
#pageTitle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    font-size: 4rem;
    text-transform: uppercase;
    text-align: center;
    mix-blend-mode: difference;
    color: var(--light);
    transform: translate(-50%, -50%);
    }

#about {
    margin: 60px auto 0px auto;
    grid-column-gap: 3%;
    }

figure:hover {
    transform: translateY(-10px);
    transition: 0.3s ease;
    }
figcaption {margin-top: 5px;}

footer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 60px auto 20px auto;
    }
footer * {
    align-self: end;
}




/* MENU OVERLAY
////////////////////////////////////*/
#openMenuOverlay {
    position: fixed;
    top: 50%;
    left: 0;
    z-index: 2;
    transform: rotate(-90deg) translate3d(0, -50px, 0);
    transform-origin: top;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    background: var(--color);
    padding: 8px 25px;
    }
#menuOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 0vw; /* JS Function */
    min-height: 100vh;
    overflow-y: scroll;
    overflow-x: hidden;
    z-index: 1;
    background: var(--color);
    }
#menuOverlay ul {
    display: none; /* JS Function */
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
    text-align: center;
    list-style: none;
    }
#contactInfo {
    display: none; /* JS Function */
    line-height: normal;
    text-align: center;
    padding: 6vh 0px;
} 

#closeMenuOverlay {
    display: none; /* JS Function */
    position: absolute;
    top: 50%;
    left: 0;
    z-index: 3;
    background: var(--dark);
    color: var(--color);
    padding: 8px 25px;
    transform: rotate(-90deg) translate3d(0, -54px, 0);
    transform-origin: top;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    }



/* PROJECT ITEM TEMPLATE
////////////////////////////////////*/
#projectLeftColumn {
    min-height: 100vh;
    border-right: 1px solid var(--dark);
    background-color: var(--color);
    }
#projectRightColumn {
    padding: 4vw 5% 0 5%;
    background: var(--light)
    }
#projectDescription div {
    margin-top: 80px;
    width: 80%;
    }
/* BREAKPOINTS
////////////////////////////////////*/
@media only screen and (min-width: 1024px) {
    .mobile {
        display: none;
        }
}

@media only screen and (max-width: 1024px) {
    /* COMPONENTS
    ////////////////////////////////////*/
    .desktop {display: none;}
    
    .marginTopL {margin-top: 80px;}
    .marginM {margin-top: 40px;}
    
    .flexColumnReverse {flex-direction: column-reverse;}
    
    .width1-3 {width: 100%;}
    .width2-3 {width: 100%;}
    
    .gridTemplate3 {grid-template-columns: repeat(1, 1fr);}
    .sixColumnGrid {grid-template-columns: repeat(3, 1fr);}
    .fourColumnGrid {grid-template-columns: repeat(2, 1fr); grid-row-gap: 80px;}
    
    .borderLeft {border-left: 0px;}
    .stickyTop {position: static;}
    
    #heroHeader div {
        width: 100%;
        height: 100%;
    }
    #contactInfo {
        font-size: var(--REMfonts);
        } 
    
    /* PROJECT ITEM TEMPLATE
    ////////////////////////////////////*/
    #projectLeftColumn {
        width: 100%;
        border-right: 0px
        }
    #projectRightColumn {
        width: 100%;
        padding: 80px 15px;
        }
    #projectDescription h1 {
        line-height: normal;
        }
    #projectDescription div {
        font-size: var(--REMfonts);
        margin-top: 50px;
        width: 100%;
        }
    }

@media only screen and (max-width: 767px) {
    /* COMPONENTS
    ////////////////////////////////////*/
    .fontSizeXL {font-size: 2.5rem;}
    .fontSizeXXL {font-size: 3rem;}
    .paddingSides {padding: 0 15px;}
    .sixColumnGrid {grid-template-columns: repeat(1, 1fr);}
    .fourColumnGrid {grid-template-columns: repeat(1, 1fr); grid-row-gap: 20px;}
    #pageTitle {
        font-size: 2.5rem;
        top: 20%;
        left: 50%;
    }
    #projectLeftColumn {
        min-height: auto;
    }
    footer {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        }
}