*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
.sidebar-wrap{
    --sb-primary-color:
    var(--sb-primary);
    --sb-sec-color:var(--sb-secondary);
    --sb-green:var(--primary);
    --sb-white:#ffffffe6;
    --sb-grey:#ffffff8c;
    --skill-bar :#131517;   
}
.sidebar-wrap-theme{
    --sb-primary-color:
    #fafafa;
    --sb-sec-color:#ffffff;
    --sb-green:var(--primary);
    --sb-white:#000000;
    --sb-grey:#0000008c;
    --skill-bar :#d5d0d0;  
}

.sidebar{
    min-width: 290px;
    display: flex;
    flex-direction: column;
    background: var(--sb-primary-color);
    height: 100vh;
    font-family: "Space Grotesk", sans-serif;
    
    
}
.sidebar a{
    text-decoration: none;
}
.sidebar-header{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    min-height: 200px;
    background: var(--sb-sec-color);
}
.sb-header-btn{
height: 40px;
width: 100%;
position: relative;

}
.sb-header-btn span .bx{
    color: aliceblue;
    position: absolute;
    top: 1rem;
    right: 1rem;
    cursor: pointer;
}
.sidebar img{
    display: block;
    width: 100%;
    border-radius: 50%;
}
.sidebar-img{
    height: 100px;
    width: 100px;
    border-radius: 50%;
    position: relative;
}
.sb-img-status{
    position: absolute;
    background: var(--sb-green);
    height: 0.9rem;
    width: 0.9rem;
    border-radius: 50%;
    bottom: 0.2rem;
    right: 0.3rem;
    outline: 0px solid rgba(255, 255, 255, 0.793);
    animation: sbStatus  1s infinite ;
}
@keyframes sbStatus {
    0%{
        outline: 0rem solid rgba(255, 255, 255, 0.793);
    }
    100%{
        outline: 0.4rem solid rgba(255, 255, 255, 0.099);
    }
}

.sb-header-content{
    text-align: center;
}
.sb-header-title{
    padding-top: 2rem;
    color: var(--sb-white) !important;
    font-size: 14px !important;
    margin-bottom: 0 !important;
}
.sb-header-p{
    color: var(--sb-grey) !important;
    font-size: 12px !important;
    margin-bottom: 0 !important;
}
.sb-hr{
    height: 0.01rem;
    width: 100%;
    background: var(--sb-grey);
}

.sb-content{
    flex-grow: 1;
    overflow-y: scroll;
    padding: 1rem 1.5rem;
    color: aliceblue;
    scroll-behavior: smooth;
}
.sb-content::-webkit-scrollbar {
    display: none;
}
.sb-address{
    padding: 1.5rem 0rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.sb-address-h{
    color: var(--sb-white) !important;
    margin-bottom: 0 !important;
    font-size: 13px;
    font-weight: 400;
}
.sb-address-p{
    color: var(--sb-grey) !important;
    margin-bottom: 0 !important;
    font-size: 13px;
    font-weight: 300;
    
}
.sb-address div{
display: flex;
align-items: center;
justify-content: space-between;
}

.sb-lang{
    padding: 1.5rem 0rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.sb-lang div{
    display: flex;
    flex-direction: column;
    gap: 1rem;
   
}
.lang-perc h4{
    font-size: 11px !important;
    position: absolute;
    color: var(--sb-grey) !important;
    top: 50%;
    left: 50%;  
    transform: translate(-50%,-50%);
    z-index: 100;
}
.lang-perc{
    color: var(--sb-grey) !important;
    height: 56px ;
    width: 56px;
    border-radius: 50%;   
    position: relative;
    background: var(--skill-bar) linear-gradient(to right, transparent 50%, var(--sb-green) 0);

}

.lang-perc::before{
    content: '';
    display: block;
    height: 100%;
    margin-left: 50%;
    transform-origin: left;
    border-radius: 0 100% 100% 0/50%;
    background: var(--sb-green) !important;
    transform: rotate(calc(((var(--i) - 50) * 0.01turn)));
}
.lang-perc::after{
    content: '';
    position: absolute;
    inset: 3px;
    background: var(--sb-primary-color);
    border-radius: 50%;
    
}
/* if progress value less than 50 add less class */
.lang-perc .less::before{
    content: '';
    background: var(--sb-primary-color);
    transform: rotate(calc(((var(--i) - 0) * 0.01turn)));
}

.lang-title{
    font-size: 12px !important;
    color: var(--sb-white);
    text-align: center;
    margin:0;
}

.sb-skills{
    padding: 1.5rem 0rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.sb-skill-title{
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px !important;
}
.sb-skill-title h4{
    color: var(--sb-white);
    margin-bottom: 0 !important;
    font-size: 12px;
    font-weight: 400;
}
.sb-skill-title p{
    color: var(--sb-grey);
    font-size: 12px;
    font-weight: 400;
    margin-bottom: 0 !important;
}
.sb-skill-bar{
    margin-top: 0.5rem;
    height: 0.2rem;
    width: 100%;
    background: var(--skill-bar);
    position: relative;
}
.sb-skill-bar::after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background: var(--sb-green);
    height: 100%;
}

.sb-checks{
    padding: 1.5rem 0rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 12px !important;
    color: var(--sb-white);
}
.sb-checks p{
    margin-bottom: 0 !important;
}
.sb-checks div{
    display: flex;
    gap: 1rem;
}
.sb-check .bx{
    color: var(--sb-green);
    font-weight: bold;
    font-size: 1rem !important;
}
.sb-cv{
    padding: 1.5rem 0;
}
.sb-cv-link{
    display: flex;
    color: var(--sb-white) !important;
    font-size: 10px !important;
    letter-spacing: 1.5px;
    transition: color 0.5s ease;
}
.sb-cv-link h4{
    margin-bottom: 0 !important;
    margin-right: 10px;
    font-size: 15px !important;
}
.sb-cv-link :hover{
color: var(--sb-white);
}
.bxs-download{
    font-size: 18px !important;
}


.sb-footer{
background: var(--sb-sec-color);
max-height: 50px;
width: 100%;
padding: 1.5rem 1rem;
display: flex;
justify-content: center;
align-items: center;
gap: 1rem;

}
.sb-footer-icon{
    height: 12px;
    width: 12px;
}
.sb-footer-icon .bx{
    color: var(--sb-grey) !important;
}
.sb-footer-icon a svg{

    height: 12px;
    fill: var(--sb-grey) !important;
}

.sb-footer-icon .bx:hover,.sb-footer-icon a svg:hover{
    color: var(--sb-green) !important;
    cursor: pointer;
    fill: var(--sb-green) !important;
}

@media screen and (max-width:680px){
    .sidebar{
        height: calc(100vh - 68px);
    }
}

/* const lightBtn=document.querySelector('#dark_theme');
const sb=document.querySelector('.sidebar');
lightBtn.addEventListener('click',()=>{
    sb.classList.toggle('sb-light-theme')
})
 */