
/* CSS Variables for Theme */
                            
      /* to add custom fonts*/
      @font-face {
        font-family: 'goudy_heavyface';
        src: url('https://cdn.jsdelivr.net/gh/pargaimanish/experince_shit@main/goudy_heavyface_condensed_regular.woff2') format('woff2'),
            url('https://cdn.jsdelivr.net/gh/pargaimanish/experince_shit@main/goudy_heavyface_condensed_regular.woff') format('woff'),
            url('https://cdn.jsdelivr.net/gh/pargaimanish/experince_shit@main/goudy_heavyface_condensed_regular.ttf') format('truetype');
        font-weight: normal;
        font-style: normal;
    }


@font-face {
            font-family: 'jmh_typewriter';
            src: url('https://cdn.jsdelivr.net/gh/pargaimanish/experince_shit@main/jmh_typewriter.woff2') format('woff2'),
                url('https://cdn.jsdelivr.net/gh/pargaimanish/experince_shit@main/jmh_typewriter.woff') format('woff'),
                url('https://cdn.jsdelivr.net/gh/pargaimanish/experince_shit@main/jmh_typewriter.ttf') format('truetype');
                
            font-weight: normal;
            font-style: normal;
            font-display: swap; 
}

:root {
--primary-color: #3498db;
--secondary-color: #2ecc71;
--bg-color: #f4f4f4;
--text-color: #333;
--spacing: 16px;
}

body {
font-family: 'jmh_typewriter';
background-color: var(--bg-color);
color: var(--text-color);
margin: 0;
padding: var(--spacing);
}

p {
    font-size: 12px;
}

h1 {
font-family: 'goudy_heavyface' ;
text-align: Left;
font-size: clamp(3rem, 9vw, 5rem);
}

h2 {
font-family: 'goudy_heavyface' ;
}

#menuStructure {
text-align: center;
padding: 5px;
box-shadow:
rgba(0, 0, 0, 0.12) 0px 4px 6px,
rgba(0, 0, 0, 0.17) 0px 12px 13px,
rgba(0, 0, 0, 0.09) 0px -3px 5px;

width: 60%;
border-radius: 12px;
}

.category {
background: var(--primary-color);
color: white;
padding: var(--spacing);
border-radius: 8px;
}

.category h2 {
text-align: center;
}

.dish {
background: white;
padding: var(--spacing);
margin: var(--spacing) 0;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.usersExperience {
display: grid;
overflow-x: auto;
scroll-snap-type: x mandatory;
gap: var(--spacing);
padding: var(--spacing);
}

.usersExperience div {
min-width: 300px;
padding: var(--spacing);
background: var(--secondary-color);
color: white;
border-radius: 8px;
scroll-snap-align: start;
}

form {
text-align: left;
margin: var(--spacing) 0;
}

input[type="file"] {
padding: 10px;
border: 1px solid #ccc;
border-radius: 4px;
}

.submit {
background: var(--primary-color);
color: white;
padding: 10px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
}

.category h2 {
text-align: center;
cursor: pointer;
background: rgba(0, 0, 0, 0.2);
padding: 10px;
border-radius: 4px;
}

.category-content {
display: none;
padding: var(--spacing);
background: white;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
margin-top: var(--spacing);
}

.category.open .category-content {
display: block;
}

.dish {
background: var(--secondary-color);
color: white;
padding: var(--spacing);
margin-top: var(--spacing);
border-radius: 8px;
cursor: pointer;
}

.dish-details {
display: none;
background: white;
color: var(--text-color);
padding: var(--spacing);
border-radius: 8px;
margin-top: var(--spacing);
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.dish.open .dish-details {
display: block;
}

.dropdown-content,
.dropdown-content-0 {
display: none;
}

.share_exp-bt {
background: none;
border: none;
text-shadow: 2px 8px 10px #2776EA;
font-size: xx-large;
position: fixed;
z-index: 999;
bottom: 20px;
right: 20px;
}



body {
font-family: 'jmh_typewriter',sans-serif;
padding: 20px;
}

.filter-button {
display: inline-flex;
align-items: center;
background-color: #f1f1f1;
border: none;
padding: 10px 16px;
border-radius: 8px;
cursor: pointer;
font-size: 16px;

}

.filter-icon {
margin-right: 8px;
}

.filter-options {
display: flex;
overflow: scroll;
flex-wrap: wrap;

justify-content: space-around;
margin-top: 10px;
background-color: #ffffff;
padding: 10px;
border: 1px solid #ddd;
width: fit-content;
margin-bottom: 30px;
}



.rotated {
transform: rotate(180deg);
}
.orderForm {
background: none;
border: none;
text-shadow: 2px 8px 10px #2776EA;
font-size: xx-large;
position: fixed;
z-index: 999;
bottom: 20px;
right: 20px;
}

.enterMenu {
align-content: center;
margin-left: 30%;
}
.hidden{
display: none;
}
@media only screen and (max-width: 600px) {

h2{

overflow-wrap: break-word;
word-break: break-word; 
white-space: normal;



}


#menuStructure {
display:flex;
flex-direction:column;

}

#Order {
    width: 194px;
    height: 114px;
    font-size: large; 
    right: 5vw;
    bottom: 10px;
  }

  

}


button {
    font-family: inherit;
    font-size: 20px;
    color: white;
    padding: 0.7em 1em 0.7em 0.9em;
    display: flex;
    align-items: center;
    border: none;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.2s;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    min-height: 30px

  }

  button span {
    display: block;
    margin-left: 0.3em;
    transition: all 0.3s ease-in-out;
    white-space: nowrap;
  }

  button svg {
    display: block;
    transform-origin: center center;
    transition: transform 0.3s ease-in-out;
    flex-shrink: 0;
  }

  h1 a {
    text-decoration: none;
    color: inherit;
  }
  /* Desktop hover */
  @media (hover: hover) and (pointer: fine) {
    button:hover .svg-wrapper {
      animation: fly-1 0.6s ease-in-out infinite alternate;
    }
    button:hover svg {
      transform: translateX(1.2em) rotate(45deg) scale(1.1);
    }
    button:hover span {
      transform: translateX(5em);
    }
  }

  button:active { transform: scale(0.95); }

  /* Mobile tap */
  @media (hover: none) and (pointer: coarse) {
    button:active .svg-wrapper {
      animation: fly-1 0.4s ease-in-out infinite alternate;
    }
    button:active svg {
      transform: translateX(1.2em) rotate(45deg) scale(1.1);
    }
    button:active span {
      transform: translateX(5em);
    }
  }

  @keyframes fly-1 {
    from { transform: translateY(0.1em); }
    to   { transform: translateY(-0.1em); }
  }

  .loader { position: fixed;
    display:none;
    top:50%;
    left:50%;
    border: 5px solid #f4f4f4;
    border-bottom-color: transparent;
    border-radius: 50%;
    z-index:99999;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
    }

    @keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
    } 