/* GLOBAL SETTING */
:root{
    /* NAV */
    /* --nav-height: 2.9rem; */
    --nav-height: 3.8rem;
    /* ICON */
    --nav-ico-width: 3rem;
    --nav-ico-padding: 0.5rem;
    --nav-ico-radius: 8px;
    --nav-ico-size: 2.13rem;
}

/* NAV */
.nav-background{
    /* max-width: 1080px; */
    /* padding-top: 10px; */
width: 100%;
height: var(--nav-height);
/* background-color: #0a0a0a1a; */
-webkit-backdrop-filter: blur(8px);
backdrop-filter: blur(8px);
/* background-color: var(--bm-box-bacground); */
display: flex;
margin: auto;
}
nav{
position: fixed;
z-index: 1;
width: 100%;
border-bottom: 1px solid var(--bm-box-shadow);
/* background: #141414; */
/* background-color: var(--bm-box-bacground); */
}

/* SETTINGS */
.nav-fixed{
    height: var(--nav-height);
    width: 100%;
}


.nav-left-side{
    display: flex;
    width: 33.333%;
    justify-content: start;
    /* border-bottom: 2.6px solid var(--bm-box-shadow); */
}

.nav-mid-side{
    display: flex;
    width: 33.333%;
    /* border-bottom: 2.6px solid var(--bm-box-shadow); */
    align-items: center;
    justify-content: center;
    font-family: monospace;
    font-size: larger;
}
/* .nav-mid-side:hover{
    border-bottom: 2.6px solid var(--bm-text-shadow);
} */

/* .nav-mid-side a{
    display: none;
    position: absolute;
    top: 55px;
    font-size: 0.9rem;
    margin: 3px 0px;
    padding: 2px 1.4rem;
    border: 1px dashed var(--bm-text-shadow);
    border-radius: 12px;
    color: var(--bm-text-color);
    background: var(--bm-box-bacground);
} */

/* .nav-mid-side b{
    display: none;
    position: absolute;
    top: calc(var(--nav-height) + 5px);
    font-family: monospace;
    font-size: 0.84rem; */
    /* margin: 3px 0px; */
    /* padding: 0.3rem 2.4rem 0.4rem 2.4rem;
    border-top: 1px dashed var(--wrong);
    border-bottom: 1px dashed var(--fine); */
    /* border: 1px dashed var(--bm-text-shadow); */
    /* border-radius: 43px;
    color: var(--bm-text-color);
    background: #2424245c;
} */

.nav-mid-side b {
    display: none;
    font-family: monospace;
    font-variant-caps: small-caps;
    font-size: 0.98rem;
    padding: 0rem 0.6rem;
}

.nav-mid-side:hover b{
    display: flex;
    transition: 3s;
} 

/* .nav-mid-side:hover .nav-logo{
    border: 1px dashed white;
}  */

.nav-right-side{
    display: flex;
    width: 33.333%;
    justify-content: flex-end;
    /* border-bottom: 2.6px solid var(--bm-box-shadow); */
}
/* .nav-right-side:hover{
    border-bottom: 2.6px solid var(--bm-text-shadow);
} */



/* LEFT SIDE */
.nav-menu{
    border: none;
    border-bottom: 2.6px solid var(--bm-box-shadow);
    color: var(--bm-text-color);
    background: transparent;
    cursor: pointer;
/*     border-top: 2.6px solid transparent; */
    height: var(--nav-height);
    font-size: var(--nav-ico-size);
    display: flex;
    justify-content: center;
    align-items: center;
    /* padding: 0px 8px 0px 8px; */
    /* tu zaszły zmiany */
    padding: 0px 22px 0px 6%;
}
/* .nav-menu:hover{
    border-bottom: 2.6px solid rgb(236, 84, 159);
    border-bottom-style: groove;
    border-top: 2.6px solid rgba(5, 143, 255, 1);
    background: rgb(236 84 159 / 18%);
    border-right: 2.6px solid rgb(236, 84, 159);
    border-left: none;
    border-radius: 0px 8px 8px 0px;
    box-shadow: 10px 0px 8px -2px rgb(236 84 159 / 18%);
} */
.nav-menu:hover{
/*     border-bottom: 2.6px solid rgba(236, 58, 150, 1); */
border-bottom-style: groove;
/* border-top: 2.6px solid rgba(236, 58, 150, 1); */
background: rgb(236 84 159 / 18%);
border-right: 2.6px solid rgba(236, 58, 150, 0);
border-left: none;
border-radius: 0px 8px 8px 0px;
box-shadow: 8px 0px 8px -2px rgb(236 84 159 / 18%);
}
.nav-logo{
    padding: 0px 6px 0px 6px;
    /* margin: auto 6px auto 6%; */
    /* border: 1px dashed var(--bm-text-shadow); */
    /* border-radius: 7px; */
}

