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

html{
  scroll-behavior: smooth;
}

body{
    font-family: 'Poppins', sans-serif;
    background-color: #0a192f !important;
    color: white !important;
    scroll-behavior: smooth;
}


.custom-toggler {
    border: none;
    background: none;

  }

  .ham {
    position: relative;
    width: 24px;
    height: 20px;
  }

  .ham span {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: #000;
    border-radius: 2px;
    transition: transform .3s ease, opacity .2s ease, top .3s ease;
  }

  .ham span:nth-child(1) { top: 0; }
  .ham span:nth-child(2) { top: 8px; }
  .ham span:nth-child(3) { top: 16px; }

  .custom-toggler.active .ham span:nth-child(1) {
    top: 8px;
    transform: rotate(45deg);
  }
  .custom-toggler.active .ham span:nth-child(2) {
    opacity: 0;
  }
  .custom-toggler.active .ham span:nth-child(3) {
    top: 8px;
    transform: rotate(-45deg);
  }

 #navbar{
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    left: 0;
    background-color: #cbd4de !important;
}

ul{
  font-size: 25px;
}


li>a:hover{
  text-decoration: underline;
  color: white !important;

}

.navbar-brand{
  margin-top: 7px;
}



li>a:active,
li>a:focus{
  text-decoration: none;
  outline: white;
  transition: 0.3s;
}

.social{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

section{
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.homec>img{
    border-radius: 200px;
}

.res{
  display: flex;
  align-items: center;
  justify-content: center;
}

.resume{
  background-color: red !important;
  padding: 10px !important;
  border-radius: 10px;
}

.about-cont{
  text-align: justify;
}

.about-image{
  border-radius: 25px;
}


.sk-center{
  display: flex;
  align-items: center;
  justify-content: center;
}

.prj-card{
  height: 570px !important;
  border: #0a192f 5px solid;
  box-shadow: 2px 3px 2px  4px #0a2144;

}

.prj-center{
  display: flex;
  align-items: center;
  justify-content: center;
}

footer{
  height: 100px;
  background-color: #cbd4de;
  color:#0a192f;
}

.last-cont{
  display: flex;
  align-items: center;
  justify-content: center;
}

.formm{
  line-height: 80px;
  border: 0px solid ;
}

.textt{
  height:100px;
}

.skills-f{
  background-color: #0a192f;
  color:white;
  border-radius: 30px;
  border: 2px white solid ;
}

 .c1{
  background-color: #cbd4de!important;
}

.skills-f{
  display: flex;
  align-items: center;
  justify-content: center;
}


.skills-f:hover,
.skills-f:focus-visible{
  transform:translateY(-6px);
  box-shadow:0 12px 24px rgba(0,0,0,.08);
  border-color:#cbd5e1;
  outline:none;
}

.prj-card:hover{
  transform:translateY(-6px);
  box-shadow:0 12px 24px rgba(0,0,0,.08);
  border-color:#cbd5e1;
  outline:none;
}


.tech-stack{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap:10px
}

.tech-stack>h5{
  border: 1px solid #0a192f;
  border-radius: 10px;
  padding-left: 3px;
  padding-right: 3px;
  padding-top: 2px;
  padding-bottom: 2px;
}

.contact-center{
  display: flex;
  align-items: center;
  justify-content: center;
}

form>label{
  font-size: 25px;
  font-weight: 200;
}

.p-link{
  width: 100%;
display: flex;
align-items: center;
justify-content: center;
gap: 30px;
margin-top: 20px;
}


.prj-card:hover{
  background-color: #cfdce9;
}



#msg{
  color: green;
  font-size: 20px;
  display: none;
}

.arrow{
  display: flex;
  align-items: center;
  justify-content: end;
  margin-right:25px;
  margin-bottom: 20px;
}

.arrow>a>i{
  background-color: #fff;
  padding: 15px;
  color: blue;
  font-weight: 600;
  border-radius: 50px;
}

.s-name{
  font-weight:500px;
}


@media screen and (min-width:300px) {
  .myimg{
    margin-top: 30px;
  }
}




@media screen and (max-width:600px) {
  .about-n{
    margin-top: 60px;
  }

  .s-title{
    margin-top: 60px;
  }

  .prj-title1{
    margin-top: 70px;
  }

}

@media screen and (max-width: 768px) {
  section {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
  }
   #home {
    height: 100vh;
    padding: 20px;
  }
}


@media screen and (min-width: 769px) {
  section {
    width: 100%;
    min-height: auto;
    padding: 80px 0;
    max-width: 1200px;
    margin: 0 auto;
  }

}




@media screen and (min-width:1200px) {

  #menu{
    margin-left:230px;
  }

  ul{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 70px;
  font-size: 28px;
  color:black !important;
  font-weight: 600;
}


  .l-name{
    display: none;
  }

  .about-n{
    position: relative;
    bottom: 21px;
  }

  .s-title{
    position: relative;
    top: 50px;
  }

  .prj-title1{
    position: relative;
    margin-top: 100px;
  }

  .about-cont{
     font-size: 20px;
    line-height: 50px;
  }

  .c1{
  height:300px !important;
  width: 400px !important;
  background-color: #cbcbcb !important;
}

.formm{
  line-height: 50px;
  padding: 30px;
}

.sb{
  text-align: center;
  margin-left: 180px;
}

}
