@import url('https://fonts.googleapis.com/css2?family=Exo:ital,wght@0,300;0,500;1,500&display=swap');

:root{
    font-size: 15px;
    font-family: 'Exo', sans-serif;
    outline: none;
    --main-color-green:#28a745;
    --main-color-blue:#6495ed;
}

*{
    font-family: 'Exo';
}

html {
    scroll-behavior: smooth;
}

.bluebg{
    background:var(--main-color-blue) !important;
    color:white;
    border:none;
}

.greenbg{
    background:var(--main-color-green) !important;
    color:white;
    border:none;
}

p.addthis a, p.listitem i{
    background:var(--main-color-blue) !important;
}

.btn{
    border-radius: .3rem;
    padding: 0px 10px;
    min-height: 3rem;
    flex-grow: .5;
    margin:5px;
}



.hidden{
    display:none !important;
}

*{
    padding: 0;
    margin:0;
    box-sizing: border-box;
    outline: none;
}

img{
    width:100%;
}

body{
    display:flex;
    flex-direction: column;
    min-height: 100vh;
}

header{
    padding:1rem;
    box-shadow: 0 0 5px rgba(0,0,0,.5);
    z-index: 1;
}

header .head{
    width:100%;
    display:flex;
    justify-content: space-between;
}

header h1{
    max-width: 50vw;
    height:3rem;
}

header button{
    background: white;
    border:solid 1px #ccc;
    border-radius:.3rem;
    height:3rem;
}

header nav{
    max-height:0;
    transition: all .8s;
    overflow: hidden;
}

header nav.open{
    max-height: 10rem;
    padding-top:2rem;
}

header nav li{
    padding:.5rem;
    list-style:none;
    border-top: solid 1px #ccc;
}


section.cover{
    background-size: 70%;
    background-position: center;
    background-repeat: no-repeat;
    height:60vw;
    display:flex;
    align-items: center;
    justify-content: center;
}



section h2{
    font-size:1rem;
    background: #a1daff;
    color:white;
    padding:1rem;
    text-align: center;
    text-transform: uppercase;
    /* border-bottom:dashed 2px #ccc; */
}

section h2 i {
    font-size:.8rem;
}


section .item{
    /*
    padding:1rem;
    border-top:dashed 6px #ccc;
    border-bottom:dashed 6px #ccc;
    */
    padding: .3rem;
    margin: .6rem;
    display: flex;
    align-items: center;
    border: solid 1px #a1daff;
}

section .item  .texts{
    display:flex;
    flex-direction: column;
    justify-content: space-between;
    width:100%;
}

section .item .texts div{
    display:flex;
    justify-content: space-between;
    align-items: center;
}

section .item h3{
    text-transform: uppercase;
    padding:.3rem;
    color:#555;
    font-size:.9rem;
    overflow: hidden;
}

section .item h3 i {
    font-size:.8rem;
}

section .item h4{
    padding:.3rem;
    color:#555;
    font-size:1.2rem;
}
section .item p.desc{
    padding:.3rem;
    color:#aaa;
    font-size:.8rem;
    overflow:hidden;
    /* max-height:2.5rem; */
}

section .item img{
    /*
    margin-top:.5rem;
    padding:.5rem;
    background:white;
    border:solid 1px #ccc;
    box-shadow: 0 0 4px rgba(0,0,0,.2);
    */
    width: 25vw;
    height: 25vw;
    object-fit: cover;
    margin-right:.5rem;
    border:solid 1px #eee;
}
section .item img.nonelogo{
    object-fit: scale-down !important;
}

section .item p.addthis {
    text-align:center;
}
section .item p.addthis a, section .item p.addthis span{
    display:inline-block;
    width:24px;
    height:24px;
    line-height:24px;
    font-size:1rem;
    background:#ccc;
    color:white;
    border-radius:50%;
}
section .item p.addthis span{
    margin:0;
    background:none;
    color:gray;
    font-size:1rem;
}

