@font-face {
    font-family: Montserrat;
    src: url(/assets/Montserrat/static/Montserrat-Regular.ttf);
  }

body {
    /*font-family: 'Times New Roman', Times, serif*/
    font-family: Montserrat, sans-serif;
    margin: 0;
    padding: 20px 50px;
    font-size: 18px;
    line-height: 1.4;
    color:#151515;
}

a {
    text-decoration: none;
    border-bottom: 1px solid #555555;
    color:#151515;
    font-weight: bold;
    padding-bottom: 1px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
}

header h1 {
    font-size: calc(7vw);
    text-align: center;
    margin-bottom: 20px;
    margin-top: 5px;
    line-height: 1.1;
}

header h2 {
    text-align: center;
    color: #555555;
    margin-top: 0px;
    margin-bottom: 0px;
}

h2 {
    font-size: 1.4rem;
}

.gray {
    color: #555555;
}

.black-bold {
    color: #151515;
    font-weight: bold;
}

#navigation-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-bar-right-links {
    display: flex;
    gap: 36px;
    align-items: center;
    transition: opacity .2s ease;
}

a.menu-link {
    border-bottom: 1px solid;
    text-decoration: none;
    font-size: 1rem;
    color: #555555;
}

.sr-only {
    border: 0;
    clip: rect(0,0,0,0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position:absolute;
    width: 1px;
}

#main-content-container {
    min-height: 300px;
    margin-top: 25px;
}

footer .hours-container {
    display: flex;
    flex-flow: row wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 28px;
}

.footer-links-container {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.nav-links-container {
    display: flex;
    justify-content: space-evenly;
    width: 94%;
    align-items: center;
}

a.nav-home-link {
    border-bottom: none;
}

img#header-logo {
    height: 50px;
}

.menu-link img {
    height: 35px;
}

hr {
    margin: 50px 0px;
}

.hide {
    display: none;
}

.red-text {
    color:darkred;
}

section#main-content {
    margin-top: 100px;
    min-height: 200px;
}

.section-break {
    height: 50px;
}

footer {
    text-align: center;
    color: #555555;
    margin-top: 80px;
    margin-bottom: 50px;
    line-height: 1.6;
    font-size: 1rem;
}

footer a {
    color: #555555;
    font-size: 1rem;
    display: block;
    width: fit-content;
}

span.footer-divider {
    margin-left: 10px;
    margin-right: 10px;
}

#login-form-container {
    margin-top: 40px;
}

#login-form-container div {
    margin-top: 20px;
}

#login-form-container label {
    display: block;
    margin-bottom: 4px;
}

form input, button[type="submit"] {
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
    background-color: #fff;
    font-size: 16px;
}

button {
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
    background-color: #fff;
    font-size: 16px;
}

button[type="submit"] {
    color: white;
    background-color: #151515;
    border:2px solid #151515;
}

button:hover {
    cursor: pointer;
}

img {
    object-fit: contain;
    max-width: 100%;
}

input, button, textarea, img {
    box-sizing: border-box;
}

body .tox div.tox-menubar {
    display: none;
}

.tox-statusbar__branding {
    display: none;
}

a.preview-link {
    margin: 20px 0px 8px; font-size: 16px; display:inline-block;
}

div.section-line {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    margin-bottom: 40px;
}

div.section-line div {
    border-bottom: 4px solid gray;
    width: 150px;
}

button.launch-mobile-menu {
    display: none;
    border: none;
    padding: 0px;
    margin: 0px;
}

button.launch-mobile-menu img {
    max-height: 32px;
}

button.close-mobile-menu {
    display: none;
    border: none;
    font-weight: bold;
    font-size: 24px;
}

textarea {
    width: 90%;
    height: 200px;
}

.full-width {
    width: 100%;
}

.form-container div {
    margin-top: 20px;
}

.form-container label {
    display: block;
    margin-bottom: 5px;
}

