:root {
    --bg: #fff;
    --fg: #000;
    --acc: #a6a6a6;
    --lurl: url("/static/images/lightninggray.png");
}

* {
    margin: 0;
    padding: 0;
}

body {
    font-size: 1.5rem;
    font-family: "Inter";
    background-color: var(--bg);
    color: var(--fg);
}

.center {
    display: grid;
    place-items: center;
}

main article {
    z-index: 1;
}

/* LINK STYLES */
/* --------------------------------- */
.button-link {
    background-color: var(--fg);
    color: var(--bg);
    text-decoration: none;
    padding: 8px;
    border-radius: 5px;
}
.button-link:hover {
    background-color: var(--acc);
}

.social-grid {
    display: flex;
    justify-content: center;
}
.social-grid a {
    width: 140px;
    height: 140px;
    padding: 24px;
}
.social-grid a img {
    width: 90%;
    height: 90%;
    margin: auto;
}
.social-grid a img:hover {
    width: 100%;
    height: 100%;
    transform: translateX(-5%) translateY(-5%);
}

.email-link {
    color: var(--fg);
    text-decoration: none;
    text-align: center;
}
.email-link:hover {
    text-decoration: underline;
}

/* --------------------------------- */

/* CHECKERBOARD BG*/
/* --------------------------------- */
.checkerboard {
    --tile: 40px;
    background-color: var(--fg);
    background:
        conic-gradient(
                from 90deg,
                var(--fg) 25%,
                var(--bg) 0 50%,
                var(--fg) 0 75%,
                var(--bg) 0
            )
            0 0 / calc(var(--tile) * 2) calc(var(--tile) * 2),
        conic-gradient(
                from 90deg,
                var(--bg) 25%,
                var(--fg) 0 50%,
                var(--bg) 0 75%,
                var(--fg) 0
            )
            var(--tile) var(--tile) / calc(var(--tile) * 2)
            calc(var(--tile) * 2);
    background-repeat: repeat;
}
/* --------------------------------- */

/* FOOTER */
/* --------------------------------- */
footer {
    height: 159px;
    display: flex;
    background-color: var(--bg);
    z-index: 99;
}
.ftext {
    font-family: "Serif";
    display: flex;
    justify-content: flex-end;
    padding: 0px;
    margin-top: auto;
    align-items: center;
    width: 100%;
    height: calc(var(--tile) - 1px);
    background-color: var(--bg);
    color: var(--fg);
}
.ftext p {
    margin-right: auto;
}
.ftext a {
    text-decoration: none;
    color: var(--fg);
}
.ftext a:hover {
    text-decoration: underline;
}
/* --------------------------------- */

/* HEADER LOGO */
/* --------------------------------- */
header {
    top: 0;
    position: sticky;
    display: flex;
    justify-content: center;
    background-color: var(--bg);
    z-index: 99;
}

.logo-container {
    padding: 12px 38px;

    background-color: var(--bg);
    background-image: var(--lurl);
    background-size: contain;
    background-repeat: no-repeat;
    background-position-x: 50%;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-container h1 {
    font-family: "Inter";
    font-weight: bolder;
}
.logo-container p {
    font-family: "Google Sans Code";
}

/* --------------------------------- */

/* NAVIGATION BAR */
/* --------------------------------- */
nav {
    font-family: "Google Sans Code";
    display: flex;
    justify-content: center;
    background-color: var(--bg);
}

nav a,
nav button {
    font-family: "Google Sans Code";
    background-color: var(--bg);
    font-size: 1.5rem;
    padding: 4px;
    margin: 0px 8px;

    color: var(--fg);
    text-decoration: none;
    border: none;
}

nav a:hover {
    /*background-color: var(--acc);*/
    text-decoration: underline;
}

nav button:hover {
    background-color: var(--bg);
    cursor: pointer;
}

#nav-drop {
    display: none;
}

@media screen and (max-width: 900px) {
    nav {
        flex-direction: column;
        text-align: center;
    }
    nav a,
    nav button {
        margin: 0px;
    }
    #nav-drop {
        display: inline;
    }
    .navlink {
        display: none;
    }
}

