:root {
    --highlightnorm: rgba(155, 182, 102, 1);
    --shadowc: rgba(160, 179, 143, 0.8);
    --darkshadowc: rgba(56, 63, 51, 0.8);
    --borderc: rgba(160, 179, 143, 0.8);
    --borderr: 10px;
    --mediumbackgr: rgba(195, 218, 175, 0.4);
    --darkbackgr: rgb(195, 218, 175);
    --verydarkbackgr: rgba(160, 179, 143, 1);;
    --mouseroverbackgr: rgba(160, 179, 143, 0.8);
    --textc:rgba(20, 16, 12, 1);
    --textclow: rgba(0, 0, 0, 0.54);
    font-family: "Segoe UI Light", "Noto Sans", sans-serif, system-ui, Avenir, Helvetica, Arial, serif;
    font-weight: 400;
    font-size: medium;
    color: var(--textc);
    background-color: rgb(231, 244, 222);
    background-image: url("Callets01_300.png");
    background-size: 300px;
    background-repeat: repeat;
    background-attachment: fixed;
    text-align: center;
    scroll-behavior: smooth;
}

* {
    interpolate-size: allow-keywords;
    box-sizing: border-box;
}

body {
    margin: 0 auto;
    min-width: 400px;
    min-height: 100vh;
    padding: 0;
    display: grid;
    grid-template-rows: min-content 1fr auto;
}

.header {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
}

.promoheader{
    display: none;
    width: 100%;
    color: var(--textc);
    font-weight: 600;
    background-color: var(--darkbackgr);
    margin: 0;
    border-bottom: 1px solid var(--borderc);
    padding: 10px 20px;
}

.content{
    display: block;
    align-content: stretch;
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 20px;
}

.titlebar {
    display: grid;
    grid-template-columns: 1fr 250px 1fr;
    margin: 10px 0;
    width: auto;
    height: 170px;
    border: rgba(160, 179, 143, 0.8) 1px solid;
    border-radius: 10px;
    cursor: pointer;
}

.basket {
    display: inline-block;
    background-color: var(--mediumbackgr);
    border-radius: 10px;
    border: 1px solid var(--borderc);
    width: 20%;
    padding: 20px 3px 3px 3px;
    margin: 0;
}

