* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root{
  --main-color:rgb(68, 93, 216);
  --text-color:rgb(93, 93, 93);
  --white: #fff;

}

/* Styling Navigation bar */
.navbar {
  position: fixed;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  z-index: 999;
  padding: 0%;
  background-color: var(--white);
  width: 100%;
  justify-content: space-between;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}
#navbarNav .nav-item{
  margin-left: 60px;
}
.navbar .navbar-toggler{
  border: none;
  font-size: 25px;
}
.navbar .navbar-toggler:focus{
  box-shadow: none;
}
.items ul li {
  font-size: 20px;
}
.items ul li a:hover {
  color: var(--main-color);
  transition: all 0.3s ease-in-out;
}

/* Styling Home */
.home {
  background: url("https://img.freepik.com/free-vector/circles-background-dark-tones_60389-166.jpg?w=1060&t=st=1698226419~exp=1698227019~hmac=3e857f0ec27965fbcac07a3e824c20ca8ce6faf867a836ac5a734876e47fd22b")
    no-repeat center center/cover;
  padding: 0px 146px;
}
.h-content {
  margin-top: 90px;
  padding-top: 90px;
  padding-right: 100px;
  color: var(--white);
  height: 625px;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
}
#hello {
  font-size: 35px;
}
.h-content h1 {
  font-size: 55px;
  margin-top: 20px;
}
.auto-type {
  color: var(--main-color);
}
.h-content p {
  font-size: 18px;
  line-height: 28px;
}
.social {
  margin-top: 30px;
}
.social a {
  text-decoration: none;
  font-size: 35px;
  color: var(--white);
  margin-right: 20px;
  transition: all 0.3s ease-in-out;
}
.social a:hover {
  color: var(--main-color);
}
.h-content button {
  font-size: 15px;
  font-weight: bold;
  padding: 20px 45px;
  margin-top: 30px;
  text-decoration: none;
  background-color: var(--main-color);
  color: var(--white);
  border: none;
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
}
.h-content button:hover {
  background: none;
  cursor: pointer;
  border: transparent;
  outline: 2px solid var(--white);
}
.img-container {
  margin: 150px 0px 100px;
  border: 2px solid var(--main-color);
  border-radius: 100%;
  box-shadow: 0 0 10px var(--main-color);
  z-index: 1;
  overflow: hidden;
}
.img-container img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: all 0.3s ease-in-out;
}
.img-container img:hover {
  cursor: pointer;
  transform: scale(1.14);
}
/* Styling About */
.abt-img img {
  margin-left: 150px;
}
.abt-content {
  margin: 60px 0px 20px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
.abt-h {
  font-size: 40px;
  margin-top: 80px;
  letter-spacing: 3px;
}
.abt-content p {
  margin-top: 30px;
  font-size: 18px;
  line-height: 28px;
  color: var(--text-color);
}
#info {
  margin-top: 30px;
}
#info .info {
  margin-bottom: 25px;
}
#info .info span{
  color: var(--text-color);
  margin-left: 30px;
}
#info .info  strong {
  font-size: 25px;
  color: var(--main-color);
}
.icon i{
  margin-right: 12px;
  font-size: 20px;
  color: var(--main-color);
}
.abt-content button {
  font-size: 20px;
  font-weight: bold;
  padding: 13px 45px;
  margin-top: 30px;
  text-decoration: none;
  border: none;
  background-color: var(--main-color);
  color: var(--white);
  border-radius: 5px;
}
.abt-content button:hover {
  outline: 2px solid var(--main-color);
  background-color: var(--white);
  cursor: pointer;
  color: var(--main-color);
  transition: all 0.3s ease-in-out;
}

/* Styling Skills */

.skill {
  height: 100%;
  width: 100%;
  background-color: rgb(242, 242, 242);
}
.skill-content {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
.skill-h {
  font-size: 40px;
  text-align: center;
  padding-top: 110px;
  letter-spacing: 3px;
}
.skill-content p {
  margin-top: 20px;
  margin-bottom: 20px;
  font-size: 18px;
  line-height: 28px;
  text-align: center;
  color: var(--text-color);
}
.bar {
  padding: 10px 100px;
}
.prog {
  width: 70%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 25px;
  font-weight: bold;
}
.bar .prog strong {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 25px;
  color: var(--text-color);
  font-weight: lighter;
}
.slider {
  border-radius: 20px;
  background-color: rgb(207, 207, 207);
  margin-top: 20px;
}
.skll {
  border-radius: 20px;
  /* padding: 4px; */
  color: #fff;
  padding-left: 20px;
}
.rct {
  width: 65%;
  background-color: var(--main-color);
}
.nxt {
  width: 55%;
  background-color: var(--main-color);
}
.bs {
  width: 80%;
  background-color: var(--main-color);
}
.js {
  width: 54%;
  background-color: var(--main-color);
}
.ts {
  width: 44%;
  background-color: var(--main-color);
}
.css {
  width: 85%;
  background-color: var(--main-color);
}
.html {
  width: 85%;
  background-color: var(--main-color);
}

/* Styling Projects */

.projects {
  padding-top: 40px;
  margin-top: 100px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
.h-projects,
.h-contact {
  text-align: center;
  font-size: 40px;
  margin-top: 100px;
}

#projects {
  margin-top: 50px;
}
#projects .card img{
  border-top-right-radius: 30px;
  border-top-left-radius: 30px;
}
#projects .card .prjct-content{
  color: var(--text-color);
  font-size: 20px;
  padding: 20px;
  margin-bottom: 20px;
}
#projects .card .prjct-content a{
  text-decoration: none;
  font-size: 16px;
  margin: 20px;
  padding: 13px 35px;
  border: none;
  background-color:var(--main-color);
  color: var(--white);
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
}
#projects .card .prjct-content a:hover{
  border: 2px solid var(--main-color);
  background-color: var(--white);
  cursor: pointer;
  color:var(--main-color);
}
#projects .card {
  background-color: var(--white);
  border: 1px solid var(--main-color);
  border-radius: 30px;
  text-align: center;
  transition: all 0.3s ease;
}
#projects .card:hover {
  transform: scale(1.03);
  box-shadow: 1px 1px 15px 1px var(--main-color);
}
.box i {
  font-size: 50px;
  color:var(--main-color);
}
.box img{
  height: fit-content;
  width: 400px;
}
.h-box {
  font-size: 25px;
  padding: 20px 0px;
}
.txt {
  line-height: 1.5;
  padding: 10px;
  color: var(--text-color);
}

