:root {
  --color0: rgb(20, 20, 20);
  --color1: rgb(25, 25, 25);
  --color2: rgb(30, 30, 30);
  --color3 :rgb(37, 37, 37);
  --color4: #555;
  --color5: #777;
  --fontColor1: rgb(203, 203, 203);;
  --fontColor2: rgb(150, 150, 150);
  --fontColor3: #d8d8d8;
  --fontColor4: #a5a4a4;
}

body {
    margin: 0;
    height: 100vh;
    overflow: hidden;
    position: relative;
    font-family: Arial, sans-serif;
    background-color: var(--color3);
    color: var(--fontColor1);
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.player{
  position: absolute;
  height: 150px;
  width: 150px;
  object-fit: contain;
}

.player img{
  width: 100%;
  height: 100%;
  object-fit: contain; 
  display: block;
  image-rendering: pixelated; 
  image-rendering: crisp-edges;
}

.mirrored {
  transform: scaleX(-1);
}

.counter {
    position: absolute;
    width: 200px;
    height: 200px;
    background-color: rgba(37, 37, 37, 0.7);
    border-radius: 50%;
    border: 10px solid;
    border-color: var(--color2);
    display: flex; 
    justify-content: center; 
    align-items: center;
    color: var(--fontColor2);
    font-size: 18px; 
    font-family: Arial, sans-serif;
    z-index: 9;
    font-weight: bold;
    font-size: 110px;
  }

.menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--color2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    transition: left 0.5s ease;
    z-index: 10;
    border-right: 5px solid var(--color4);
    border-radius: 0 60px 60px 0;
  }

  .menu.open {
    left: 0;
}

.logo{
  height: 200px;
  width: 312px;
}
  
.logo img{
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  width: 30%;
  height: 30%;
  object-fit: contain;
  display: block;
  image-rendering: pixelated; 
  image-rendering: crisp-edges;
  animation: oscillate 2s ease-in-out infinite;
}

@keyframes oscillate {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(20px);
  }
  100% {
    transform: translateY(0); 
  }
}

.button {
    background-color: var(--color3);
    color: var(--fontColor1);
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: var(--color5);
}

