/* laptop screen */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial,sans-serif;
    background-color: rgb(206, 221, 248);
}
section{
    width: 80%;
    margin: 0px 10% 0px 10%;
    opacity: 0;
    transform: translateY(30px);
    transition: 1.5s;
   
}

section.show {
    opacity: 1;
    transform: translateY(0);
}
h2{ 
    text-align: center;
    color: darkblue;
    font-family:Georgia, 'Times New Roman', Times, serif;

}
    /* header */

header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    width: 100%;
    height: 80px;
    padding-left: 5%;
    background-color: pink; 
    border-bottom: 1px solid white;
    color: darkblue;
    font-weight: bolder;
    position: fixed;
    top: 0;
    left: 0;
    
    z-index: 1000;
}

header div{
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0px 4% 0px 0%;
    padding-right: 250px;
    font-size: 30px;
    background-color: pink;

}
header nav{
    margin-right: 4%;
    background-color: pink;
}
header nav a{
    text-decoration:none;
    margin-left:30px;
    background-color: pink; 
    color: blue;
}
header nav a:hover{
    border-bottom: 2px solid black;
}
.togglebtn{
    display: none;
    font-size: 30px;
    cursor: pointer;
}

    /* Home */

#home{
    display:flex;
    justify-content:center;
    align-items:center;
    margin-top: 220px;
    gap: 5%;
    margin-bottom: 300px;

}
.image-logo{
    width: 250px;
    height: 250px;
    border: 3px solid darkblue;
    box-shadow: 0px 0px 10px 0px blue;
    border-radius: 50%;
    animation-name: profilelogo;
    animation-duration: 5s;
    animation-iteration-count: 1;
    animation-timing-function: ease-in-out;
    position: relative;

}
@keyframes profilelogo{
    from{
        transform: rotate(0deg);
    }
    to{
        transform: rotate(360deg);
    }


}
.home-text{
    font-size: 22px;


}
.home-text h3{
    color: dimgrey;
    margin-bottom: 30px;
    margin-left: 50px;
    opacity: 0.8;
}
.home-text h1{
    color: darkblue;
    margin-bottom: 30px;
        
}
.home-text strong{
    color: brown;
    font-size: 30px;
    margin-left: 30px;
}
.home-text button{
    margin-top: 40px;
    margin-left: 150px;
    width: 200px;
    height: 50px;
    border: none;
    outline: none;
    background: blue;
    border-radius: 10px;
    border: 2px solid blue;
    box-shadow: 0px 0px 5px 2px blue;
    color: white;
    font-weight: bolder;
    font-size: 25px;
    transition: 0.5s;
   
}

.home-text button:hover{
    color: rgb(219, 247, 247);
    background-color: rgb(131, 135, 25);
    box-shadow: 0px 0px 5px 2px rgb(131, 135, 25);
    border: 2px solid rgb(131, 135, 25);
}

    /* about */

.about{
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 50px;
    margin-bottom: 100px;
    
}
.about p{
    margin-top: 70px;
    font-size: 20px;
}
.image{
    width: 250px;
    height: 250px;
    border: 3px solid darkblue;
    box-shadow: 0px 0px 10px 0px blue;
    border-radius: 50%;
}

    /* education */

#education{
    width: 65%;
    display: flex;
    justify-content: center;
    margin: 50px 10% 50px 25%;
    flex-direction: column;
    

}
.education{

    width: 80%;
    height: auto;
    border: 3px solid darkblue;
    border-radius: 10px;
    margin-bottom: 30px;
    padding: 2%;
}
.education:hover{
    box-shadow: 0px 0px 3px 1px blue;
    width: 80.5%;

}
.education:hover div{
    font-size: 17px;
}

.heading{
    font-size: 20px;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    color: crimson;
    margin-bottom: 10px;
}
.heading:hover{
    font-size: 22px;
}
.details{
    font-size: 16px;
}

    /* skill */

.skills{
    width: 75%;
    margin: 80px 15% 100px 10%;
    height: auto;
   display: flex;
   gap: 20px;
   justify-content:center;
   flex-direction: row;
   flex-wrap: wrap;
}
.skills img{
    width: 150px;
    height: 150px;
    border: 2px solid blue;
    border-radius: 10px;
    box-shadow: 0px 0px 5px 0px darkblue;
}
.skills img:hover{
    width: 160px;
    height: 160px;
    box-shadow: 0px 0px 5px 2px darkblue    ;

}

/* projects */

h3{
    text-align: center;
    margin-bottom:10px;
    margin-top: 10px;
      font-size: 25px;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: bolder;
    color: crimson;
    
}