.nav-logo img{
    height: 2.3rem;
}

/* The sidebar menu */
.sidebar {
    height: 100%; 
    width: 0; 
    position: fixed; 
    z-index: 2; 
    overflow-x: hidden; 
    transition: 0.5s; 
    display: flex;
    flex-direction: column;
    background-color: #121212; /* Black*/
    border-right: 1px solid var(--wm-text-color);
}

.sidebar a{
    text-decoration: none;
}


.sidebar .closebtn {
    display: flex;
    justify-content: flex-end;
    min-height: calc(var(--nav-height) - 1px);
    height: calc(var(--nav-height) - 1px);
    background-color:#121212; /* Black*/
    border-bottom: 1px solid var(--wrong);
}

.close-menu-ico{
    text-decoration: none;
    display: flex;
    align-items: center;
    font-size: var(--nav-ico-size);
    margin: 0px 8px 0px 8px;
    color: var(--bm-text-color);
}

.close-menu-ico i{
    border: 1px solid var(--bm-bacground-color);
    border-radius: 8px;
}

/* NAV-MENU-for-User */
.nav-ul-user{
    display: grid;
    padding: 1rem;
    min-width: max-content;
}

.nav-ul-user a{
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    padding-block: 0.375rem;
    padding-inline: 0.5rem;
    text-decoration: none;
    color: var(--bm-text-color);
    border-radius: 6.2px;
}
.nav-ul-user a:hover{
    background-color: #2e2e2e87;
    border: 1px dashed var(--bm-box-shadow);
}

.nav-ul-user a i{
    font-size: 1.25rem;
    margin-right: 0.5rem;
}

/* NAV-MENU-for-all */

.nav-ul-all{
    display: grid;
    padding: 1rem;
    min-width: max-content;
    border-top: 1px dashed var(--bm-text-shadow);
}

.nav-ul-all a{
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    padding-block: 0.375rem;
    padding-inline: 0.5rem;
    text-decoration: none;
    color: var(--bm-text-color);
    border-radius: 6.2px;
}
.nav-ul-all a:hover{
    background-color: #2e2e2e87;
    border: 1px dashed var(--bm-box-shadow);
}

.nav-ul-all a i{
    font-size: 1.25rem;
    margin-right: 0.5rem;
}

/* Uslugi */
.nav-ul-all .pay-serv i{
color: var(--fine);
}
.nav-ul-all .pay-serv:hover{
    border: 1px dashed #002bff;
    background-color: #17203e87;
}

/* Wsparcie */

.nav-ul-all .pay-donate i{
    color: rgb(236 84 118);
}
.nav-ul-all .pay-donate:hover{
    border: 1px dashed rgb(236 84 159 / 48%);
    background-color: #3e172287;
}

/* More about */

.nav-more-about{
    min-width: max-content;
    padding-left: 1.1rem;
    padding-block: 1rem;
    color: var(--bm-text-shadow);
    font-size: 12px;
}


.sidebar-blur{
    display: none;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    opacity: 0;
    visibility: hidden;
    right: 0px;
    bottom: 0px;
    position: fixed;
    width: calc(100% - 320px);
    height: calc(100% - var(--nav-height));
    height: calc(100%);
    z-index: 2;
    backdrop-filter: blur(3px); /* Efekt rozmycia */
    -webkit-backdrop-filter: blur(3px);
    /* Obrazek po boku */
    /* background-image: url(../asset/img/blur.png); */
}
.sidebar-blur.active{
    transition: opacity 0.3s ease-out, visibility 0.3s ease-out;
    display: flex;
    opacity: 1;
    visibility: visible;
}

#main {
  /* transition: margin-left .5s;  */
  transition: 0.65s;
  white-space: nowrap;
  overflow: hidden;
}

/* MID SIDE */

.nav-mid-side a{
    font-family: "Mona Sans", "Mona Sans Fallback", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-size: clamp(1.075rem, 1.5vw, 1.125rem);
    border: 1px solid var(--fine);
    padding: 1px 6px;
    border-radius: 0.12em;
    box-shadow: 0px -1px 5px -1px var(--fine);
    text-decoration: unset;
    color: var(--bm-text-color);
    text-transform: uppercase;
}

/* RIGHT SIDE */

