
.navbar {
    background-color: black;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px;
    max-height: 100px;
}

.navbar-logo {
    display: flex;
    align-items: center;
}


.navbar-logo img {
    height: 70px;
    margin-right: 10px;
}

.navbar-links {
    display: flex;
    list-style-type: none;
    padding: 0;
    margin: 0;
}
.navbar-links a {
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    margin-right: 15px;
    border-radius: 25px;
    font-size: 16px;
    position: relative;
}

.navbar-links a::after {
    content: '';
    position: absolute;
    left: 0; 
    right: 0; 
    bottom: -2px;
    background-color: red;
    height: 2px;
    width: 0; 
    transition: width 0.5s ease;
}

.navbar-links a:hover::after,
.navbar-links a.active::after {
    width: 100%;
}

.hamburger-menu{
    display: none;
}


.sponsors {
    display: flex;
    align-items: center;
    width: 35%;
    
}

.sponsor-logo {
    height: 80px !important;
    margin-right: 20px;
}

.sponsor-logo img {
    width: 100px;
    height: 80px;
    object-fit: contain;
}

.ime-kluba {
    color: white;
}

.content {
    height: 100vh;
}

.navbar-links .dropdown {
    position: relative;
    display: flex;
    align-items: center;
    z-index: 1000; 
}

.navbar-links .dropbtn {
    background-color: transparent; 
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

.navbar-links .dropdown-content {
    display: none;
    position: absolute;
    background-color: black;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    top: 100%;
    left: 0;
    z-index: 1001; 
    padding: 10px; 
    border-radius: 10px;
    margin-top: 10px;
}

.navbar-links .dropdown-content a {
    color: white;
    padding: 8px 12px; 
    text-decoration: none;
    display: block;
    text-align: left;
    margin: 10px 0;
}


@media (max-width: 768px) {
    .navbar-links {
        display: none;
        flex-direction: column;
        align-items: center;
        position: absolute;
        top: 80px;
        right: 0; /* Position to the right side of the screen */
        width: 100%;
        padding: 10px 0;
        background-color: black;
        transition: transform 0.3s ease;
        transform: translateY(-100%);
        max-height: calc(100vh - 100px);
        overflow-y: auto; /* Enable overflow for scrollbar */
        z-index: 23;
    }

    .navbar-links.active {
        display: flex;
        transform: translateY(0);
    }

    .navbar-links a {
        color: white;
        text-decoration: none;
        padding: 10px 15px;
        margin: 5px 0;
        border-radius: 20px;
    }


    /* Position the hamburger menu on the right side */
    .hamburger-menu {
        display: block;
        color: white;
        font-size: 24px;
        cursor: pointer;
        position: absolute;
        top: 10px; /* Adjust as needed */
        right: 10px; /* Adjust as needed */
    }

    .sponsors {
        display: none;
    }

    .ime-kluba {
        font-size: 15px;
    }

    /* Adjust content position when navbar links dropdown is active */
    .navbar-links.active ~ .content {
        margin-top: calc(100vh - 100px);
        transition: margin-top 0.3s ease;
    }
}



@media (min-width: 1024px) and (max-width: 1324px) {
 
    .sponsor-logo img{
        width: 60px;
    }
    .navbar-links a{
        font-size: 11px;
    }
    .sponsors{
        width: 25%;
    }
}


/* CSS za korpu */
.cart-sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 211;
    top: 0;
    right: 0;
    background-color: #f8f9fa;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
  }
  
  .cart-sidebar .close-cart {
    position: absolute;
    top: 20px;
    right: 10px;
    font-size: 30px;
    margin-left: 50px;
    width: 70px;
    cursor: pointer ;
  }
  
  .cart-sidebar .close-cart:hover {
    color: red;
  }
  
  .cart-content {
    padding: 16px;
  }
  
  .cart-item {
    padding: 10px;
    border-bottom: 1px solid #ddd;
  }
  
  .cart-item img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
    float: left;
  }
  
  .cart-item-details h3 {
    margin: 0;
  }
  
  .cart-item-details p {
    margin: 0;
  }
  
  .cart-container {
    position: relative;
  }
  
  .cart-item-count {
    position: absolute;
    top: 0;
    right: 0;
    background-color: red;
    color: white;
    border-radius: 50%;
    padding: 4px;
    font-size: 12px;
  }
  
  .cart-container{
    margin-top: 10px;
  }

  .shop-item img{
    max-width: 200px;
  }
  .cart-item-details p{
    color: black !important;
  }