/* NAVIGATION */

.nav{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex: auto;
    width: 100%;
}

.navLinks {
    display: flex;
    justify-content: right;
    align-items: center;
    gap: 80px;
}

.navLink {
    font-family: kobe;
    font-weight: 100;
    font-size: 18px;
    line-height: 20px;
}

.navPair {
    display: flex;
    flex-direction: row;
    justify-content: right;
    align-items: center;
    gap: 2px;
}

.footer{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex: auto;
    width: 100%;
}

/* TYPE STACK */

@font-face {
  font-family: clifton; /* set name */
  src: url(assets/clifton.woff); /* url of the font */
}

@font-face {
  font-family: kobe; /* set name */
  src: url(assets/kobe.woff); /* url of the font */
}

@font-face {
  font-family: outfit; /* set name */
  src: url(assets/outfit.otf); /* url of the font */
}

h1 {
    font-family: clifton, serif;
    color: #413D4D;
    padding: 0;
    margin: 0;
    font-weight: 100;
    font-size: 50px;
    line-height: 55px;
    max-width: 950px;
}

h2 {
    font-family: clifton, serif;
    color: #413D4D;
    padding: 0;
    margin: 0;
    font-weight: 100;
    font-size: 36px;
    line-height: 42px;
}

h3 {
    font-family: outfit, sans-serif;
    color: #413D4D;
    padding: 0;
    margin: 0;
    font-weight: 100;
    font-size: 24px;
    line-height: 30px;
}

h5 {
    font-family: kobe, sans-serif;
    color: #413D4D;
    padding: 0;
    margin: 0;
    font-weight: 100;
    font-size: 32px;
    line-height: 36px;
}

h6 {
    font-family: kobe, sans-serif;
    color: #413D4D;
    padding: 0;
    margin: 0;
    font-weight: 100;
    font-size: 18px;
    line-height: 20px;
}

p {
    font-family: outfit, sans-serif;
    color: #413D4D;
    padding: 0;
    margin: 0;
    font-weight: 100;
    font-size: 16px;
    line-height: 22px;
}

/* LINKS + BUTTONS */

a {
    color: #413D4D;
    padding: 0;
    margin: 0;
    font-weight: 100;
    text-decoration: none;
}

a:hover {
    color: #D7715A;
}

.inlineLink {
    font-family: outfit, sans-serif;
    color: #D7715A;
    padding: 0;
    margin: 0;
    font-weight: 100;
    font-size: 16px;
    line-height: 22px;
}

.inlineLink:hover {
    color: #413D4D;
}

.logoLink {
    display: block;
}

.workLink {
    font-family: clifton, serif;
    font-size: 35px;
    line-height: 40px;
    width: fit-content;
}

.hyperlink {
    font-family: kobe, sans-serif;
    color: #413D4D;
    padding: 0;
    margin: 0;
    font-weight: 100;
    font-size: 18px;
    line-height: 22px;
}

.bigHyperlink {
    font-family: outfit, sans-serif;
    color: #413D4D;
    padding: 0;
    margin: 0;
    font-weight: 100;
    font-size: 24px;
    line-height: 26px;
    text-decoration: underline
}

.button {
    font-family: kobe, sans-serif;
    color: #413D4D;
    padding: 16px;
    padding-left: 24px;
    padding-right: 28px;
    margin: 0;
    font-weight: 100;
    font-size: 18px;
    line-height: 20px;
    box-sizing: border-box;
    border-radius: 40px;
    border: 1px #413D4D solid;
    width: fit-content;
    flex: none;
    box-shadow: inset 0 0 0 0 #D7715A;
    transition: 0.5s cubic-bezier(0,.8,.2,1);
}

.button:hover {
    border: 1px #D7715A solid;
    box-shadow: inset 0 0 0 27px #D7715A;
    transition: 0s ease;
    color: #F4F0EC;
}

/* LAYOUT */

body {
    background-color: #F4F0EC;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.everything {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: auto;
    gap: 120px;
    padding: 80px;
}

.work {
    display: flex;
    flex-direction: column;
    justify-content: left;
    flex: auto;
    gap: 60px;
}

.portfolioItem {
    display: flex;
    flex-direction: column;
    justify-content: left;
    flex: auto;
    gap: 4px;
}

.columnContainer {
    display: flex;
    flex: auto;
    flex-direction: row;
    gap: 120px;
}

.tightColumns {
    gap: 80px;
}

.narrowContainer {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-left: 80px;
    padding-right: 80px;
    max-width: 600px;
}

.logoDivider {
    display: flex;
    width: 100%;
    justify-content: center;
    padding-top: 16px;
    padding-bottom: 16px;
}

.column {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 40px;
}

img {
    flex: 1;
    flex-shrink: 0;
    width: 100%;
    border-radius: 8px;
}