/* for not login */
.nav-mobile-authorization {
    display: none;
    cursor: pointer;
    height: var(--nav-height);
font-size: var(--nav-ico-size);
justify-content: center;
align-items: center;
padding: 0px 6.5% 0px 23px;
border-bottom: 2.6px solid transparent;
}
.nav-mobile-authorization:hover{
  /*     border-bottom: 2.6px solid rgba(5, 143, 255, 1); */
    border-bottom-style: groove;
/*     border-top: 2.6px solid rgba(5, 143, 255, 1); */
    background: rgb(5 127 235 / 18%);
    border-left: 2.6px solid #057feb00;
    border-radius: 8px 0px 0px 8px;
    box-shadow: -8px 0px 8px -2px rgb(5 127 235 / 18%);
}

.nav-mobile-authorization  a {
    display: flex;
}

.nav-mobile-authorization img{
    -webkit-user-drag: none;
    /* margin: 0px 7.5px 0px 7.5px; */
    margin: 0px 0px 0px 7.5px;
    border-radius: 100%;
    padding: 2px;
    background: linear-gradient(45deg, rgba(5,127,235,1) 0%, rgba(25,0,80,1) 50%, rgba(236,39,83,1) 100%);
    -webkit-box-shadow: 1px -1px 2px 1px rgba(236,39,83,1), -1px 1px 2px 1px rgba(5,127,235,1);
    -moz-box-shadow: 1px -1px 2px 1px rgba(236,39,83,1), -1px 1px 2px 1px rgba(5,127,235,1);
    /* box-shadow: 1px -1px 2px 1px rgba(236,39,83,1), -1px 1px 2px 1px rgba(5,127,235,1); */
    box-shadow: 1px -1px 1.2px 1px rgba(236,39,83,1), -1px 1px 1.2px 1px rgba(5,127,235,1);
    height: 2.4rem;
    width: 2.4rem;
}

.nav-authorization{
    border-bottom: 2.6px solid var(--bm-box-shadow);
    height: var(--nav-height);
font-size: var(--nav-ico-size);
display: flex;
justify-content: center;
align-items: center;
/* padding: 0px 20px 0px 22px; */
padding: 0px 6.5% 0px 22px;
 /* border-bottom:2.6px solid transparent;  */
}


.nav-authorization:hover{
    border-bottom: 2.6px solid var(--fine);
}


.nav-authorization a{
    font-size: 13px;
    text-decoration: none;
    color: var(--bm-text-color);
}

.nav-auth-login{
    display: flex;
    align-items: center;
    padding-block: 0.375rem;
    padding-inline: 0.5rem;
    margin: 0px 14px 0px 0px;
}
.nav-auth-login a:hover{
    color: var(--bm-text-shadow);
}

/* .nav-auth-register{
    display: flex;
    align-items: center;
    padding-block: 0.375rem;
    padding-inline: 0.5rem;
    border-radius: 3.2px;
    border: 1px dashed var(--fine);
} */

.nav-auth-register{
display: flex;
    align-items: center;
    padding-block: 0.375rem;
    padding-inline: 0.5rem;
    border-radius: 3.2px;
    border: 1px solid var(--fine);
  background: var(--dark-fine);
    box-shadow: #237be9 0px 0px 4px 0px;
}
.nav-auth-register a:hover{
    color: var(--bm-text-shadow);
}



/* For loging */
.nav-profil{
    cursor: pointer;
    height: var(--nav-height);
font-size: var(--nav-ico-size);
display: flex;
justify-content: center;
align-items: center;
padding: 0px 6.5% 0px 23px;
border-bottom:2.6px solid var(--bm-box-shadow);
border-top:2.6px solid transparent;
}
.nav-profil:hover{
/*     border-bottom: 2.6px solid rgba(5, 143, 255, 1); */
    border-bottom-style: groove;
/*     border-top: 2.6px solid rgba(5, 143, 255, 1); */
    background: rgb(5 127 235 / 18%);
    border-left: 2.6px solid #057feb00;
    border-radius: 8px 0px 0px 8px;
    box-shadow: -8px 0px 8px -2px rgb(5 127 235 / 18%);
} 
/* .nav-profil:hover{
    border-bottom: 2.6px solid rgb(236, 84, 159);
    border-bottom-style: groove;
    border-top: 2.6px solid rgba(5, 143, 255, 1);
    background: rgb(236 84 159 / 18%);
    border-left: 2.6px solid rgb(236, 84, 159);
    border-right: none;
    border-radius: 8px 0px 0px 8px;
    box-shadow: -10px 0px 8px -2px rgb(236 84 159 / 18%);
} */
.nav-profil img{
    -webkit-user-drag: none;
    /* margin: 0px 7.5px 0px 7.5px; */
    margin: 0px 0px 0px 7.5px;
    border-radius: 100%;
    padding: 2px;
    background: linear-gradient(45deg, rgba(5,127,235,1) 0%, rgba(25,0,80,1) 50%, rgba(236,39,83,1) 100%);
    -webkit-box-shadow: 1px -1px 2px 1px rgba(236,39,83,1), -1px 1px 2px 1px rgba(5,127,235,1);
    -moz-box-shadow: 1px -1px 2px 1px rgba(236,39,83,1), -1px 1px 2px 1px rgba(5,127,235,1);
    /* box-shadow: 1px -1px 2px 1px rgba(236,39,83,1), -1px 1px 2px 1px rgba(5,127,235,1); */
    box-shadow: 1px -1px 1.2px 1px rgba(236,39,83,1), -1px 1px 1.2px 1px rgba(5,127,235,1);
    height: 2.4rem;
    width: 2.4rem;
}

