*
{
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
    font-family: sans-serif;
}

body
{
    display: flex;
    flex-flow: wrap column;
    min-height: 100vh;
}


/* Media Query */
@media screen and (max-width: 600px)
{
    .mainMenuRow
    {
        padding-top: 15px;
        padding-bottom: 15px;
    }
    .upperNavWeb
    {
        display: none !important;
    }
    #upperNavMobile1, #upperNavMobile2, #lowerNavMobile
    {
        display: block !important;
    }
    #newsHeadline h5 {
        animation: marquee 15s linear infinite;
    }
    #productDiv
    {
        width: 125px;
    }
    #productDiv img
    {
        height: 120px;
    }
    #productDiv .title p
    {
        font-size: 75%;
    }
    .searchForm
    {
        padding-top: 10px;
    }
    #product-grid
    {
        grid-template-columns: repeat(auto-fill, minmax(30%, 1fr));
    }
    #gallery-grid
    {
        grid-template-columns: repeat(auto-fill, minmax(45%, 1fr));
    }
}

@media screen and (max-width: 420px)
{
    .navbar-expand .mainMenu li .nav-link
    {
        padding: 0px;
        padding-right: 0.3rem;
        padding-left: 0.3rem;
    }
    #productDiv
    {
        width: 100px;
    }
    #productDiv img
    {
        height: 90px;
    }
    #productDiv .title p
    {
        font-size: 70%;
    }
}


/* Main Menu Design */
.navbar-expand .mainMenu li .nav-link:hover
{
    color: green;
}

.upperNavWeb .mainMenu li a
{
    font-size: 18px;
}
.upperNavMobile, .lowerNavMobile
{
    display: none !important;
}


/* OFFCANVAS Design */
.offcanvas-body
{
    max-height: 85vh;
    overflow-y: auto;
}
.offcanvas-body .navbar-nav .nav-link:hover, .offcanvas-body .navbar-nav .nav-link.show
{
    color: green;
}
.offcanvas.offcanvas-start
{
    width: 240px;
}
.dropdown-toggle1
{
    display: inline-block;
    vertical-align: middle;
    border-radius: 50%;
    width: 1rem;
    height: 1rem;
    background-image: linear-gradient(black, black), linear-gradient(black, black);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 10% 60%, 60% 10%;
    border: 1px solid black;
}

.dropdown-toggle2
{
    display: inline-block;
    vertical-align: middle;
    border-radius: 50%;
    width: 1rem;
    height: 1rem;
    background-image: linear-gradient(green, green);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 60% 10%;
    border: 1px solid green;
}

.subcategoryMenuList a:hover, .subcategoryMenuList a:active, .subcategoryMenuList a:focus
{
    color: black;
    background-color: rgba(212, 212, 212, 0.714);
}



/*  News Headline Design */
.newsHeadline {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
}

.newsHeadline h5 {
    animation: marquee 30s linear infinite;
}

@keyframes marquee {
    from { transform: translateX(100%); }
    to { transform: translateX(-100%); }
}


/* Product Card design */
.product-grid
{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 4px;
}
.productDiv
{
    background-color: rgba(212, 212, 212, 0.714);
    box-shadow: 0px 3px 5px #b2b2b2;
    width: 150px;
}
.productDiv img
{
    height: 140px;
    object-fit: cover;
}

.title p
{
    font-size: 80%;
}


/* Protected Login page Design */
.protected-password-btn-class {
    position: relative;
    padding: 10px 22px;
    border-radius: 6px;
    border: none;
    color: black;
    cursor: pointer;
    background-color: #33CCCC;
    transition: all 0.2s ease;
}

.protected-password-btn-class:active
{
    transform: scale(0.96);
}

.protected-password-btn-class:before, .protected-password-btn-class:after
{
    position: absolute;
    content: "";
    width: 150%;
    left: 50%;
    height: 100%;
    transform: translateX(-50%);
    z-index: -1000;
    background-repeat: no-repeat;
}

.protected-password-btn-class:hover:before
{
    top: -70%;
    background-image: radial-gradient(circle, #33CCCC 20%, transparent 20%),
      radial-gradient(circle, transparent 20%, #33CCCC 20%, transparent 30%),
      radial-gradient(circle, #33CCCC 20%, transparent 20%),
      radial-gradient(circle, #33CCCC 20%, transparent 20%),
      radial-gradient(circle, transparent 10%, #33CCCC 15%, transparent 20%),
      radial-gradient(circle, #33CCCC 20%, transparent 20%),
      radial-gradient(circle, #33CCCC 20%, transparent 20%),
      radial-gradient(circle, #33CCCC 20%, transparent 20%),
      radial-gradient(circle, #33CCCC 20%, transparent 20%);
    background-size: 10% 10%, 20% 20%, 15% 15%, 20% 20%, 18% 18%, 10% 10%, 15% 15%,
      10% 10%, 18% 18%;
    background-position: 50% 120%;
    animation: greentopBubbles 0.6s ease;
}

@keyframes greentopBubbles
{
    0%
    {
        background-position: 5% 90%, 10% 90%, 10% 90%, 15% 90%, 25% 90%, 25% 90%, 40% 90%, 55% 90%, 70% 90%;
    }
  
    50% 
    {
        background-position: 0% 80%, 0% 20%, 10% 40%, 20% 0%, 30% 30%, 22% 50%, 50% 50%, 65% 20%, 90% 30%;
    }
  
    100%
    {
        background-position: 0% 70%, 0% 10%, 10% 30%, 20% -10%, 30% 20%, 22% 40%, 50% 40%, 65% 10%, 90% 20%;
        background-size: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
    }
}

.protected-password-btn-class:hover::after
{
    bottom: -70%;
    background-image: radial-gradient(circle, #33CCCC 20%, transparent 20%),
      radial-gradient(circle, #33CCCC 20%, transparent 20%),
      radial-gradient(circle, transparent 10%, #33CCCC 15%, transparent 20%),
      radial-gradient(circle, #33CCCC 20%, transparent 20%),
      radial-gradient(circle, #33CCCC 20%, transparent 20%),
      radial-gradient(circle, #33CCCC 20%, transparent 20%),
      radial-gradient(circle, #33CCCC 20%, transparent 20%);
    background-size: 15% 15%, 20% 20%, 18% 18%, 20% 20%, 15% 15%, 20% 20%, 18% 18%;
    background-position: 50% 0%;
    animation: greenbottomBubbles 0.6s ease;
}

@keyframes greenbottomBubbles
{
    0%
    {
        background-position: 10% -10%, 30% 10%, 55% -10%, 70% -10%, 85% -10%, 70% -10%, 70% 0%;
    }
  
    50%
    {
        background-position: 0% 80%, 20% 80%, 45% 60%, 60% 100%, 75% 70%, 95% 60%, 105% 0%;
    }
  
    100%
    {
        background-position: 0% 90%, 20% 90%, 45% 70%, 60% 110%, 75% 80%, 95% 70%, 110% 10%;
        background-size: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
    }
}
