@charset "utf-8";
/* CSS Document */

:root {
    --sf-hamburger-menu-padding: 20px;
    --sf--preset--color--foreground: #ffffff;
    --sf--preset--color--background: #000000;
    --sf--preset--color--text-secondary: #999999;
    --sf--preset--color--text-link: #d6001c;
}

a {
    transition: all 0.5s ease;
}

a, a:hover, a:focus, a:active {
    text-decoration: none;
}

a:hover {
    color: var(--sf--preset--color--text-link);
}

html, body {
    overflow-x: hidden;
}

body {
    position: relative
}

body {
    font-family: Poppins, sans-serif;
    font-weight: 400;
    color: var(--sf--preset--color--foreground);
    background-color: var(--sf--preset--color--background);
    margin: 0;
}

header {
    text-align: center;
    padding-top: 0;
    padding-right: 0;
    padding-bottom: clamp(20px, 2vw, 30px);
    padding-left: 0;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    width: 100%;
}

#sf-shopnav-container {
    position: relative; /* This ensures that the absolute positioning of the hamburger menu is relative to this container */
    z-index: 500;
}

#sf-hamburger-menu {
    position: absolute;
    top: 0;
    right: 0;
    display: inline-block; /* Start with the hamburger menu visible */
    cursor: pointer;
    padding: var(--sf-hamburger-menu-padding); /* Provides space around the hamburger for easier tapping */
    margin-right: 20px;
    transition: 0.4s; /* Smooth transition for the animation */
    z-index: 500;
}

#sf-hamburger-menu.active {
    transform: rotate(90deg);
}

/* Styling for the hamburger icon bars */
#sf-hamburger-menu div {
    width: 28px;
    height: 3px;
    margin: 8px 0 0; /* Spacing between the hamburger bars */
    background-color: var(--sf--preset--color--foreground);
    transition: 0.4s; /* Smooth transition for the animation */
}

#sf-hamburger-menu div:first-child {
    margin: 0; /* Spacing between the hamburger bars */
}


#sf-shopnav {
    display: grid;
    grid-template-columns: 1fr repeat(3, auto);
    grid-column-gap: 30px;
    justify-items: right;
    list-style-type: none;
    font-family: Poppins, sans-serif;
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 700;
    padding-left: 0;
    padding-right: 100px;
    padding-top: 21px;
    padding-bottom: 21px;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out;
    opacity: 0;
    visibility: hidden;
}

#sf-shopnav.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    animation: fadeIn 0.6s ease-in-out; /* Smoother entrance when it overlaps with hamburger icon */
}

#sf-shopnav .sf-logo-link-image,
#sf-shopnav .sf-logo-link-text {
    display: flex;
}

#sf-shopnav li {
    margin-right: auto;
}

#sf-shopnav li:first-child a {
    display: none; /* Only show this logo on mobile menu */
    width: clamp(240px, 28vw, 512px);
    margin: 0;
    text-indent: 100%; /* Hide text off page */
    white-space: nowrap; /* Hide text off page */
    overflow: hidden; /* Hide text off page */
    font-size: 0; /* Hide text off page - just in case it is somehow still on page */
}

#sf-shopnav li a {
    color: var(--sf--preset--color--foreground);
}

#sf-shopnav li a:hover {
    color: var(--sf--preset--color--text-link);
}

#sf-logo #sf-word-mark-with-reg,
#sf-logo #sf-slogan {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.4s ease-in, visibility 0s ease-in 0s;
}

/* Keyframes for slide-down and fade-in animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes slideFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideFadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

.video-logo-container {
    width: 100%;
    margin-top: -5vw;
    margin-left: 5%; /* Center the scaled-down video */
}

#video-logo {
    width: 90%;
    height: auto;
    object-fit: cover;
    overflow: hidden;
    display: block;
}

#slogan {
    margin-top: -5vw;
}

#slogan h2 {
    font-size: 4vw;
    margin: 0;
}

h1 {
    background: url('../images/strategic-fit-card-sleeves-logo.png') no-repeat center center;
    background-size: contain;
    width: 100%;
    height: 0;
    padding-top: 48%;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    margin: 5vw 0;
}

.fade-in {
    animation: fadeIn 3s ease-in-out;
}

.fade-out {
    animation: fadeOut 3s ease-in-out;
}

section h2 {
    font-family: 'a Area Kilometer 50', sans-serif;
    text-transform: lowercase;
    font-size: 3.8vw;
    font-weight: 400;
    display: block;
    margin-top: clamp(10px, 2vw, 30px);
    margin-right: 0;
    margin-bottom: clamp(10px, 2vw, 30px);
    margin-left: 0;
    text-align: center;
    color: #fff;
}

