@font-face {
    font-family: OLG-Serif;
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src:
        url(/static/fonts/italic-400.ttf) format('ttf'),
        url(/static/fonts/italic-400.woff2) format('woff2');
}
@font-face {
    font-family: OLG-Serif;
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src:
        url(/static/fonts/roman-400.ttf) format('ttf'),
        url(/static/fonts/roman-400.woff2) format('woff2');
}
@font-face {
    font-family: OLG-Serif;
    font-style: italic;
    font-weight: 500;
    font-display: swap;
    src:
        url(/static/fonts/italic-500.ttf) format('ttf'),
        url(/static/fonts/italic-500.woff2) format('woff2');
}
@font-face {
    font-family: OLG-Serif;
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src:
        url(/static/fonts/roman-500.ttf) format('ttf'),
        url(/static/fonts/roman-500.woff2) format('woff2');
}
@font-face {
    font-family: OLG-Serif;
    font-style: italic;
    font-weight: 600;
    font-display: swap;
    src:
        url(/static/fonts/italic-600.ttf) format('ttf'),
        url(/static/fonts/italic-600.woff2) format('woff2');
}
@font-face {
    font-family: OLG-Serif;
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src:
        url(/static/fonts/roman-600.ttf) format('ttf'),
        url(/static/fonts/roman-600.woff2) format('woff2');
}
@font-face {
    font-family: OLG-Serif;
    font-style: italic;
    font-weight: 700;
    font-display: swap;
    src:
        url(/static/fonts/italic-700.ttf) format('ttf'),
        url(/static/fonts/italic-700.woff2) format('woff2');
}
@font-face {
    font-family: OLG-Serif;
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src:
        url(/static/fonts/roman-700.ttf) format('ttf'),
        url(/static/fonts/roman-700.woff2) format('woff2');
}
@font-face {
    font-family: OLG-Serif;
    font-style: italic;
    font-weight: 800;
    font-display: swap;
    src:
        url(/static/fonts/italic-800.ttf) format('ttf'),
        url(/static/fonts/italic-800.woff2) format('woff2');
}
@font-face {
    font-family: OLG-Serif;
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src:
        url(/static/fonts/roman-800.ttf) format('ttf'),
        url(/static/fonts/roman-800.woff2) format('woff2');
}
@font-face {
    font-family: OLG-Serif;
    font-style: italic;
    font-weight: 900;
    font-display: swap;
    src:
        url(/static/fonts/italic-900.ttf) format('ttf'),
        url(/static/fonts/italic-900.woff2) format('woff2');
}
@font-face {
    font-family: OLG-Serif;
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src:
        url(/static/fonts/roman-900.ttf) format('ttf'),
        url(/static/fonts/roman-900.woff2) format('woff2');
}
* {
    font-family: OLG-Serif;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
}
img.logo {
    width: 80px;
    cursor: pointer;
}
nav {
    display: none;
}
div.header-top {
    width: calc(100%-20px);
    max-width: 1024px;
    margin: 0 auto 0 auto;
    padding: 5px 10px 5px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
h1 {
    font-size: 2.75rem;
    font-weight: 600;
    margin: 0 0 40px 0;
}
h2 {
    font-weight: 600;
    font-size: 2rem;
    text-align: center;
}
h3 {
    font-weight: 400;
    font-size: 1.4rem;
    text-align: center;
}
section {
    padding: 50px 20px 50px 20px;
    border-top: 1px solid #1e87ff;
}
section:first-child {
    border: none;
    padding-top: 20px;
}
div.panes {
    display: flex;
    flex-direction: column-reverse;
    gap: 40px;
    margin-top: 40px;
}
div.image {
    height: 200px;
    background-image: url(/static/jpg/about.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
p, ul {
    font-size: 1.25rem;
}
ul {
    margin-left: 20px;
}
p {
    margin: 0 0 30px 0;
}
p:last-child {
    margin: 0;
}
label, select {
    display: block;
    font-size: 1.25rem;
}
label {
    margin: 30px 0 10px 0;
}
label[for="size"] {
    margin: 0 0 10px 0;
}
select {
    width: 100%;
}
a:link, a:visited {
    color: #1356A2;
    text-decoration: none;
}
a:hover {
    color: #000000;
}
a.underline {
    text-decoration: underline;
}
header button {
    width: 50px;
    height: 50px;
    border: none;
    background: transparent;
}
header svg {
    stroke: #196ed1;
}
main {
    margin: 0 auto 0 auto;
    width: 100%;
    max-width: 1024px;
    overflow: hidden;
}
.undisplayed {
    display: none;
}
div.product {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
div.gallery {
    flex: 1 1 50%;
}
div.description {
    flex: 1 1 50%;
}
img.feature {
    display: block;
    max-width: 100%;
}
div.thumbnails {
    /*display: flex;*/
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    margin: 5px 0 0 0;
}
div.thumbnail {
    flex: 1 1 25%;
    border-width: 3px;
    border-style: solid;
    border-color: transparent;
    cursor: pointer;
}
div.selected {
    border-color: #196ed1;
}
div.thumbnail img {
    display: block;
    max-width: 100%;
}

button.add-to-cart {
    background-color: #196ed1;
    color: #ffffff;
    padding: 10px 35px 10px 35px;
    font-size: 1.5rem;
    border: none;
    outline: none;
    cursor: pointer;
}

button.add-to-cart:hover {
    background-color: #1356A2;
}

div.actions {
    display: flex;
    flex-direction: column;
    justify-content: end;
    margin: 20px 0 0 0;
    gap: 20px;
}
div.price {
    flex: 1 1 auto;
    font-size: 2rem;
    text-align: center;
}

div.message {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    row-gap: 10px;
    column-gap: 20px;
}
div.message label {
    margin: 0;
    text-align: left;
}
div.message input, div.message textarea {
    font-size: 1.25rem;
    padding: 5px;
    width: 100%;
}
div.message textarea {
    height: 200px;
}

.loading-indicator {
    display: none;
}
.htmx-request .loading-indicator {
    display: block;
}
.htmx-request.loading-indicator {
    display: block;
}
.htmx-request div.form {
    display: none;
}
div.thank-you {
    background-color: #196ed1;
    color: #ffffff;
    font-size: 1.5rem;
    text-align: center;
    padding: 80px 10px 80px 10px;
}
div.menu a, div.menu a:visited {
    display: block;
    padding: 10px;
    border-top: 1px solid #1e87ff;
    color: #000000;
}
div.menu a:hover {
    background-color: #1e87ff;
    color: #ffffff;
}

@keyframes rotating {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
@keyframes hiding {
    0% {
        left: 100%;
    }

    20% {
        left: 0;
    }

    80% {
        left: 0;
    }

    100% {
        left: 100%;
    }
}
div.search-load-icon {
    width: 70px;
    height: 70px;
    margin: 50px auto 20px auto;
}
svg.search-load-icon {
    animation: rotating 2s linear infinite;
    width:70px;
    height:100%;
}
div.loading {
    margin-bottom: 50px;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    font-weight: 700;
    color: #cccccc;
    font-size: 2rem;
}
form.add-to-cart {
    position: relative;
    overflow: hidden;
    margin-top: 30px;
    z-index: 1;
}
div.added-to-cart {
    animation: hiding 1s linear;
    position: absolute;
    background-color: #1e87ff;
    color: #ffffff;
    width: 100%;
    height: 100%;
    text-align: center;
    font-size: 2rem;
    padding-top: 120px;
    top: 0;
    left: 100%;
    z-index: 2;
}

@media only screen and (min-width: 480px) {
    header {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        background-color: rgba(255, 255, 255, 0.90);
        box-shadow: 0 5px 5px rgba(0, 0, 0, 0.25);
        z-index: 1000;
    }
    header button, header div.menu {
        display: none;
    }
    div.thumbnails {
        grid-template-columns: 1fr 1fr 1fr 1fr;
        gap: 20px;
        margin: 20px 0 0 0;
    }
    nav {
        display: flex;
        justify-content: end;
        flex: 1 1 auto;
        gap: 30px;
    }
    nav a {

    }
}

@media only screen and (min-width: 600px) {
    div.thumbnails {
        gap: 5px;
        margin: 5px 0 0 0;
    }
    div.product {
        flex-direction: row;
        gap: 60px;
    }
    div.gallery {
        flex: 1 1 50%;
    }
    div.description {
        flex: 1 1 50%;
    }
    div.panes {
        gap: 40px;
        flex-direction: row;
    }
    div.text {
        flex: 1 1 70%;
    }
    div.image {
        flex: 1 1 50%;
        height: auto;
    }
    div.message {
        grid-template-columns: 1fr 3fr;
        row-gap: 20px;
    }
    div.message label {
        text-align: right;
    }
}

@media only screen and (min-width: 768px) {
    div.thumbnails {
        gap: 20px;
        margin: 20px 0 0 0;
    }
    img.logo {
        width: 120px;
    }
    div.actions {
        display: flex;
        flex-direction: row;
    }
    div.price {
        text-align: left;
    }
    div.added-to-cart {
        padding-top: 90px;
    }
}

@media only screen and (min-width: 1024px) {
}