.toggle-btn {
    position: absolute; 
    top: 20%;
    right: -50px; 
    transform: translateY(-50%);
    width: 100px;
    height: 100px;
    background-color: var(--color2);
    color: var(--fontColor1);
    border: 5px solid var(--color4); 
    border-radius: 50px; 
    font-size: 16px;
    text-align: center;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-btn span {
    display: block;
    font-size: 18px;
}

.burger {
    width: 200px;
    border: 1px solid var(--color1);
    background: var(--color3);
    padding: 10px;
        
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 2px;
}

.burger-display {
    width: 400px;
    text-align: center;
    display: flex;
    gap : 20px;
    background-color: var(--color2);
    padding: 20px;
    border-radius: 30px;
    box-shadow: 0 2px 10px rgb(0, 0, 0, 0.1);
}

.draggable-block {
    position: absolute;
    width: 90px;
    height: 50px;
    user-select: none;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.tiny-cube {
    border-radius: 2px;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
}

#block1 {
    background-color: #1c783800; 
    width: 100px;
    height: 100px;
    box-shadow: none;
}

.bun-top {
    width: 100px;
    height: 30px;
    background: #e3a32d;
    border-radius: 40px 40px 0 0;
}

.lettuce {
    width: 120px;
    height: 10px;
    background: #8ad43f;
    border-radius: 10px;
}

.tomato {
    width: 100px;
    height: 20px;
    background: #c22f33;
    border-radius: 5px;
}

.cheese {
    width: 110px;
    height: 10px;
    background: #edd72d;
    border-radius: 10px;
}

.onion {
  width: 95px;
  height: 10px;
  background: #d28bee;
  border-radius: 10px;
}

.patty {
    width: 105px;
    height: 25px;
    background: #4f2e1c;
    border-radius: 10px;
}

.bun-bottom {
    width: 100px;
    height: 20px;
    background: #e3a32d;
    border-radius: 0 0 20px 20px;
}

.bun-middle {
    width: 110px;
    height: 20px;
    background: #e3a32d;
    border-radius: 3px;
}

.big-block {
    overflow: auto;
    width: 1000px;
    height: 700px;
    overflow-y: auto;
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px;
    background-color: var(--color1);
    margin: 0 auto;
    position: absolute;
    border-radius: 15px;
  }
  
  .big-block::-webkit-scrollbar {
    display: none; 
  }
  
  .mini-block {
    width: calc(50% - 38px);
    height: 150px;
    background-color: var(--color2);
    display: flex;
    gap: 5px;
    padding: 15px;
    border-radius: 15px;
  }

  .small-block1 {
    flex: none;
    height: 100%;
    width: 35%;
    background-color: var(--color0);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
  }
  
  .small-block2 {
    flex: none;
    height: 100%;
    width: 65%;
    background-color: var(--color0);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    justify-content: center;
    gap: 15px;
    align-items: center;
    border-radius: 15px;
  }
  
  .small-block1 img {
    width: 100%; 
    height: 100%; 
    object-fit: fill; 
    border-radius: 15px;
}

.small-block2 h4 {
    font-size: 1.2em;
    margin: 0;
    color: var(--fontColor3);
}

.small-block2 p {
    font-size: 0.9em;
    margin: 0;
    color: var(--fontColor4);
}

.grayscale {
    filter: grayscale(100%);
}


.sliding-container {
  z-index: 10000;
  display: grid; 
  grid-template-columns: 1fr; 
  gap: 10px; 
  position: fixed; 
  top: 20px;
  right: 50px; 
  max-width: 600px; 
}

.sliding-block {
  width: 100%;
  height: 100px;
  background-color: var(--color2);
  display: flex;
  flex-direction: row;
  gap: 5px;
  padding: 15px;
  border-radius: 15px;
  transition: transform 1s ease-in-out;
  transform: translateX(100%); 
}

.sliding-block.show {
  transform: translateX(0); 
}

.sliding-block img {
  height: 100%; 
  aspect-ratio: 1 / 1;
  object-fit: fill; 
  border-radius: 15px;
}

.sliding-block .text {
  display: flex;
  justify-content: center;
  flex: none;
  flex-grow: 1;
  background-color: var(--color0);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
  justify-content: center;
  gap: 15px;
  align-items: center;
  border-radius: 15px;
}
































.start-menu {
    box-sizing: border-box;
    position: absolute;
    width: 600px;
    height: 800px;
    text-align: center;
    display: flex;
    gap : 20px;
    background-color: var(--color2);
    padding: 50px 110px 110px 110px;
    border-radius: 30px;
    box-shadow: 0 2px 10px rgb(0, 0, 0, 0.1);
    z-index: 9998;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.title {
    background-color: var(--color1);
    height: 100px;
    width: 400px;
    z-index: 9999;
    gap: 20px;
    padding: 20px;
    text-align: center;
    font-weight: bold;
    font-size: 20px;
    border-radius: 25px;
}

.start-button {
    width: 300px;
    height: 100px;
    background: var(--color1);
    outline: none;
    border: none;
    border-radius: 20px;
    color: var(--fontColor1);
    font-weight: bold;
    font-size: 20px;
}

.other-button {
    width: 300px;
    height: 100px;
    background: var(--color1);
    outline: none;
    border: none;
    border-radius: 20px;
    color: var(--fontColor1);
    font-weight: bold;
    font-size: 20px;
}

.menu-button {
    position: absolute; 
    top: 0; 
    right: 0;
    width: 100px;
    height: 100px; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    margin: 20px;
    border-radius: 10px;
    background: var(--color1);
    outline: none;
    border: none;
    color: var(--fontColor1);
    font-weight: bold;
    font-size: 20px;
    z-index: 9999;
}

.hidden {
    display: none;
}