.form-container input {
    width: 50%;
}

.loading-overlay {
    position: fixed;
    z-index: 3;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: #15151509;
}

.loading-overlay {
    position: fixed;
    z-index: 3;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: #ffffff90;
}

.loading-overlay div {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 90%;
}

.loading-overlay img {
    animation: spin 1s linear infinite
}
@-moz-keyframes spin { 
    100% { -moz-transform: rotate(360deg); } 
}
@-webkit-keyframes spin { 
    100% { -webkit-transform: rotate(360deg); } 
}
@keyframes spin { 
    100% { 
        -webkit-transform: rotate(360deg); 
        transform:rotate(360deg); 
    } 
}

.success-overlay {
    position: fixed;
    top: 20px;
    left: calc(50vw - 130px);
    z-index: 2;
    background-color: #151515;
    color:#fff;
    padding: 15px 30px;
    margin-right: 20px;
    margin-left: 20px;
    font-size: 16px;
}

.success-overlay a {
    display: inline-block;
    color:#fff!important;
    border-bottom: 1px solid #fff;
    font-weight: normal;
}

.error-overlay {
    position: fixed;
    top: 20px;
    left: calc(50vw - 130px);
    z-index: 2;
    background-color: darkred;
    color:#fff;
    padding: 15px 30px;
    margin-right: 20px;
    margin-left: 20px;
    font-size: 16px;
}

.error-overlay a {
    display: inline-block;
    color:#fff!important;
    border-bottom: 1px solid #fff;
    font-weight: normal;
}

.shop-item-container .top-container {
    display: flex;
    gap: 50px;
    margin-top: 40px;
}


.shop-item-container h1 {
    margin-bottom: 10px;
    margin-top: 0px;
}

.shop-item-container h2 {
    margin-top: 0px;
}

.shop-item-container .top-container img {
    width: 250px;
    max-height: 250px;
    display: block;
    box-sizing: border-box;
    object-fit: contain;
    object-position: top center;
}

.shop-item-container .top-container div {
    margin-bottom: 8px;
}

a.email-to-purchase {
    background-color: #100049;
    color: white;
    border: none!important;
    padding: 15px 25px;
    margin-top: 15px;
    display: inline-block;
    box-sizing: border-box;
    font-weight: normal;
    width: fit-content;
}


@media (width < 600px) {
    .form-container input {
        width: 100%;
    } 
    textarea {
        width: 100%;
    }
    .shop-item-container .top-container {
        display: flex;
        gap: 20px;
        flex-flow: row wrap;
    }
    
    .shop-item-container .top-container img {
        width: 90%;
        justify-self: center;
    }
    .shop-item-container .top-container div {
        margin-bottom: 10px;
    }
}

@media only screen and (max-width: 850px) {
    body {
       padding: 20px 40px;
    }
    #navigation-bar {
        margin-bottom: 10px;
    }
    footer a {
        color: #555555;
        font-size: 1rem;
    }
    .footer-links-container {
        gap: 8px;
        flex-direction: column;
        align-items: center;
    }

    .nav-bar-right-links {
        gap: 20px;
    }
}

@media only screen and (max-width: 600px) {
    body {
       padding: 20px;
    }

    header h1 {
        font-size: calc(12vw);
    }

    header h2 {
        font-size: 1.2rem;
    }
    
    img#header-logo {
        height: 40px;
    }

    .nav-bar-right-links {
        display: none;
    }

    button.launch-mobile-menu {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    div.nav-bar-right-links.mobile-menu {
        display: flex;
        position: fixed;
        top: 0px;
        left: 0px;
        width: 100%;
        height: 100%;
        justify-content: flex-start;
        align-items: center;
        flex-direction: column;
        gap: 40px;
        background: #fff;
    }

    button.close-mobile-menu {
        display: block;
        margin-left: auto;
        margin-right: 20px;
        margin-top: 20px;
    }
}
