:root{
    --main-color:  bisque;
    --sec-color: #423933;
}
*{
    margin: 0;
    padding: 0;
}
li{
    list-style: none;
}
html:focus-within{
    scroll-behavior: smooth !important;
}
html, body{
    box-sizing: border-box;
    scroll-padding-top: 60px;
    background-color: #423933;
    /* height: auto; */
    width: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
    user-select: none;
    font-family: "Roboto Slab", serif;
}

/* ---- nab bar -------  */
.main{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
nav{
    background-color: transparent;
    backdrop-filter: blur(6px);
    box-shadow: 0px 2px 10px 1px black;
    height: 60px;
    width: 95vw;
    display: flex;
    justify-content: center;
    position: fixed;
    top: 0;
    z-index: 99;
    border-radius: 50px;
    margin-top: 10px;
}
nav .links{
    display: flex;
    gap: 40px;
    width: 60%;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    align-self: center;
    
}
nav a{
      background-color: #423933;
    color: bisque;
    font-size: 1rem;
    border-radius: 30px;
    padding: 5px 10px;
    box-shadow: 2px 3px 3px black;
}

a{
    text-decoration: none;
    color: #423933;
    transition: all 0.2s;
}
nav a:hover{
    background-color: bisque;
    color: #423933;
    font-size: 1rem;
    border-radius: 30px;
    padding: 5px 10px;
    box-shadow: 2px 3px 3px black;
}
/* ------ the hero main content --------  */
#hero{
    /* margin-top: 60px; */
    position: relative;
    width: 100vw;
    height: auto;
    margin-top: 60px;
}
/* ---------- sections --------  */
section{
    height: 630px;
    width: 100vw;
    background-color: #423933;
}
#Home{
    align-items: end;
    display: grid;
}
/* ------------- new change for gsap -----------  */
#Home .sf{
    font-size: 100px;
    color: rgba(255, 229, 203, 0.216);
    margin-left:46%;
}
#Home .home-content{
    height: 500px;
    width: 100vw;
    display: flex;
    justify-content: space-between;
    background-color: var(--main-color);
}
.home-content .my-image{
    height: 400px;
    width: 400px;
    background: url(svg/saket.jpg);
    background-size: cover;
    border-radius: 30px;
    margin-top: -80px;
    margin-left: 5%;
    box-shadow: 2px 3px 4px #202020;
}
/* --------- text under home ----------  */
.home-text{
    padding-top: 60px;
    margin-right: 25%;

}
.home-text h1{
    font-size: 3.2rem;
    margin-top: 20px;
    color: #202020;
    text-shadow: 0px 1px 2.4px #202020;

}
.home-text h2{
    font-size: 1.5rem;
}
.profession{
    display: flex;
}
/* ========= i  am a ================ */
.profession #ima{
    font-size: 3rem; 
}

.all-graphic{
    display: grid;
    height: 50px;
    width: 300px;
    overflow: hidden;
}
.all-graphic h2{
    color: #423933;
    font-size: 2rem;
    margin-top: 13px;
    margin-left: 10px;
    animation: up 8s infinite cubic-bezier(1, 0, 0, 1);
}
@keyframes up{
    25%{
        transform: translateY(-50px);
    }
    50%{
        transform: translateY(-100px);
    }
    65%{
        transform: translateY(-150px);
    }
    85%{
        transform: translateY(-210px);
    }
    100%{
        transform: translateY(-0px);

    }
}
/* --------- buton of lets talk ------------  */
#talk{
    list-style: none;
    text-decoration: none;
    color: #202020;
    margin-top: 35px;
    position: absolute;
    font-size: 1.5rem;
    border-radius: 30px;
    padding: 2px 8px 2px 8px;
    border: 2px solid #202020;
    transition: all 0.3s ease;
    box-shadow: 2px 3px 3px black;
}
#talk:hover{
    background-color: #423933;
    color: bisque;
    transform: scale(1.08);
}


