* {
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f4f4f4;


}






nav {
    height: 30px;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: white;





}

label.logo {
    color: #005bb5;
    font-size: 30px;
    line-height: 30px;
    padding: 0 50px;
    font-weight: bold;

}

nav ul {
    float: right;
    margin-right: 20px;


}

nav ul li {
    display: inline-block;
    line-height: 30px;
    font-size: 15px;
    margin: 0 5px;
    padding: 2px 5px;
    text-transform: uppercase;


}




a {
    text-decoration: none;
    color: #040404;
}

a:hover {
    background: #1b9bff;
    transition: .5s;
    border-radius: 4px;
}

.checkbtn {

    cursor: pointer;
    display: none;

}

#check {
    display: none;
}

#home {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(to right, #00c6ff, #0072ff);
    color: white;
    text-align: center;
    flex-direction: column;
    width: 100%;
}

#home img {
    margin: 40px ;
    border-radius: 5px;
    width: 200px;
    height: 260px;
    margin-bottom: 10px;
}

#home .child1 i {
    font-size: 100px;
    margin-bottom: 20px;
}

#home .name h1 {
    margin: 0;
    font-size: 48px;
}

#child3 {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.icon-container {
    position: relative;
    display: inline-block;
    text-align: center;

}

.icon-text {
    display: none;
    position: absolute;
    color: black;
    top: 30px;
    left: 0;
    background-color: rgb(56, 208, 238);
    padding: 5px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.icon-container:hover .icon-text {
    display: block;
}

#skills {
    padding: 50px 20px;
    background-color: black;
    display: flex;
    justify-content: space-around;
    color: white;

    gap: 10px;
}

#skill-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    text-align: center;
  



}

.info2 button {
    color: #060606;
    background-color: #d87ad8;
    border-radius: 5px;
    border: none;
    padding: 10px;
    width: 100%;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;


}

.info2 button:hover{
    background-color: #005bb5;
}


#skills h4 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
}

#skills .info1 {
    margin-bottom: 20px;
    text-align: center;
    gap: 10px;



}

#skills .info1,
#skills .info2,
#skills .info3 {
    box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px;
    padding-bottom: 10px;
    height: 50%;
    width: 100%;
    text-align: center;
 
    transition: background 0.5s,transform 0.5s;

}

#skills .info2 ul {

    padding-left: 90px;
}



#skills ul {
    list-style: none;
    justify-content: center;




}

#skills ul li {
    padding: 5px 0;
}

#skills > div:hover {
    background-color: #4d0909;
    transform: translateY(-10px) ;
    
}


#projects {
    padding: 50px 20px;
    background-color: #020202;
}

#projects > div > div{
   
    box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px;
    transition: background 0.5s,transform 0.5s;
   

}

#projects > div > div:hover{
    background-color: #333;
    transform: translateY(-10px) ;
}

#projects img {
    width: 100%;
    border-radius: 10px;
}

#projects h3 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.project-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.project {
    /* background-color: #1f0505; */
    padding: 20px;
    border-radius: 8px;
    width: calc(33.333% - 40px);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.project h5 {
    font-size: 20px;
    margin: 10px 0;
    color: white;
}

.project p {
    font-size: 14px;
    color: white;
}

.project a {
    display: inline-block;
    margin-top: 10px;
    color: #0072ff;
}




#about {
    padding: 50px 20px;
    background-color: #050505;
    /* border: 1px solid white; */
    color: white;
    display: flex;
    justify-content: center;
  
    

   
   

}

#about .about-summury{
    padding: 30px 10px;
  
    width: 500px;
    align-items: center;
}

#about h3 {
  text-align: center;
    font-size: 24px;
  
    
}

#about.section {
    display: grid;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    color: white;
   

} 

#about img {
    margin: 40px ;
    border-radius: 5px;
    width: 200px;
    height: 240px;
    margin-bottom: 10px;
    transition: background 0.5s,transform 0.5s;
   
    
    
}

#about img:hover{
    transform: translateY(-10px) ;
}

#about h4:hover{
    color: red;
}




#contact1 {
    padding: 50px 20px;
    background-color: #050505;
    color: white;
}

#contact1 h4 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
    color: white;
}

#cmt a {
    color: white;

}

#cmt {

    text-align: center;

}


#visitform {
    max-width: 500px;
    margin: 0 auto;
}

#visitform label {
    display: block;
    margin: 10px 0 5px;
}

#visitform input,
#visitform textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;

    border-radius: 5px;
}

#visitform input[type="submit"] {
    background-color: #0072ff;
    color: #fff;
    border: none;
    cursor: pointer;
}

#visitform input[type="submit"]:hover {
    background-color: #005bb5;
}

footer {
    background-color: #333;
    color: white;
    padding: 20px;
    text-align: center;
}

footer a {
    color: white;
    margin: 0 10px;
}

footer a:hover {
    color: #00c6ff;
}





@media (max-width: 768px) {



    .checkbtn {
        display: block;
        font-size: 30px;
        cursor: pointer;
        float: right;
        margin-right: 20px;
    }

    nav ul {
        position: fixed;
        width: 100%;
        height: 100vh;
        top: 30px;
        left: -100%;
        /* text-align: center; */
        background-color: #005bb5;
        transition: all .5s;
        flex-direction: column;



    }



    nav ul li {
        display: block;
        margin: 10px 0;
        color: white;


    }

    nav ul li a {
        color: white;
    }


    nav a:hover {
        background: none;
        color: #eb1010;
    }

    #check:checked~ul {
        left: 0;
    }



    #child3 {
        display: flex;
        gap: 20px;
        margin-top: 20px;
        padding-left: 30%;
    }


    #skills {
        padding: 50px 20px;
        background-color: #040404;
        display: flex;
        flex-direction: column;
        justify-content: space-between;


        gap: 10px;
    }



    #skills .info2 ul {
        list-style: none;
        justify-content: center;
        /* border: 1px solid; */
        padding-left: 60px;




    }




    #nav-menu ul {
        flex-direction: column;
    }

    .project {
        width: calc(100% - 40px);
    }

    #about {
    padding: 50px 20px;
    background-color: #050505;
   
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    
  
  
    

}



#about .about-summury{
    padding: 30px 10px;

    width: auto;
    align-items: center;
}




}
