/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Libre+Barcode+39&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto+Condensed&subset=latin,cyrillic,latin-ext');

/* General Styles */
.goog-te-gadget-simple {
    font-family: 'Roboto Condensed', sans-serif;
    padding-top: 5px;
    margin: 0;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    display: inline-block;
    cursor: pointer;
    text-transform: uppercase;
}
#google_translate_element {
    position: absolute;
    bottom: calc(43px + 14px);
    right: 16px !important;
}
.barcode {
    font-family: 'Libre Barcode 39', sans-serif;
    font-size: 30px;
    margin-bottom: -20px;
}
/* Navbar Styles */
.navbar-nav li:hover > ul.dropdown-menu {
    display: block;
}
.dropdown-submenu {
    position: relative;
}
.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
}
.dropdown-menu > li > a:hover:after {
    text-decoration: underline;
    transform: rotate(-90deg);
}
/* Button Styles */
#start-recognition {
   /* padding: 10px 20px;*/
    font-size: 16px;
    background-color: #069A8E;
    color: white;
    border: none;
    cursor: pointer;
}
/* Query Box */
#query {
    margin-top: 10px;
    font-size: 18px;
}
/* Result Row and Blocks */
.results-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.custom-block {
    border: 1px solid #ddd;
    padding: 15px;
    width:500px;
    text-align: center;
    transition: transform 0.3s ease;
    margin: 15px;
}
.custom-block:hover {
    transform: scale(1.05);
}
.custom-block img {
   /* max-width: 100%;*/
   /* max-height: 150px;*/
}
/* Fade Animation */
.fade-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.5s ease-out;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}
/* Background Styles */
.pinkBg {
    background-color: #ed184f !important;
    background-image: linear-gradient(90deg, #fd5581, #fd8b55);
}

/* Play Button with Ripple Effect */
.intro-banner-vdo-play-btn {
    height: 60px;
    width: 60px;
    position: absolute;
    top: 50%;
    left: 50%;
    text-align: center;
    margin: -30px 0 0 -30px;
    border-radius: 100%;
    z-index: 1;
}
.intro-banner-vdo-play-btn i {
    line-height: 56px;
    font-size: 30px;
}
.intro-banner-vdo-play-btn .ripple {
    position: absolute;
    width: 160px;
    height: 160px;
    z-index: -1;
    left: 50%;
    top: 50%;
    opacity: 0;
    margin: -80px 0 0 -80px;
    border-radius: 100%;
    animation: ripple 1.8s infinite;
}
@keyframes ripple {
    0% {
        opacity: 1;
        transform: scale(0);
    }
    100% {
        opacity: 0;
        transform: scale(1);
    }
}
.intro-banner-vdo-play-btn .ripple:nth-child(2) {
    animation-delay: 0.3s;
}
.intro-banner-vdo-play-btn .ripple:nth-child(3) {
    animation-delay: 0.6s;
}
.text-success { color: green; }
.text-danger { color: red; }