body {
    background-image: url('/static/images/background.png');
    background-size: cover;  /* Cover the entire page */
    background-position: center;  /* Center the background image */
    background-repeat: no-repeat;  /* Do not repeat the image */
    min-height: 100vh;   
    font-family: 'Comic Neue', 'Comic Sans MS', 'Comic Sans', cursive;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.modal-footer {
    background-color: gainsboro;
}

#river{
    height: 100%;
    z-index: 2;
}

.navbar{
    border-bottom-left-radius: 1em;
    border-bottom-right-radius: 1em;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Add shadow for depth */
}

.side {
    display: inline-block;
    vertical-align: top;
    width: 30%;
}

.entity {
    width: 110px;
    height: 100px;
    padding: 5px;
    cursor: grab;
    pointer-events: all;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.leaf-container {
    width: 100%; /* Full width of the column */
    height: 100%;
    position: relative; /* Positioning context for the leaf */
    background-color: transparent;
}

.entity img, .leaf img {
    max-width: 100%;
    max-height: 100%;
    pointer-events: none;
    display: block; /* Remove extra space below the image */
}

.entity.dragging {
    opacity: 0.5;
}

.worm {
    margin: 5px;
    border-radius: 2em;
    background-color: palevioletred;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.8); /* Add shadow for depth */
}

.beetle {
    margin: 5px;
    border-radius: 2em;
    background-color: skyblue;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.8); /* Add shadow for depth */
}

.leaf {
    width: 260px;
    height: 220px;
    padding: 10px;
    cursor: grab;
    pointer-events: all;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: absolute;
    left: 15%; /* Start at the left edge, close to the starting side */
    transform: translateX(-35%);
    transition: left 0.5s ease-in-out; /* Smooth transition for moving */
}

.shadow{
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.8); /* Add shadow for depth */
}

.bg-color{
    background-color: #826464
}

.glowing-image {
    transition: filter 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.glowing-image:hover {
    filter: drop-shadow(0 0 20px rgba(0, 255, 255, 1));
    transform: scale(1.05);
}

.glowing-effect {
    animation: glow 1.25s infinite alternate;
}

@keyframes glow {
    from {
        filter: drop-shadow(0 0 10px rgba(0, 255, 255, 1));
    }
    to {
        filter: drop-shadow(0 0 120px rgba(0, 255, 255, 1));
    }
}