* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Poppins", sans-serif;
  background: #f6f0f7;
}

/* Home page */
.container {
  max-width: 1300px;
  margin: auto;
  padding-left: 25px;
  padding-right: 25px;
}

.logo img {
  border-radius: 50%;
  width: 50px;
  transition: 0.5s;
}

.logo img:hover {
  transition: 0.5s;
}

.auto-input {
  color: #7f00ff;
}
.navbar {
  display: flex;
  align-items: center;
  padding: 20px;
}
nav {
  flex: 1;
  text-align: right;
}

nav ul li {
  display: inline-block;
  margin: 1px 20px;
  list-style: none;
}
nav ul li a {
  color: #555;
  text-decoration: none;
  font-size: 18px;
  position: relative;
}

nav ul a::after {
  content: "";
  width: 0;
  height: 3px;
  background: #7f00ff;
  position: absolute;
  left: 0;
  bottom: -6px;
  transition: 0.5s;
}

nav ul li a:hover::after {
  width: 100%;
}

.menu-icon {
  width: 28px;
  margin-left: 20px;
  display: none;
}

@media only screen and (max-width: 800px) {
  nav ul {
    position: fixed;
    width: 100%;
    background: #3d535f;
    top: 70px;
    left: 0;
    overflow: hidden;
    transition: max-height 0.5s;
  }
  nav ul li {
    display: block;
    margin-right: 50px;
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
  }
  nav ul li a {
    color: #fff;
  }
  .menu-icon {
    display: block;
    cursor: pointer;
  }
}

@media only screen and (max-width: 600px) {
  .row {
    text-align: center;
  }
  .col-2,
  .col-3,
  .col-4 {
    flex-basis: 100%;
  }
  nav ul a::after {
    content: "";
    width: 0;
    height: 3px;
    background: #ffffff;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.5s;
  }

  nav ul li a:hover::after {
    width: 100%;
  }

  #contact {
    padding: 100px 0 !important ;
  }
  .copyright {
    text-align: center;
    font-size: 20px;
  }

  #project {
    padding: 100px 0 !important ;
  }
  .project-main .project-col .project-card .project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
  }
}

.row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-around;
}

.col-2 {
  flex-basis: 50%;
  min-width: 300px;
}

.col-2 a .bx {
  padding: 20px;
  font-size: 30px;
  transition: 0.5s;
  cursor: pointer;
  color: #3d535f;
}
.col-2 a .bx:hover {
  color: #7f00ff;
}

.col-2 img {
  max-width: 100%;
  padding: 50px 0;
  border-radius: 15%;
}

.col-2 h1 {
  font-size: 50px;
  line-height: 60px;
  margin: 25px 0;
}

.btn {
  display: inline-block;
  background: #3d535f;
  color: #fff;
  padding: 8px 30px;
  margin: 30px 0;
  border-radius: 30px;
  box-shadow: 0 0 10px 0 #7accf8;
  text-decoration: none;
  transition: background 0.5s;
}

.btn:hover {
  background: #7f00ff;
}

#header .row {
  min-height: 80vh;
  align-items: center;
  text-align: center;
}

/* About Page */
#about {
  padding: 100px 0;
  background-color: rgba(173, 17, 17, 0.119);
}
#about h1 {
  font-size: 40px;
  font-weight: 600;
  color: #3d535f;
}
#about span {
  color: #ff8e48;
}

.about-col-2 {
  flex-basis: 50%;
  min-width: 300px;
}
.about-col-2 img {
  width: 80%;
  border-radius: 15px;
}

.about-col-3 {
  flex-basis: 33.33%;
  min-width: 250px;
  margin-top: 50px;
  text-align: center;
}

/* My Skills */
#skills {
  padding: 80px 13%;
  width: 100%;
  height: auto;
  background-color: rgba(0, 0, 0, 0.08);
}

.skill-head {
  width: 100%;
  margin-bottom: 70px;
  display: grid;
  place-items: center;
  text-align: center;
}

.skill-head h2 {
  font-size: 40px;
  font-weight: 600;
  color: #3d535f;
}
.skill-head span {
  color: #ff8e48;
}

.skill-main {
  width: 100%;
  height: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-column-gap: 50px;
  grid-row-gap: 20px;
}

.skill-main .skill-bar .info {
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
}
.skill-bar .info .percent {
  font-weight: bold;
}

