@font-face {
    font-family: 'Beausite';
    src: url('Webfonts/BeausiteClassicWeb-Clear.woff') format('woff'),
        url('Webfonts/BeausiteClassicWeb-Clear.eot') format('eot');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Beausite';
    src: url('Webfonts/BeausiteClassicWeb-Medium.woff') format('truetype'),
        url('Webfonts/BeausiteClassicWeb-Medium.eot') format('eot');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Beausite';
    src: url('Webfonts/BeausiteClassicWeb-Bold.woff') format('truetype'),
        url('Webfonts/BeausiteClassicWeb-Bold.eot') format('eot');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Nantes';
    src: url('Webfonts/NantesWeb-RegularItalic.woff') format('truetype'),
        url('Webfonts/NantesWeb-RegularItalic.woff2') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Nantes';
    src: url('Webfonts/NantesWeb-Regular.woff') format('truetype'),
        url('Webfonts/NantesWeb-Regular.woff2') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --accent: rgba(40, 90, 220, 1);
    --accent: rgba(20, 20, 0, .15);
    --black: rgba(20, 20, 0, 1);
    --black-20: rgba(20, 20, 0, .2);
    --black-10: rgba(20, 20, 0, .1);
    --black-5: rgba(20, 20, 0, .05);
    --base-white: #F9F8F3;
    --black-50: rgba(20, 20, 0, .6);
    --radius-m: 16px;
    --size-24: 24px;
    --font-size-s: 14px;
    --font-size-m: 16px;
    --font-size-l: 28px;
}
html,
body {
    font-size: var(--font-size-m);
    background: var(--base-white);
}

img, video{
	background: linear-gradient(to bottom right, var(--black-10), var(--black-5)) ;
    object-fit: contain;
    height: auto;
    width: 100%;
}

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: 'tnum'on, 'lnum'on;
    /*  font-feature-settings: 'tnum' on, 'lnum' on, 'ss01' on, 'ss02' on;*/
    -webkit-hyphens: none;
    -ms-hyphens: none;
    hyphens: none;


    scroll-behavior: smooth;
    font-weight: 300;
    -webkit-overflow-scrolling: touch;
    font-family: Beausite, sans-serif;
    color: var(--base-black);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

button {
    outline: none;
    border: none;
    background: none;
    border-radius: none;
    padding: none;
}

.wrapper {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 20px;
    padding: var(--size-24);
    padding-bottom: 120px;
    margin: auto;
}

a.project-link {
    text-decoration: inherit;
    color: inherit;

}

ul {
    padding: 0;
    list-style: inside;
}

footer {
    grid-column: 3 / span 6;
    padding-top: 80px;

}

.text-section {
    grid-column: 3 / span 6;
}

.image-section {
    grid-column: 1 / span 10;
    padding: var(--size-24) 0px;
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 8px 8px;
}

.image-section img,
.image-section>video,
.image-section .video {
    grid-column: 1 / span 10;
    width: 100%;
    outline: 1px solid rgba(0, 0, 0, 0.05);
    outline-offset: -1px;
    border-radius: var(--radius-m);
    align-content: center;
}

.video video {
    max-width: 100%;
    border-radius: 10px;
}

.image-section .two-column:first-child {
    grid-column: 1 / span 6;
}

.image-section .two-column:nth-child(2) {
    grid-column: 7 / span 4;
}

.image-section .two-half-column{
    grid-column-start: auto;
    grid-column-end: span 5;
}


.home .text-section:first-of-type {
    padding-top: 20vh;
    padding-bottom: 10vh;
}

.project-site .text-section:first-of-type {
    padding-top: 20vh;
    padding-bottom: 10vh;
}

.contact {
    list-style: none;
    display: flex;
    color: var(--black-50);
    padding: 16px 0;
    font-size: var(--font-size-s);
}

.contact li:not(:first-child)::before {
    content: "/";
    padding: 0 8px;
}

.contact li p {
    color: inherit;
}

.projects {
    grid-column: 1 / span 10;

    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 32px;
}


.row-left {
    grid-column: 1 / span 5;
}

.row-right {
    grid-column: 6 / span 5;
}



.project {
    padding-bottom: 8px;
    margin-bottom: 16px;
    border-radius: 12px;
}

.project-hero-image {
    /*  background: #123;*/
    box-sizing: border-box;
    outline: 1px solid rgba(0, 0, 0, .05);
    outline-offset: -1px;
    position: relative;
    transition: all cubic-bezier(.41,-0.01,.38,1.05) .2s;

}

