@-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; 
}


/* -------------------- BUTTONS --------------------*/

.button {
    text-align: center;
}

.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;
}

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


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

.stickyParent {
    height: 92vh;
}

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

.scrollSection {
    --project-gap: 2vw;
    --thumbnail-width: 375px;
    --thumbnail-height: 480px;
    display: flex;
    flex-direction: row;
    gap: var(--project-gap);
    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: var(--thumbnail-width);
    height: var(--thumbnail-height);
    object-fit: cover;
    object-position: center;
}

.heroTitle h1 {
    margin-bottom: 24px;
}


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

.heroTitle {
    width: 600px;
}

.featuredProjects {
    display: flex;
    gap: var(--project-gap);
}

.featuredProjects .projectBlock,
.viewAllWork {
    width: var(--thumbnail-width);
}

.viewAllWork {
    display: grid;
    place-items: center;
    align-self: flex-start;
    height: var(--thumbnail-height);
}

.projectInfo {
    margin-top: 16px;
}


/* -------------------- 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;
}


/* -------------------- 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;
}


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

.stickyParent,
.sticky {
    height: auto;
}

.sticky {
    position: static;
    overflow: visible;
}

.scrollSection {
    --project-gap: 48px;
    flex-direction: column;
    align-items: stretch;
    height: auto;
    overflow: visible;
    padding: 48px 5% 0;
}

.scrollSection > * {
    min-width: 0;
    width: 100%;
}

.scrollSection img {
    display: block;
    width: 100%;
    height: auto;
}

.featuredProjects {
    flex-direction: column;
}

.featuredProjects .projectBlock,
.viewAllWork {
    width: 100%;
}

.viewAllWork {
    height: auto;
}

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

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


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

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

}