#projects{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
    
}
.project{
    width: 40%;
    height: 360px;
    margin-top: 50px;
    border: 1px solid blue;
    box-shadow: 0px 0px 3px 2px darkblue;
    border-radius: 10px; 
    text-align: center;  
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    margin-bottom: 20px;
}
.project:hover{
    box-shadow: 0px 0px 3px 2px darkblue;
    width: 40.5%;
    height: 365px;
}
.project img{
    width: 100%;
    height: 250px;
    border-top: 2px solid blue; 
    border-bottom: 2px solid blue; 
  
}


.projectBtn button{
    width: 150px;
    height: 30px;
    margin: 3px 5px 5px 20px;
      border:none ;
      outline: none;
     background-color: darkgreen;
      border-radius: 10px;
        text-decoration: none;
      color: white;
      font-size: 20px;
      font-weight: bolder;
}

/* experience */
.experience{
    display: flex;
    justify-content: center;
    flex-direction: row;
    gap: 100px;
    margin-top: 50px;
    margin-bottom: 100px;
}
.experience img{
    width: 45%;
    height: 600px;
    border-radius: 10px;
    border: px solid blue;
     box-shadow: 0px 0px 3px 2px darkblue;
}
.experience img:hover{
     width: 46%;
    height: 610px;
     box-shadow: 0px 0px 3px 2px darkblue;

}

/* competative / problem */

.competative{
    display: flex;
    flex-direction: column;
    border: 2px solid blue;
    width: 30%;
    height: 550px;
    gap: 10px;
    margin-top: 50px;
    margin-left: 35%;
    margin-bottom: 100px;
    border-radius: 14px;
    
}
.competative:hover{
     width: 30.4%;
    height: 570px;
     box-shadow: 0px 0px 3px 1px darkblue;
     font-size: 18px;

}


.competative img{
    width: 100%;
    height: 300px;
    border-radius: 10px;
}
.text{
    padding: 0px 8px 5px 8px;

}
.text:hover{
    font-size: 17px;
}
.competative button{
    width: 150px;
    height: 50px;
    margin-left: 100px;
    background-color: blue;
    
    box-shadow: 0px 0px 3px 2px blue;
    border: none;
    outline: none;
    border-radius: 10px;
    color: white;
    font-size: 20px;
    font-weight: bolder;
    text-decoration: none;
     margin-top: 10px;


}
.competative button:hover{
    color: rgb(219, 247, 247);
    background-color: rgb(131, 135, 25);
    box-shadow: 0px 0px 5px 2px rgb(131, 135, 25);
    border: 2px solid rgb(131, 135, 25);
}

.competative

/* certification */

#certificate{
     margin-left: 10%;
     margin-bottom: 100px;

   
}
.certificate{
    display: flex;
    justify-content: center;
    flex-direction: row;
    margin-top: 80px;
   margin-bottom: 100px;
    gap: 5%;

}

.certificate img{
    width: 99.5%;
    height: 400px;
    border: 1px solid blue;
    border-radius: 20px; 
}
.certificate img:hover{
    width: 100%;
    height: 410px;
       box-shadow: 0px 0px 3px 2px darkblue;
       

}

/* contect */

.contact-img {
    margin-top: 50px;
    margin-left: 450px;
    display: flex;
    flex-direction: row;
    gap: 30px;

    
}
.contact-img img{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid blue;
    box-shadow: 0px 0px 5px 2px darkblue;
}
.csscontect-form{
    display:  flex;
    justify-content: center;
    flex-direction: row;
    margin-left: 8%;


}
form{
    width: 60%;
    height: auto;
    margin: 50px 20% 30px 20%;


}
form input{
    width: 200px;
    height: 50px;
    padding-left: 20px;
    padding-top: 30px;
    margin-left: 50px;
    border: none;
    outline: none;
    border-bottom: 1px solid rgb(53, 53, 65);
    border-radius: 10px;
    color: rgb(6, 6, 17);
    font-weight: bolder;

}
form textarea{
    width: 500px;
    height: 50px;
    margin-left: 25px;
    margin-top: 20px;
    padding-top: 25px;
    padding-left: 80px;
    border: none;
    outline: none;
    border-radius: 10px;
    border-bottom: 1px solid blue;
    overflow: hidden;
    resize: none;
    font-weight: bolder;
}
form button{
    width: 100px;
    height: 45px;
    border: none;
    border-radius: 10px;
    outline: none;
    font-size: 20px;
    font-weight: bolder;
    background-color:darkgreen;
    box-shadow: 0px 0px 5px 5px darkgreen;
    color: white;
    margin-left: 200px;
    margin-top: 30px;
    transition: 0.3;
}
form button:hover{
    background-color: blue;
    box-shadow: 0px 0px 5px 5px blue;
    
}