/* --------------------------------- */

/* BACKGROUND VIDEO WITH CAPTION */
/* --------------------------------- */
.video-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-position: fixed;
}

.video-container video {
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    transform: translateX(-10%) translateY(-40%);
    position: absolute;

    z-index: -1;

    opacity: 0.38;
    overflow: hidden;
    pointer-events: none;
}

@media (max-width: 900px) {
    .video-container video {
        transform: translateX(-20%) translateY(-40%);
    }
}
/*@media (-webkit-min-device-pixel-ratio: 0) {
    .video-container video {
        display: none;
    }
}*/

.video-caption {
    text-align: center;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Serif";
}
/* --------------------------------- */

/* HOR CENTERED ARTICLES */
/* --------------------------------- */
.centered-article {
    margin: auto;
    padding: 0 8px;
    min-width: 50%;
    max-width: 900px;
}
.centered-80 {
    margin: auto;
    padding: 0 8px;
    min-width: 50%;
    max-width: 80%;
}

.centered-article h1,
.centered-80 h1 {
    text-align: center;
    padding: 32px 0px;
}

@media (max-width: 900px) {
    .centered-article,
    .centered-80 {
        max-width: 100%;
    }
}
/* --------------------------------- */

/* SPLIT IMAGE CONTAINER */
/* --------------------------------- */
.split-img {
    display: flex;
    align-items: center;
}
.split-img img {
    flex-shrink: 4;
    margin: 20px;
    max-width: 600px;
    min-width: 50%;
}
.split-frame {
    display: flex;
    align-items: center;
    justify-content: center;
}
.split-frame p {
    padding-left: 20px;
    text-align: center;
}

@media (max-width: 1300px) {
    .split-img {
        flex-wrap: wrap;
    }
    .split-img img {
        max-width: 100%;
    }

    .split-frame {
        flex-wrap: wrap-reverse;
    }
    .split-frame p {
        padding: 0px;
    }
}
/* --------------------------------- */

/* Menu item cards */
/* --------------------------------- */
.menu-item {
    display: flex;
    flex-direction: column;
}

.mitem-bullet {
    height: 76px;
}

.mitem-header {
    display: flex;
    align-content: center;
}

.mitem-htext h2 {
    padding: 0;
}
.mitem-htext h6 {
    font-family: "Google Sans Code";
    font-style: italic;
}

.mitem-price {
    margin-left: auto;
}

.mitem-descript {
    max-width: 68%;
    text-align: center;
    margin-top: 16px;
    margin-bottom: 24px;
    align-self: center;
    font-weight: bolder;
}

.topping-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    list-style-type: none;
    max-width: 100%;
}

@media screen and (max-width: 900) {
}

/* --------------------------------- */

/* HOME PAGE SECTIONS */
/* --------------------------------- */
#intro {
    width: 100%;
    height: calc(74vh - 157px);
    font-size: 1.8rem;
}
#about {
    font-size: 1.6rem;
}
#about p {
    font-family: "Google Sans Code";
}
#hours .split-frame {
    font-family: "Google Sans Code";
}
#contact {
    min-height: calc(100vh - 318px);
}

@media screen and (max-width: 900px) {
    #intro {
        font-size: 1rem;
    }
    #about {
        font-size: 1rem;
    }
    #special {
        font-size: 1rem;
    }
    #social {
        font-size: 1rem;
    }
    #hours {
        font-size: 1rem;
    }
    #menu {
        font-size: 1rem;
    }
    #mods-p {
        max-width: 100%;
    }

    #contact {
        font-size: 1rem;
    }
    .menu-item {
        font-size: 1rem;
    }
    .topping-grid {
        grid-template-columns: 1fr 1fr;
    }
    .mitem-bullet {
        height: 42px;
    }
    .mitem-descript {
        max-width: 100%;
    }

    footer {
        font-size: 1rem;
    }
}

/* --------------------------------- */
