/* category card */

.category-image {
    width: 100%;
    height: 120px;
    border-radius: 15px;
    display: block;
}

  .card-category-container {
    width: 100%;
    max-width: 400px;
    background-color: var(--bs-body-bg) !important;
    border-radius: 15px;
    padding: 0.5rem;
    border: var(--main-border-color) 1px;
    border-style: solid;
}

.flex-category-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 0px;
}

.left-category-name{
    display: flex;
    align-items: center;
    font-size: 10px;
    font-weight: bold;
    color: #fff;
    background-color: var(--bs-primary);
    border-radius: 0px 18px 0px 13px;
    padding: 5px;
    margin: 5px;
    margin-left: 0px;
    margin-top: -10px;
    position: absolute;
    top: 113px;
}

.right-category-stations{
    align-items: center;
    font-size: 12px;
    width: 100%;
    text-align: center;
    font-weight: bold;
    margin-top: -12px;
}

.hero-category-image-container {
    position: relative;
    display: block;
    cursor:pointer;
}

img.eye {
    position: absolute;
    width: 50%;
    max-width: 2em;
    top: 44%;
    left: 43%;
}

@media (min-width:400px) {
  img.eye {
    max-width: 3em;
  }
}

.hero-category-image-container::after {
    content: '';
    background-image: url("/web/assets/images/eye-category.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 2.5rem;
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    border-radius: 0.8rem;
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.hero-category-image-container:hover::after {
  opacity: 1;
}