*{
    margin: 0;
    padding: 0;
   font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    box-sizing: border-box;
}

body{
    
    background: rgb(0, 0, 0);
    color: #ffffff;
}

#header{
    width: 100%;
    height: 100%;
   
  
}

#about{
    width: 100%;
    height: 1200px;
    background-size: cover;
    flex-wrap: wrap;
    padding: 80px 0;
}


#projects{
    width: 100%;
    height: 120%;
    background-size: cover;
    background-color: rgb(0, 0, 0); 
}

#contact{
    
    width: 100%;
    height: 1000px;
    background-size: cover;
    background-color: rgb(0, 0, 0);
  

}

.footer-bottom {
    background-color:  rgb(159, 12, 7);
    text-align: center;
    height: 60px;

}


.footerp{
    padding-top: 20px;
}


.container{
    padding: 0px 10%;
   

}

nav{
    width: 100%;
    z-index: 3;
    background-color:#000000;
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    
   
}

nav ul li{
    display: inline-block;
    list-style: none;
    margin: 20px 40px 20px 0px;
    
}

nav ul li a {
    color: #fa0000;
    text-decoration:none ;
    font-size: 28px;
    position: relative;
}

nav ul li a::after{
    content: '';
    width: 0;
    height: 3px;
    background: #ffffff;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.5s;

}

nav ul li a:hover::after{
    width: 100%;
}

.header-text{
    margin-top: 250px;
    font-size: 18px;

}

.header-text h1{
    font-size: 50px;
    margin-top: 10px;
}



.header-text h1 span{
    color: #fa0000;
    font-size: 50px;
    margin-top: 10px;
}
.header-content {
    display: flex;
    align-items: center;
    height: 700px;

}

.header-content div {
    flex-wrap: wrap;
  

}

#myPic {
    padding-top: 100px;
    margin-left:50%;
    max-width: 50%;
    
/*height: auto;*/
}

.sub-title{
    padding-top: 100px;
    color: #ffffff;
    margin-bottom: 15px;
    padding-left:20px;
    font-size: 45px;
    font-weight: 600;
    font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    
  }

/* ------------about ----------- */   



button{
  
    background-color: rgb(159, 12, 7);
    color: white;
    height: 50px;
    width: 100%;
    padding: 5px 30px;
    text-align: center;
    display: inline-block;
    font-size: 24px;
    font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    
  }

  .skills li,
  .experience li {
    list-style-type: none;
    margin-top: 30px;
    font-size: 18px;
  }
 
  section {
    float: left;
    width: 50%;
    box-sizing: border-box;
    padding: 10px;  
}


ul li span{
    color: rgb(199, 15, 15);
    font-size: 25px;
   }

   /* ------------Project----------- */   
  

   .container2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}


.project {
    width: 45%;
    margin: 10px;
    padding: 30px;
    border: 1px solid #787171;
    box-sizing: border-box;
    background-color: #0c0b0b;
    
    
}

.project img{
    padding-top: 20px;
    width: 100%;
    border-radius: 20px;
    filter: grayscale(100%); 
    transition: filter 0.3s ease; 
}

.project:hover img{
    filter: grayscale(0%); 
} 

.project p{
    padding-top: 10px;
    font-size: 20px;
    text-align: center;
}

.project h2{
   padding: 15px 0px;
   text-align: center;
    background-color: rgb(159, 12, 7);
}
/*-----------Contact-----------*/


main {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

form {
    display: grid;
    gap: 10px;
}

label {
    font-weight: bold;
    color: #000000;
    font-size: 20px;
}

input,
textarea {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
}

input[type="submit"] {
    background-color: #981b1b;
    color: white;
    cursor: pointer;
    font-size: 25px;
}

input[type="submit"]:hover {
    background-color: #ff0f0f;
    font-size: 25px;
}



.contact-icons {
    display: flex;
    justify-content: center;
    margin-top: 20px; /* Adjust spacing as needed */
}

.contact-icons a {
    margin: 0 10px; /* Adjust spacing between icons */
}

.contact-icons img {
    width: 40px; /* Adjust size as needed */
    height: 40px; /* Adjust size as needed */
}


/*      ///////////////////
/////////////
////////////
////////////*/

@media print, screen and (max-width: 480px) {



 
#myPic {
    display: none;
    
/*height: auto;*/
}
       
    nav{
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    
    nav ul li a {
        color: #d7d005;
        text-decoration:none ;
        font-size: 15px;
        position: relative;
    }
    
 
    button{
  
        background-color: rgb(230, 11, 11);
        color: white;
        height: 50px;
        width: 100%;
        padding: 5px 30px;
        text-align: center;
        display: inline-block;
        font-size: 20px;
        font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
        
      }
  
      .project {
        width: 88%;
        border: 1px solid #787171;
        box-sizing: border-box;
        background-color: #0c0b0b;
        
        
    }

    


    


   

      
     
  }

/**----------------*/

 