/* footer */
footer{
    margin: 100px 0px 5px 100px ;
    color: crimson;
}

/* mobile screen */

@media (max-width:600px){

    section{
        width: 90%;
        margin: 0px 5% 0px 5%;
    }

    /* header */

    header {
        display: flex;
        flex-direction: row;
        justify-content: space-between; 
        align-items: center;
        height: auto;
        padding: 10px 10px;
        position: relative; 
        position: fixed
    }

    header div {
        width: 50px;
        height: auto;
        font-size: 20px;
        margin-left: 20px;
        white-space: nowrap;
       
    }

    header nav {
        display: none;
        flex-direction: column;
        text-align: right;
        position: absolute;
        top: 100%;     
        left: 60%;       
        width: 40%;     
        background-color: pink;
        z-index: 10;
    }

    header nav a {
        color: navy;
        display: block;
        margin: 10px 0px;
        text-align: center;
    }

    header nav.show {
        display: flex;
                border-radius: 10px;
    }

    .togglebtn {
        display: block;
       
    }

    /* home */

    #home{
        flex-direction: column;
        margin-top: 150px;
        margin-bottom: 100px;
        gap: 20px;
        text-align: center;
    }
    .image-logo{
        width: 180px;
        height: 180px;
    }
    .home-text{
        font-size: 17px;
    }
    .home-text h3{
        margin-left: 0px;
    }
    .home-text strong{
        margin-left: 0px;
        font-size: 24px;
    }
    .home-text button{
        margin-left: 0px;
        margin-bottom: 50px;
    }




    /* about */

    .about{
        flex-direction: column-reverse;
        align-items: center;
        gap: 20px;
    }
    .about p{
        margin-top: 20px;
        font-size: 16px;
        text-align: center;
    }
    .image{
        width: 180px;
        height: 180px;
    }

    /* education */

    #education{
        width: 80%;
        margin: 50px 10% 50px 10%;
        font-size: 14px;
    }
    .education{
        width: 99.5%;
        gap: 10px;
    }
    .education:hover{
        width: 100%;
        height: auto;
        font-size: 10px;

    }
    .heading{
        font-weight: bolder;
    }

    /* skill */

    .skills{
        width: 90%;
        margin: 50px 5% 50px 5%;
        justify-content: center;
    }
    .skills img{
        width: 80px;
        height: 80px;
    }
    .skills img:hover{
        width: 85px;
        height: 85px;
    }

    /* projects */

    #projects{
        flex-direction: column;
        align-items: center;
    }
    .project{
        width: 90%;
        height: 310px;
    }
    .project:hover{
        width: 90%;
        height: 310px;
    }

    h3{
        font-size:  20PX;
    }
    .project img {
        height: 200px;
    }
    .projectFooderText{
    font-size: 12px;
    margin-top: 10px;
    margin-left: 13px;

}
    .projectBtn button{
    width: 150px;
    height: 30px;
    font-size: 16px;

}

    /* experience */

    .experience{
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }
    .experience img{
        width: 90%;
        height: 450px;
    }
    .experience img:hover{
        width: 92%;
        height: 460px;
    }

    /* competative/problem */

    .competative{
        width: 90%;
        height: auto;
        margin-left: 5%;
        height: auto;
    }
    .competative:hover{
        width: 90%;
        height: auto;
    }
    .competative img:hover{
    width: 100%;
    height: 310px;
    border-radius: 10px;
}
    .competative button{
        margin-left: 70px;
        margin-bottom: 20px;
    }

    /* certificate */

    .certificate{
        width: 80%;
        margin-left: 10%;
        margin-right: 10%;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .certificate img{
        width: 99.5%;
        height: auto;
    }
    .certificate img:hover{
        width: 100%;
        height: auto;
    }

    /* contact */

    .contact-img{
        margin-left: 15px;
        justify-content: center;
        flex-wrap: wrap;
    }
    .csscontect-form{
        margin-left: 0px;
    }
    form{
        width: 90%;
        margin: 30px 5% 30px 5%;
    }
    form input{
        width: 100%;
        margin-left: 0px;
    }
    form textarea{
        width: 100%;
        height: 50px;
        margin-left: 0px;
        padding-left: 20px;
        padding-top: 16px;
    }
    form button{
        margin-left: 100px;
    }

    /* footer */
    footer{
    margin: 50px 0px 10px 50px ;
    font-size: 12px;
   }

}

