
@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&display=swap');

.herbal-culinary-body {
    background-color: #f0f8e6; /* Light green background */
    font-family: 'Fredoka One', cursive;
}

.herbal-culinary-container {
    padding-top: 2rem;
}

.herbal-culinary-title {
    font-size: 3.5rem;
    color: #5a8a38; /* Dark green */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.herbal-culinary-subtitle {
    font-size: 1.5rem;
    color: #6c757d;
}

.recipe-list-title, .crafting-table-title, .ingredient-list-title {
    font-size: 2rem;
    color: #5a8a38;
    margin-bottom: 1rem;
}

.recipe-list .list-group-item {
    background-color: #fff;
    border: 2px solid #a9d18e; /* Light green border */
    color: #333;
    font-size: 1.2rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.recipe-list .list-group-item:hover, .recipe-list .list-group-item.active {
    background-color: #e2f0d9; /* Lighter green */
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 10;
}

.recipe-card {
    border: 2px solid #a9d18e;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.recipe-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.recipe-card img {
    height: 180px;
    object-fit: cover;
    border-bottom: 2px solid #a9d18e;
}

.recipe-card .card-title {
    color: #5a8a38;
    font-size: 1.4rem;
    margin-top: 1rem;
}


#crafting-table {
    background-image: url('https://www.transparenttextures.com/patterns/wood-pattern.png');
    background-color: #d2b48c; /* Tan color */
    border: 10px solid #8b4513; /* SaddleBrown */
    border-radius: 20px;
    min-height: 500px;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    text-shadow: 1px 1px 2px black;
    font-size: 1.5rem;
}

#ingredient-list {
    background-color: #fdf5e6; /* OldLace */
    border: 2px dashed #a9d18e;
    padding: 1rem;
    border-radius: 10px;
}

.ingredient-item {
    cursor: grab;
    transition: transform 0.2s ease-in-out;
    text-align: center;
}

.ingredient-item:hover {
    transform: scale(1.1);
}

.ingredient-item img {
    border: 4px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    border-radius: 50%;
    background-color: #fff;
}

#start-game-btn {
    font-family: 'Fredoka One', cursive;
    background-color: #ffc107; /* Yellow */
    border: none;
    padding: 1rem 2rem;
    font-size: 1.5rem;
    color: #333;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    transition: background-color 0.3s, transform 0.2s;
}

#start-game-btn:hover {
    background-color: #ffca2c;
    transform: scale(1.05);
}

#download-btn {
    font-family: 'Fredoka One', cursive;
}

.shake {
    animation: shake 0.5s;
    border-color: red !important;
}

@keyframes shake {
    0% { transform: translate(1px, 1px) rotate(0deg); }
    10% { transform: translate(-1px, -2px) rotate(-1deg); }
    20% { transform: translate(-3px, 0px) rotate(1deg); }
    30% { transform: translate(3px, 2px) rotate(0deg); }
    40% { transform: translate(1px, -1px) rotate(1deg); }
    50% { transform: translate(-1px, 2px) rotate(-1deg); }
    60% { transform: translate(-3px, 1px) rotate(0deg); }
    70% { transform: translate(3px, 1px) rotate(-1deg); }
    80% { transform: translate(-1px, -1px) rotate(1deg); }
    90% { transform: translate(1px, 2px) rotate(0deg); }
    100% { transform: translate(1px, -2px) rotate(-1deg); }
}