#shop h3 {
    font-family: 'a Area Kilometer 50', sans-serif;
    text-transform: lowercase;
    font-size: clamp(48px, 6vw, 76px);
    font-weight: 400;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    padding: clamp(20px, 2vw, 30px);
    text-align: center;
}

#shop h3 a {
    color: #fff;
    text-decoration: none;
}

/* Default state (hidden) */
.slide-fade {
    opacity: 0;
    transform: translateY(3vh);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

/* State when sliding up and becoming visible */
.slide-up-visible {
    opacity: 1;
    transform: translateY(0);
    animation: fadeIn 1s ease-out forwards;
}

/* State when sliding down and becoming visible */
.slide-down-visible {
    opacity: 1;
    transform: translateY(0);
    animation: fadeIn 1s ease-out forwards;
}

/* Additional specific transitions */
.slide-up-visible:not(.slide-down-visible) {
    transform: translateY(-3vh);
}

.slide-down-visible:not(.slide-up-visible) {
    transform: translateY(3vh);
}

footer {
    padding-bottom: clamp(10px, 5vh, 100px);
}

#sf-footnav {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    list-style-type: none;
    font-family: Poppins, sans-serif;
    text-transform: capitalize;
    font-size: clamp(14px, 1.6vw, 20px);
    font-weight: 400;
    line-height: 2.0vw;
    padding-left: 0;
    margin-top: clamp(100px, 8.0vw, 150px);
}

#sf-footnav li {
    padding-left: clamp(28px, 2vw, 36px);
}

#sf-footnav li:first-child {
    padding-left: 0;
}

#sf-footnav li a {
    color: var(--sf--preset--color--foreground);
}

#sf-footnav li a:hover {
    color: var(--sf--preset--color--text-link);
}

#sf-copyright {
    text-align: center;
    margin: 0 auto;
    font-size: clamp(10px, 1.6vw, 16px);
    width: 100%;
    color: var(--sf--preset--color--text-secondary);
}

/* Gradient overlay at the top */
.fade-overlay-top {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 12vh;
    background: linear-gradient(to bottom, #000, transparent);
    z-index: 50;
    pointer-events: none; /* Prevent it from blocking clicks for clickable elements under it */
}

/* Gradient overlay at the bottom */
.fade-overlay-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 12vh;
    background: linear-gradient(to top, #000, transparent);
    z-index: 50;
    pointer-events: none; /* Prevent it from blocking clicks for clickable elements under it */
}

@media screen and (max-width: 48.8125em) {

    html.sf-has-shopnav-open {
        overflow: hidden; /* Disable scrolling for whole page when modal of shop navigation is open */
    }

    #sf-shopnav-container {
        margin-top: -20px;
    }

    #sf-shopnav.active {
        width: 100%;
        height: 110vh; /* Extra long to make sure it blocks all content */
        background: var(--sf--preset--color--background);
        display: flex;
        flex-direction: column;
        justify-content: start;
        padding-left: max(1.75rem, 5vw);
        animation: none;
    }

    #sf-shopnav li:first-child a {
        display: inline-block; /* Only show this logo on mobile menu */
        width: clamp(300px, 50vw, 600px);
        transition: 0.4s;
    }

    #sf-shopnav.active li:not(:first-child) {
        padding-top: clamp(34px, 6.5vw, 50px);
        font-size: clamp(20px, 6.0vw, 36px);
    }

    #sf-hamburger-menu {
        margin-top: 15px;
    }

    /* Adjustments for the animation of the hamburger icon */
    #sf-hamburger-menu.active {
        transform: rotate(0deg);
    }

    #sf-hamburger-menu.active .bar1 {
        transform: rotate(-45deg) translate(-7px, 7px);
        width: 32px;
    }

    #sf-hamburger-menu.active .bar2 {
        opacity: 0;
    }

    #sf-hamburger-menu.active .bar3 {
        transform: rotate(45deg) translate(-8px, -9px);
        width: 32px;
    }

    .video-logo-container {
        margin-left: -10%; /* Crop the scaled-up video to center it */
    }

    #video-logo {
        width: 120%;
    }

    #slogan {
        margin-top: -6vw;
    }

    #slogan h2 {
        font-size: 8.5vw;
    }

    #shop h3 {
        font-size: 8.5vw;
        padding: clamp(10px, 5vw, 30px);
    }

    #about p {
        font-size: 4.5vw;
        line-height: 5vw;
        margin: 4vw auto;
        max-width: 85vw;
    }
}


@media screen and (max-width: 25.875em) {
    /* Only show SF image mark when hamburger menu icon is about to collide with the full logo */
    #sf-logo #sf-word-mark-with-reg,
    #sf-logo #sf-slogan {
        visibility: hidden;
        opacity: 0;
        transition: opacity 0.4s ease-in, visibility 0s ease-in 0.4s;
    }
}
