@import url('./menu_webCSS/style.css');

.bebas-neue-regular {
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.img-fluid{
    width: 100%;
    height: auto;
    margin: 0 0;
    margin-bottom:20px;
}

.image-div{
   border-bottom-right-radius: 125px;
   border-bottom-left-radius: 125px;
}

.menu-banner{
    width: 100%;
    margin-bottom: -30px;
    height: 250px;
    position: relative;
    text-align: center;
}

.menu-box{
    padding: 30px 20px 20px 20px;
    position: absolute;
    background-color: var(--mastro_blue1);
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    width: 100%;;
}

.menu-box .logo-img{
    position: absolute;
    border-radius: 50%;
    left: 10%;
    top: -30px;
    width: 100px;
    height: 100px;
    margin: -25px;
}

.menu-box .title-div{
    position: relative;
    margin-bottom: 10px;
}

.menu-box .title-div .descr{
    font-family: "Bebas Neue", sans-serif;
    font-size: 1.6em;
    color: white;
    margin-top: 5px;
    position: relative;
    left: 100px;
}

.menu-box .title-div .pos{
    font-family: "Bebas Neue", sans-serif;
    font-size: 1.3em;
    margin-top: 5px;
    position: relative;
    left: 75px;
    color: rgba(195, 195, 18, 0.61);
}

.menu-box .pub-name{
    font-family: "Bebas Neue", sans-serif;
    position: relative;
    line-height: 30px;
    font-size: 2em;
    font-style: normal;
    font-weight: 700;
    color: var(--mastro_orange1);
    text-align: left;
    left: 100px;
}

.menu-box .title-div .maps-pin{
    margin-right: 2px;
}

.menu-box .title-div img{
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

body, html{
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden;
}

body.modal-open{
    overflow: hidden;
}

.body-menu{
    /*background: url("../images/mastro-tap_black.jpg") no-repeat center center;*/
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    background-color: black;
    background-size: cover; 
    background-repeat: no-repeat; 
}

div.col-12.banner-location{
    background-color: rgba(211, 211, 211, 0.679);
    text-align: center;
    color:black;
    width:100%;
    padding: 0 20px;
    border-radius: 25px;
    margin: 0 auto;
}

div.accordion-table{
    height: 100%;
    padding-bottom: 5px;
    margin: 0px 0px 0px 0px; 
}

div.accordion-table.menu-card{
    width: 100%;
    justify-content: center;
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 15px;
    padding-bottom: 15px;
    
}

img.top-logo{
    width: 120px;
    height: 120px;
    text-align: center;
}

.content-menu{
    z-index: 1;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.footer{
    text-align: center;
    font-size: 18px;
}

.accordion{
    background-image: linear-gradient(to right, var(--mastro_orange1) 0%, var(--mastro_orange2)  51%, var(--mastro_orange3)  100%);
    color: white;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: left;
    border-radius: 12px;
    border: none;
    transition: 0.4s;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
    margin-bottom: 10px;
}

.accordion:after{
    font-size: 15px;
    color: black;
    float: right;
    margin-left: 5px;;
}

.accordion:hover{
    color: #fff; 
    text-decoration: none;
}

.accordion .title{
    font-size: 2em;
}

.panel {
    padding: 0 18px;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease-out;
}

.menu-entry-list{
    width: 100%;
    padding: 0px 0;
    margin: 0 auto;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease-out;
}

.menu-entry{
    background-color: var(--mastro_orange6);
    width: 100%;
    padding: 0px 0;
    margin: 10px 0 10px 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    border-radius: 12px;
    border-top-right-radius: 12px;
}

.menu-entry-vegan{
    background-color: var(--mastro_green3);
    width: 100%;
    padding: 0px 0;
    margin: 10px 0 10px 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    border-radius: 12px;
    border-top-right-radius: 12px;
}

.twoRows{
    justify-content: space-between;
}

.column{
    width: 100%;
    padding: 10px;
}

.menu-row{
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.firstColumn{
    width: 25%;
    align-content: center;
}

.item-img{
    width: 90px;
    text-align: center;
    object-fit: cover;
    border-radius: 25px;
}

.secondColumn{
    position: relative;
    padding-left: 30px;
    width: 75%;
    color: white;
    font-size: 24px;
    text-transform: capitalize;
}

.secondColumn-no-img{
    padding-left: 14px;
    width: 100%;
    color: white;
    font-size: 26px;
    text-transform: capitalize;
}

.description{
    font-size: 20px;
    color: #ccc;
    text-transform: capitalize;
    -webkit-box-orient: vertical;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.description_info{
    font-size: 20px;
    color: #ccc;
    text-transform: capitalize;
    line-height: normal;
    -webkit-box-orient: vertical;
    line-break: anywhere;
}

.ingredients{
    font-size: 20px;
    color: #ccc;
    text-transform: capitalize;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.firstRow{
    text-align: left;
    justify-content: flex-start;
    width: 100%;
    color: white;
    font-size: 13px;
    text-transform: uppercase;
}

.bestseller{
    left: 5%;
    top: -4px;
    width: 40px;
    height: 40px;
    position: relative;
}

.secondRow{
    height: 24px;
    text-align: right;
    justify-content: flex-end;
    width: 100%;
    color: white;
    font-size: 24px;
    text-transform: uppercase;
    margin-left: -10px;
    margin-top: -10px;
    padding-bottom: 44px;
}

.secondRow .tap-prices{
    bottom: 15px;
    position: relative;
    line-height: 7px;
    font-size: 24px;
}

.secondRow .tap-prices .tap-size{
    font-size: 20px;
    color: #ccc;
    text-transform: capitalize;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.detailsBox{
    position:fixed;
    z-index: 1;
    left:0;
    top:0;
    right:0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    background-color: rgba(0, 0, 0, 0.4);
    transition: display 0.4s allow-discrete, overlay 0.4s allow-discrete;
    animation: slideOut 0.4s forwards;
    &[open]{
        animation: slideIn 0.4s forwards;
    }
    /*-webkit-animation-name: fadeIn;
    -webkit-animation-duration: 0.4s;
    animation-name: fadeIn;
    animation-duration: 0.4s;*/
    padding: 0;
}

.detailsBox .details{
    display: flex;
    flex-direction: column;
    border-top-right-radius: 12px;
    border-top-left-radius: 12px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    background-color: #4D4251;
    width: 100%;
    height: 80%;
    box-shadow: rgba(0, 0, 0, 0.25) 0px -14px 28px, rgba(0, 0, 0, 0.22) 0px -10px 10px;
}


/*.detailsBox[open]{
    -webkit-animation-name: slideIn;
    -webkit-animation-duration: 0.4s;
    animation-name: slideIn;
    animation-duration: 0.4s;
} 

.detailsBox[close]{
    -webkit-animation-name: slideOut;
    -webkit-animation-duration: 0.4s;
    animation-name: slideOut;
    animation-duration: 0.4s;
}*/

.detailsBox .details-footer .close-details{
    background: linear-gradient(140.14deg, var(--mastro_orange1) 15.05%, #D56018 114.99%)
        padding-box,
      linear-gradient(142.51deg, #ff9465 8.65%, #D56018 88.82%) border-box;
    border-radius: 7px;
    border: 2px solid transparent;
  
    text-shadow: 1px 1px 1px #00000040;
    box-shadow: 8px 8px 20px 0px #45090059;
  
    padding: 10px 40px;
    line-height: 20px;
    cursor: pointer;
    transition: all 0.3s;
    color: white;
    font-size: 18px;
    font-weight: 500;
}

  .detailsBox .details-footer .close-details:hover {
    box-shadow: none;
    opacity: 80%;
}

.detailsBox .details-header{
    border-radius: 12px;
    padding: 12px;
    text-align: center;
    background-color: #BE5B21;
    color: white;
    box-shadow: rgba(0, 0, 0, 0.25) 0px -14px 28px, rgba(0, 0, 0, 0.22) 0px 12px 10px, rgba(0, 0, 0, 0.22) 0px -10px 10px, rgba(0, 0, 0, 0.22) 0px -10px 10px
}

.detailsBox .details-header h2{
    font-family: "Bebas Neue", sans-serif;
    color: white;
    font-size: 2em;
    margin: 0;
    padding: 0;
}

.detailsBox .img-position{
    padding: 5px;
    position: relative;
    display: flex;
    justify-content: center;
    top: 5px;
}

.detailsBox .img-position .img-modal{
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 75px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

.detailsBox .img-position .img-close{
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}
      
.detailsBox .img-position .img-close:hover,
.detailsBox .img-position .img-close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

.detailsBox .img-position .img-modal-content{
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    -webkit-animation: zoom;
    -webkit-animation-duration: 0.6s;
    animation: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {-webkit-transform:scale(0)} 
    to {-webkit-transform:scale(1)}
}

@keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}

.detailsBox .img-position .details-img{
    width: 50%;
    text-align: center;
    margin: 0 auto;
}

.detailsBox .details-description{
    padding: 0 15px;
    color: white;
    font-size: 1.8em;
    position: relative;
    overflow-y: auto;
    height: 50%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.detailsBox .details-footer{
    box-shadow: rgba(0, 0, 0, 0.25) 0px -14px 28px, rgba(0, 0, 0, 0.22) 0px -10px 10px;
    display: flex;
    justify-content: center;
    bottom:0;
    position: absolute;
    width: 100%;
    padding: 10px 0;
    background-color: var(--mastro_blue1);
    color: white;
}

/*animation for details box*/
@-webkit-keyframes slideIn {
    from {bottom: -300px; opacity: 0} 
    to {bottom: 0; opacity: 1}
} 
@keyframes slideIn {
    from {bottom: -300px; opacity: 0} 
    to {bottom: 0; opacity: 1}
}
@-webkit-keyframes fadeIn {
    from {opacity: 0} 
    to {opacity: 1}
}
@keyframes fadeIn {
    from {opacity: 0} 
    to {opacity: 1}
}
@-webkit-keyframes fadeOut {
    from {opacity: 1} 
    to {opacity: 0}
}
@keyframes fadeOut {
    from {opacity: 1} 
    to {opacity: 0}
}
@-webkit-keyframes slideOut {
    from {bottom: 0; opacity: 1} 
    to {bottom: -300px; opacity: 0}
}
@keyframes slideOut {
    from {bottom: 0; opacity: 1} 
    to {bottom: -300px; opacity: 0}
}


/* Css query for responsive */
@media (min-width: 320px) {
    .menu-box .logo-img{
        left: 10%;
        top: -45px;
        width: 100px;
        height: 100px;
    }

    .menu-box .title-div{
        top: 10px;
        left:-85px;
        padding-bottom: 0.5rem;
    }
    
}

@media (max-width: 679px) and (min-width: 620px) {
    .menu-box .logo-img{
        left: 8%;
        top: -45px;
        width: 120px;
        height: 120px;
    }
    
    .menu-box .title-div{
        left:30px;
    }
    
}

@media (min-width: 680px) and (max-width: 768px) {
    .menu-box .logo-img{
        left: 7%;
        top: -30px;
        width: 140px;
        height: 140px;
    }
    
    .menu-box .title-div{
        left:80px;
    }

    .menu-box .title-div .pub-name{
        font-size: 2.5em;
    }

    .menu-box .title-div .descr{
        font-size: 1.7em;
        color: white;
    }

    .menu-box .title-div .pos{
        font-size: 1.4em;
    }
    
}
/*
@media (max-width: 767px) {
    .menu-box .logo-img{
        left: 10%;
        top: -60px;
        width: 120px;
        height: 120px;
    }
    
    .menu-box .title-div{
        left:-85px;
    }
    
}*/

@media (min-width: 768px) {
    .menu-box .logo-img{
        left: 10%;
        top: -30px;
        width: 100px;
        height: 100px;
    }
    
    .menu-box .title-div{
        top:10px;
        left:100px;
        padding-bottom: 0.5rem;
    }
    
}

@media (max-width: 1024px) and (min-width: 768px) {
    .menu-box .logo-img{
        left: 7%;
        top: -30px;
        width: 140px;
        height: 140px;
    }
    
    .menu-box .title-div{
        left:75px;
    }

    .menu-box .title-div .pub-name{
        font-size: 2.5em;
    }

    .menu-box .title-div .descr{
        font-size: 1.7em;
    }

    .menu-box .title-div .pos{
        font-size: 1.4em;
    }
    
}

@media (min-width: 1025px) {
    .menu-box .logo-img{
        left: 5%;
        top: -30px;
        width: 160px;
        height: 160px;
    }
}

@media (max-height: 659px){
    .detailsBox .details .details-description{
        height: 28%;
    }
}

@media (min-height: 660px) and (max-height: 760px){
    .detailsBox .details .details-description{
        height: 36%;
    }
}

@media (min-height: 761px) and (max-height: 915px){
    .detailsBox .details .details-description{
        height: 50%;
    }
}

@media (min-height: 915px) and (max-height: 950px){
    .detailsBox .details .details-description{
        height: 54%;
    }
}

@media (min-height: 951px){
    .detailsBox .details .details-description{
        height: 63%;
    }
}
