/*
Theme Name: Kingston Skateboarding
Author: Joe Pelow
Author URI: https://kingstonskateboarding.ca
Description: Theme for Kingston Skateboarding
Version: 1.0
*/

/*  CSS Reset */

html,
body {
    border: none;
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
address,
big,
cite,
code,
em,
font,
img,
small,
strike,
sub,
sup,
li,
ol,
ul,
fieldset,
form,
label,
legend,
button,
table,
caption,
tr,
th,
td {
    border: none;
    font-size: inherit;
    line-height: inherit;
    margin: 0;
    padding: 0;
    text-align: inherit;
}

blockquote::before,
blockquote::after {
    content: "";
}


/*  Variables */

:root {
    --white: #FFF;
    --black: #000;
    --brand: #DAE13B;
}


/* Document Setup */

*,
::after,
::before {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    outline: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::-moz-selection {
    background-color: rgba(0, 0, 0, .99);
    color: var(--white);
}

::selection {
    background-color: rgba(0, 0, 0, .99);
    color: var(--white);
}

:focus {
    outline: none;
}

::-moz-focus-inner {
    border: 0;
}

select:-moz-focusring {
    color: transparent;
    text-shadow: none;
}

html {
    font-size: 16px;
    line-height: 1.4;
    font-family: sans-serif;
    scroll-behavior: smooth;
}


body {
    background-color: var(--white);
    color: var(--black);
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Bricolage Grotesque", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-variation-settings:
        "wdth" 100;
    letter-spacing: -1.5%;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

p:last-child {
    margin-bottom: 0;
}

a {
    text-decoration: none;
    transition: .2s ease;
}

a:hover,
a:focus {
    color: var(--link-hover);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    border: 0;
}

#site-wrapper {
    height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

#logo {
    margin: 25px 0;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-shrink: 0;

    @media (max-width: 600px) {
        margin: 40px 0;
    }
}

#marquee {
    overflow: hidden;
    width: 100%;
    position: relative;
    flex-shrink: 0;
}

#marquee-track {
    display: inline-flex;
    white-space: nowrap;
    will-change: transform;
}

#marquee-track {
    & h1 {
        display: inline-block;
        margin: 0;
        padding-right: .25em;
        font-size: 8vw;
        white-space: nowrap;
        line-height: 1;

        @media (max-width: 600px) {
            font-size: 12vw;
        }
    }
}

#message {
    width: 100%;
    height: 100%;
    max-height: 400px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    & p {
        font-size: 2rem;
        text-align: center;

        @media (max-width: 600px) {
            & {
                font-size: 1.5rem;
            }
        }
    }
}

.button {
    background-color: var(--black);
    color: var(--white);
    padding: 15px 25px;
    border-radius: 999px;
    font-family: "Bricolage Grotesque", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-variation-settings:
        "wdth" 100;
    letter-spacing: -1.5%;
    font-size: 1.5rem;
    margin-top: 20px;
    text-align: center;

    &:hover,
    &:focus {
        color: var(--brand);
    }

    @media (max-width: 600px) {
        & {
            font-size: 1rem;
        }
    }
}

#animation {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    display: flex;
    justify-content: center;

    & video {
        width: 108vw;
        position: absolute;
        bottom: -125px;

        @media (max-width: 1200px) {
            & {
                width: 1300px;
            }
        }

        @media (max-width: 600px) {
            & {
                top: initial;
                bottom: -50px;
                width: 900px;
            }
        }
    }
}
