:root {
    --purple-gradient: linear-gradient(75deg, rgb(101, 0, 141), rgb(29, 22, 100), rgb(101, 0, 141));
    --purple-gradient-inv: linear-gradient(75deg, rgb(29, 22, 100), rgb(101, 0, 141), rgb(29, 22, 100));
}

h1 {
    background-image: url("/img/store_topbar.svg");
}

@media screen and (max-width: 1100px) {
    h1 {
        font-size: 14pt;
    }
}

.storenav {
    z-index: 1;
    color: white;
}

.storenav nav {
    z-index: 1;
    margin: auto;
    margin-top: 40px;
    position: relative;
    width: clamp(320px, 50vw, 100%);
}

.storenav nav h2 {
    font-size: 1.5rem;
    border-radius: 20px;
    position: relative;
    background: var(--purple-gradient) border-box, linear-gradient(to right bottom, #5fdaff, #df0cff), var(--purple-gradient) border-box;
    height: 40px;
    text-transform: uppercase;
    margin-bottom: 0;
    color: inherit;
    font-weight: 200;
    display: flex;
    flex: 1;
    justify-content: center;
    align-items: center;
    box-shadow: 4px 4px 20px -2px rgba(0, 0, 0, 0.35);
    transition: all 0.4s;
}

.storenav nav:hover h2 {
    transform: translateY(-2px);
    box-shadow: 2px 2px 5px -1px rgba(0, 0, 0, 0.35);
    transition: all 0.4s;
}

.storenav #toggle {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 1;
    opacity: 0;
    cursor: pointer;
    height: 40px;
}

.storenav h2::before {
    position: absolute;
    right: 0;
    top: 0;
    height: inherit;
    aspect-ratio: 1;
    background: currentColor;
    display: flex;
    align-items: center;
    padding-right: 1rem;
    content: "";
    clip-path: polygon(50% 25%, 20% 80%, 80% 80%);
    transform: rotate(180deg) scale(0.75);
}

.storenav #toggle:not(:checked)~h2::before {
    transform: rotate(0deg) scale(0.75);
}

.storenav #toggle:focus~h2 {
    background: var(--purple-gradient-inv) border-box, linear-gradient(to right bottom, #df0cff, #5fdaff), var(--purple-gradient-inv) border-box;
    transition: background 0.45s;
}

.storenav #toggle:checked~ul {
    visibility: hidden;
    opacity: 0;
}

.storenav #toggle:not(:checked)~ul {
    opacity: 1;
    transition: opacity 0.7s ease-in-out;
}


.storenav nav ul {
    z-index: 1;border-radius: 20px;
    padding: 5px;
    margin-top: 0;
    background: #33005e;
    list-style: none;
    overflow: hidden;
    text-align: right;
    text-align: center;
    transition: all 0.4s ease-out;
    width: 100%;
    position: absolute;
}

