*{
    padding:0;
    margin: 0;
    color: white;
    font-family: sans-serif;
    box-sizing: border-box;
    }
    
    html{
        font-size: 16px;
        scroll-behavior: smooth;
        scrollbar-width: 5px;
    }
    body{
        background-color: rgb(31, 20, 31);
    }
    
    .all{
        display: flex;
        flex-direction: column;
        gap:18rem;
       
    }
    
    /* <---------navigation-section-----------> */
    .navigation{
        margin: 4rem;
        cursor: pointer;
    }
    nav{
        color: white;
        display: flex;
        justify-content: space-between;
        /* gap: 60rem; */
        margin-left:5rem;
        margin-right:5rem;
        font-size: 30px;
    }
    ul{
        display: flex;
        gap: 4rem;
    }
    li{
        list-style: none;
    }
    li a{
        color:white;
        text-decoration: none;
    }
    li a:hover{
       text-decoration: underline;
    }
    
    .sidebar{
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        backdrop-filter:blur(10px);
        position:fixed;
        top: 0;
        right: 0px;
        height: 100vh;
        width: 300px;
        z-index: 999;
        background-color: rgba(84, 77, 81, 0.2);
        display: none;
    }
    
    .sidebar li{
        width: 100%;
        margin-top: 1rem;
        margin-left: 2rem;
    }
    
    .close-dark, .open-dark{
        display: none;
    }
    .open-menu{
        display: none;
    }
    .light{
        display: none;
        animation: rotate 2s linear infinite;
        /* animation: name duration timing-function delay iteration-count direction fill-mode; */
    }
    
    @keyframes rotate {
        0% {
            transform: rotate(20deg); /* Specify the unit for the rotation angle */
        }
        100% {
            transform: rotate(360deg); /* Optional: complete the rotation */
        }
    }
    
    
    
    /* <----------home-section-----------> */
    .home{
        display: flex;
        gap: 10rem;
        
    }
    .home-left{
        display: flex;
        flex-direction: column;
        gap:10px;
        
    }
    .head{
    font-size: 50px;
    }
    .desc{
        font-size: 30px;
        color: rgb(139, 122, 122);
        
    }
    .name{
        color: rgb(144, 63, 140);
        font-size:35px ;
        font-weight: bolder;
    }
    .down1{
        margin-top: 10px;
        display: flex;
        gap:20px;
    }
    
    .link,.git-i{
        height: 53px;
        width: 53px;
        border: 2px solid white;
        border-radius: 10px;
        cursor: pointer;
    }
    .git-i-dark{
        display: none;
    }
    .linked-dark{
        display: none;
    }
    .linked{
        height: 50px;
        width: 50px;
    }
    .home-sec{
        display: flex;
        flex-direction: column;
        padding: 6rem 11rem 0;
        gap: 2rem;
    } 
    
    .home-button{
        display:flex;
        gap: 1rem;
        margin-top: -3rem;
    }
    .home-btn{
        width: 250px;
        border-style: none;
        padding: 15px;
        font-size: 25px;
        border-radius: 1rem;
    }
    .contact-button{
        color: white;
        background-color:rgb(59, 27, 59); 
        cursor: pointer;
    }
    .cv-button{
        color: black;
        cursor: pointer;
    }
    .home-right{
        border:3px solid rgb(165, 45, 165);
        height:350px;
        width: 300px;
        display: inline-block;
        overflow: hidden;
        animation-name: waves;
        animation-duration: 4s;
        animation-timing-function: ease-in-out;
        animation-iteration-count: infinite; 
    }
    img{
        height:350px;
         width:300px;
        object-fit: cover;
        object-position:right;
        
    }
    /* <----------profile-animation---------> */
    @keyframes waves {
        0%, 100% {
            border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
        }
        50% {
            border-radius: 40% 60% 70% 30% / 40% 70% 30% 60%;
    }
    }
    
    /* <-----------about-section-----------> */
    
     .about-sec{
        background-color:rgb(42, 22, 42) ;
        justify-content: center;
       align-items: center;
       padding-top: 6rem;
       padding-bottom: 6rem; 
       padding: 6rem;
       display: flex;
       flex-direction: column;
       gap: 4rem;
    }
    
    /* <-----------skills-section-----------> */
    .skills-sec{
        text-align: center;
        display: flex;
        flex-direction: column;
        gap: 4rem;
    }
    .skills-icon{
        display: flex;
        flex-direction: column;
        gap:3rem;
        justify-content: center;
        align-items: center;
    }
    .icon-split{
        display: flex;
        gap:5rem;
        justify-content: center;
        align-items: center;
    }
    .icon-box {
        background-color: rgb(42, 22, 42);
        height: min-content;
        width: 240px;
        border-radius: 1rem;
        transform:translateX(0) translateY(0);
        transition: transform 0.5s;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        box-shadow: 2px 2px 2px 1px white ;
    }
    .icon-box p{
        font-size: 25px;
        font-weight: bold;
    }
    
    .icon-box:hover {
        transform:translateX(15px) translateY(15px);
        
    }
    .icons, .icons-git{
        height: 160px;
        width: 160px;
        object-fit: contain;
        padding:1rem;
    }
    
    .git-black{
        display:none;
    }
    
    
    
    
    
    /* <-------------project-sec-------------> */
     .project-section{
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 4rem;
        padding: 15rem;
        margin-top: -100px;
    }
    
    .box{
        display: flex;
        gap: 70px;
        justify-content: center;
    }
    
    .project-container{
        display: flex;
        flex-direction: column;
        gap: 70px;
        justify-content: center;
        align-items: center;
        cursor: pointer;
    }
    
    .project-cont{
        height: 400px;
        width: 400px;
        border: 2px solid rgb(150, 120, 150);
        overflow: hidden;
        position: relative;
    }
    
    .project-img{
        height: 400px;
        width: 400px;
        object-fit: cover;
    }
    h2{
    font-size: 30px;
    margin-bottom: 10px;
    }
    
    .project-desc{
        height: 100%;
        width: 100%;
        background: linear-gradient(transparent,rgb(175, 64, 175));
        position: absolute;
        bottom: -100%;
        transition: all 1s ease-out;
        display:flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }
    
    .project-cont:hover .project-desc{
        bottom: 0%;
    }
    
    .project-text{
        font-size: 15px;
        width: 370px;
        margin-bottom:10px;
    }
    
    .git-button, .live-button{
        height: 40px;
        width: 80px;
        border-color:transparent;
        background-color: transparent;
        border-radius: 10px;
        margin: 10px;
        font-size: 15px;
        font-weight: bold;
    }
    
    .git-button:hover, .live-button:hover{
        border-color:rgb(176, 166, 168);
    }
    
    
    
    
    
    
    
    
    
    /* <---------------contact-section------------------> */
    .contact-section{
        display: flex;
        flex-direction: column;
        gap: 2rem;
        justify-content: center;
        text-align: center;
    }
    .get-in-touch{
        font-size: 40px;
        font-weight: lighter;
        color: rgb(152, 144, 144);
    }
    .contact-info{
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 2rem;
        gap: 7rem;
        border: 1px solid rgb(189, 183, 183);
        width: 40%;
        padding: 3rem;
        border-radius:35px;
        margin: auto;
    }
    .mail-info, .linkedin-info{
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 1rem;
        cursor: pointer;
    }
    
    .mail-info a{
        text-decoration: none;
    }
    
    .mail-info a:hover{
        text-decoration: underline;
        opacity: 0.44;
    }
    
    .link-info:hover{
        text-decoration:underline;
        opacity: 0.44; 
    }
    .mail-img{
        width: 40px;
        height: 40px;
        object-fit: contain;
    }
    .mail-dark{
        display: none;
    }
    
    
    /* <----------footer-----------> */
    .footer{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap:4rem
    }
    .foot{
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 2rem;
        gap: 3rem;
    }
    .copyright{
        margin-bottom: 8rem;
        font-size: 20px;
    }
    
    
    
    
    
    
    /* ----------media queries(max-width:850)------------- */
    @media (max-width:650px) {
    
    
        .all{
            text-align: center;
            gap:10rem ;
        }
        nav{
        margin-left: 0;
        margin-right: 0;
        gap:0;
        justify-content: space-between;
        }
        .open-menu{
            display: block;
    
        }
        .hidden{
            display:none;
        }
        .home{
            display: flex;
            flex-direction: column-reverse;
            justify-content: center;
            align-items: center;
        }
        .home-left{
            text-align: center;
            margin-top: -6rem;
            gap: 1px;
            
        }
        .home-right{
            border:3px solid rgb(165, 45, 165);
            height:300px;
            width: 250px;
        }
        img{
            height:300px;
             width:250px;
            object-fit: cover;
            object-position:right;
            
        }
        .down1{
            justify-content: center;
            gap: 10px;
        }
        .link, .git-i{
            height: 38px;
            width: 38px;
        }
        .linked{
            height: 35px;
            width: 35px;
        }
        .home-button{
            display:flex;
            flex-direction: column;
            gap: 1rem;
            margin-top:10px;
        }
        .head{
            font-size: 30px;
            }
            .desc{
                font-size: 18px;
                color: rgb(139, 122, 122);
            }
            .name{
                color: rgb(144, 63, 140);
                font-size:25px ;
                font-weight: bolder;
            }
            .home-sec{
                padding:0 2rem 0;
                margin-top: -1rem;
                align-items: center;
            }
        .home-btn{
               width: 300px;
                padding: 15px;
                font-size: 20px;
        }
        .about-sec{
            width: 107%;
            padding:2rem;
           display: flex;
           flex-direction: column;
           gap: 2rem;
        }
       
        .about-desc{
            text-align:left;
        }
    
        .skills-sec{
            gap: 3rem;
            padding: 1rem;
        }
        .icon-split{
            gap:5px;
            
        }
        .icon-box {
            background-color: rgb(42, 22, 42);
            height: 90px;
        width: 80px;
            border-radius: 1rem;
        }
        .icon-box p{
            font-size: 10px;
        }
        .icons, .icons-git{
            height: 60px;
            width: 60px;
            object-fit: contain;
            padding:15px;
        }
    
    
    .project-section{
        padding: 5rem;
    }
        .box{
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 40px;
            justify-content: center;
        }
        
        .project-container{
            display: flex;
            flex-direction: column;
            gap: 40px;
            justify-content: center;
            align-items: center;
            margin-left: 20px;
        }
    
    
        .project-cont{
            height: 350px;
            width: 350px;
            border: 2px solid rgb(150, 120, 150);
            overflow: hidden;
            position: relative;
        }
        
        .project-img{
            height: 350px;
            width: 350px;
            object-fit: cover;
        }
        
        .project-text{
            width: 330px;
        }
        .project-desc{
            bottom: -150%;
            
        }

        .git-button, .live-button{
            font-weight: bold;
        }
        
        
        .contact-info{
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            font-size: 20px;
            gap: 1rem;
            border: 1px solid rgb(189, 183, 183);
            width:89%;
            padding:10px;
            margin-left: 40px;
        }
        
        .mail-img{
            width: 28px;
            height: 28px;
            object-fit: contain;
        } 
    
        .foot{
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            font-size:20px;
            gap: 3rem;
        }
        .copyright{
            margin-bottom: 8rem;
            font-size:15px;
        }
        .navigation{
            margin-left: 1rem;
            margin-right: 1rem;
        }
        .skills-icon{
            margin-left: 20px;
        }
    }
    
    
    
    @media (min-width:650px) and (max-width:900px) {
    
        
        .all{
            text-align: center;
            gap:10rem ;
        }
        nav{
        margin-left: 0;
        margin-right: 0;
        gap:0;
        justify-content: space-between;
        }
        .open-menu{
            display: block;
    
        }
        .hidden{
            display:none;
        }
        .home{
            display: flex;
            flex-direction: column-reverse;
            justify-content: center;
            align-items: center;
        }
        .home-left{
            text-align: center;
            margin-top: -6rem;
            gap: 1px;
            
        }
        .home-right{
            border:3px solid rgb(165, 45, 165);
            height:300px;
            width: 250px;
        }
        img{
            height:300px;
             width:250px;
            object-fit: cover;
            object-position:right;
            
        }
        .down1{
            justify-content: center;
            gap: 10px;
        }
        .link, .git-i{
            height: 38px;
            width: 38px;
        }
        .linked{
            height: 35px;
            width: 35px;
        }
        .home-button{
            display:flex;
            flex-direction: column;
            gap: 1rem;
            margin-top:10px;
        }
        .head{
            font-size: 30px;
            }
            .desc{
                font-size: 18px;
                color: rgb(139, 122, 122);
            }
            .name{
                color: rgb(144, 63, 140);
                font-size:25px ;
                font-weight: bolder;
            }
            .home-sec{
                padding:0 2rem 0;
                margin-top: -1rem;
                align-items: center;
            }
        .home-btn{
               width: 300px;
                padding: 15px;
                font-size: 20px;
        }
        .about-sec{
            width: 100%;
            padding:2rem;
           display: flex;
           flex-direction: column;
           gap: 2rem;
        }
       
        .about-desc{
            text-align:left;
        }
    
        .skills-sec{
            gap: 3rem;
            padding: 1rem;
        }
        .icon-split{
            gap:5px;
            
        }
        .icon-box {
            background-color: rgb(42, 22, 42);
            height: 140px;
        width: 160px;
            border-radius: 1rem;
        }
        .icon-box p{
            font-size: 17px;
        }
        .icons, .icons-git{
            height: 80px;
            width: 80px;
            object-fit: contain;
            padding:15px;
        }
    
    
    .project-section{
        padding: 5rem;
    }
        .box{
            display: flex;
            align-items: center;
            gap: 30px;
            justify-content: center;
        }
        
        .project-container{
            display: flex;
            flex-direction: column;
            gap: 40px;
            justify-content: center;
            align-items: center;
            /* margin-left:20px; */
        }
    
    
        .project-cont{
            height: 320px;
            width: 320px;
            border: 2px solid rgb(150, 120, 150);
            overflow: hidden;
            position: relative;
        }
        
        .project-img{
            height: 320px;
            width: 320px;
            object-fit: cover;
        }

        h2{
            font-size: 25px;
        }
        
        .project-text{
            width: 310px;
        }
        .project-desc{
            bottom: -150%;
            
        }
    
        .contact-info{
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            font-size: 20px;
            gap: 1rem;
            border: 1px solid rgb(189, 183, 183);
            width:52%;
            padding:10px;
            
        }
        
        .mail-img{
            width: 28px;
            height: 28px;
            object-fit: contain;
        } 
        .foot{
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            font-size:20px;
            gap: 3rem;
        }
        .copyright{
            margin-bottom: 8rem;
            font-size:15px;
        }
        .navigation{
            margin-left: 1rem;
            margin-right: 1rem;
        }
        .skills-icon{
            margin-left: 20px;
        }
    }
    
    
    
    /* ----------media queries(max-width:1150)------------- */
    @media(min-width:900px) and (max-width:2000px) {
        .all{
            gap: 10rem;
        }
         .navigation{
            margin-left: 2rem;
            margin-right: 0;
         }
        nav{

            font-size: 18px;
            margin-left: 0;
            margin-right: 3rem;
            gap:0;
            justify-content: space-between;
            }
    
            .home-right{
                border:3px solid rgb(165, 45, 165);
                height:250px;
                width: 200px;
            }
            img{
                height:250px;
                 width:200px;
                object-fit: cover;
                object-position:right;
                
            }
    
        ul{
            gap: 2rem;
        }
        .home-sec{
            padding:2rem 4rem;
    
        }
        .home{
            display: flex;
            gap: 2rem;
            align-items: center;
            gap: 4rem;
            margin-top: 1rem;

            
        } 
        .home-btn{
            width: 150px;
            border-style: none;
            padding: 8px;
            font-size: 15px;
            
            margin-top:2rem;
        }
        .head{
            font-size: 35px;
            }
            .desc{
                font-size: 18px;
                color: rgb(139, 122, 122);
            }
            .name{
                color: rgb(144, 63, 140);
                font-size:20px ;
                font-weight: bolder;
            }
    .about-sec{
        width: 100%;
    }
    .skills-icon{
        margin-left: 0;
    }
    
            .icon-split{
                gap:50px;
                
            }
            .icon-box {
                background-color: rgb(42, 22, 42);
                height: 130px;
                width: 130px;
                padding: 10px;
                border-radius: 1rem;
            }
            .icons, .icons-git{
                height: 80px;
                width: 80px;
                object-fit: contain;
                padding:20px;
            }
    
            .icon-box p{
                font-size: 15px;
            }
            .box{
                display: flex;
                gap: 40px;
                justify-content: center;
            }


            .project-section{
                padding: 4rem;
            }


            .contact-section{
                margin-left: 0;
            }
            .contact-info{
                width: 650px;
                padding: 2rem;
        
            }
            .mail-img{
                width: 33px;
                height: 33px;
                object-fit: contain;
            }
    
            .link-info{
                font-size: 23px;
            }
    
            .mail-info a{
                font-size: 23px;
            }
            .linked{
                height: 33px;
                width: 33px;
            }
            .link,.git-i{
                height: 36px;
                width: 38px;
                border: 2px solid white;
                border-radius: 10px;
                cursor: pointer;
            }
            .foot li{
                font-size: 19px;
            };
    
    
            .footer{
                margin-left: 50px;
            }
            .copyright{
                font-size: 15px;
            }
    }

