html{
    scroll-behavior: smooth;
}
header{
    z-index: 100;
    background-color:white;
position: sticky;
top:0px;

}
.center{
    width: 100%;
    height: 400px;
    position: relative;
}
.container{
    position: relative;
    height: 450px;
    width: 100%;
    overflow: hidden;
}
.image{
    border: 2px solid yellow;
    position: absolute;
    height: 300px;
    width: 300px;
    border-radius: 250px;
    top:90px;
    left:830px;
    animation: image 2s;
    background-size:cover;
    background-image: url("images.jpg");
    box-shadow: 0px 0px 20px 0px rgb(142, 237, 9);
 
}
@keyframes image{
    0%{
        left:101%;
        top: 90px;
    }
    100%{
        top: 90px;
        left: 830px;
    }
}
.intro{
    position: absolute;
    top:217px;
    left:12px;
}
.name{
    position:absolute;
    top:265px;
    left:109px;
    color:yellowgreen; 
}
.line{
    position: absolute;
    top:281px;
    left:13px;
}
.about{
    height: 40px;
    width: 187px;
    position: absolute;
    background-color: rgb(53, 53, 254);
    border-radius: 50px;
    left: 36px;
    top: 322px;
    box-shadow: 0px 0px 10px 0px blue;
    cursor: pointer;
    transition: 1s;
}
.about:hover{
    background-color: skyblue;
}
.child1
{
    position: absolute;
    top: 10px;
    left: 45px;
    color: white;
    font-weight: bolder;
    cursor: pointer;

}
.icons{
    float: left;
    position: relative;
    left: 23px;
    top:  374px;
    margin: 7px;
    cursor: pointer;
    font-size: 1.5em ;
    text-shadow: 0 1px 0 black,
  
   
    0 14px 4px grey     ;
}
.drop_down_arrow{
    position: absolute;
    left:100px;
    top: 9px;
    font-size: 0.8em;
    cursor: pointer;
}
#About{
    height: 500px;
    background-color: black;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}
.about_pic{
    height: 250px;
    width: 250px;
    border-radius:30% 30%/80% 80%;
   
    background-color: aliceblue;
    margin-bottom: 20px;
    left: 74px;
    top: 570px;
    position: absolute;
}
.About_info{
    height: 370px;
    width: 100%;
    max-width: 624px;
    border-radius: 40px;
    box-shadow: 0 0 16px 0 grey, inset 0 0 28px 0 grey;
    margin-bottom: 20px;
    left: 625px;
    top: 549px;
    position: absolute;
  
}
.Resume{
    background-color: blueviolet;
    color: white;
    font-weight: bolder;
    border-radius: 16px;
    height: 32px;
    width: 144px;
    text-align: center;
    left: 853px;
    position: absolute;
    top: 861px;
    
}
#Projects{
    display: flex;
    flex-wrap: wrap; /* Allow cards to wrap to the next line on smaller screens */
    justify-content: space-around; /* Center the cards */
    padding: 44px 17px 30px 30px;
}
.card {
    width: 18rem;
    margin-bottom: 10px; /* Add margin between cards */
}
#Contact{
    width: 100%;
    height: 300px;
    background-color: black;
}



  footer{
    margin: auto;
    text-align: center;
    background-color: black;
    color: honeydew;
    padding: 10px; /* Add padding for better spacing */
    box-shadow: 0px 0px 10px 0px black;
}
.nam{
    color: yellowgreen;
    position: relative; /* Change to relative positioning */
    margin-top: -23px;
    margin-left: 293px;
}
.c_container{
    height: 450px;
   
  }
  .contact_us{
    left: 569px;
    position: absolute;
    padding: 0 0 0 24px;
    box-shadow: 0 0 16px 0 grey;
    width: 225px;
    height: 247px;
    top: 2035px
  }
  .line1{
    position: relative;
    border:0.3px solid grey;
    height: 300px;
    box-shadow: 0 0 16px 0 grey;
    width: 0;
    left: 369px;
  }
  .line2{
    position: relative;
    border:0.3px solid grey;
    height: 300px;
    box-shadow: 0 0 16px 0 grey;
    width: 0;
    left: 1000px;
    bottom: 300px;
  }
  label{
    color: white;
    font-weight: bolder;
  }
  .contact_num{
    position: absolute;
    color: silver;
    font-family: 'Times New Roman';
    left: 1190px;
    top: 2164px;
    font-size: 20px;
}
.phone-logo{
    position: absolute;
    left: 50px;
    top: -37px;
}
p{
    padding: 30px;
    color: rgb(255, 255, 255);
    font-size: 18px;
}
.c_img{
    position: absolute;
    height: 300px;
    width: 369px;
}
.card-img-top5 {
    border-top-left-radius: var(--bs-card-inner-border-radius);
    border-top-right-radius: var(--bs-card-inner-border-radius);
    height: 144px;
}
.preloader {
    width: 100vw;
    height: 100vh;
    background: white url("ab.gif") center no-repeat;
    position: fixed;
    top: 0;
    left: 0;
    background-size:cover;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    display: flex;
}
@media only screen and (max-width: 767px) {
    .nam{
    position: static; /* Revert to normal flow */
        margin-top: 0; /* Remove top margin */
        text-align: center;
}
#Projects {
    padding: 20px; /* Adjust padding for better spacing */
}