/* ---- about us section -----------  */

    #About{
        height: auto;
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        /* justify-content: center; */
        gap: 30px;
        position: relative;
        padding-top: 30px;
        padding-bottom: 40px;
    }
   #About .about-head{
        height: 30px;
        width: 100vw;
    }
    #About .about-para{
        height: 150px;
        width: 100vw;
        text-align: center;
        display: flex;
    }
    /* --------- heading of about us---------  */
    #About h3{
        color: bisque;
        font-size: 2rem;
        padding-left: 100px;
    }
    /* ------- paragraph of about us --------  */
    #About p{
        color: bisque;
        line-height: 35px;
        font-size: 1.5rem;
        letter-spacing:1.3px;
        padding-right: 100px;
        padding-left: 100px;
        text-align: justify;
    }

    #About .boxes p{
        text-align: center;
    }
    
    #About .cv-button{
        height: 50px;
        width: auto;
        margin-top: 40px;
        padding-left: 100px;  
    }
   

    /* -------- the button of the cv ---------  */
    .cv-button a{
        text-decoration: none;
        color: bisque;
        border: 2px solid bisque;
        padding: 2px 8px 2px 8px;
        border-radius: 30px;
        font-size: 1.5rem;
        transition: all 0.3s ease;
        box-shadow: 2px 3px 3px black;
    }
    /* -------- the skills div ---------  */
    #About .skills{
        height: auto;
        width: 100%;
        display: flex;
    }
    .skills .skill-head{
        height: auto;
        width: 20%;
        font-size: 2rem;
    }

.skills .skill-all{
    width: 70%;
    display: grid;
    grid-template-columns: repeat(7, 100px);
    justify-content: center;
    align-items: center;
    gap: 30px;
    height: auto;
}
.skill-all .boxes{
    height: 100px;
    width: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.boxes .fa-brands, .fa-solid{
    color: bisque;
    font-size: 54px;    
    text-align: center;
}
/* .boxes .fa-solid{
    color: bisque;
    font-size: 54px;    
    text-align: center;
} */
/* -------- style of the project section ------  */
#Projects{
    background-color: var(--main-color);
    position: relative;
    height: auto;
}
#Projects h3{
    font-size: 2rem;
    margin-left: 100px;
    padding-top: 20px;
    margin-bottom: 20px;
}
#Projects .project-box{
    display: grid;
    padding-left: 60px;
    padding-right: 60px;   
    justify-content: center;
    width: auto;
    padding-bottom: 20px;
    grid-template-columns: repeat(auto-fit, 300px); 
    gap: 20px;
}
#Projects .project-box .project-card{
    min-height: 320px;
    width: 300px;
    margin-top: 20px;
    padding: 5px;
    color: bisque;
    margin-right: auto;
    margin-left: auto;
    align-items: center;
    border-radius: 10px;
    background-color: #423933;
    box-shadow: 2px 3px 3px black;
    transition: all 0.3s ease;
    justify-content: center;
    align-content: center;
}

/* -----------------  */
/* ============= main project ======================  */
#Projects .main-project{
    height:auto;
    min-width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    background-color: var(--main-color);
}
.main-project .project-one{
    width: 90%;
    height: 400px;
    border-radius: 10px;
    justify-content: space-around;
    align-items: center;
    display: flex;
    padding: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
    background-color: var(--sec-color);
}
.project-one img {
    width: 60%;
    height: 100%;
    border-radius: 10px;
}
.project-one .project-data {
    width: 50%;
    height: 100%;
    padding: 10px;
    align-items: center;
}
.project-data p{
    color: bisque;
    font-size: 20px;
    text-align: justify;
    letter-spacing: 0.8px;
    word-spacing: 2px;
}
.project-data h4{
    color: bisque;
    margin-top: 25px;
    font-size: 3rem;
    margin-bottom: 15px;
}
.project-data #view-btn{
    margin-top: 25px;
    font-size: 1rem;
    padding: 2px 8px 2px 8px;
    margin-left: 10px;
    background-color: #423933;
    color: bisque;
    border: 2px solid bisque;
    border-radius: 20px;
    box-shadow: 2px 3px 3px black;
    cursor: pointer;
}

/* ============== border design ============  */


/* ------ the copy version ----------  */

#Projects .project-box .project-card:hover{
    background-color:#362f2a;
}
.project-card img{
    width: 100%;
    height: 100px;
    margin-top: 25px;
    border-radius: 10px 10px 0px 0px;
}
.project-card h4{
    color: bisque;
    margin-top: 25px;
    font-size: 1.5rem;
    margin-bottom: 15px;
}
.project-card #view-btn{
    margin-top: 25px;
    font-size: 1rem;
    padding: 2px 8px 2px 8px;
    margin-left: 10px;
    background-color: #423933;
    color: bisque;
    border: 2px solid bisque;
    border-radius: 20px;
    box-shadow: 2px 3px 3px black;
    cursor: pointer;
}
/* -------- the contact us  form ---------  */
/* =========== contact us ======== */

