*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-family: Poppins, Calibri, Arial, sans-serif;
    font-size: 100%;
}

body {

    display: grid;
    grid-template-areas: 'aside main''footer footer';
    grid-template-columns: minmax(280px, 320px) 1fr;
    color: #443235;
    width: 100%;
}


#logo {
    width: 75%;
    margin: 0 auto;
}

#logo img {
    width: 100%;
}

h1, 
h2 
 {
    font-family: Poppins;
    font-weight: 400;
    font-style: normal;
    line-height: 40px;
    margin-bottom: 9px;
    
}


h3 {font-family: Amatic, sans-serif;}

h4, 
h5, 
h6 {
    font-family: Calibri;
    font-weight: 700;
}


ul {
    margin: 0 16px;
}

p {
    color: #443235;
    font-size: 1.125em;
    margin-bottom: 1.125em;  
}


/* #christmasHours {
    background: white;
    padding: 8px 8px 0 8px;
    display: none;
    
}

#christmasHours p {
    font-weight: normal;
    line-height: 24px;
    margin-bottom: 10px;
    text-transform: initial;
    border-bottom: solid 1px #b6bdc9;
    padding-bottom: 8px;

    &:last-of-type {
        border-bottom: none;
    }
} */


.smaller {
    font-size: smaller;
}

aside {
    grid-area: aside; 
    background: #b6bdc9;
    padding: 16px;
}

.promotions {
    background: #930232;
    height: auto;
    padding: 16px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    align-self: stretch;
    gap: 16px;
}



/* #primaryPromotion {} */

.splide {width: 100%;}

.promo-img {
    box-sizing: border-box;
    border: none;
    border-radius: 25px;
    background: linear-gradient(rgba(0,0,0,0.3),rgba(0,0,0,0.3)), url('../images/gift-baskets.jpg') no-repeat;
    background-size: cover;
    background-position: 50% 50%;
    height: 100%;
    margin: 0;
    padding: 32px 16px;
    width: 100%;
}

.promo-img img {
    
    width: 100%;
    border-radius: 25px;
    color: white;
   
}


#giftBasketPrices {
    color: #fff;
    font-size: 3em;
    font-weight: 700;
    text-shadow: 2px 2px 5px rgb(0 0 0 / .4 );
    list-style-type: none;
}


#giftBasketPrices li {
    color: #fff;
    padding: 4px 16px;
    background: rgba(0 0 0 / 0.5);
    margin-bottom: 1px;
}

#primaryPromotion .p-tel {
    font-size: 2.5em;
    font-weight: 700;
    text-shadow: 2px 2px 5px rgb(0 0 0 / .4 );
    text-align: center;
    display: block;
}



.promotions h1 {
    color: #fff;
    font-family: Sancreek, serif;
    font-size: 5em;
    text-align: center;
    line-height: 80px;
    
}


.promotions h2 {
    color: #fff;
    font-family: Pacifico;
    font-size: 3em;
    text-align: center;
    line-height: 54px;
}

.promotions h3 {
    color: #fff;
    font-family: Poppins, sans-serif;
    font-size: 2em;
    text-align: center;
    line-height: 40px;
    font-weight: bold;
    margin-bottom: 16px;
}


#preOrders {
    border-radius: 8px; 
    background-color: rgba(0,0,0,0.5);
}

#preOrders h3 {
    color: #fff;
    font-size: 1.5em;
    font-family: Sancreek, serif;
    margin: 0 0 16px 8px; 
    padding: 16px;
    background:rgb(0 0 0/0.3);
    border: double 4px white;
}

#preOrders h4 {
    color: #fff;
    font-size: 2em;
    font-family: Sancreek, serif;
    margin: 0 0 0 8px; 
    padding: 0;
}

#preOrders p {
    font-size: 1.25em;
    color: #fff;
    margin-top: 0;
    margin-left: 8px;
}

.pie-list {
    color: #fff;
    display: flex;
    flex-flow: row wrap;
    margin: 0 8px 16px;
    padding-left: 0;
}

.pie-list li {
    margin: 0 28px 0 0;
    padding-left: 0;
    font-size: 1.25em;
}




.pre-orders {
    
    border-radius: 8px;
    margin: 0 8px 8px;
    padding: 16px;
} 


.link-telephone {
    color: white;
    
}

main {
    background: #e6ddde;
    grid-area: main;
    /* padding: 16px; */
    }

#mission, 
.hours {
    text-align: center;
}

.hours h3 {
    font-size: 20px;
    text-transform: uppercase;
}

.hours h4 {
    font-size: 18px;
    
}

.hours p {
    font-size: 20px;
    margin-top: 8px;
    font-weight: 700;
    text-transform: uppercase;
}

address {
    padding: 16px 0;
    text-align: center;
}

.address {
    font-size: 1.5em;
    font-weight: 700;
}

address p {
    font-style: normal;
}

.phone-wrap, .email-wrap {
    font-size: 22px;
}


.phone-wrap a {
    text-decoration: none;
}

#features {
    background: #fff;
    margin: 0 0;
    padding: 16px;
}

#featuresGrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr) );
}

#feature-title {
    font-family: Pacifico;
    text-align: center;
}

 
.featured-product {
    flex: 1 0 auto;
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    background: #fff;
    border-radius: 12px;
    margin: 8px 4px;
    height: 242px;
    position: relative;
}