.project:hover .project-hero-image {
    box-shadow: 0px 0px 0px 2px white, 0px 0px 0px 5px var(--accent);
    transition: all cubic-bezier(.41,-0.01,.51,1) .2s;
}

.project-description {
    display: flex;
    justify-content: left;
    gap: 2px;
    flex-direction: column;
    padding: 4px 0px 0 0px;
}

.meta {
    color: var(--black-50);
    font-weight: 300;
}

.wrapper p {
    font-family: Nantes, serif;
    line-height: 24px;
    font-weight: 400;
}

h1{
    font-size: var(--font-size-l);
    line-height: 35px;
    font-weight: 300;
    padding: 16px 0;
}


h2 {
    font-size: var(--font-size-l);
    line-height: 35px;
    font-weight: 300;
    padding: 16px 0;
    font-family: Nantes, serif;
    font-weight: 400;
    font-style: italic;
}

h3 {
    font-size: var(--font-size-m);
    font-weight: 400;
    line-height: 1.4em;
    padding: 4px 0 2px 0;
}

h4 {
    font-size: var(--font-size-s);
    font-weight: 400;
}

.indented {
    text-indent: 48px;
}

.project-site .text-section h2{
     padding: 24px 0;
}

.text-section h2 {
    padding: 8px 0;
}

.project-hero-image {
    border-radius: var(--radius-m);
    max-width: 100%;
    flex-grow: 1;
}

nav {
    position: fixed;
    z-index: 100;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    margin: var(--size-24);
}

.proj-site-header-image {
    padding: 12px;
    border-radius: var(--radius-m);
    width: 100%;
    display: none;
}

.proj-site-header-image img {
    width: 100%;
    border-radius: var(--radius-m);
    outline: 1px solid rgba(0, 0, 0, .05);
    outline-offset: -1px;
}

nav .breadcrumb a,
nav .breadcrumb p {
    font-size: var(--font-size-s);
    text-decoration: none;
    padding: 2px 4px;
    border-radius: 6px;
    font-weight: 400;
    color: var(--black-50);
    display: inline-block;
}

nav .breadcrumb a {
    color: var(--black);
    position: relative;
}

nav .breadcrumb a::before {
   content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  right: 0;
  border-radius: 4px;
  bottom: 0;
    background: rgba(0,0,0,0);
    transform: translateY(6px) scale(0.6);
    transition: all cubic-bezier(.41,-0.01,.51,1) .15s;
}


nav .breadcrumb a:hover::before {
  transform: translateY(0px) scale(1);
    background: var(--black-10);
    transition: all cubic-bezier(.41,-0.01,.51,1) .15s;
}

.icon-button {
    padding: 6px;
    height: 32px;
    width: 32px;
}

/*-------------------*/
.book{
    padding: var(--size-24) 0;
}

#locking-video {
    width: 100%;
    padding: 5% 20%;
    background: #F8D46A;
}


#linking-video {
    width: 100%;
    padding: 32px;
    background: #E1E1C4;
}

#slide-picker-video {
    padding: 5% 10%;
    background: #CDD5E4;
    background: linear-gradient(#CDD5E4, #CECDDE);
}


@media (max-width: 825.98px) {
    .text-section {
        grid-column: 2 / span 8;
    } 
}

@media (max-width: 575.98px) { 
    :root{
        --radius-m: 12px;
        --size-24: 16px;
        --font-size-l: 26px;
    }
    .wrapper{
        padding-bottom: 0px;
        padding-top: 0px;
    }
    .projects{
        gap: 0px;
    }
    .row-left {
        grid-column: 1 / span 10;
    }
        .row-right {
        grid-column: 1 / span 10;
    }
    footer {
    grid-column: 1 / span 10;

    }
    .home .text-section:first-of-type {
        padding-top: 0px;
        padding-bottom: 48px;
    }

    .project-site .text-section:first-of-type {
        padding-top: 64px;
        padding-bottom: 0px;
    }

    .text-section {
        grid-column: 1 / span 10;
    }

    .image-section .two-column:first-child {
        grid-column: 1 / span 10;
    }

    .image-section .two-column:nth-child(2) {
        grid-column: 1 / span 10;
    }
     .image-section .two-half-column{
            grid-column-start: auto;
            grid-column-end: span 10;
        }

}