.use-cases-template-default h2 {
    margin-bottom: 1.5rem;
    font-size: 3.5rem;
}

.use-cases-template-default h3 {
    font-family: "Satoshi", sans-serif;
    font-weight: 450;
    font-size: 1.85rem;
}


:root {
    --margin-bottom: 8rem;
}

/* ARCHIVE PAGE */

.uc-archive-header {
    padding: 13rem 0 10rem 0;
    background-position: center;
    background-size: cover;
    background-image: url(../images/use-cases/uc-archive-header.jpg);
}

.uc-archive-header h1 {
    text-align: center;
    font-size: 4.5rem;
    color: white;
}

.uc-archive-header .intro {
    color: rgba(255,255,255,0.9);
    max-width: 40rem;
    margin: 1rem auto 0 auto;
    font-weight: 400;
    text-align: center;
}

.uc-archive-content {
    background-color: white;
    padding: 3.5rem 0;
}

.uc-egs {
    display: grid;
    grid-template-columns: 24rem 1fr;
    border: solid 1px var(--black-02);
    border-radius: 0.4rem;
    overflow: hidden;
    color: var(--black);
    align-items: center;
    margin-bottom: 3.5rem;
}

.uc-eg-content {
    padding: 2rem;
}

.uc-eg-img {
    overflow: hidden;
    height: 100%;
}

.uc-eg-img img {
    height: 100%;
    object-fit: cover;
    transition: all 0.15s ease;
}

.uc-egs:hover .uc-eg-img img {
    scale: 1.1;
    opacity: 0.9;
}

.uc-egs h2 {
    font-size: 2.75rem;
    transition: all 0.15s ease;
}

.uc-egs:hover h2 {
    color: var(--highlight-darker);
}

.uc-eg-meta {
    border-top: solid 1px var(--black-02);
    margin-top: 1rem;
    padding-top: 1rem;
    font-family: "Satoshi";
    font-weight: 400;
    color: var(--black-08);
}

.uc-eg-meta strong {
    font-weight: 500;
}

.uc-eg-meta button {
    border: none;
    background-color: var(--highlight);
    font-family: "Satoshi";
    font-weight: 500;
    display: block;
    margin-top: 1.5rem;
    width: fit-content;
    padding: 0.4rem 0.6rem;
    border-radius: 0.25rem;
    font-size: var(--fs-smol);
    cursor: pointer;
    color: var(--black);
}

.uc-eg-meta button i {
    transition: all 0.1s ease;
}

.uc-eg-meta button:hover i {
    margin-left: 0.2rem;
}

/* HERO SECTION */

.logo-wordmark {
    fill: white;
}

.normal-nav-link {
    color: white;
}

.scroll .logo-wordmark {
    fill: var(--black);
}

.scroll .normal-nav-link {
    color: var(--black);
}

.uc-header {
    background-position: center;
    background-size: cover;
}

.uc-header-content {
    background-color: rgba(0,0,0,0.3);
    padding: 11rem 0 9rem 0;
    background: var(--black-03);
    background: linear-gradient(180deg,var(--black-04) 0%, var(--black-01) 100%);
}

.uc-header-content h1 {
    text-align: center;
    width: 94%;
    max-width: 64rem;
    margin: 0 auto;
    font-size: 5rem;
    color: white;
}

.uc-header-content .tag {
    display: block;
    width: fit-content;
    background-color: var(--highlight);
    color: var(--black);
    margin: 0 auto 1rem auto;
    padding: 0.4rem 0.5rem;
    border-radius: 0.25rem;
}

.uc-section a, .uc-intro a {
    font-weight: 450;
    color: var(--black);
    border-bottom: solid 2px var(--highlight);
    transition: color 0.2s ease, border-bottom 0.2s ease;
}

.uc-section a:hover, .uc-intro a:hover {
    color: var(--highlight-darker);
}

/* INTRO */

