
.nav-btn {
    position: absolute;
    /* top: 50%; */
    transform: translateY(-50%);
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-btn:hover {
    background-color: #f8f9fa;
}

.prev-btn {
    left: 10%;
}

.next-btn {
    right: 10%;
}


#timer {
    font-size: 1.2rem;
    font-weight: bold;
    color: #dc3545;
}

.list-group-item {
    cursor: pointer;
}

.emoji {
    font-size: 3rem;
    display: none;
    text-align: center;
    margin-bottom: 20px;
}

.emoji.show {
    display: block;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25%,
    75% {
        transform: translateX(-5px);
    }

    50% {
        transform: translateX(5px);
    }
}

.shake {
    animation: shake 0.5s;
}

.hidden {
    display: none;
}

.background-effect.correct {
    background: conic-gradient(from 0deg, #FFD700, #32CD32, #00BFFF, #FFD700);
    /* Flower-like pattern */
    animation: fadeInOut 2s forwards;
}

.background-effect.incorrect {
    background: conic-gradient(from 0deg, #FF6347, #FFA500, #FFD700, #FF6347);
    /* Flower-like pattern */
    animation: fadeInOut 2s forwards;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.horizontal-scroll {
    overflow-x: auto; /* Enable horizontal scrolling */
    white-space: nowrap; /* Prevent line breaks */
}


.scroll-item {
     display: inline-block; /* Display items inline */
     margin-right: 10px;
     text-align: center;
 }

/* Mobile styles */
@media (max-width: 768px) {
    .item {
        width: 100vw; /* Full viewport width on mobile */
    }
}

/* Tablet styles */
@media (min-width: 769px) and (max-width: 1199px) {
    .item {
        width: 50vw; /* Half viewport width on tablets */
    }
}

/* Desktop styles */
@media (min-width: 1200px) {
    .item {
        width: 30vw; /* 30% of viewport width on desktops */
    }
}

/* Optional: Style the scrollbar */
.horizontal-scroll::-webkit-scrollbar {
    height: 8px; /* Height of horizontal scrollbar */
}

.horizontal-scroll::-webkit-scrollbar-thumb {
    background-color: #78b46a; /* Color of scrollbar thumb */
    border-radius: 4px;
}

.horizontal-scroll::-webkit-scrollbar-thumb:hover {
    background-color: #d09696; /* Hover color of scrollbar thumb */
}

.dual-scroll {
    overflow: auto; /* Enable both horizontal and vertical scrolling */
    white-space: nowrap; /* Prevent line breaks for horizontal items */
    max-height: 300px; /* Set maximum height for vertical scrolling */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

/* Optional: Style the scrollbar */
.dual-scroll::-webkit-scrollbar {
    height: 8px; /* Height of horizontal scrollbar */
    width: 8px; /* Width of vertical scrollbar */
}

.dual-scroll::-webkit-scrollbar-thumb {
    background-color: #78b46a; /* Color of scrollbar thumb */
    border-radius: 4px;
}

.dual-scroll::-webkit-scrollbar-thumb:hover {
    background-color: #d09696; /* Hover color of scrollbar thumb */
}