.card {
    width: 100%; /* Make cards full-width on smaller screens */
}


}

/* Small Devices (tablets) */
@media only screen and (min-width: 768px) and (max-width: 991px) {
  /* Your styles for small devices go here */
  .nam {
    text-align: center; /* Center the text */
}
.card {
    width: calc(50% - 20px); /* Make cards 50% width with some margin between them */
}
#About{
    height: 2283px;
 }
 .About_info{
       margin-right: 40px;
    margin-left: 40px;
    width: 56rem;
    max-width: none;
    height: 85rem;
    left: 0;
    top: 1846px; 
}
.about_pic{
    width: 34rem;
    height: 34rem;
    left: 242px;
    top: 1249px;
}
.Resume{
       border-radius: 41px;
    font-size: 4rem;
    width: 340px;
    height: 100px;
    left: 333px;
    position: absolute;
    top: 206rem;

}
.container{
    height: 1200px;
}
.icons{
    left: 212px;
    top: 1052px;
    font-size: 60px;
	text-shadow:none;
  }
  p{
    font-size: 50px;
  }
  .about{
    width: 350px;
    height: 90px;
    top: 936px;
    left: 227px
  }
  .name{
    font-size: 85px;
    top: 827px;
    left: 314px;
  }
  .child1{font-size: 2.5rem;}
  .intro{   
    font-size: 80px;
    top: 736px;
    left: 111px;
}
.image{
    height: 500px;
    width: 500px;
    top: 238px;
    left: 130px
}
.drop_down_arrow{
    left: 227px;
    top: 32px;
}
@keyframes image{
    0%{
        left:102%;
        top: 208px;
    }
    100%{
        top: 238px;
        left: 122px
    }
}
.contact_us{
    top: 348rem;
    left: 421px;
}
.line2{
    left: 695px;
}
.contact_num{  
    font-size: 2rem;
    left: 774px;
    top: 353rem;
}
.card-img-top5{
    height: 350px;
}
.navbar-brand{
    font-size: 50px;
}
.navbar-toggler-icon{
    font-size: 50px;
}
.offcanvas-title{
    font-size: 50px;
}
.offcanvas-header{
    font-size: 50px;
}
li{
    font-size: 50px;
}
}

/* Medium Devices (desktops) */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
  /* Your styles for medium devices go here */

  .About_info{
    left: 376px;
  }
  .Resume{
    left: 600px;
  }
  
}


/* Large Devices (large desktops) */