.footer{
    position: relative;
    bottom: 0px;
    background-color: var(--darkbackgr);
    /* min-height: 200px; */
    width: 100%;
    margin: 10px 0 0 0;
    border-top: 1px solid var(--borderc);
    padding: 10px 20px;
}
.footercont{
    /* background: white; */
    border: 0;
    height: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.footerdata{
    min-height: 10px;
    min-width: 160px;
    /* background: white; */
    padding: 4px;
}
.footerdata p{
    text-align: left;
    /* padding-left: 20px; */
}
.footerdata .np{
    padding-top: 1em;
}
.footerdata a{
    text-decoration: none;
    color: inherit;
}
.footerdata img{
    margin-top: 1em;
}

.titleLeft{
    display: inline-block;
    text-align: right;
    padding-top: 50px;
    font-family: "Tangerine", sans-serif, system-ui, Avenir, Helvetica, Arial, serif;
    font-size: 48px;
    text-shadow: 4px 2px 3px rgba(160, 179, 143, 0.8);
    /*background-color: #deb887;*/
    /*border: s#000 1px solid;*/
}
.titleimg {
    display: inline-block;
    width: 150px;
    margin: 15px auto 0 auto;
    height: auto;
    /*background-color: #deb887;*/
    /*border: aquamarine solid 2px;*/
}
.titleright{
    text-align: left;
}

h1 {
    font-family: "Tangerine", serif, system-ui, Avenir, Helvetica, Arial, sans-serif;
    font-size: 64px;
    text-shadow: 4px 2px 3px rgba(160, 179, 143, 0.8);
    margin: 40px 10px 10px 10px;
    padding: 10px;

    /*border: aqua solid 1px;*/
}

h2{
    font-family: "Tangerine", serif, system-ui, Avenir, Helvetica, Arial, sans-serif;
    font-size: 32px;
    margin: 0;
    padding: 0;
}

h3{
    float: left;
    font-family: "Tangerine", serif, system-ui, Avenir, Helvetica, Arial, sans-serif;
    /*color: rgba(25, 25, 25, 1);*/
    font-size: 40px;
    margin: 10px auto 0 auto;
    padding: 0 10px 0 0;
    align-content: space-evenly;
    min-width: 35%;
    max-width: 70%;
    /*width: 62%;*/
}

h4{
    font-family: inherit;
    font-size: 14px;
    margin: 3px 0;
    padding: 0;
}

h5{
    font-family: inherit;
    font-size: 16px;
    margin: 0;
    padding: 0;
}

hr{
    border: 1px solid rgba(160, 179, 143, 0.8);
    height: 1px;
    margin: 3px 10%;
}

p{
    margin: 6px;
}

.menu {
    float: left;
    width: 20%;
    margin: 0 0 10px 0;
    /*background: #fff;*/
}
.menuitem {
    display: grid;
    grid-template-columns: 30px auto;
    min-height: 40px;
    padding: 6px;
    margin: 0;
    border-bottom: 1px solid rgba(160, 179, 143, 0.8);
    border-radius: 5px 5px 0 0;
    cursor: pointer;
    transition: background-color 250ms, ease 250ms;
}
.menuitem p{
    text-align: center;
    margin: 0;
    width: 100%; 
}
.menuitem:hover {
    background-color: rgba(195, 218, 175, 0.4);
}
.main {
    float: left;
    width: 60%;
    padding: 0 10px;
    overflow: hidden;
    /*background: #fff;*/
}

.product{
    overflow: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    margin: 10px 0 0 0;
    padding: 15px 10px;
    border-radius: 10px;
    border: 1px solid rgba(160, 179, 143, 0.8);
    cursor: pointer;
    transition: background-color 250ms ease-in;
    /*visibility: hidden;*/
}
.product:hover {
    background-color: rgba(195, 218, 175, 0.4);
 }

.productimg {
    width: 100px;
    max-width: 15%;
    /*max-width: 20%;*/
    height: auto;
    float: left;
    /*border: aquamarine solid 2px;*/
}

.productPrice{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /*display: inline-grid;*/
    /*align-content: space-evenly;*/
    /*grid-template-columns: auto auto auto;*/
    margin: 0;
}

.fade-in {
    animation-name: fadeInOpacity;
    animation-iteration-count: 1;
    animation-timing-function: ease-in;
    animation-duration: 250ms;
    animation-direction: normal;
    animation-fill-mode: forwards;
}
@keyframes fadeInOpacity {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.fade-out{
    opacity: 0;
    animation-name: fadeOutOpacity;
    animation-iteration-count: 1;
    animation-timing-function: ease-out;
    animation-duration: 250ms;
}
@keyframes fadeOutOpacity {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.description{
    width: 100%;
    margin: 0 10px;
}

.ingredients{
    width: 100%;
    margin: 10px 10px 0 10px;
    font-family: inherit;
    font-weight: 100;
    color: rgba(30, 26, 22, 0.5);
    font-size: smaller;
    font-style: italic;
}

.basketitem{
    display: inline-block;
    min-height: 60px;
    width: 100%;
    margin: 3px 0 0 0;
    padding: 6px 3px 3px 3px;
    border-radius: 10px;
    border: 0 solid rgba(160, 179, 143, 0.8);
    /*background: #fff;*/
}

.basketimg {
    max-width: 25%;
    height: auto;
    max-height: 80px;
    float: left;
    margin: 0 0 6px 0;
    /*border: aquamarine solid 2px;*/
}

.counter{
    float: right;
    display: grid;
    grid-template-columns: 1fr 20px 1fr;
    margin: 0 6px 0 0;
    padding: 0;
    height: 28px;
    width: 70%;
    border: 0 rgba(160, 179, 143, 0.8) solid;
    border-radius: 10px;
}

.counterbutton{
    border-radius: 10px;
    border: 1px rgba(160, 179, 143, 0.8) solid;
    width: auto;
    cursor: pointer;
}
.counterbutton:hover {
    background-color: rgba(160, 179, 143, 0.8);
}

.total{
    display: grid;
    grid-template-columns: 3fr 1fr;
    margin: 3px 0 0 0;
    width: 100%;
    /*background: #fff;*/
    /*border: 1px solid #000;*/
}

.activebutton{
    font-family: inherit;
    font-weight: 600;
    font-size: 14px;
    color: #000;
    height: 25px;
    margin: 3px 6px;
    padding: 0;
    border-radius: 10px;
    border: rgba(160, 179, 143, 0.8) 1px solid;
    /*background-color: #e4f4d9;*/
}
.activebutton:hover {
    color: #000;
    background-color: rgba(160, 179, 143, 0.8);
    cursor: pointer;
}
.inactivebutton{
    font-family: inherit;
    font-size: 14px;
    color: #888;
    height: 25px;
    margin: 3px 6px;
    padding: 0;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0);
    /*background-color: #e4f4d9;*/
}

.formasbutton{
    display: flex;
    width: 100%;
    background: none;
}

.styledbutton {
    flex-grow: 1;
    font-family: inherit;
    font-weight: 600;
    font-size: 14px;
    background: rgba(231, 244, 222, 0.4);
    border: rgba(160, 179, 143, 0.8) 1px solid;
    border-radius: 10px;
    height: 35px;
    margin: 3px 6px;
    padding: 0;
    color: #000;
}
.styledbutton:focus {
    outline: none;
}
.styledbutton:enabled:hover{
    background: rgba(160, 179, 143, 0.8);
    cursor: pointer;
}
.styledbutton:enabled:active {
    background: rgba(160, 179, 143, 0.8);
}
.styledbutton:disabled{
    height: 25px;
    background: none;
    color: #888;
    border: 1px solid rgba(0,0,0,0);
}

@media only screen and (max-height: 1000px) {
    body{
        padding-top: 0;
    }
    .titlebar {
        margin: 0;
        grid-template-columns: 1fr 110px 1fr;
        height: 110px;
        border-radius: 0;
        border-top: 0;
        border-left: 0;
        border-right: 0;
        margin-bottom: 10px;
    }
    .titleimg{
        width: 100px;
    }
}

@media only screen and (max-width:800px) {
    /* For tablets: */
    .main {
        width: 80%;
        padding: 0 5px;
    }
    .basket {
        width: 100%;
        margin-top: 10px;
        /*visibility: collapse;*/
    }
    .basketimg{
        max-width: 12%;
    }
    .titlebar {
        grid-template-columns: 1fr 200px 1fr;
        height: 120px;
    }
    .titleimg{
        width: 100px;
    }
    .counter{
        width: 85%;
    }
    .total{
        grid-template-columns: 1fr 1fr;
    }
    /*.menu, .main, .right {*/
    /*    background-color: darkred;*/
    /*}*/
}
@media only screen and (max-width:600px) {
    /* For mobile phones: */
    body .content{
        padding: 0;
        margin: 0;
    }
    .footer{
        border: 0;
        margin: 0;
    }
    .footercont{
        border-top: 1px solid var(--borderc);
    }
    .footerdata{
        padding-top: 20px;
    }
    h2{
        padding-top: 12px;
    }
    .titlebar {
        margin: 0;
        grid-template-columns: 1fr 110px 1fr;
        border-radius: 0;
        border-top: 0;
        border-left: 0;
        border-right: 0;
    }
    .menu, .main, .basket {
        width: 100%;
        padding: 0;
        margin: 0;
    }
    .basket {
        background: var(--darkbackgr);
        border-radius: 0;
        border: 0;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .product{
        margin: 6px;
    }
    
}