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

body {
    display: flex;
    font-family: "Roboto Mono", monospace;
}

header, main {
    border-bottom: 1px solid black;
}

header {
    padding: 1rem 3%;
}

nav {
    padding: 1rem 3%;
    position: relative;
    bottom: 0%;
}

.nav-link {
    font-size: .875rem;
}

header p {
    margin: 0;
}

main {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 3rem 3%;
    gap: 2rem;
}

header, nav {
    flex: 0 0 auto;
}

.mobile-only {
    display: none;
}

.desktop-only {
    display: block;
}

.intro-body {
    display: flex;
    align-items: end;
    gap: 3vw;
}


.intro-text-container {
    max-width: 440px;
    flex: 0 0 1;
}

.intro-headshot-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.headshot {
    min-width: 220px;
    width: 220px;
}

nav ul {
    display: flex;
    gap: 2rem;
}

ul {
    list-style-type: none;
}

a {
    font-weight: 700;
    text-decoration: none;
    color: black;
}

a:hover {
    color: darkslategrey;
    text-decoration: underline;
}

h1 {
    font-size: .875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -3%;
    margin: 0;
}

h2 {
    font-weight: 400;
    font-size: 2.2vw;
    line-height: 2.5vw;
    margin: 0;
}

p {
    font-size: 14px;
    line-height: 21px;
    margin: .75rem 0rem;
}

::selection {
    background-color:black;
    color:white;
}

section.fixed {
    width: 50%;
    position: fixed;
    left: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: scroll;
}

section.fixed::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

section.scroll {
    width: 50%;
    position: absolute;
    right: 0;
}

img, video {
    max-width: 100%;
    max-height: 100vh;
}

.project {
    position: relative;
}

.container {
    height: 100vh;
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    outline: none;
}

.good-energy .container:nth-child(1) {
    height: 90vh;
}

#good-energy-3 {
    height: 90vh;
}

#good-energy-4 {
    height: 90vh;
}

.container img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.bg {
    background-size: cover;
    background-position: center center;
}

.bg-while-on-earth-1 {
    background-image: url('assets/while-on-earth-1.jpg');
}

.container-not-sticky {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

#while-on-earth-1-video {
    z-index: 1;
    position: sticky;
    top: 6rem;
    height: 90vh;
}

.ig-grid-container {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    margin-top: 10vh;
    margin-bottom: 10vh;
}

.bg-while-on-earth-3 {
    background-image: url('assets/while-on-earth-3.jpg');
}

.while-on-earth-slides {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 80px;
    padding: 20% 0;
    position: relative;
}

.while-on-earth-slides img {
    width: 50%;
}

.bg-while-on-earth-6 {
    background-image: url('/assets/while-on-earth-6.jpg');
}

.press img {
    position: absolute;
    width: 55%;
    border-radius: 8px;
    border: 1px solid grey;
    box-shadow: 0px 1px 3px rgb(0,0,0,.3);
    object-fit: contain;
    height: auto;

}

#press-1 {
    top: 5%;
    left: 15%;
    transform: rotate(-5deg);
}

#press-2 {
    top: 20%;
    right: 5%;
    transform: rotate(5deg);
}

#press-3 {
    top: 40%;
    left: 10%;
    transform: rotate(-1deg);
}

.container.press.spacer {
    height: 100vh;
}

#nfl-press-1 {
    top: 10%;
    left: 15%;
    transform: rotate(-3deg);
}

#nfl-press-2 {
    top: 35%;
    right: 15%;
    transform: rotate(3deg);
}

.training-is-everything {
    background-color: black;
}

.training-is-everything img {
    height: 80%;
    width: auto;
}




/* RESPONSIVES */

@media screen and (max-width: 1300px) {

    main {
        padding: 1.5rem 3%;
        gap: 1.5rem;
    }

    .intro-body {
        flex-direction: column;
        gap: 1rem;
    }

    .intro-text-container {
        max-width: none;
        order: 2;
    }

    .intro-headshot-container {
        order: 1;
        height: 30vh;
    }

    .headshot {
        object-fit: cover;
    }

    p {
        font-size: 13px;
        line-height: 20px;
    }
}

@media screen and (max-width: 1100px) {
    body {
        flex-direction: column;
    }

    h2 {
        font-size: 2.5rem;
        line-height: 3rem;
    }

    section.fixed, section.scroll {
        width: 100%;
        position: sticky;
    }

    section.fixed {
        top: 6rem;
    }

    header {
        background-color: white;
        z-index: 700;
    }

    main {
        gap: 3rem;
    }

    p {
        font-size: 14px;
        line-height: 21px;
    }

    .intro-body {
        flex-direction: row;
        align-items: start;
        gap: 3rem;
    }

    .intro-text-container {
        max-width: 640px;
        justify-content: start;
        order: 1;
    }

    .intro-headshot-container {
        flex: 1 1 0;
        height: 100%;
        width: 100%;
        order: 2;
    }

    /* .headshot {
        object-fit: cover;
        min-width: 150px;
    } */

    .container {
        top: 6rem;
        height: calc(100vh - 6rem);
    }

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }

    header.mobile-only {
        display: flex;
        justify-content: space-between;
        position: sticky;
        top: 0;
        gap: 2rem;
    }

    nav.mobile-only {
        padding: 0;
    }
    
    nav.mobile-only ul {
        gap: 0;
        flex-direction: column;
    }

    nav.mobile-only a {
        font-size: .75rem;
        text-transform: uppercase;
        font-weight: 500;
    }

    #good-energy-3, #good-energy-4 {
        height: 80%;
    }

    .container-not-sticky {
        top: 6rem;
        z-index: -1;
    }
}

@media screen and (max-width: 700px) {
    h2 {
        font-size: 1.75rem;
        line-height: 2.25rem;
    }

    main {
        gap: 1rem;
    }

    /* p {
        font-size: 13px;
        line-height: 21px;
    } */

    section.fixed {
        position: relative;
        top: auto;
    }

    .intro-body {
        flex-direction: column;
        gap: 1rem;
    }

    .intro-text-container {
        order: 2;
    }

    .intro-headshot-container {
        justify-content: start;
        order: 1;
    }

    .headshot {
        width: 100%;
        max-height: 720px;
        object-position: bottom;
    }

    .name-and-tagline p {
        font-size: 12px;
    }

    .no-wrap {
        white-space: nowrap;
    }
}