#Contact{
    background-color: #423933;
    justify-content: center;
    display: grid;
    color: beige;
    text-align: center;
}
#Contact h2{
    margin-top: 30px;
    font-size: 2rem;
    height: 40px;
    position: relative;
}
#Contact form{
    margin-top: -50px;
}
#Contact .form-input, textarea{
    font-size: 20px;
    padding-left: 10px;
    resize: none;
    margin-bottom: 10px;
     border-radius: 10px;
    border: none;
    background-color: bisque;
}
#button{
    padding: 2px 15px 2px 15px;
    background-color: #423933;
    color: bisque;
    font-size: 20px;
    margin-top: 20px;
    border: 2px solid bisque;
    border-radius: 30px;
    box-shadow: 2px 3px 3px black;
    transition: all 0.3s ease;
}
#button:hover{
    cursor: pointer;
    background-color: var(--main-color);
    color: var(--sec-color);
    transform: scale(1.2);
    border: 2px solid #362f2a;
}
#Contact .icon{
    height: 150px;
    position: relative;
    width: 100%;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;

} 
.icon i{
    height: auto;
    font-size: 4rem;
    color: var(--main-color);
    justify-content: space-evenly;
}
.icon i:hover{
    filter: drop-shadow(2px 3px 3px black);
    transition: 0.3s;
}

.fa-instagram,  .fa-github, .fa-linkedin{
    text-align: start;
    padding: 0px 10px;
}

.footer{
    height: 60%;
    font-size: 16px;
    width: 100vw;
    color: var(--sec-color);
    text-align: center;
    justify-content: center;
    align-content: center;
    background-color: var(--main-color);
}



/* --------- responsive media for mobile ---------  */

@media (max-width: 575px) {
    html{
        box-sizing: border-box;
        scroll-behavior: smooth;
        }
    body{
        scroll-behavior: smooth;
    }
li{
    list-style: none;
}

    nav{
        justify-content: center;
        align-items: center;
    }
    nav .links{
      gap:10px;
    }
    nav .links h3{
        font-size: 16px;
    }
    #hero{
        width: 100vw;
    }
    #hero section{
        width: 100vw;
        height: 100%;
    }
    /* ------- home all conetent ------  */
    #Home .home-content{
        padding-bottom: 20px;
        width: 100vw;
        display: grid;
        justify-content: center;
        background-color: var(--main-color);
    }
    /* ------------- new change for gsap -----------  */
    #Home{
        display: grid;
        text-align: center;
        align-items: center;
    }
#Home .sf{
    font-size: 80px;
    color: rgba(255, 229, 203, 0.216);
    margin-left: 0%;
}
    .home-content .my-image{
        height: 230px;
        width: 220px;
        transform: translate(-50% );
        margin-left: 50%;
    }

    .home-text{
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: center;
        text-align: center;
        margin-left: 50%;
        margin-top: -50px;
        width: 100vw;
        transform: translate(-50%);
    }
    
    /* --------- text of left side in home ----------  */
    #WhatsUp{
        margin-top: -50px;
    }
    .home-text h1{
        font-size: 2.3rem;
        margin-top: 20px;
    }
    .home-text h2{
        font-size: 1.3rem;   
    }
    .profession{
        font-size: 1rem;
        margin-top: 10px;
        align-items: end;
        display: flex;
        justify-content: center;
        padding-left: 35%;
           }
    /* ========= i  am a ================ */
    .profession #ima{
        font-size: 1.3rem;
        width: 25%;
        display: flex;
    } 
    /* ---------- animated text --------  */
    .all-graphic{
        display: grid;
        height: 30px;
        width: 300px;
        overflow: hidden;
        text-align: start;
      }

    .all-graphic h2{
        font-size: 1.2rem;
        animation: up 8s infinite cubic-bezier(1, 0, 0, 1);
    }
    /* ------ new added ----------  */
    @keyframes up{
        0%{
            transform: translateY(-5px);
        }
        25%{
            transform: translateY(-40px);
        }
        50%{
            transform: translateY(-80px);
        }
        75%{
            transform: translateY(-110px);
    
        }
        90%{
            transform: translateY(-150px);
    
        }
        100%{
            transform: translateY(-4px);
    
        }
    }
    
    #talk{ 
        margin-left: -13%;
        /* margin-top: 100px; */
    }
    
    /* ------- about us section ---------  */
    #About{
        display: grid;
        position: relative;
        width: 100vw;
        height: auto;
        padding-bottom: 50px;
        }
    #About .about-head{
        margin-top: 20px;
        text-align: center;
        width: auto;
        align-items: center;
        justify-content: center;
        display: flex;
    }
   #About .about-head h3{
        font-size: 1.5rem;
        margin-left: 25%;
        translate: -50%;
        position: absolute;
      
    }
 #About .about-para{
    height: auto;
    /* margin-top: 10px; */
    display: flex;
 }
 #About .about-para p{
    font-size: 20px;
    padding: 0px 10px;
    line-height: 120%;
    text-align: justify;
 }
 #About .cv-button{ 
    height: 40px;
    width: auto;
    display: flex;
    align-items: end;
    margin-top: 20px;
    margin-bottom: 10px;
    
 }
 .cv-button a{
    font-size: 20px;
    display: flex;
    text-align: center;
    justify-content: center;
    margin-left: 35%;
    align-items: center;
    align-content: center;
    translate: -55%;
 }
 /* ------- skills div ---------  */
 /* -------- the skills div ---------  */
 #About .skills{
    height: auto;
    width: 100%;
    display: grid;
    justify-content: center;
    align-content: center;
    margin-top: 20px;

}
  #About .boxes p{
        text-align: center;
    }
    