.uc-intro {
    margin: 3rem 0 5rem 0;
    display: grid;
    grid-template-columns: 1fr 620px;
    column-gap: 5rem;
    align-items: center;
}

.uc-intro p {
    margin-bottom: 1.5rem;
    font-size: var(--fs-intro);
    font-family: "Space Grotesk", sans-serif;
}

.fp-switch {
    background-color: black;
    padding: 2rem;
    max-width: 36rem;
    margin: 0 auto;
}

.fp-switch-container {
    position: relative;
}

.fp-switch-overlay {
    position: absolute;
    top: 0rem;
    left: 0rem;
    z-index: 2;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.fp-toggle-grid {
    display: grid;
    grid-template-columns: 1fr 2.5rem 1fr;
    column-gap: 1.5rem;
    color: white;
    align-items: center;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.75);
    margin-top: 1.5rem;
    font-weight: 300;
}

.fp-toggle-grid em {
    font-style: normal;
}

.fp-toggle-grid span {
    font-size: 1.1rem;
    color: white;
    display: block;
    margin-bottom: 0.25rem;
}

.toggle-me {
    width: 100%;
    height: 1.4rem;
    border: solid 2px var(--highlight);
    border-radius: 200px;
    display: flex;
    align-items: center;
    place-content: start;
    cursor: pointer;
    transition: place-content 0.3s ease;
}

.toggle-dot {
    width: 1.1rem;
    height: 1.1rem;
    background-color: var(--highlight);
    border-radius: 50%;
    margin-left: 0.15rem;
    transition: margin-left 0.25s ease
}

.fp-switch-overlay.fp-visible {
    opacity: 1;
}

.toggle-me.fp-active .toggle-dot {
    margin-left: 1.275rem;
}

.fp-left {
    text-align: right;
}

.fp-toggle-grid span span {
    display: inline;
}

/* PROJECT INFO */

.project {
    background-color: white;
    padding: 2.5rem 1rem 3rem 1rem;
    margin-bottom: var(--margin-bottom);
    text-align: center;
    font-weight: 300;
}

.project-grid {
    display: flex;
    color: var(--black-08);
    font-size: 1.55rem;
    justify-content: space-between;
    padding: 0 2.5rem;
}

.project-grid span {
    display: block;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    color: var(--black);
    font-size: 0.8rem;
    font-weight: 400;
}

.project .green-bar {
    margin: 2rem auto;
}

/* SECTIONS */

.uc-section {
    margin-bottom: var(--margin-bottom);
    text-align: center;
}

.section-area {
    background-color: black;
    padding: 1.5rem;
}

.section-floor-plan {
    max-width: 50rem;
    margin: 0 auto;
}

.section-area img {
    margin: 0 auto 2.5rem auto;
}

.section-caption {
    display: grid;
    grid-template-columns: 1fr 12rem;
    column-gap: 2rem;
    color: white;
    align-items: end;
    text-align: left;
}

.section-caption svg {
    width: 100%;
    display: block;
}

.section-caption .navlive-logo path {
    fill: rgba(255,255,255,0.15);
}

.section-caption p, .drawings p {
    font-size: var(--fs-main);
    color: rgba(255,255,255,0.75);
    max-width: 36rem;
    font-weight: 300;
    line-height: 1.3;
}

.section-caption p a {
    font-weight: 400;
    text-decoration: underline;
    color: white;
}

.section-caption p a:hover {
    text-decoration: none;
}

.elevation h3 {
    text-align: right;
    color: rgba(255,255,255,0.3);
    margin-bottom: 0.25rem;
}

.elevation h3:nth-child(1) {
    margin-top: 1.5rem;
}

.elevation img {
    margin-bottom: 5rem;
}

.section-intro {
    font-size: var(--fs-intro);
    max-width: 55rem;
    margin: 0 auto 2rem auto;
}

.drawings {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr 400px;
    column-gap: 2rem;
    text-align: left;
}