.skill-bar .bar {
  width: 100%;
  height: 10px;
  background-color: rgba(0, 0, 0, 0.08);
  border-radius: 25px;
  margin-top: 5px;
}

.skill-bar .bar span {
  display: block;
  width: 50%;
  height: 100%;
  border-radius: 25px;
  background-color: #ff8e48;
  transition: 0.5s;
}

.skill-bar .bar .html {
  width: 90%;
  animation: html 3s;
}
@keyframes html {
  0% {
    width: 0%;
  }
  100% {
    width: 90%;
  }
}

.skill-bar .bar .css {
  width: 80%;
  animation: css 3s;
}
@keyframes css {
  0% {
    width: 0%;
  }
  100% {
    width: 80%;
  }
}

.skill-bar .bar .js {
  width: 80%;
  animation: js 3s;
}
@keyframes js {
  0% {
    width: 0%;
  }
  100% {
    width: 80%;
  }
}

.skill-bar .bar .bootstrap {
  width: 80%;
  animation: bootstrap 3s;
}

@keyframes bootstrap {
  0% {
    width: 0%;
  }
  100% {
    width: 80%;
  }
}

.skill-bar .bar .react {
  width: 75%;
  animation: react 3s;
}

@keyframes react {
  0% {
    width: 0%;
  }
  100% {
    width: 75%;
  }
}

.skill-bar .bar .node {
  width: 70%;
  animation: node 3s;
}

@keyframes node {
  0% {
    width: 0%;
  }
  100% {
    width: 70%;
  }
}

.skill-bar .bar .mongo {
  width: 60%;
  animation: mongo 3s;
}

@keyframes mongo {
  0% {
    width: 0%;
  }
  100% {
    width: 60%;
  }
}

.skill-bar .bar .express {
  width: 65%;
  animation: express 3s;
}

@keyframes express {
  0% {
    width: 0%;
  }
  100% {
    width: 65%;
  }
}

/* My Projects */
#projects {
  padding: 80px 13%;
  width: 100%;
  height: auto;
  background-color: rgba(39, 182, 94, 0.212);
}

.project-head {
  width: 100%;
  margin-bottom: 70px;
  display: grid;
  place-items: center;
  text-align: center;
}

.project-head h2 {
  font-size: 40px;
  font-weight: 600;
  color: #3d535f;
}

.project-head span {
  color: #ff8e48;
}

.project-main {
  width: 100%;
  height: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-column-gap: 50px;
  grid-row-gap: 20px;
}

.project-main .project-col {
  width: 100%;
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 0 10px 0 #7accf8;
  padding: 20px;
  transition: 0.5s;
}

.project-main .project-col:hover {
  transform: translateY(-10px);
}

.project-main .project-col .project-img {
  width: 100%;
  height: 200px;
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
}

.project-main .project-col .project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-content a {
  text-decoration: none;
}
.project-content a:hover {
  color: #ff8e48;
}

/* Contact Us  */
#contact {
  padding: 80px 13%;
  width: 100%;
  height: auto;
  background-color: rgba(0, 0, 0, 0.08);
}

.contact-head {
  width: 100%;
  margin-bottom: 70px;
  display: grid;
  place-items: center;
  text-align: center;
}

.contact-form label {
  font-size: 20px;
  font-weight: 600;
  color: #3d535f;
}
.contact-head h2 {
  font-size: 40px;
  font-weight: 600;
  color: #3d535f;
}

.contact-head span {
  color: #ff8e48;
}

.contact-form {
  width: 100%;
  height: auto;
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 0 10px 0 #7accf8;
  padding: 20px;
  transition: 0.5s;
}
.contact-form:hover {
  transform: translateY(-10px);
}

.contact-form form input,
form textarea {
  width: 100%;
  height: 50px;
  border: 0;
  outline: none;
  border-radius: 25px;
  padding: 0 20px;
  margin: 15px 0;
  font-size: 18px;
  background: rgba(0, 0, 0, 0.08);
}

.contact-form form textarea {
  height: 150px;
}

form button {
  width: 100%;
  height: 50px;
  border: 0;
  outline: none;
  border-radius: 25px;
  padding: 0 20px;
  margin: 15px 0;
  font-size: 18px;
  background: #3d535f;
  color: #fff;
  cursor: pointer;
}

form button:hover {
  background: #ff8e48;
  color: #fff;
}

/* copyright */
.copyright {
  width: 100%;
  text-align: center;
  padding: 20px 0;
  background: #3d535f;
  color: #fff;
  font-weight: 300;
}
