/*
Theme Name: VCFE
Author: nufsenk
Version: 1.0
Description: beyonce horizontally scrollable site
*/

@import url('https://fonts.googleapis.com/css2?family=Asimovian&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Manufacturing+Consent&display=swap');

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background: #121212;
    color: #eaeae1;
    font-family: 'Asimovian', sans-serif;
}

body {
    overflow: hidden;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 30;
    width: 100%;
    padding: 24px 32px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    background: transparent;
}

.site-logo,
.site-header a {
    color: inherit;
    text-decoration: none;
}

.header-left {
    justify-self: end;
    margin-right: 100px;
}

.header-right {
    justify-self: start;
    margin-left: 100px;
}

.site-logo {
    grid-column: 2;
    text-align: center;
}

.mobile-menu-toggle,
.mobile-menu {
    display: none;
}

.gallery {
    display: flex;
    width: 100vw;
    height: 100vh;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.gallery::-webkit-scrollbar {
    display: none;
}

.gallery-slide {
    flex: 0 0 auto;
    width: auto;
    height: 100vh;
}

.gallery-slide img,
.gallery-slide video {
    display: block;
    width: auto;
    height: 100%;
    object-fit: contain;
}

.gallery img,
.gallery video {
    user-select: none;
    -webkit-user-drag: none;
}

.page-content {
    padding: 120px 32px 32px;
}

@media (max-width: 768px) {
    body {
        overflow: auto;
    }

    .gallery {
        flex-direction: column;
        height: auto;
        overflow: visible;
    }

    .gallery-slide {
        width: 100%;
        height: auto;
        flex: none;
    }

    .gallery-slide img,
    .gallery-slide video {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .site-header {
        height: 64px;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 20px;
    }

    .desktop-nav {
        display: none;
    }

    .site-logo {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        white-space: nowrap;
        line-height: 1;
    }

    .mobile-menu-toggle {
        display: block;
        position: absolute;
        top: 50%;
        right: 20px;
        transform: translateY(-50%);
        z-index: 32;
        padding: 0;
        border: 0;
        background: transparent;
        color: #eaeae1;
        font: inherit;
        line-height: 1;
        cursor: pointer;
    }

    .mobile-menu {
        display: flex;
        position: fixed;
        inset: 0;
        z-index: 20;
        flex-direction: column;
        align-items: flex-start;
		padding-left: 32px;
        justify-content: center;
        gap: 28px;
        background: #121212;
        transform: translateY(-100%);
        visibility: hidden;
        transition: transform 0.35s ease,
                    visibility 0s linear 0.35s;
    }

    .mobile-menu.is-open {
        transform: translateY(0);
        visibility: visible;
        transition: transform 0.35s ease, visibility 0s;
    }

	.mobile-menu a {
    	font-family: 'Manufacturing Consent', serif;
   		color: #eaeae1;
    	text-decoration: none;
    	font-size: 70px;
}
}

.site-logo img {
    display: block;
    width: 35px;
    height: 35px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .site-logo img {
        width: 40px;
        height: 40px;
    }
}

.site-header {
    mix-blend-mode: difference;
}

.desktop-nav {
    font-size: 14px;
}

.gallery img {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
}

.mobile-menu a.current-page {
    font-style: italic;
}

/* Support link: smaller on mobile */
.mobile-menu a.support-link {
    font-family: 'Asimovian', sans-serif;
    font-size: 18px;
    margin-top: 12px;
}

.mobile-copyright {
    display: none;
}

@media (max-width: 768px) {
    .mobile-copyright {
        display: block;
        font-size: 11px;
        font-family: 'Asimovian', sans-serif;
        color: #eaeae1;
        margin-top: 12px;
    }
}

.site-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 32px;
    font-size: 12px;
}

.site-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 25;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 32px;
    font-size: 12px;
}

body.home .site-footer {
    mix-blend-mode: difference;
}

@media (max-width: 768px) {
    .site-footer {
        display: none;
    }
}

.site-footer a,
.site-footer a:visited,
.site-footer a:hover,
.site-footer a:active {
    color: inherit;
    text-decoration: none;
}