header{
    background-color: #ffffff;
    z-index: 99;
    position: sticky;
    top: 0;
}
#navbar{
    justify-content: center;
    max-width: 75em;
    margin: 0px auto;
    padding: 10px;
    padding-bottom: 0px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color:#ffffff;
    flex-wrap: wrap;
}
#logo img{
    height: 75px;
}

#searchbar-container{
    width: 20%;
    position: relative;
    display: flex;
    visibility: hidden;
}
#searchbar{
    border-radius: 20px;
    border: 1px solid #CCCCCC;
    color: #CCCCCC;
    margin: 0 10px;
    outline: none;
    padding: 5px 10px;
    flex-grow: 1;
}
#searchbar-container i {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    color: #CCCCCC;
    cursor: pointer;
  }
.text-nav{
    font-size: 1em;
    font-style: italic;
    color: black;
}
.spatiu-client{
    display:flex;
    align-items: center;
}
.spatiu-client img{
    height: 30px;
    width: 30px;
    margin-right: 3px;
}
.spatiu-client a{
    display:flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
}
#cart a div {
    position: relative;
}
#cart a #cart-counter{
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: -5px;
    right:-5px;
    width: 22px;
    height: 22px;
    background-color:#5ea4f6;
    color:white;
    font-weight: 500;
    border-radius: 50%;
}
.bara-mare,
.bara-mica{
    width: 100%;
    background: linear-gradient(to right,#A0006D, #5EA4F6);
}
.bara-mare{
    height: 24px;
}
.bara-mica{
    height: 3px;
}

@media screen and (max-width: 1024px){
    #logo img{
        height: 60px;
    }
    .text-nav{
        display: none;
    }
    #navbar{
        justify-content: space-evenly;
    }
}

@media screen and (max-width: 600px){
    #logo img{
        height: 40px;
    }
    #searchbar-container{
        display: none;
        order: 1;
        width: 100%;
    }
    #navbar{
        justify-content: space-evenly;
    }
}

@media screen and (max-width: 400px){
    #logo img{
        height: 30px;
    }
    #navbar{
        justify-content: space-between;
        padding-bottom: 5px;
    }
}