/*
Theme Name: CafeTheme
Theme URI: 
Author: Yolanda
Author URI: 
Description: A custom theme built from scratch.
Requires at least: 6.9
Tested up to: 6.9
Requires PHP: 5.7
Version: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cafetheme
Tags: 
*/


/* fluid typography styles */
h1 {
    font-size: clamp(2.44rem, 1.74vw + 2.01rem, 3.75rem);
}

h2 {
    font-size: clamp(1.95rem, 1.15vw + 1.67rem, 2.81rem);
}
h3 {
    font-size: clamp(1.56rem, .73vw + 1.38rem, 2.11rem);
}
h4 {
    font-size: clamp(1.25rem, 0.44vw + 1.14rem, 1.58rem);
}
h5,p {
    font-size: clamp(1rem, 0.25vw + 0.84rem, 1.19rem);
}

/* navigation */

.navLg { display: none; }
.navSmWrap { margin-right: 2em !important; }
.navSmWrap .wp-block-navigation__responsive-container-open svg {
    background-color: #7399e4;
    height: 28px;
    padding: 0 3px;
    border-radius: 3px;
}

.navSm ul {
    width: 100%;
    text-align: center;
}

.navSm ul li {
    border-bottom: solid 1px #2d6688;
    display: block !important;
    width: 100%;
    padding-top: 5px 5px 15px;
}

.navSm button.wp-block-search__button {
    background-color: #62b9d1;
}

:where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) {
    border:none;
}

.navSm form {
    margin: auto;
}

.inlineNewsletterSignup .newsletter-form{
    justify-content: flex-start;
}

.inlineNewsletterSignup .newsletter-form  {
    justify-content: flex-start;
}

@media (min-width: 782px) and (max-width: 977px) {
    .inlineNewsletterSignup .newsletter-form{
        flex-direction: column;
        align-items: stretch;
    }
}

@media (min-width: 782px) {
    .navSmWrap { display: none; }
    .navLg { 
        display: flex;
        padding-right: 2rem; 
    }

    .menuWrapInner {
        max-width: 1200px;
        margin: auto !important;
    }

    /* footer */
    
    .footColWrap div{
        border-bottom: none !important;
    } 
    
    .footColWrap div:first-of-type > *, .footColWrap div:last-of-type > * {
        text-align: left !important;
        justify-content: flex-start !important;
    }

    /* menu details */
    .menuDetails .ingredients {
    border-bottom-style: none !important;
    border-right: solid 1px var(--wp--preset--color--custom-light-mustard);
    padding-bottom: 2rem;

}
}

.menuWrap{
    postion: relative;
    z-index: 20;
    box-shadow: 0 0 4px #F4C7C3,
                0 0 8px #F4C7C3;
}

/* hero image */
.heroWrap{
    position: absolute;
    top: 0;
    z-index: 0;
    width: 100%;
    padding-top: 200px !important;
    padding-bottom: 4rem !important;
    }

.wp-block-separator{
    border-width: 1px;
}

/* Contact Form */
.contact-form{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
}

.contact-form input, .contact-form textarea {
    padding: 0.5rem;
    font-size: 1rem;
    font-family: var(--wp--preset--font-family--Nunito);
}

.contact-form textarea {
    height: 6rem;
}

.contact-form button {
    background: var(--wp--preset--color--custom-light-mustard);
    color: var(--wp--preset--color--custom-espresso-bro);
    padding: 0.75rem;
    border: none;
    cursor: pointer;
}

/* menu details */
.menuDetails .ingredients {
    border-bottom: solid 1px var(--wp--preset--color--custom-light-mustard);
    padding-bottom: 2rem;

}

.center { text-align: center; }