/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}





/* CUSTOM CSS HERE */

html * {
    box-sizing: border-box;
}

body {
    font-family: 'Switzer', sans-serif;
    cursor: none;
} 

@font-face {
  font-family: "PP Kyoto";
  src: url("../fonts/PPKyoto-RegularItalic.woff2") format("woff2"),
       url("../fonts/PPKyoto-RegularItalic.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.container {
    width: min(1600px, 96vw);
    margin: 0 auto;
}

:root {
    --cccsf-primary: #F9331D;
    --wwyainm-primary: #CFD5DB;
    --fable-primary: #F2EFE5;
    --osmotheque-primary: #FFCB1C;
    --tffp-primary: #BADDEE;
    --svg-primary: #ECD5D6;
    --whybsl-primary: #EF8DB5;
    --oki-sato-primary: #E6ECC6; 
}

.project-cccsf {
    --project-accent: var(--cccsf-primary);
}

.project-wwyainm {
    --project-accent: var(--wwyainm-primary);
}

.project-fable {
    --project-accent: var(--fable-primary);
}

.project-osmotheque {
    --project-accent: var(--osmotheque-primary);
}

.project-tffp {
    --project-accent: var(--tffp-primary);
}

.project-svg {
    --project-accent: var(--svg-primary);
}

.project-whybsl {
    --project-accent: var(--whybsl-primary);
}

.project-oki-sato {
    --project-accent: var(--oki-sato-primary);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 1rem;
}

nav h1 {
    width: 60%;
}

nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

h1 a {
    text-decoration: none;
    color: black;
    font-family: "PP Kyoto", serif;
}

h1 a:hover {
    text-decoration: underline;
}

nav ul li a {
    text-transform: uppercase;
    text-decoration: none;
    color: black;
    display: block;
    font-size: 0.9rem;
}

nav ul li a:hover {
    /* font-family: "PP Kyoto", serif;
    font-style: italic; */
    text-decoration: underline;
    text-decoration-color: #B4B4B4;
}

.current-page {
    text-decoration: underline;
    font-family: "PP Kyoto", serif;
    font-style: italic;
}

img {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid #ebebeb;
}

h1 {
    font-size: 1.2rem;
    line-height: 120%;
}

h2 {
    font-size: 1.15rem;
    line-height: 120%;
}

h3 {
    font-size: 0.8rem;
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 1rem;
    border: 1px solid black;
    margin-bottom: 0.5rem;
}

h4 {
    font-size: 0.9rem;
    line-height: 120%;
    
    font-family: "PP Kyoto", serif;
    font-style: italic;
    text-transform: uppercase;
    text-decoration: underline;
    margin-bottom: 0.5rem;
}

p {
    font-size: 0.9rem;
    line-height: 120%;
}

.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 300,
  'GRAD' 0,
  'opsz' 24
}

section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.selected {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2.5rem;
    margin-bottom: 2rem;
}

section.selected figure {
    margin-bottom: 1rem;
}

section.selected figure h3 {
    background: var(--project-accent);
}

section.selected figure figcaption {
    margin-top: 0.5rem;
    display: flex;
    justify-content: space-between;
}

section.selected figure figcaption div.project-tag-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

figure img:hover {
    border-color: var(--project-accent);
}

div.project-tag {
    color: #B4B4B4;
    display: inline-block;
    font-size: 0.8rem;
    text-transform: uppercase;
    padding: 0.25rem 0.5rem;
    border-radius: 1rem;
    border: 1px solid #B4B4B4;
    margin-bottom: 0.5rem;
}

section.selected figure figcaption p {
    width: 50%;
}

/* section.gallery img {
    width: 33%;
    height: 100%;
} */

.gallery {
    margin-top: 4rem;
    margin-bottom: 2rem;
}

.experiment-page-column img {
    margin-bottom: 0.5rem;
}

.about {
    margin-top: 4rem;
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.about-page-text {
    width: 40%;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.about-page-text a {
    text-decoration: none;
    color: black;
}

.about-page-text a:hover {
    text-decoration: underline;
}

.about-page-text span {
    font-size: small;
}

.about-melissa {
    margin-bottom: 3rem;
}

.about-page-images {
    width: 33%;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.about-image-column {
    width: 48%;
    gap: 0.5rem;
}

.about img {
    margin-bottom: 0.5rem;
}

.project-header {
    display: flex;
    flex-wrap: wrap;
    /* justify-content: space-between; */
    width: 100%;
    margin-top: 2rem;
    gap: 1rem;
}

.project-header h3 {
    background: var(--project-accent);
}

.hero-image {
    margin-bottom: 1rem;
}

.hero-image img {
    width: 100%;
    display: block;
}

.project-overview {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    margin-bottom: 4rem;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 1rem;
}

.award {
    color: #B4B4B4;
}

.meta-label {
    color: #B4B4B4;
}

.three-column-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.three-column-grid img {
    width: 100%;
    display: block;
}

.full-width-image {
    margin-bottom: 0.5rem;
}

.full-width-image img {
    width: 100%;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    align-items: start;
    margin-bottom: 0.5rem;
}

.editorial-text {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    margin-top: 2rem;
    margin-bottom: 4rem;
}

.editorial-text .text-block {
    grid-column: 8 / 13;
}

/* div.case-study-overview {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    margin-top: 0.5rem;
}

section.case-study div.description {
    width: 50%;
    margin-left: auto;
} */

/* section.featured figure:hover {
    background: rgba(100,100,255,1);
    transform: scale(2) rotateZ(360deg);
    transition: ease in 0.2s all;
} */

.cursor {
    position: fixed;
    width: 15px;
    height: 15px;
    border: 1px solid black;
    border-radius: 50%;
    background: white;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;

    transition:
        width .2s ease,
        height .2s ease,
        /* background .2s ease, */
        border-color .2s ease;
}

.cursor-hover {
    width: 20px;
    height: 20px;
}

footer {
    display: flex;
    justify-content: space-between;
    padding-top: 2rem;
    padding-bottom: 1rem;
}

footer ul {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

footer ul li a {
  text-transform: uppercase;
  text-decoration: none;
  color: black;
  display: block;
  font-size: 0.9rem;
}

footer ul li a:hover {
    text-decoration: underline;
    text-decoration-color: #B4B4B4;
}

footer p {
    /* margin: 1rem; */
}

/* @media screen and (max-width:1200px) {
    nav {
        display: flex;
        flex-wrap: wrap;
    }

    nav h1 {
        width: 100%;
    }
} */

@media screen and (max-width: 900px) {
    nav {
        flex-direction: column;

        gap: 2rem;
    }

    nav h1 {
        width: 100%;
    }

    .project-overview {
        grid-template-columns: 1fr;
    }

    .three-column-grid {
        grid-template-columns: 1fr;
    }

    .split-layout {
        grid-template-columns: 1fr;
    }

    .project-header {
        flex-direction: column;

        gap: 1rem;
    }

}