.storenav nav ul li {
    z-index: 1;
    border-radius: 20px;
    position: relative;
    display: inline-block;
    line-height: 1.5;
    width: 100%;
    margin: 0 0 0.25rem 0;
    background: var(--purple-gradient) border-box, linear-gradient(to right bottom, #5fdaff, #df0cff), var(--purple-gradient) border-box;
    transition: background 3s;
    box-shadow: 2px 2px 10px -2px rgba(0, 0, 0, 0.35);
}

.storenav nav ul li:hover,
.storenav nav ul li a:focus {
    background: var(--purple-gradient-inv) border-box, linear-gradient(to right bottom, #df0cff, #5fdaff), var(--purple-gradient-inv) border-box;
    transition: background 0.45s;
}

.storenav nav ul a {
    display: block;
    color: inherit;
    text-transform: uppercase;
    font-weight: 200;
    text-decoration: none;
}


.storenav .container {
    max-width: 55ch;
    margin: auto;
    color: #36454F;
}

.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    padding-top: 100px;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
}

/* Modal Content */

.modal-content {
    background-color: #7f8d9a;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80vw;
}

/* The Close Button */

.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.charity {
    display: flex;
    justify-content: center;
    align-items: center;
}

.charity p {
    font-size: 16px;
    text-transform: uppercase;
    font-family: 'Gambetta', serif;
    letter-spacing: -1px;
    transition: 700ms ease;
    color: PaleGoldenRod;
    text-align: center;
}

.charity {
    display: flex;
    justify-content: center;
    align-items: center;
}

.charity p {
    font-size: 16px;
    text-transform: uppercase;
    font-family: 'Gambetta', serif;
    letter-spacing: -1px;
    transition: 700ms ease;
    color: PaleGoldenRod;
    text-align: center;
}

.charity p:hover {
    letter-spacing: 2px;
}

.freeShipping {
    position: fixed;
    top: 20px;
    right: 10px;
}

.freeShipping img {
    position: absolute;
    top: -10px;
    right: 10px;
    max-width: 10vw;
    transform: rotate(15deg)
}

@media screen and (max-width: 1100px) {
    .freeShipping img {
        max-width: 20vw;
        top: 100px;
    }
}

.jbutton {
    opacity: 0.9;
    border: solid .25em transparent;
    font-weight: bold;
    font-size: 1rem;
    border-radius: 9em;
    background: var(--purple-gradient) border-box, linear-gradient(to right bottom, #5fdaff, #df0cff), var(--purple-gradient) border-box;
    -webkit-background-clip: text, padding-box, border-box;
    background-clip: text, padding-box, border-box;
    -webkit-text-fill-color: transparent;
    z-index: -1;
}

.jbutton:hover {
    border: solid .25em transparent;
    background: var(--purple-gradient-inv) border-box, linear-gradient(to right bottom, #df0cff, #5fdaff), var(--purple-gradient-inv) border-box;
    -webkit-background-clip: text, padding-box, border-box;
    background-clip: text, padding-box, border-box;
    -webkit-text-fill-color: transparent;
    z-index: -1;
}
.checkbox-round {
    width: 1.3em;
    height: 1.3em;
    border-radius: 50%;
    border: solid .2em transparent;
}
@media screen and (max-width: 1100px) {


    .jbutton {
        border: solid .2em transparent;
    }

    .jbutton:hover {
        border: solid .2em transparent;
    }
}

@-moz-document url-prefix() {
    .jbutton {
        -webkit-text-fill-color: #bc93ff;
        border: solid .25em #6610f2;
        text-decoration: none;
    }

    .jbutton:hover {
        -webkit-text-fill-color: #bc93ff;
        border: solid .25em #6610f2;
        text-decoration: none;
    }
}

.featured {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
    font-size: large;
}

.previous {
    background-color: #f1f1f1;
    color: black;
}

.next {
    background-color: #04AA6D;
    color: whitesmoke;
    top: 9px;
}


.round {
    border-radius: 5%;
}

.rcorners {
    margin: auto;
    width: 60%;
    border: 5px solid #3f3f3f;
    padding: 10px;
    border-radius: 25px;
    position: relative;
    color: whitesmoke;
    background: rgba(12, 12, 12, 0.5);
    padding: 20px;
    width: 40%;
}

.picker {
    visibility: hidden;
}

@media screen and (max-width: 1100px) {
    .rcorners {
        margin: auto;
        width: 60%;
        border: 5px solid #3f3f3f;
        padding: 10px;
        border-radius: 25px;
        position: relative;
        color: whitesmoke;
        background: rgba(12, 12, 12, 0.5);
        padding: 20px;
        width: 80vw;
        z-index: 0;
    }
}

.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

@media screen and (max-width: 1100px) {
    .grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 100px;
    }
}

.gridmain {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-self: auto !important;
    width: 100vw;
    padding: 10px;
    gap: 10px;

    flex-direction: column;
    text-align: center;
    grid-template-columns: repeat(2, 2fr);
    gap: 10px;
}

@media screen and (max-width: 1100px) {
    .gridmain {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }
}

.gridpagecontrol {
    justify-content: center;
    padding: 10px;
    display: grid;
    text-align: center;
    grid-template-columns: repeat(3, 0.01fr);
    gap: 1px;
}

.frontrcorners {
    margin: auto;
    border: 5px solid #3f3f3f;
    padding: 10px;
    border-radius: 25px;
    color: whitesmoke;
    background: rgba(12, 12, 12, 0.5);
    width: 18vw;
}

@media screen and (max-width: 1100px) {
    .frontrcorners {
        margin: auto;
        width: 60%;
        border: 5px solid #3f3f3f;
        padding: 10px;
        border-radius: 25px;
        position: relative;
        color: whitesmoke;
        background: rgba(12, 12, 12, 0.5);
        padding: 20px;
        width: 80vw;
        z-index: 0;
    }
}

.loader {
    border: 16px solid #f3f3f3;
    visibility: visible;
    position: absolute;
    border-top: 16px solid #374650;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 1s linear infinite;
    top: calc(50vh - 60px);
    padding-left: 0;
    padding-top: 0;
    left: calc(50vw - 60px);
    transform: translate(-50%, -50%);
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

select {
    /* styling */
    background-color: white;
    border: thin solid blue;
    border-radius: 4px;
    display: inline-block;
    font: inherit;
    line-height: 1.5em;
    padding: 0.5em 3.5em 0.5em 1em;
    /* reset */
    margin: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* arrows */

select.classic {
    background-image: linear-gradient(45deg, transparent 50%, white 50%), linear-gradient(135deg, white 50%, transparent 50%), linear-gradient(to right, grey, black);
    background-position: calc(100% - 20px) calc(1em + 2px), calc(100% - 15px) calc(1em + 2px), 100% 0;
    background-size: 5px 5px, 5px 5px, 2.5em 2.5em;
    border-color: grey;
    background-repeat: no-repeat;
}

select.classic:focus {
    background-image: linear-gradient(45deg, white 50%, transparent 50%), linear-gradient(135deg, transparent 50%, white 50%), linear-gradient(to right, gray, black);
    background-position: calc(100% - 15px) 1em, calc(100% - 20px) 1em, 100% 0;
    background-size: 5px 5px, 5px 5px, 2.5em 2.5em;
    background-repeat: no-repeat;
    border-color: grey;
    outline: 0;
}

.navbar {
    overflow: hidden;
    display: flex;
    justify-content: center;
    font-family: Arial;
    width: 100%;
    text-align: center;
}

/* Links inside the navbar */

.navbar a {
    float: left;
    font-size: 16px;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

@media screen and (max-width: 1100px) {
    .navbar a {
        float: left;
        font-size: 28px;
        color: white;
        text-align: center;
        padding: 14px 16px;
        text-decoration: none;
    }
}

/* The dropdown container */

.dropdown {
    float: left;
    overflow: hidden;
}

/* Dropdown button */

.dropdown .dropbtn {
    font-size: 16px;
    border: none;
    outline: none;
    color: white;
    padding: 14px 16px;
    background-color: inherit;
    font-family: inherit;
    /* Important for vertical align on mobile phones */
    margin: 0;
    /* Important for vertical align on mobile phones */
}

@media screen and (max-width: 1100px) {
    .dropdown .dropbtn {
        font-size: 28px;
        border: none;
        outline: none;
        color: white;
        padding: 14px 16px;
        background-color: inherit;
        font-family: inherit;
        /* Important for vertical align on mobile phones */
        margin: 0;
        /* Important for vertical align on mobile phones */
    }
}

.navbar a:hover,
.dropdown:hover .dropbtn {
    background-color: rgb(60, 78, 98);
}

/* Dropdown content (hidden by default) */

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

/* Links inside the dropdown */

.dropdown-content a {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

/* Add a grey background color to dropdown links on hover */

.dropdown-content a:hover {
    background-color: #ddd;
}

/* Show the dropdown menu on hover */

.dropdown:hover .dropdown-content {
    display: block;
}