.featured-product h2 {
    font-family: Pacifico;
    font-size: 2em;
    line-height: 48px;
    margin: 8px 16px;
    z-index: 100;
    text-align: center;
    color: #fff;
    text-shadow: rgb(0 0 0/0.5) 2px 4px 2px;
    width: 100%;
}

#feature-cinnamon-rolls {
    background: url("../images/cinnamon-rolls.jpg");
}

#feature-donuts {
    background: url("../images/donuts.jpg");
}

#feature-cake {
    background: url("../images/cake.jpg");
}

#feature-bread {
    background: url("../images/bread.jpg");
}

#feature-gluten-free {
    background: url("../images/gluten-free.jpg");
}

#feature-cinnamon-rolls,
#feature-donuts,
#feature-cake,
#feature-bread,
#feature-gluten-free {
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: cover;
}

.slide-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 585px;
}

.slide-card a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.slide-card h2 {
    z-index: 100;
    text-shadow: 3px 3px 5px rgb(0 0 0/0.3);
}

.slide-card img {
    border-radius: 8px;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    
    object-fit: cover
}


.product-title {
    font-family: Pacifico;
    font-size: 1.8em;
}

.product-img {
    width: 100%;
}

.product-img img {
    width: 100%;
    margin-top: 4px;
}


#productGrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr) );
    gap: 16px;
    padding: 16px 16px;

}

#productHeader {
    
    text-align: center;
    font-weight: 700;
    font-size: 2em;
    margin: 16px 0 0;
}

.locality {
    font-weight: 200;
    text-align: center;
    margin-bottom: 4px;
}

.product {    
    background: rgba(255,255,255,0.8);
    border-radius: 16px;
    border: solid 1px #a7a1a1;
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
    corner-shape: notch;
    padding: 16px;
    /* text-align: center; */
}

.product h2 {
    margin-top: 0;
    margin-bottom: 4px;
    text-align: center;
}

.product p {
    font-size: 20px;
    margin: 0 4px 16px;
    text-align: center;
}

.product strong {
    color: rgb(163, 19, 19);
    font-weight: bold;
}

footer {
    grid-area: footer;
    background: #333;
    min-height: 300px;
    color: #f0f0f0;
    
    padding: 16px;
}





#encouragement {
    grid-area: bible;
    width: 300px;
    
}

#encouragement p {
    color: #9b9b9b;
}

/* TURN THIS ON AND OFF DURING SPECIAL OCCAISIONS */
/* [data-gift-baskets] {
    order: -1;
} */


/* carousel {
    max-width: 100%; 
    height: auto;
    display: block;
    overflow: hidden;
    display: flex; 
    justify-content: center;
    flex-flow: row nowrap;
    position: relative;
    z-index: 0;
    border: solid 3px #CCFF00;

    .product {
        flex: 1 0 100%;
        width: calc(100%  - 32px);
        margin: 0 8px;
    }


    .carousel::before {
        content: '<';
        width: 32px;
        height: 32px;
        display: block;
        background: #FFF; 
        position: absolute; 
        top: 200px;
        left: -16px;
        border-radius: 50%;
        padding: 12px 16px;
        z-index: 1000;
    }

    .carousel::after {
        content: '>';
        width: 32px;
        height: 32px;
        display: block;
        background: #FFF;
        position: absolute;
        top: 200px;
        right: -16px;
        border-radius: 50%;
        padding: 12px 16px;
        z-index: 1000;
    }


} */



.footer-ad a {
    padding: 8px;
    display: block;
    width: 100%;
    height: 100%;
}

.footer-ad a:hover {
    color:#dc3545 !important;
    border-color: #FFF;
    transition: all 300ms linear;
    background-color: rgba(0 0 0 / 0.2);
    transition: all 300ms linear;
}

#footerAds {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

#tayValleyFooterAd {
    background: linear-gradient(rgba(0,0,0,0.2),rgba(0,0,0,0.2) ), url('../images/winchester-ads.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    border: solid 4px #000;
    position: relative;
    min-height: 300px;
}

#tayValleyFooterAd h3 {
    position: absolute;
    top: 0px;
    left: 20px;
    right: 20px;
    z-index: 100;
    font-weight: bold;
    font-size: 2em;
    color: white !important;
    text-shadow: 2px 2px rgba(0,0,0,0.3);
}

#marlaneGardensFooterAd {
    background: linear-gradient(rgba(0,0,0,0.2),rgba(0,0,0,0.2) ), url('../images/built-by-marlane-contracting.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top right;
    border: solid 4px #000;
    min-height: 300px;
    position: relative;
}

#marlaneGardensFooterAd h3 {
    position: absolute;
    top: 0px;
    left: 20px;
    right: 20px;
    z-index: 100;
    font-weight: bold;
    font-size: 2em;
    color: white !important;
    text-shadow: 2px 2px rgba(0,0,0,0.3);
}


.footer-ad svg {
    width: 24px;
    fill: #fff;
}



@media screen and (max-width: 640px) {


    body {

        box-sizing: border-box;
        grid-template-areas: 'aside''main''footer';
        grid-template-columns: 100% !important;
        width: 100%;
    }

    aside, main { 
        width: 100%;
        margin: 0 auto;
        padding: 0;
        grid-template-columns: 100%;
    }

    
    
}


@media screen and (max-width: 360px){
    .promotions h1 {
        font-size: 4em;
    }
}