.drawings1 {
    background-color: black;
    color: white;
    padding: 1.5rem;
}

.drawings-eg {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 1rem;
    margin-bottom: 1rem;
}

.drawings p {
    max-width: 100%;
}


/* IMAGE SLIDER */

.slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 1rem;
}
  
.slider-track {
    display: flex;
    width: 100%;
    transition: transform 0.5s ease;
}

.slider-btn {
    background: var(--highlight);
    color: var(--black);
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    z-index: 1;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: baseline;
    place-content: center;
    flex-wrap: wrap;
    border-radius: 50%;
    border: none;
}

.slider-buttons {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    z-index: 2;
    display: flex;
    column-gap: 0.4rem;
}

/* LAST BIT */

.last {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    column-gap: 3rem;
    text-align: left;
    font-size: var(--fs-intro);
}

.last div {
    background-position: center;
    background-size: cover;
}

.last h3, .last p {
    margin-bottom: 1.5rem;
}

.last p:nth-last-child(1) {
    margin-bottom: 0;
}

/* EXTRAS */

.scanner-signoff {
    background-color: white;
}

.cav {
    color: red;
    font-size: 0.9rem;
    text-transform: uppercase;
    display: block;
    margin-top: 0.5rem;
    font-style: italic;
}

.post-password-form {
    padding-top: 10rem;
    padding-left: 2rem;
}

/* MEDIA QUERIES */

@media only screen and (max-width: 1130px) { 
    .uc-intro {
        grid-template-columns: 1fr;
        row-gap: 2rem;
    }
}

@media only screen and (max-width: 1000px) { 
    .project-grid {
        row-gap: 4rem;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        padding: 0;
    }

    .drawings {
        grid-template-columns: 1fr;
        row-gap: 2rem;
    }

    .last {
        grid-template-columns: 1fr;
        row-gap: 1.5rem;
    }

    .last div {
        min-height: 50vw;
    }
}

@media only screen and (max-width: 768px) { 
    :root {
        --margin-bottom: 5rem;
    }
    
    .uc-header-content {
        padding: 4rem 0;
        background: linear-gradient(180deg, var(--black-06) 0%, var(--black-03) 100%);
    }

    .uc-header-content h1 {
        font-size: 2.35rem;
    }

    .use-cases-template-default h2 {
        font-size: 2rem;
    }

    .use-cases-template-default h3 {
        font-size: 1.4rem;
    }

    .project-grid {
        font-size: 1.35rem;
    }

    .uc-intro {
        margin: 1.5rem 0 2.5rem 0;
    }

    .section-caption {
        grid-template-columns: 1fr;
        row-gap: 1.5rem;
    }

    .section-caption svg {
        max-width: 10rem;
        margin-left: auto;
    }

    .elevation img {
        margin-bottom: 2.5rem;
    }

    .elevation h3:nth-child(1) {
        margin-top: 0.75rem;
    }

    .uc-archive-header {
        padding: 0;
        aspect-ratio: 1;
        display: flex;
        align-items: center;
    }

    .uc-archive-header h1 {
        font-size: 2.5rem;
    }

    .uc-egs {
        grid-template-columns: 1fr;
    }

    .uc-egs h2 {
        font-size: 1.8rem;
    }

    .uc-archive-content {
        padding: 2.5rem 0;
    }
}

@media only screen and (max-width: 650px) { 
    .fp-toggle-grid span span, .fp-toggle-grid em {
        display: none;
    }

    .fp-switch {
        padding: 0.85rem;
    }

    .fp-toggle-grid span {
        font-size: 4vw;
    }

    .uc-intro {
        row-gap: 0;
    }

    .project-grid {
        row-gap: 3rem;
        grid-template-columns: repeat(2, 1fr);
    }
    
}

@media only screen and (max-width: 490px) { 
    .project-grid {
        grid-template-columns: 1fr;
    }

    .uc-eg-content {
        padding: 1.25rem;
    }
}