@-mos-viewport {width: device-width; scale: 1;}
@-ms-viewport {width: device-width; scale: 1;}
@-o-viewport {width: device-width; scale: 1;}
@-webkit-viewport {width: device-width; scale: 1;}
@viewport {width: device-width; scale: 1;}

/* -------------------- FONTS --------------------*/

@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600&display=swap');


/* -------------------- GLOBAL --------------------*/

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

*, *::before, *::after {
	box-sizing: inherit;
}

html, body {
    width: 100%;
    height: 100%;
    background-color: #151515;
}


/* -------------------- TYPOGRAPHY --------------------*/

h1 {
	font-family: 'Barlow', sans-serif;
	font-size: 2.5rem;
    font-weight: 500;
	color: #F8F8F8;
    margin: 0px;
	padding: 0px;
}

h2 {
    font-family: 'Barlow', sans-serif;
    font-size: 0.85em;
    letter-spacing: 0.25em;
    font-weight: 500;
    text-transform: uppercase;
    color: #959595;
    margin: 0px;
	padding: 0px;
}

a {
    text-decoration: none;
    font-family: 'Barlow', sans-serif;
	font-size: 1.0rem;
    font-weight: 500;
    letter-spacing: 0.025rem;
    color: #F8F8F8;
}

.titleLink {
    text-decoration: none;
    font-family: 'Barlow', sans-serif;
    font-size: 0.85em;
    letter-spacing: 0.25em;
    font-weight: 500;
    text-transform: uppercase;
    color: #F8F8F8;
    margin: 0px;
	padding: 0px;
}

p {
    font-family: 'Barlow', sans-serif;
	font-size: 0.9rem;
    line-height: 1.8em;
    letter-spacing: 0.04rem;
	margin: 0px;
	padding: 0px; 
    color: #767676; 
}


/* -------------------- PRIMARY NAV --------------------*/

.primaryNav {
    background-color: #151515;
    top: 0;
    display: grid;
    grid-template-columns: auto auto;
    justify-content: space-between;
    margin: 0px;
	padding: 24px 2%;
    z-index: 100;
}

.primaryNavBar:hover {
    background-color: #000000;
}

.primaryNav a {
    text-decoration: none;
    font-family: 'Barlow', serif;
	font-size: 0.85em;
    font-weight: 500;
    letter-spacing: 0.20em;
    text-transform: uppercase;
	color: #D5D5D5;
    margin: 0px;
	padding: 0px;
}

.primaryNav a:hover {
    color: #FFFFFF;
}

.navRight a:first-child {
    margin-right: 16px;
}

.navRight .icon {
    display: none;
}

#mobileNav {
    display: none;
}


/* -------------------- HORIZONTAL SCROLLING SECTION --------------------*/

.stickyParent {
    height: 92vh;
}

.sticky {
    position: sticky;
    top: 0;
    height: 92vh;
    overflow: hidden;
}

.scrollSection {
    display: flex;
    flex-direction: row;
    gap: 2%;
    height: 92vh;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    align-items: center;
    padding: 0 2%;
}

.scrollSection::-webkit-scrollbar {
    display: none;
}

.scrollSection > * {
    flex: 0 0 auto;
}

.scrollSection img {
    width: 375px;
    height: 480px;
    object-fit: cover;
    object-position: center;
}


/* -------------------- PROJECT BLOCKS --------------------*/

.heroTitle {
    width: 600px;
}

.projectBlock {
    display: flexbox;
}

.projectInfo {
    margin-top: 16px;
}


/* -------------------- PROJECT LIST --------------------*/

#projectsList {
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    scroll-behavior: smooth;
}

.projectListItem {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    padding: 3% 2%;
    transition: .5s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.projectListItem:hover {
    background-color: #000000;
}

.projectListItem a {
    color: #E5E5E5;
    text-decoration: none;
    font-size: 2.5rem;
    font-weight: 500;
    letter-spacing: 0em;
}

.projectListItem p {
    color: #767676;
}


/* -------------------- ABOUT --------------------*/

#about {
    padding: 240px 5%;
}

