.vibrate:hover,
.vibrate:focus {
    animation: shake 0.5s;
    animation-iteration-count: infinite;
}

@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);
    }
}


/* Add a hover effect (blue shadow) */

.thumbnails:hover {
    box-shadow: 0 0 4px 2px rgba(0, 140, 186, 0.5);
    opacity: 0.7;
}

.search {
    box-shadow: rgba(0, 0, 0, 0.09) 0px 3px 12px;
    /* opacity: 0.7; */
    margin-top: -25px;
    border-radius: 10px;
    background-color: whitesmoke !important;
}

.search:hover {
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
    /* opacity: 0.7; */
    border-radius: 10px;
}

.roles-view:hover {
    box-shadow: rgb(253, 200, 114) 0px 6px 24px;
    /* opacity: 0.7; */
    border-radius: 10px;
    background-color: rgb(253, 228, 114) !important;
}