.skills .skill-head{
    width: auto;
    margin: auto;
    display: flex;
    text-align: start;
 
}
.skills .skill-head h3{
    margin-left: 25%;
    translate: -50%;
    margin-bottom: 40px;
}
.skills .skill-all{
    width: auto;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 100px);
}

.boxes .fa-brands, .fa-solid{
    font-size: 44px;
}
.boxes .fa-solid{
    font-size: 44px;
}
/* ---------- projetects section here ------------  */

#Projects h3{
    margin-left: 50%;
    translate: -25%;
    padding-top: 40px;
}
#Projects .project-box{
    height: auto;
    display: flex;
    flex-direction: column;
    width: auto;
    position: relative;
    justify-content: start;
    align-items: center;
    align-content: center;
}
#Projects .project-box .project-card{
    width: 100%;
    height: 330px;
}
/* ----------- main project ---------  */
#Projects .main-project{
    justify-content: center;
    align-items: center;
}
.main-project .project-one{
    width: 90%;
    height: auto;
    display: flex;
    flex-direction: column;
}
.project-one img{
    width: 100%;
    height: 200px;
}
.project-one .project-data{
    height: 90%;
    width: 100%;
}
.project-data h4{
    font-size: 30px;
}
.project-data p{
    font-size: 16px;
}
/* ----- contact form responsive ----------  */
#Contact .form-input, textarea{
    font-size: 20px;
    padding-left: 10px;
    resize: none;
    width: 70%;
    margin-bottom: 10px;
    background-color: bisque;
}
.icon i{
    height: auto;
    font-size: 3rem;
    color: var(--main-color);
    justify-content: space-evenly;

}
.fa-instagram,  .fa-github, .fa-linkedin{
    padding: 0px 10px;
}
/* ---------- footer ---------- */
.footer{
    height: 60%;
    font-size: 12px;
    width: 100vw;
}
}


/* ------- responsive for tab -----------  */

@media (min-width: 600px) and (max-width: 1000px){
    *{
        box-sizing: border-box;
    }
    nav{
        display: flex;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    #hero{
        width: 100vw;
    }
    #hero section{
        width: 100vw;
    }

    #Home .home-content{
        height: 450px;
        width: 100vw;
        display: grid;
        justify-content: center;
    }
    .home-content .my-image{
        height: 250px;
        width: 230px;
        transform: translate(-50% );
        margin-left: -40%;
    }

    .home-text{
        position: absolute;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-left: 70%;
        margin-top: -30px;
        width: 100vw;
        transform: translate(-50%);
    }
    #WhatsUp{
        font-size: 2rem;
    }
    .home-text h1{
        font-size: 3rem;
        margin-top: 30px;
    }
   .home-text .talk-button{
        background-color: red;
        margin-right: 20%;
    }
    #talk{ 
        font-size: 2rem;
        margin-right: 10%;
    }
    #About{
    height: auto;
    }
    #About .about-head{
        margin-top: 20px;
        margin-bottom: 30px;
    }
    #About .cv-button{
        margin-top: 360px;
    }
    #About .skills{
        display: grid;
        height: 600px;
        padding-bottom: 440px;
    }
      #About .boxes p{
        text-align: center;
    }
    
    .skills .skill-head{
        margin-bottom: 20px;
    }
    .skills .skill-all{
        margin: auto;
    }
    .skills .skill-all{
        display: grid;
        grid-template-columns: repeat(4, 100px);
    }
    
/* ----------- main project ---------  */
#Projects .main-project{
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}
.main-project .project-one{
    width: 90%;
    height: auto;
    display: flex;
    flex-direction: column;
}
.project-one img{
    width: 100%;
    height: 300px;
}
.project-one .project-data{
    height: 90%;
    width: 100%;
}
.project-data h4{
    font-size: 30px;
}
.project-data p{
    font-size: 16px;
}
} 