#about h1 {
    max-width: 480px;
    text-align: center;
    color: #F8F8F8;
    padding: 0px;
    margin: 0px auto 48px auto;
    z-index: 1;
}

#about .button {
    text-align: center;
}

#about .button a {
    display: inline-block;
    color: #E5E5E5;
    font-size: 0.9em;
    letter-spacing: 0.05em;
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0.05); 
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 12px 24px 12px 24px;
    transition: .75s;
}

#about .button a:hover {
    color: #151515;
    background-color: #F8F8F8;
}


/* -------------------- CONTACT --------------------*/

#contact {
    background-color: #101010;
    padding: 200px 5%;
    margin: 0px;
}

#contactTagline {
    margin: 0px 0px 24px 0px;
}

#contactTagline h1 {
    color: #F5F5F5;
}

#contactEmail a {
	font-family: 'Barlow', sans-serif;
	font-size: 2.5rem;
    font-weight: 500;
	color: #959595;
	margin: 0px;
	padding: 0px;
    transition: .5s;
}

#contactEmail a:hover {
	color: #FFFFFF;
}


/* -------------------- LEGAL --------------------*/

#legal {
    background-color: #101010;
    text-align: center;
    bottom: 0px;
	margin: 0px;
	padding: 50px 0;
}

#legal p {
    font-family: "Arial", sans-serif;
    font-size: 0.5em;
    color: #505050;
    font-weight: normal;
    line-height: 12px;
    margin: 0px;
	padding: 0px;
}



/* ------------------------------------------------*/
/* -------------------- MOBILE --------------------*/
/* ------------------------------------------------*/

@media (max-width: 960px) {

/* -------------------- TYPOGRAPHY (Mobile) --------------------*/ 

h1 {
	font-size: 2rem;
}


/* -------------------- PRIMARY NAV (Mobile) --------------------*/    
  
.navRight a:first-child {
    margin-right: 0px;
}

.navRight a:not(:last-child) {
    display: none;
}

.navRight a.icon {
    display: grid;
}


/* -------------------- MOBILE NAV (Mobile) --------------------*/    

#mobileNav {
    height: 100%;
    width: 100%;
    display: none;
    position: fixed;
    z-index: 200;
    top: 0;
    left: 0;
    background-color: #151515;
}    

.primaryNav {
	padding: 24px 5%;
    align-items: center;
}

.overlay-content {
    position: relative;
    top: 35%;
    width: 100%;
    text-align: left;
    margin: 0px 0px 0px 5%;
}    

.overlay a {
    text-decoration: none;
    font-family: 'Barlow', sans-serif;
	font-size: 0.85em;
    font-weight: 500;
    letter-spacing: 0.20em;
    color: #FFFFFF;
    text-transform: uppercase;
}    
    
.overlay-content a {
    display: block;
    text-decoration: none;
    color: #E0E0E0;
    font-size: 4em;
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: 0.3s;
    margin: 0px 0px 24px 0px;
}
    
.overlay a:hover {
    color: #FFFFFF;
}

.overlay a.icon {
    display: grid;
}


/* -------------------- PROJECT BLOCKS (Mobile) --------------------*/

.scrollSection {
    gap: 5%;
    padding: 0 5%;
}

.heroTitle {
    width: 280px;
}

/* -------------------- PROJECT LIST (Mobile) --------------------*/

.projectListItem {
        padding: 3% 5%;
}

.projectListItem a {
    font-size: 2rem;
    font-weight: 600;
}



/* -------------------- CONTACT (Mobile) --------------------*/

#contactEmail a {
	font-size: 1.5rem;
}


/* -------------------- LEGAL (Mobile) --------------------*/

#legal {
	padding: 50px 7% 50px 7%;
}