*
{
    font-family: "Montserrat", sans-serif;
}

@keyframes loadanimate {
  0%   { transform: translate(0px, -2px); }
  12.5%{ transform: translate(1px, -1px); }
  25%  { transform: translate(2px, 0px); }
  37.5%{ transform: translate(1px, 1px); }
  50%  { transform: translate(0px, 2px); }
  62.5%{ transform: translate(-1px, 1px); }
  75%  { transform: translate(-2px, 0px); }
  87.5%{ transform: translate(-1px, -1px); }
  100% { transform: translate(0px, -2px); }
}

#loadcircle
{
    width: 3vw;
    height: 3vw;
    min-width: 50px;
    min-height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(37,42,48);
}

#loadcircle::before
{
    position: absolute;
    content: '';
    width: calc(3vw - 2px);
    height: calc(3vw - 2px);
    min-width: 48px;
    min-height: 48px;
    transform: translate(0px,-5px);
    border-radius: 50%;
    animation: loadanimate 0.7s infinite;
}

#searchresultpnl::-webkit-scrollbar
{
    width: 0px;
}

:has(#searchbtn.active) #navlogo, :has(#searchbtn.active) #homebtn
{
    transform: translateX(50%);
    opacity: 0;
    transition-duration: 300ms;
    filter: blur(20px);
}

:has(#searchbtn.active) #navuserpanel, :has(#searchbtn.active) #friendbtn
{
    transform: translateX(-50%);
    opacity: 0;
    transition-duration: 300ms;
    filter: blur(20px);
}

#maskgradiant
{    
    -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: cover;
    
    /* Diğer tarayıcılar için standart */
    mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    mask-repeat: no-repeat;
    mask-size: cover;
}

#searchcontainer
{
    transition-property: all, width, height;
    transition-duration: 350ms, 300ms, 450ms;
    transition-timing-function: cubic-bezier(.5,-0.5,.5,1.5);
}
:has(#searchbtn.active) #searchcontainer
{
    transition-duration: 350ms, 400ms, 300ms;
    top: 0px;
    filter: blur(0px);
    width: 300px;
    height: 60px;
    opacity: 1;
}
#searchbtn.active
{
    transform: translateX(-170px);
}

@media only screen and (max-width: 550px)
{
    #searchbtn.active
    {
        transform: translateX(-160px);
    }
    :has(#searchbtn.active) #searchcontainer
    {
        transition-duration: 350ms, 400ms, 300ms;
        top: 0px;
        filter: blur(0px);
        width: 270px;
        height: 60px;
        opacity: 1;
    }
    :has(#searchbtn.active) #searchtext
    {
        width: 270px;
    }
}