@tailwind base;
@tailwind components;
@tailwind utilities;

.dropdown {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.dropdown span {
    padding: 10px;
    background-color: hsl(100, 70%, 53%);
    color: #fff;
    border-radius: 4px;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 4px;
    overflow: hidden;
}

.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s;
}

.dropdown-content a:hover {
    background-color: #3498db;
    color: #fff;
}

.dropdown:hover .dropdown-content {
    display: block;
}

#errorContainer {
    background-color: #ffe6e6;
    /* Light red background color */
    padding: 10px;
    border-radius: 5px;
    animation: none;
    /* Initially, no animation */
    display: none;
    /* Hide initially */
}

@keyframes shake {

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

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

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