.nav-profil-dist{
    color: var(--bm-text-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.nav-user{
    /* font-size: 13.4px; */    
    font-size: 13.5px;
    font-family: monospace;
}
.nav-user-type{
    font-size: 11px;
    font-family: monospace;
}

/* NAV PROFIL OPEN */
.nav-profil-open {
    height: 100%;
    width: 0px;
    right: 0px;
    position: fixed;
    z-index: 2;
    overflow-x: hidden;
    transition: 0.5s;
    display: flex;
    flex-direction: column;
    background-color: #121212;
    border-left: 1px solid var(--wm-text-color);
}

.nav-profil-open img{
    -webkit-user-drag: none;
    /* margin: 0px 7.5px 0px 7.5px; */
    margin: 0px 0px 0px 7.5px;
    border-radius: 100%;
    padding: 2px;
    background: linear-gradient(45deg, rgba(5,127,235,1) 0%, rgba(25,0,80,1) 50%, rgba(236,39,83,1) 100%);
    -webkit-box-shadow: 1px -1px 2px 1px rgba(236,39,83,1), -1px 1px 2px 1px rgba(5,127,235,1);
    -moz-box-shadow: 1px -1px 2px 1px rgba(236,39,83,1), -1px 1px 2px 1px rgba(5,127,235,1);
    /* box-shadow: 1px -1px 2px 1px rgba(236,39,83,1), -1px 1px 2px 1px rgba(5,127,235,1); */
    box-shadow: 1px -1px 1.2px 1px rgba(236,39,83,1), -1px 1px 1.2px 1px rgba(5,127,235,1);
    height: 2.4rem;
    width: 2.4rem;
}

.nav-profil-open a{
    text-decoration: none;
}

.nav-profil-open .closebtn b{
    margin: auto 14px;
    color: var(--bm-text-shadow);
    font-size: 14px;
    font-family: monospace;
    width: -webkit-fill-available;
    text-align: end;
}

.nav-profil-open .closebtn {
    display: flex;
    justify-content: flex-start;
    min-height: calc(var(--nav-height) - 1px);
    height: calc(var(--nav-height) - 1px);
    background-color:#121212; /* Black*/
    border-bottom: 1px solid var(--fine);
}

.nav-profil-open-blur{
    display: none;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    opacity: 0;
    visibility: hidden;
    left: 0px;
    bottom: 0px;
    position: fixed;
    width: calc(100% - 320px);
    height: calc(100% - var(--nav-height));
    height: calc(100%);
    z-index: 2;
    backdrop-filter: blur(3px); /* Efekt rozmycia */
    -webkit-backdrop-filter: blur(3px);
    /* Obrazek po boku */
    /* background-image: url(../asset/img/blur.png); */
}
.nav-profil-open-blur.active{
    transition: opacity 0.3s ease-out, visibility 0.3s ease-out;
    display: flex;
    opacity: 1;
    visibility: visible;
}

/* AUTOMATYKA */

/* PHONE */
@media (max-width: 765px) {
    .nav-profil-dist{
        display: none;
    }
    .nav-menu{
        border-bottom: 2.6px solid transparent;
    }
    .nav-profil{
        padding: 0px 6% 0px 22px;
        border-bottom: 2.6px solid transparent;
    }
    .nav-authorization{
        display: none;
    }
    .nav-mobile-authorization{
        display: flex;
    }
    :root{
    /* NAV */
        --nav-height: 4rem;}
}