/* Styling Contact */

.contact {
  padding-top: 20px;
  margin-top: 80px;
  background-color: rgb(242, 242, 242);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
.adrs {
  margin: 30px 0px;
}
.loc,
.phn,
.mail {
  display: flex;
  padding: 10px;
}
.cntnt strong {
  font-size: 20px;
  padding: 14px;
  color: var(--main-color);
}
.cntnt p {
  color: var(--text-color);
  line-height: 20px;
  padding: 10px 14px;
}
.icn i {
  font-size: 25px;
  background-color: var(--main-color);
  border-radius: 50%;
  color: var(--white);
  font-weight: lighter;
  padding: 20px;
  margin-top: 7px;
}

.form {
  height: auto;
}

.inputs {
  display: flex;
  flex-direction: column;
}
.inputs input {
  border: 1px solid rgb(221, 220, 220);
  padding: 15px;
  font-size: 15px;
  margin-bottom: 30px;
  border-radius: 5px;
}
.inputs input:focus {
  outline: 1px solid var(--main-color);
}
.txtarea {
  display: flex;
  flex-direction: column;
}

.txtarea input,
textarea {
  border: 1px solid rgb(221, 220, 220);
  padding: 15px;
  font-size: 15px;
  margin-bottom: 30px;

  border-radius: 5px;
}
.txtarea textarea:focus {
  outline: 1px solid var(--main-color);
}
.txtarea input {
  border: none;
  color: var(--white);
  background-color: var(--main-color);
  transition: all 0.4s ease;
}
.txtarea input:hover {
  outline: 2px solid var(--main-color);
  color: var(--main-color);
  background-color: var(--white);
}
::placeholder,
textarea {
  color: rgb(190, 190, 190);
}

.h-primary {
  color: #313131;
}

/* Styling Footers */
.footer {
  /* padding-top: 20px; */
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  text-align: center;
  color: var(--text-color);
}
.footer p {
  margin-top: 35px;
}
.footer p a{
  color: var(--main-color);
}

@media (max-width: 1200px) {
  /* Home */
  .home {
    padding: 0px 80px;
  }
  .h-content h1 {
    font-size: 50px;
  }
  #hello {
    font-size: 30px;
  }
  /* About Section */
  .abt-img img {
    margin-top: 120px;
    margin-left: 50px;
  }
  #info .info {
    margin-bottom: 25px;
  }
  /* Project section */
  #project .box {
    padding: 20px;
  }
}

@media (max-width: 991px) {
  #navbarNav .nav-item{
    margin-left: 20;
  }


  /* Home */
  .h-content {
    margin-top: 70px;
    padding-top: 40px;
    padding-right: 20px;
  }
  
  #hello {
    font-size: 30px;
  }
  .h-content h1 {
    font-size: 50px;
  }
  .h-content p {
    margin-top: 20px;
    line-height: 24px;
  }
  .social {
    margin-top: 20px;
  }
  .h-content button {
    font-size: 15px;
    font-weight: bold;
    padding: 17px 40px;
    margin-top: 25px;
  }
  /* About section */
  .abt-img img {
    margin-left: 0px;
  }
  #info .info {
    margin-bottom: 25px;
  }
/* Project */
#projects .card .prjct-content{
  font-size: 16px;
  padding: 20px;
}
  #projects .card .prjct-content a{
    font-size: 14px;
    padding: 10px 25px;
  }
  /* Skills */
  .prog {
    width: 100%;
  }
  .bar {
    padding: 10px 40px;
  }
}

@media (max-width: 767px) {
  /* Home Section */
  .h-content {
    margin-top: 0px;
    padding-top: 40px;
    padding-right: 0px;
    /* height: 550px; */
  }
  .img-container {
      margin: 140px 0px 0px;
  }
  /* About section */
  .abt-img {
    display: none;
  }
  .abt-content {
    padding: 0 30px;
  }
  .abt-h {
    text-align: center;
    margin-top: 40px;
  }

  /* Skills section */
  .skill-content{
    padding-top: 5px; 
  }
  .bar {
    padding: 10px 10px;
  }
  /* Project section */
  .projects {
    padding-top: 10px;
    margin-top: 0px;
  }
  .h-projects,
  .h-contact {
    margin-top: 80px;
  }
  /* Contact section */
  .contact {
    padding-top: 10px;
    margin-top: 0px;
  }
}
@media (max-width: 450px) {
  /* Home */
  .h-content {
    height: 680px;
  }
  .home {
    padding: 0px 40px;
  }
  .social a {
    font-size: 30px;
  }
  /* About */
  .abt-content {
    padding: 0 30px;
  }
}
