*{
    margin:0px;
    padding: 0px;
    box-sizing: border-box;
}

html body{
    width: 100%;
    height: 100%;
}

.main{
    width: 100%;
    height: 100%;
    position: relative;
  
   
}

header{
    position: fixed;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    width: 100%;
   background-color: black;
    color:white;
    padding: 2vw;
    z-index: 1000;

   
   
}

header nav a {
    text-decoration: none;
    color: white;
    padding-right: 4vw;
    font-weight: 500;
    font-size: 1.5vw;
    position: relative;

   
}

header nav a::before { /* Use ::after for the underline */
    content: "";
    height: 2px; /* Thickness of the underline */
    background-color: white; /* Color of the underline */
    width: 0; /* Adjust width to exclude padding */
    position: absolute;
    top:100%;
    left:0vw;
    transition: all 0.6s linear;
}



header nav a:hover::before{
    width: calc(100% - 4vw);
}

.main .content{
    display: flex;
    width:100%;
    position: relative;
    height: 100vh;
    padding-top:5vw;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
   
} 


.main .content .left{
    padding: 8vw 0vw 0vw 3vw;
    /* background-color: rgb(230, 207, 207); */
    width:60%;
    
}

.main .content .left h4{
    font-size: 1.6vw;
    margin-bottom:1vw;
}

.mian .content .left h1{
    font-size: 2.5vw;
}
 

.main .content .left p{
    font-size: 1.3vw;
    margin-top: 0.5vw;
    margin-bottom: 1.5vw;
    width: 80%;
}

span{
    color: #8a1804;
}

button{
    font-size: 1.5vw;
    padding:0.5vw;
    background-color: #8a1804;
    color:white;
    border-radius: 2px;
    border: none;
    cursor: pointer;
    transition: all 5d ease;
    position:relative;
    z-index: 1;
}

button::before{
    content:"";
    height: 100%;
    width: 0%;  
    position: absolute;
    top:0;
    left: 0;
    z-index: -1;
    transition: all 0.7s ease;
}

button:hover::before{
    background: #CD8D3D;
    width:100%;
}
 

.main .content .right{
    width:40%;
  
}

.main .content .right img{
    width:95%;
    margin-top:8vw;
}

.aboutme{
   
  width:100%;
  position: relative;
  height: 100vh;
 
}

.aboutme .content{
    height: 100vh;
    width: 100%;
    display: flex;
  
    position: relative;
}

.aboutme .content .left{
    padding: 8vw 0vw 0vw 3vw;
    width:50%; 
 
    
}

.aboutme .content .left img{
    width:95%;
   
}

.aboutme .content .right{
   
     padding: 8vw 0vw 0vw 3vw;
     width:50%;
    
   
   
}

ul {
    list-style-position: inside;
    font-size: 1.5vw;
}

.aboutme .content .right h1{
    margin-bottom: 0.5vw ;
    margin-top:-2vw;
    font-size: 1.6vw;;
}

.aboutme .content .right h2{
    font-size: 2vw;;
}

.aboutme .content .right p{
    margin-bottom: 1vw ;
    font-size: 1.3vw;
}


.aboutme .content .right nav{
    margin-bottom: 1vw ;
   
} 

footer{
    height: 55px;
    width: 100%;
    background-color: rgb(0, 0, 0);
}

/* start css for contact.html */

.contact{
    display: flex;
    width:100%;
    /* padding-top: 4vw; */
    position:relative;
    background-color: blanchedalmond;
    height: 100vh;
}



.contact .left{
    width:50%;
  
    position: relative;
    
}



.contactme .content{
    margin-top: 8vw;
  
    display: flex;
    flex-direction: column;
    margin-left: 7vw;
}

.contactme h2{
    font-size: 1.8vw;
    margin-bottom: 1.5vw;

}

.contactme .icon{
    display: flex;
    gap:1vw;
    font-size: 1.3vw;
    font-weight: 500;
    margin-bottom: 1.5vw;
    background-color: rgb(48, 51, 51);
    color:white;
    padding:1vw;
    border-radius: 5px;
    width:30vw;
}