section.lightbox{
    position: fixed;
    width: 100%;
    height: 100%;
    background: #6b6b6bad;
    visibility:hidden;
    z-index:9999;
    display:flex;
    align-items: center;
    justify-content: center;
}

section.lightbox.wifi, section.lightbox.qr, section.lightbox.anket{
    animation:none !important;
    visibility: visible !important;
    display:none;
    z-index: 999999;
}

section.lightbox.wifi div{
    height:30%;
}

section.lightbox.anket div{
    height:90%;
    width:90%;
}

section.lightbox.wifi h3{
    font-size:1.1rem;
    line-height: 1.1rem;
}

section.lightbox div{
    display: flex;
    position: relative;
    background: white;
    width: 80%;
    height: 60%;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    box-shadow: 0 0 3px rgba(0,0,0,0.6);
    flex-direction: column;
    text-align: center;
}

section.lightbox div a.kapat{
    position: absolute;
    right: 5px;
    top: 5px;
    display: block;
    width: 30px;
    height: 30px;
    color: white;
    background: black;
    line-height: 30px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: bold;
    
}

section.lightbox img{
    max-width: 30%;
}

section.lightbox h2{
    background: none;
    border: none;
    color: #28a745;
}

section.lightbox h3{
    color: #737373;
    /* margin-bottom: 20px; */
    font-size: 30px;
}

section.lightboxStay{
    animation:none !important;
    visibility: visible !important;
}

/* BASKET */
section.basket{
    position: fixed;
    width: 100%;
    height: 100%;
    background: #6b6b6bad;
    z-index:9999;
    visibility:hidden;
}

section.basket div.cont{
    display: flex;
    position: relative;
    background: white;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    align-items: center;
    justify-content: start;
    top: 10px;
    left: 10px;
    border-radius: 12px;
    box-shadow: 0 0 3px rgba(0,0,0,0.6);
    flex-direction: column;
    padding: 0;
    text-align: center;
}

section.basket div.cont a.kapat{
    position: absolute;
    right: 5px;
    top: 5px;
    display: block;
    width: 30px;
    height: 30px;
    color: white;
    background: black;
    line-height: 30px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: bold;
}

section.basket h2{
    background: none;
    border: none;
    color: #28a745;
    padding:1rem;
}

section.basket div.list{
    width: 90%;
    border-top: solid 1px;
    text-align: left;
    padding: 10px 0;
    overflow-y:scroll;
    display:flex;
    flex-direction: column;
}

section.basket div.list p.listitem{
    margin: 5px 0px;
    font-size:.9rem;
    display:inline-flex;
    width:100%;
    align-items: center;
    justify-content: space-between;
}

section.basket div.list p.total{
    font-size: 18px;
    border-top: 4px solid;
    padding-top: 10px;
}

section.basket div.list p.listitem span{
    display:inline-flex;
    align-items: center;
}

p.listitem i {
    background: #ccc;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .5rem;
    color: white;
    margin: 0px 2px;
    cursor:pointer;
}

button#siparisTamamla{
    margin: auto;
    border: none;
    padding: .5rem;
    background: cornflowerblue;
    color: white; 
    font-size:.9rem;
}

button#siparisedevamet{
    font-size:.9rem;
}

/* PACKET */
section.packet{
    position: fixed;
    width: 100%;
    height: 100%;
    background: #6b6b6bad;
    z-index:9999;
    visibility:hidden;
}

section.packet div.cont{
    display: flex;
    position: relative;
    background: white;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    align-items: center;
    justify-content: start;
    top: 10px;
    left: 10px;
    border-radius: 12px;
    box-shadow: 0 0 3px rgba(0,0,0,0.6);
    flex-direction: column;
    padding: 0;
    text-align: center;
}

