#back-button {
  position: absolute;
  bottom: 20px;
  left: 20px;
  font-size: 25px;
  border-radius: 5px;
  padding: 0 5px 10px 5px;
  z-index: 999;
  cursor: url('../assets/cursors/hand_point.png'), crosshair;
}

#back-button:hover {
  padding: 0 5px 5px 5px;
}

#back-button::before {
  content: "⬅";
  font-size: 20px;
  padding: 0 5px 0 0;
}

#recipe-selection {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  width: 50vw;
  height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 2px 4px 15px rgba(0, 0, 0, 0.2);
}

.recipes {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.recipe {
  width: 10vh;
  cursor: url('../assets/cursors/hand_point.png'), pointer;
  transition: transform 0.2s;
  opacity: 0.7;
}

.recipe:hover {
  transform: scale(1.4);
  opacity: 1;
}

.recipe.active{
  transform: scale(1.4) !important;
  opacity: 1 !important;
}

#start-cooking {
  border: none;
  background-color: #ffcd28;
  padding: 12px;
  border-radius: 8px;
  font-size: 2.5vh;
  cursor: url('../assets/cursors/hand_point.png'), pointer;
  transition: 0.3s;
}

#start-cooking:hover {
  color: #ffcd28;
  background-color: #815b0a;
}

#answer-key-btn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-size: 25px;
  border-radius: 5px;
  padding: 0 5px 10px 5px;
  z-index: 999;
  cursor: url('../assets/cursors/hand_point.png'), crosshair;
}

#tutorial-section {
  display: none;
  margin: 10px auto;
  padding: 10px 15px;
  width: 60vw;
  background-color: #fff7e6;
  border-radius: 12px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
  text-align: center;
  transform: scale(0.95);
  overflow: hidden;
}

#tutorial-section h2 {
  font-size: 3vw;
  color: #b85d39;
  text-shadow: 1px 1px #fff597;
}

#video-thumbnails {
  display: flex;
  max-height: 30vh;
  overflow: auto;
  padding: 5px;
  justify-content: center;
  flex-wrap: wrap;
}

.video-thumb {
  flex: 0 0 auto;
  width: auto;
  scroll-snap-align: start;
  background-color: white;
  padding: 8px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 1px 1px 5px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.video-thumb:hover {
  transform: scale(1.05);
}

.video-thumb img {
  width: 65px;
  height: auto; 
  object-fit: contain; 
  border-radius: 8px;
  background-color: #fff; 
}

.video-thumb p {
  font-size: 0.8em;
  margin-top: 6px;
  color: #b85d39;
  font-weight: bold;
}

/* #video-thumbnails::-webkit-scrollbar {
  height: 8px;
}

#video-thumbnails::-webkit-scrollbar-track {
  background: #fff597;
  border-radius: 10px;
}

#video-thumbnails::-webkit-scrollbar-thumb {
  background: #b85d39;
  border-radius: 10px;
} */

.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background-color: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3000;
  backdrop-filter: blur(4px);
}

.modal-content {
  background-color: #fff7e6;
  padding: 20px;
  border-radius: 15px;
  width: 85vw;
  max-width: 800px;
  position: relative;
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
  animation: fadeInStep 0.3s ease-in-out;
  text-align: center;
}

.modal-content h3 {
  font-size: 2.5vw;
  margin-bottom: 15px;
  color: #b85d39;
  text-shadow: 2px 2px #fff597;
}

.modal-content video {
  border-radius: 12px;
  width: 100%;
  max-height: 60vh;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 30px;
  font-weight: bold;
  color: #b85d39;
  cursor: url('../assets/cursors/hand_point.png'), pointer;
  z-index: 999;
}

.close-btn:hover {
  color: red;
}