.contactme button{
    width:150px;
    font-size: 1vw;
}

.socialmedia{
margin-top: 3vw;
font-size: 1.5vw;
}

.contact .right{
  
    display: flex;  
    width:50%;
   
    
}

form{
    margin-left: 7vw;
    margin-top: 5vw;
    display: flex;
    flex-direction: column;
 
   
}

form h3{
    margin-bottom: 1vw;
}

form input{
    width:35vw ;
    height: 3vw;
    margin-bottom:2vw;
    border:none;
    border-radius: 5px;
    background-color: black;
    color:white;
    padding-left: 1vw;
}



form textarea{
    padding-left: 1vw;
    height: 10vw;
    margin-bottom:2vw;
   
}




/* end css for contact.html */


@media (max-width:600px) {

    header{
        height: 50px;
    }



    .logo{
        font-size: 2.5vw;
    }

   header nav a{
        font-size:3vw ;
        
    }

   .main .content {
    padding: 10vw 0 0 1vw;
    flex-direction: column;
    height:calc(100vh);
    width:100%;
  
 
   }

   

   .main .content .left{
    height: 35vh;
    width:100%;
   }

   .main .content .left h4{
    font-size: 4vw;
    margin-bottom:3vw;
}

.main .content .left h1{
    font-size: 5vw;
    margin-bottom:1.5vw;
}

.main .content .left p{
    font-size: 3vw;
    width: 95%;
    margin-bottom:3vw;
    
    
}


button{
    font-size: 2.7vw;
    padding: 1.7vw;
    margin-left: 2vw;
    margin-top: 2vw;

}


   .main .content .right{
    width:100%;
    height: 65vh;
   
   }

   .main .content .right img{
    margin-top: 2vw;
    margin-left: 3vw;
    height: 100%;
   }

/*start about me page css for media query*/

.aboutme .content{
    flex-direction: column;
    height:100vh;
}

.aboutme .content .left{
    width:100%;
    height: 50vh;
  
}

.aboutme .content .left img{
    width:100%;
    height: 100%;
    padding-top: 5vw;
    padding-right: 2vw; 
}

.aboutme .content .right{
    width:100%;
    height: 50vh;
}

.aboutme .content .right h1{
    font-size: 5vw;
    margin-bottom:5vw;

}

.aboutme .content .right button{
   margin-left: 0;
  

}



.aboutme .content .right p{
    font-size: 3vw;
    width: 95%;
    margin-bottom:2vw;

}

.aboutme .content .right h2{
    font-size: 5vw;
    width: 95%;
    margin-bottom:1vw;

}

.aboutme .content .right nav{
    margin-bottom: 4vw;
}

ul li{
    list-style-position: inside;
    font-size: 3vw;
    
}




/*end contact page css for media query */

   /*start contact page css for media query */
.contact {
    flex-direction: column;
    height:100dvh;
   
  
    margin-top: 0;
    padding-top: 0;
}

.contact .left{
   
    width:100%;
    height: 40dvh;
    margin-top: 0;
    padding-top: 0;
 
}




.contact .right{
    width:100%;
    height: 60dvh;
   
  
}

.contactme h2{
    font-size: 4vw;
    margin-bottom: 0vw;
}



.contactme .content{
  
    margin-top:15vw;
    height: 100vw;
    margin-left: 9vw;
    width:80vw;
    
}


    .contactme .icon {
        font-size: 4vw;
        text-decoration: none;
        width: 74vw;
        height: 9vw;
    }


.contactme .socialmedia{
    font-size: 3vw;
   
}

.contactme button{
    font-size: 3vw;
}

form{
    margin-left: 8vw;
    
}

form button{
    width:40vw;
}



form input{
    width: 75vw;
    height: 9vw;          
}

form textarea{
   
    height:30vw;
}


   /*end contact page css for media query */


  
    
}