.noRound {
    border-radius: 0;
}

.profile {
    width: 280px;
    border-radius: 1000px;
    transition: 1s ease;
}

.profile:hover {
    /*transform: rotate(360deg);*/
    transition: 1s ease;
}

video {
    border-radius: 8px;
}

.heading {
    display: flex;
    flex-direction: column;
    justify-content: left;
    flex: auto;
    gap: 80px;
    width: 100%;
}

.titleBlock {
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    gap: 40px;
}

.textBlock {
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    gap: 16px;
}

.logoGrid {
    display: flex;
    flex: auto;
    flex-direction: column;
    gap: 16px;
}

.logoRow {
    display: flex;
    flex: auto;
    flex-direction: row;
    gap: 16px;
}

.logoBox {
    background-color: #EBE4E1;
    aspect-ratio: 1 / 1;
    display: flex;
    flex: 1;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
}

.buttonContainer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    overflow: hidden;
    flex-shrink: 1;
    width: 100%;
}

.arrowContainer {
    max-width: 1px;
    display: block;
    height: 32px;
}

.caseStudyInfo {
    gap: 80px;
}

.topDownload {
    margin-bottom: -60px;
}

.desktopSpecimen {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: auto;
    gap: 80px;
}

.mobileSpecimen {
    display: none;
    flex-direction: column;
    justify-content: center;
    flex: auto;
    gap: 32px;
}

/* BREAKPOINTS */

.mobileFooter {
    padding-top: 80px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    flex: auto;
    width: 100%;
    gap: 20px;
    align-items: flex-start;
}

.tabletLogoGrid {
    display: none;
    flex: auto;
    flex-direction: column;
    gap: 16px;
}

.mobileLogoGrid {
    display: none;
    flex: auto;
    flex-direction: column;
    gap: 16px;
}

.showMobile {
    display: none;
}

.testimonials {
    gap: 80px;
}

@media screen and (min-width: 1600px) {
    body {
        background-color: #EBE4E1;
        padding: 40px;
    }
    .everything {
        background-color: #F4F0EC;
        border-radius: 12px;
        max-width: 1400px;
    }
}

@media screen and (max-width: 800px) {
    .footer {
        display: none;
    }
    
    .mobileFooter {
        display: flex;
    }
    
    .resumeColumns {
        flex-direction: column;
    }
    
    .navLinks {
        gap: 60px;
    }
    
    .logoGrid {
        display: none;
    }
    
    .tabletLogoGrid {
        display: flex;
    }
    
    .testimonials {
        flex-direction: column;
        gap: 40px;
    }
    
    .desktopSpecimen {
        display: none;
    }
    
    .mobileSpecimen {
        display: flex;
    }
}

@media screen and (max-width: 600px) {
    .hideMobile {
        display: none;
    }
    
    .showMobile {
        display: flex;
    }
    
    .topDownload {
        margin-bottom: 0;
    }
    
    .nav {
        align-items: flex-start;
    }
    
    .footer .navPair {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .navLinks {
        flex-direction: column;
        gap: 10px;
        align-items: flex-end;
    }
    
    .everything {
        padding: 32px;
        gap: 40px;
        min-width: 10px;
    }
    
    .heading {
        gap: 40px;
    }
    
    .work {
        padding-top: 40px;
        gap: 40px;
    }
    
    .narrowContainer {
        padding-left: 32px;
        padding-right: 32px;
        gap: 20px;
    }
    
    .columnContainer {
        gap: 40px;
    }
    
    .column {
        gap: 20px;
    }
    
    .resumeColumns .column {
        gap: 40px;
    }
    
    .verticalOnMobile {
        flex-direction: column;
        gap: 16px;
    }
    
    .testimonials {
        flex-direction: column;
        gap: 24px;
        padding-left: 28px;
        padding-right: 28px;
    }
    
    h1 {
        font-size: 38px;
        line-height: 42px;
    }
    
    h2 {
        font-size: 28px;
        line-height: 32px;
    }
    
    h3 {
        font-size: 20px;
        line-height: 24px;
    }
    
    h5 {
        font-size: 28px;
        line-height: 28px;
    }
    
    .sapphoBio {
        font-size: 22px;
        line-height: 26px;
    }
    
    .workLink {
        font-size: 32px;
        line-height: 36px;
    }
    
    .button {
        padding: 10px;
        padding-left: 20px;
        padding-right: 22px;
    }
    
    .buttonContainer {
        gap: 8px;
    }
    
    .profile {
        width: 75%;
    }
    
    .tabletLogoGrid {
        display: none;
    }
    
    .mobileLogoGrid {
        display: flex;
    }
    
    .impact {
        flex-direction: column;
        padding-left: 32px;
        padding-right: 32px;
    }
    
    .caseStudyInfo {
        gap: 40px;
    }
}