html{
    scroll-behavior: smooth;
}
body {
    margin: 0;
    padding: 0;
    background-color: rgba(243, 243, 243, 0.682);
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
}

a{
    text-decoration: none;
}

.noselect {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.noselect:focus {
    outline: none !important;
}

.loader{
    background-color: rgb(255, 255, 255);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.loader img{
    width: 20%;
    transform: scale(1);
    animation: pulse 2s infinite;
}

.main-container {
    display: none;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.price-container{
    display: flex;
}

.arrow{
    width: 20px;
    height: 20px;
    margin-left: 12px;
    filter: invert(1);
    transition: 800ms;
}

.arrow-down{
    transform: rotate(180deg);
    transition: 800ms;
}

.menu-container {
    width: 100%;
    max-width: 768px;
    min-width: 320px;
    height: 100%;
    position: relative; 
}

.header-image {
    background-size:cover;
    width: 100%;
    height: 300px;
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.limefox-logo-container{
    padding-right: calc(100% - 95%);
    padding-top: 40px;
}

.header-image img{
    width: 100px;
    height: 100px;
}

.menu {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    max-width: 90%;
    background-color: #FFFFFF;
    border-top-right-radius: 24px;
    border-top-left-radius: 24px;
    position: absolute; 
    top: 280; 
    padding: 40px 40px 0px 40px;
}

.optional-type{
    font-weight: bold;
    font-size: 16px;
    margin-top: 16px;
    margin-bottom: 16px;
    display: none;
}

.restaurant-info-container h2, h3, a{
    color:rgba(97, 97, 97, 0.767);
}


.restaurant-address{
    margin-top: 0px;
}

.restaurant-address i{
    margin-right: 8px;
}

.restaurant-name{
    display: flex;
    align-items: center;
    height: fit-content;
}

.restaurant-name h1{
    margin: 0 !important;
}

.restaurant-info{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    height: 80px;
}

.restaurant-logo img{
    width: 100px;
    height: 100px;
    position: relative;
    bottom: 80;
    border-radius: 10%;
}

.filter-container{
    display: flex;
    flex-direction: row;
    padding: 40px 0px 40px 0px;
    max-width: 100%;
    overflow-y: hidden;
    overflow-x: scroll;
    margin-bottom: 40px;
    scroll-behavior: smooth;
}

.filter-item{
    border-radius: 40px;
    border: 4px solid #8bdc64;
    padding: 8px 38px 8px 38px;
    margin-right: 30px;
    display: flex;
    justify-content: center;
    min-width: fit-content;
    max-height: 20px;
    align-items: center;
    cursor: pointer;
    transition: 500ms;
    font-weight: bold;
    text-wrap: nowrap;
}

.filter-item:hover{
    background-color: #444980;
    color: white;
    transition: 500ms;
    border: 4px solid #444980;
    font-weight: bold;
}

.active{
    border-radius: 40px;
    border: 4px solid #8bdc64;
    background-color: #8bdc64;
    color: white;
    font-weight: bold;
    padding: 8px 38px 8px 38px;
    margin-right: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 500ms;
    text-wrap: nowrap;
}

.dish-container {
    display:none;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.category-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.dish-item {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    height: auto;
    border-radius: 8px;
    margin-bottom: 40px;
    border: 3px solid #d4d4d46e;
    padding: 10px 20px 10px 20px;
    width: 100%;
    max-width: 100%; 
    box-sizing: border-box; 
    cursor: pointer;
}

.category-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    border-radius: 8px;
    margin-bottom: 40px;
    width: 100%;
    max-width: 100%; 
    height: 200px;
    box-sizing: border-box; 
    cursor: pointer;
}

.category-image{
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
    color: rgb(255, 255, 255);
    font-weight: bold;
    font-size: 28px;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgb(0, 0, 0);
    text-align: center;
    border-radius: 16px;
}

.dish-image {
    width: 30%; 
    margin-right: 5%;
}

.dish-image img {
    width: 100%;
    height: 140px; 
    min-height: 130px;
    max-width: 160px;
    border-radius: 8px;
    object-fit: cover;
}

.dish-description {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%; 
}

.download-app{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.download-icons{
    display: flex;
    flex-direction: column;
}

.download-icons img:first-child{
    margin-top: 0;
}

.nav-lang-container{
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-left: 24px;
    margin-top: 42px;
    width: 100%;
    max-height: 220px;
}

.nav-lang-container a{
    margin-right: 24px;
}
.nav-lang{
    border-radius: 50%;
    display: inline-block;
    height: 3em;
    line-height: 3em;
    text-align: center;
    width: 3em;
    font-weight: bold;
    color: white;
    background: #444980;
    transition: 500ms;
}

.price{
    font-weight: bold;
}

.euro-ico{
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    height: 24px;
    text-align: center;
    width: 24px;
    font-weight: bold;
    color: white;
    background: #8bdc64;
    margin-right: 12px;
}

.order-ico:hover{
    background: #444980;
}

.order-ico{
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    height: 28px;
    text-align: center;
    width: 28px;
    font-weight: bold;
    color: white;
    background: #8bdc64;
    margin-right: 24px;
}

.order-container{
    display: flex;
}


.dish-name{
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 12px;
}


.order-dish-container{
    margin-top: 24px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.dish-price-container{
    display: flex;
    align-items: center;
}

.nav-lang:hover{
    background: #8bdc64;
    transition: 500ms;
}

.nav-lang--active {
    border-radius: 50%;
    display: inline-block;
    height: 3em;
    line-height: 3em;
    text-align: center;
    width: 3em;
    background: #8bdc64;
    color: white;
    font-weight: bold;
}

.download-icons img{
    width: 120px;
    height: 35px;
    margin: 16px 0px 16px 24px;
}

.download-text h3{
    margin-top: 0;
}

.filter-container::-webkit-scrollbar {
    height: 10px;
}

.filter-container::-webkit-scrollbar-track {
    background: transparent;
}
  
.filter-container::-webkit-scrollbar-thumb {
    background: #aaa;
    border-radius: 10px;
}
  
.filter-container::-webkit-scrollbar-thumb:hover {
    background: #888; 
}
  
.filter-container::-webkit-scrollbar-button {
    display: none;
}

.order-list{
    width: 100%;
    max-width: 768px;
    min-width: 320px;
    display: none;
    border-top-right-radius: 8px;
    border-top-left-radius: 8px;
    transition: 500ms;
}

.order-list--shown{
    height : 350px;
    align-items : flex-start;
    background : rgba(138, 220, 100, 0.9);
    position: fixed;
    align-self: center;
    padding: 0px 40px 40px 40px;
    bottom: 0;
    cursor: pointer;
    color: white;
    font-size: larger;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    transition: 500ms;
    
}

.order-list--hidden{
    height: 100px;
    padding-left: 40px;
    position: fixed;
    align-self: center;
    bottom: 0;
    cursor: pointer;
    color: white;
    font-size: larger;
    font-weight: bold;
    background: #8adc64c9;
    transition: 500ms;
}

.order-text{
    padding-right: 40px;
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    transition: 500ms;
}

.order-text--shown{
    padding-top: 40px;
    padding-right: 40px;
    display: flex;
    width: 100%;
    justify-content: space-between;
    transition: 500ms;
}

.main-dish{
    margin: 12px 0px 12px 0px;
}

.option{
    margin: 6px 0px 12px 24px;
}

.selected-items-list{
    display: none;
    overflow-y: auto;
    width: 100%;
}

.selected-items-list::-webkit-scrollbar {
    height: 10px;
}

.selected-items-list::-webkit-scrollbar-track {
    background: transparent;
}
  
.selected-items-list::-webkit-scrollbar-thumb {
    background: #eeeeee;
    border-radius: 10px;
}
  
.selected-items-list::-webkit-scrollbar-thumb:hover {
    background: #eeeeee; 
}
  
.selected-items-list::-webkit-scrollbar-button {
    display: none;
}

.button-block{
    display: flex;
    flex-direction: row;
}
.add-button,.remove-button{
    width: 38px;
    height: 38px;
    background-color: #8adc64;
    opacity: 1;
    cursor: pointer;
    border-radius: 50%;
    border: 2px solid white;
    color: white;
    font-weight: bold;
    font-size: large;
    display: flex;
    align-items: center;
    justify-content: center;
}

.add-button:hover,.remove-button:hover{
    background: #444980;
    border : 0;
} 

.add-button{
    margin-right: 40px;
}

.selected-items-list--hidden{
    display: none;
    transition: 500ms;
}

.selected-items-list--shown{
    display: flex;
    flex-direction: column;
    transition: 500ms;
    margin-top: 24px;
}

.optional-item{
    display: none;
    position: relative;
    font-weight: bold;
    margin-top: 14px;
}

.optional-name{
    margin-left: 14px;
}

.optional-item label{
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 50%;
    cursor: pointer;
    height: 20px;
    left: 0;
    position: absolute;
    top: 0;
    width: 20px;
}

.optional-item label:after{
    border: 1px solid #8adc64c9;
    background-color: #8adc64c9;
    border-radius: 50%;
    content: "";
    height: 8px;
    left: 5px;
    opacity: 0;
    position: absolute;
    top: 5px;
    width: 8px;
}

.optional-item input[type="checkbox"]{
    visibility: hidden;
}

.optional-item input[type="checkbox"]:checked + label {
    background-color: white;
    border-color: #8adc64c9;
}

.optional-item input[type="checkbox"]:checked + label:after {
  opacity: 1;
}

@media screen and (max-width: 890px) {
    .order-list{
        width:80%;
    }
}

@media screen and (min-width: 778px) {
    .menu {
        max-width: 690px;
    }
}

@media screen and (max-width: 490px) {
    .menu {
        border-top-right-radius: 36px;
        border-top-left-radius: 36px;
    }
}

@media screen and (max-width: 430px) {
    .restaurant-address{
        margin-top: 8px;
    }
    .dish-item {
        flex-direction: column;
        padding : 0px 0px 0px 0px;
    }
    .optional-type{
        display:block;
    }
    .dish-image{
        width : 100%
    }
    .dish-item img{
        max-width: unset;
    }
    .dish-description{
        width: 90%;
        margin-top: 20px;
        padding: 10px 20px;
    }
    .order-ico:hover{
        background: #8adc64;
    }
    .order-ico:active{
        background: #444980;
    }
    .order-dish-container{
        pointer-events: all;
    }

    .optional-item{
        display: flex;
    }

    .nav-lang-container{
        flex-direction: column;
    }

    .nav-lang:nth-child(2), .nav-lang:nth-child(3), .nav-lang:nth-child(4){
        margin-top: 24px;
    }

}

@media screen and (max-width: 375px) {
    .download-app{
        flex-direction: column;
    }

    .download-icons{
        flex-direction: row;
    }

    .download-icons img:first-child{
        margin-left: 0;
        margin-right: 24px;
    }

    .order-list{
        width: 70%;
        min-width: 260px;
    }
}
@keyframes pulse {
	0% {
		transform: scale(0.85);
        rotate: 1deg;
	}

	70% {
		transform: scale(1);
        rotate: -1deg;
	}

	100% {
		transform: scale(0.85);
        rotate: 1deg;
	}
}