html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    background: var(--background-color);
    margin: 0;
    position: relative;
}

* {
    box-sizing: border-box;
    position: relative;
    max-width: 100%;
    transition: .25s;
}

img {
    height: auto;
}

/* Chromium Scrollbar styles */
::-webkit-scrollbar {
    background-color: var(--background-color);
    width: 20px;
}

::-webkit-scrollbar-track {
    background-color: var(--background-color);
}

::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
}


/* Firefox scrollbar styles */
:root {
    scrollbar-color: var(--primary-color) #222;
    scrollbar-width: thick;
}

::selection {
    background-color: var(--primary-color);
    color: var(--background-color);
    ;
}

.logo {
    max-width: 6em;
    margin-bottom: .5rem;
}

nav {
    position: fixed;
    top: 4rem;
    right: 0;
    z-index: 900;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

nav .nav-links {
    padding: .5em .5em .5em .5em;
    background: var(--primary-color);
    box-shadow: 0 .1em .8em -.2em black;
    color: var(--primary-color);
    font-weight: 600;
    font-size: .8rem;
    line-height: 1.5em;
    display: flex;
    flex-direction: column;
}

nav a {
    transition: .25s;
    color: var(--background-color);
}

nav a:hover {
    opacity: .5;
}

/* Dynamic grid */
.grid-layout {
    --max-columns: var(--grid-max-columns);
    --min-column-width: 10rem;
    --gap: 1rem;

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, max(var(--min-column-width), 100%/var(--max-columns) - var(--gap))), 1fr));
    grid-gap: var(--gap);

    width: 100%;
}

.grid-layout-two {
    --grid-max-columns: 2;
}

.grid-layout-three {
    --grid-max-columns: 3;
}

.grid-layout-four {
    --grid-max-columns: 4;
}

/* Main styles */
main {
    display: grid;
    place-items: center;
    position: relative;
}

main .title-area {
    font-size: calc(1rem + .2vw);
    text-align: left;
    margin: 0;
}

main .title-area h1 {
    font-size: 3vw;
    font-weight: 800;
    line-height: 1em;
    margin: 0;
    max-width: max-content;
}

main .title-area p {
    font-weight: 600;
}

/* Text Styles */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--title-font);
    font-weight: 600;
    color: var(--font-color)
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin: 0;
    line-height: var(--page-line-height);
    color: var(--font-color)
}

a {
    text-decoration: none;
}

ul,
ol {
    padding: 0em 1em;
    margin: 0;
}

::marker:not(footer) {
    color: var(--primary-color);
}

/* Button styles */
.button {
    max-width: max-content;
    background: var(--primary-color);
    color: white;
    font-weight: bold;
    padding: .5em 1em;
    display: grid;
    place-items: center;
    border-radius: 100rem;
    font-size: .8em;
}

.readmore {
    background: transparent;
    color: var(--primary-color);
    border: .25em solid currentcolor;
}

/* Blurb styles */
.blurb {
    display: flex;
}

/* Content styles */
section {
    background: var(--background-color);
    padding: var(--section-padding);
    display: grid;
    place-items: center;
    position: relative;
}

.content {
    width: 95%;
    max-width: var(--content-max-width);
    display: flex;
    flex-direction: column;
    gap: var(--paragraph-gap);
}

.content h2 {
    font-weight: 600;
    font-size: 1.2rem;
}

/* Footer styles */
footer {
    padding: 1rem;
    background: #222;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

footer ::selection,
nav ::selection {
    background-color: var(--secondary-color);
    color: black;
}

footer>* {
    width: var(--content-width);
    max-width: 95%;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

footer * {
    color: white;
}

.footer-bottom {
    --bottom-footer-spacing: 1rem;
    margin-top: calc(var(--bottom-footer-spacing) * 0.5);
    padding-top: calc(var(--bottom-footer-spacing) * 0.5);
    border-top: calc(var(--bottom-footer-spacing) * 0.05) solid var(--background-color);
}

.footer-bottom p {
    font-size: .8em;
}

footer .lordicon-mention {
    margin: 0 auto 0 0;
}

footer a,
footer p {
    transition: .25s;
    line-height: 1.5em;
}

footer a:hover,
footer a:focus {
    opacity: 0.5;
}

/* Opening hours styles */
.opening-hours {
    display: grid;
    grid-template-columns: .25fr 1fr;
    gap: .15rem 0rem;
    max-width: 100%;
}

.opening-hours div:not(:nth-last-child(-n+2)) {
    padding: .15rem;
    border-bottom: .1rem solid #ddd;
    text-align: left;
}

.opening-hours div:nth-child(2n) {
    text-align: right;
}

.opening-hours>div:nth-child(n+9):nth-child(-n+10) {
    padding: .15rem;
}

@keyframes wheel {
    to {
        opacity: 0;
        top: .62em;
    }
}

/* Dropcap */
#dropcap::first-letter {
    font-size: 2.4em;
    font-weight: bold;
    float: left;
    margin: 0.15em 0.1em -.2em 0;
    line-height: .8em;
}

/* Responsive */
/* Tablet and below */
@media all and (max-width: 980px) {
    nav {
        top: 1rem;
    }

    .grid-layout-four {
        --grid-max-columns: 1;
    }

    .logo {
        display: none;
    }

    .title-area {
        max-width: 95%;
    }
}

/* Font Imports */
/* dosis-200 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Dosis';
    font-style: normal;
    font-weight: 200;
    src: url('../fonts/dosis-v32-latin-200.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* dosis-300 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Dosis';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/dosis-v32-latin-300.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* dosis-regular - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Dosis';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/dosis-v32-latin-regular.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* dosis-500 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Dosis';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/dosis-v32-latin-500.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* dosis-600 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Dosis';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/dosis-v32-latin-600.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* dosis-700 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Dosis';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/dosis-v32-latin-700.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* dosis-800 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Dosis';
    font-style: normal;
    font-weight: 800;
    src: url('../fonts/dosis-v32-latin-800.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* lexend-deca-300 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Lexend Deca';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/lexend-deca-v21-latin-300.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* lexend-deca-regular - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Lexend Deca';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/lexend-deca-v21-latin-regular.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* lexend-deca-500 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Lexend Deca';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/lexend-deca-v21-latin-500.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* lexend-deca-700 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'h1';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/lexend-deca-v21-latin-700.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* lexend-deca-900 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Lexend Deca';
    font-style: normal;
    font-weight: 900;
    src: url('../fonts/lexend-deca-v21-latin-900.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}