section.packet div.cont a.kapat{
    position: absolute;
    right: 5px;
    top: 5px;
    display: block;
    width: 30px;
    height: 30px;
    color: white;
    background: black;
    line-height: 30px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: bold;
    
}

section.packet h2{
    background: none;
    border: none;
    color: #28a745;
    padding:1rem;
}

section.packet div.list{
    width: 90%;
    border-top: solid 1px;
    text-align: left;
    padding: 10px 0;
    overflow-y:scroll;
    display:flex;
    flex-direction: column;
}

section.packet div.list p.listitem{
    margin: 5px 0px;
    font-size:.9rem;
    display:inline-flex;
    width:100%;
    align-items: center;
    justify-content: space-between;
}

section.packet div.list p.total{
    font-size: 18px;
    border-top: 4px solid;
    padding-top: 10px;
}

section.packet div.list p.listitem span{
    display:inline-flex;
    align-items: center;
}



button#paketSiparis{
    margin: auto;
    border: none;
    padding: .5rem;
    color: white; 
    font-size:.9rem;
}

section.content{
    display:none;
    flex-grow: 1;
}

section.active{
    display:block;
}

section.menu{
    padding:5px;
    text-align:center;
    background:white;
    display:flex;
    flex-direction: column;
    position:absolute;
    width:100%;
    top:75px;
    box-shadow: 0 0 4px rgba(0,0,0,.5);
    min-height:100vh;

}

section.menu a{
    display: inline-block;
    color: #fff;
    padding: 15px 3px;
    text-decoration: none;
    font-size: 13px;
    margin:3px 0;
    background:#a1daff;
    text-transform: uppercase;
    font-weight: bold;
    box-shadow: 0 0 2px rgba(0,0,0,.5);
}

section.menu a:nth-child(even){
    background:#cee9fb;
}


#searchbox{
    padding:5px;
    border:1px solid #333;
    width:calc(100% - 20px);
    margin:10px;
    font-size:15px;
}

.sticky {
  position: fixed;
  top: 0;
  width: 100%;
  z-index:99;
}

.sticky a{
    font-size:14px !important;
    padding:5px !important;
}


.offset {
    padding-top:72px;
}

.largeQR canvas{
    max-width:70vh;
}


body.waiter{
    min-height:100vh;
    background: #6b6b6bad;
}



section.waiter div.cont{
    display: flex;
    position: relative;
    background: white;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    align-items: center;
    justify-content: start;
    top: 10px;
    left: 10px;
    border-radius: 12px;
    box-shadow: 0 0 3px rgba(0,0,0,0.6);
    flex-direction: column;
    padding: 0;
    text-align: center;
    padding-bottom: 40px;
}


section.waiter h2{
    background: none;
    border: none;
    color: #28a745;
    padding:1rem;
}

section.waiter div.list{
    width: 90%;
    border-top: solid 1px;
    text-align: left;
    padding: 10px 0;
}

section.waiter div.list p.listitem{
    margin: 5px 0px;
}

section.waiter div.list p.listitem span{
    float:right;
}

.head h1 img{
    width:auto !important;
    height:100%;
}






@keyframes hideMe{
    0% {opacity:1;visibility:visible;}
    85% {opacity:1;}
    99% {visibility:visible;}
    100% {opacity:0;visibility:hidden;}
}

footer{
    background:#eee;
    font-size: 1.2rem;
    text-align: center;
    padding:2rem;
    color:#444;
}

footer p{
    margin: 1rem 0;
}

footer a{
    color:#333;
    font-size:2rem;
}

.cont.garson{
    padding-bottom:0px !important;
}

form.garson{
    display:flex;
    flex-direction: column;
    padding:1rem;
    width:100%;
}

form.garson input,
form.garson button{
    padding:.5rem;
    margin:.5rem 0rem;
}

@media screen and (max-width:320px){
    header{
        padding:.5rem;
    }
    section.lightbox h3{
        font-size:25px;
    }
    section.menu{
        top:60px;
    }
}