
body{
    margin: 0;
    color: aliceblue;
}
#Introsec{
    height: 220px;
    color: rgb(255, 255, 255);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    
}
#about{
    background-color: #1E1E1E;
}

#about1{
     background-image: url('images/mobile_image_bc.png'); /* adjust path based on your folder */
     
  background-size: cover;
  background-position: center;
  display: flex;
  height: auto;
  justify-content:center;
  align-items: start;
}

#about1parent{
    width: 78%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 25px;
    margin-bottom: 25px;
}
#about1child1 img {
  width: 100%;
  height: auto;
  border-radius: 20px; /* optional rounded edges */
}

#about1child2{
    margin-top: 25px;
    background-color: #151515;
       border-radius: 25px;
       display: flex;
    justify-content: center;
    align-items: center;
    opacity: 90%;
    text-align: left;

}
 
#about1child2_1{
    width: 85%;
}
 
#line{
    background-color: rgb(255, 255, 255);
    width: 120px;
    height:3px;
    margin-top: -20px;
    margin-bottom: 15px;
    border-radius: 50px;
}

#projects{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}
#projects1{
    width: 78%;
    padding-top: 30px;
}

 
#line2{
    background-color: rgb(255, 255, 255);
    width: 90px;
    height:3px;
    margin-bottom: 30px;
    border-radius: 50px;
}


.mayaP{
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
    background-color: #2A2A2A;
    border-radius: 20px;
    padding-bottom: 25px;
    margin-bottom: 30px;
}


.mayaP1{
    width: 80%;
  
}


.cardsdiv{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.pitems{                                             

	width: 90%;
	background-color: #191919;
	margin-top: 20px;
     border-radius: 10px; 
     text-align: center;
}

.po{
    padding-top: 12px;
}
.pitems img {
  width: 100%;
  height: auto;
  display: block; /* removes small bottom gap caused by inline images */
  border-radius: 10px 10px 0px 0px; /* optional: matches your card style */
  object-fit: cover; /* optional: trims image edges if needed */
}

.pheadings{
    color: #b2acac;
    font-size: 18px;
    margin-top: 5px;
}

#skills{
    background-color: rgb(21, 20, 20) ;
}

#line3{
    background-color: rgb(255, 255, 255);
    width: 150px;
    height:3px;
    margin-bottom: 30px;
    border-radius: 50px;
}

#skills1{
    display: flex;
    justify-content: center;
    align-items: center;
}

#skills2{
    width: 78%;
}

.skillandicom{
display: flex;
flex-direction: row;
justify-content: space-between;
margin-bottom: 7px;
}

.skills3{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.skills4{
    width: 80%;
    padding-bottom: 50px;
   
  
}


.contact form {
      display: flex;
      flex-direction: column;
      gap: 15px;
}
.contact input, .contact textarea {
      padding: 10px;
      border: none;
      border-radius: 4px;
}
.contact button {
      padding: 10px;
      background-color: #444;
      color: white;
      border: none;
      cursor: pointer;
      border-radius: 4px;
      margin-bottom: 25px;
}

#contactsection{
    display: flex;
    justify-content: center;
    align-items: center;
     background-color: rgb(21, 20, 20);
}

.contact{
   
    width: 79%;
}

#line4{
    background-color: rgb(255, 255, 255);
    width: 85px;
    height:3px;
    margin-bottom: 15px;
    border-radius: 50px;
}

#footer{
    background-color:  #121212;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 16px;
}
#intro1{
    font-weight: 700;
    font-size: 25px;
}
.aboutmefont{
    font-weight: 450;
    font-size: 26px;
    padding-top: 20px;
}


@media (min-width: 640px) {
  /* CSS rules here will only apply to screens 640px wide and up */
 
  
#about1{
     background-image: url('images/desktop_image_bc.png'); /* adjust path based on your folder */
}
#intro1{
    font-weight: 650;
    font-size: 70px;
}
#intro2{
    font-size: 25px;
}

#Introsec{
    height: 400px;
}
.mayaP1{
    display: flex;
    justify-content: space-between;
    align-items: center;
  
}
.skills3{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-bottom: 60px;
}
.skills4{
    width: 30%;
    padding-bottom: 50px;
    font-size: 16px;
  
}
#skills{
    padding-top: 60px;
    padding-bottom: 20px;
}
#line3{
    margin-bottom: 60px;
}
#line4{
    margin-bottom: 40px;
}
.contact button {
       margin-bottom: 50px;
}
}


@media (min-width: 760px) {
  /* CSS rules here will only apply to screens 640px wide and up */
 #navbarNav{
    font-size: 24px;
  }
.nav-item{
    padding-right: 30px;
}
.nav_name{
    margin-left: 50px;
}
.ul_nav{
    margin-right: 50px;
    font-size: 23px;
}
#about1parent{
    display: flex;
    flex-direction: row;
   justify-content: space-around;
    width: 78%;
}

#about1child1 img {
    width: 250px;   /* or whatever fixed size you want */
    /* keep the aspect ratio you need */
    object-fit: contain; /* keeps the image looking clean */
  }
 
#about1child2{
   width: 360px;
 
   margin-top: 0px;
    object-fit: contain;

}
.aboutmefont{
    padding-top: 10px;
}
.aboutmeintros{
    font-size: 15px;
}
.skills4{
    font-size: 18px;
  
}

}


@media (min-width: 990px) {
  /* CSS rules here will only apply to screens 640px wide and up */

#about1child1 img {
    width: 300px;   /* or whatever fixed size you want */
    /* keep the aspect ratio you need */
    object-fit: contain; /* keeps the image looking clean */
  }
 
#about1child2{
   width: 500px;
      padding-bottom: 40px;
   margin-top: 0px;
    object-fit: contain;

}
.aboutmefont{
    padding-top: 40px;
}
.aboutmeintros{
    font-size: 18px;
}
#about1child2_1{
    width: 80%;
}
.mayaP{
    padding-bottom: 50px;
    padding-top: 20px;
}
.po{
    font-size: 14px;
}
.pheadings{
    font-size: 24px;
}
.skills4{
    font-size: 20px;  
}
#skills{
    padding-top: 100px;
    padding-bottom: 80px;
}
}

@media (min-width: 1440px) {
  /* CSS rules here will only apply to screens 640px wide and up */

#about1child1 img {
    width: 400px;   /* or whatever fixed size you want */
    /* keep the aspect ratio you need */
    object-fit: contain; /* keeps the image looking clean */
  }
 
#about1child2{
   width: 750px;
      padding-bottom: 100px;
   margin-top: 0px;
    object-fit: contain;

}
.aboutmefont{
    padding-top: 100px;
}
.aboutmeintros{
    font-size: 20px;
}
#about1child2_1{
    width: 80%;
}
#projects1{
    width: 70%;
}
.mayaP{
    padding-bottom: 50px;
    padding-top: 20px;
}
.po{
    font-size: 19px;
}
.pheadings{
    font-size: 30px;
}
#skills2{
    width: 70%;
}
.skills4{
    font-size: 22px;
  
}
}
