@font-face {
    font-family: 'Arial Narrow';
    src: url(../fonts/ArialNarrow.ttf) format('truetype');
}

body {
    font-family: Arial, sans-serif;
    margin: .5em;
    font-size: 32px;
}

h1,
h2,
h4,
p {
    font-weight: normal;
    margin: 0 0 1em 0;
    line-height: .9em;
}

h1,
h2,
p {
    font-family: Arial, sans-serif;
    font-size: 1em;
    letter-spacing: -0.05rem;
}

a {
    font-family: 'Times New Roman', serif;
}

h2 {
    margin-bottom: .5em;
}

h4 {
    font-family: 'Arial Narrow', sans-serif;
    font-size: 4em;
    letter-spacing: -0.2rem;
}

img {
    width: 100%;
}

header {
    position: sticky;
    top: .5em;
    display: flex;
    justify-content: space-between;
    margin-bottom: .5em;
}

header h1 {
    text-transform: lowercase;
    text-shadow: 0 0 .3em white, 0 0 .3em white;
}

header img {
    -webkit-filter: drop-shadow(0 0 .3em white);
    filter: drop-shadow(0 0 .3em white);
}

.logo * {
    font-family: Arial, sans-serif;
    text-decoration: none;
    color: black;
}

.blue {
    color: white;
    background-color: blue;
}

.blue a {
    color: white;
}

.btn-cart {
    width: 2em;
    height: 2em;
    cursor: pointer;
}

.btn-cart:hover {
    transform: rotate(10deg);
}

#cart {
    position: fixed;
    width: 360px;
    left: 100vw;
}

#cart.active {
    left: auto;
    right: .5em;
}

.layout {
    width: 100%;
}

@media (min-width: 975px) {
    .layout {
        display: flex;
        gap: .25em;
    }

    .layout>.col {
        flex: var(--span);
    }
}

.product-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1em;
}

.product-gallery>img {
    aspect-ratio: 1/1;
    flex: 22%;
    width: 25%;
}

footer p {
    margin-bottom: 0;
}

@media screen and (max-width: 512px) {
    body {
        font-size: 6.25vw;
    }

    #cart {
        width: calc(100vw - 1em);
    }
}