@import url("https://fonts.googleapis.com/css2?family=Dancing+Script:wght@700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Zilla+Slab:wght@500&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: 62.5%;
}
body {
  background-color: #222427;
}
.navbar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-direction: row;
  background-color: black;
  color: white;
  position: sticky;
  top: 0;
}
.logo {
  font-size: 4rem;
  font-family: "Dancing Script", cursive;
  position: relative;
}
.nav-links {
  display: flex;
}
li a {
  text-decoration: none;
  font-size: 2.2rem;
  color: white;
  font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
}
li a:hover {
  color: blueviolet;
}
li {
  list-style-type: none;
  margin: 0.8rem;
}
.lines {
  height: 2px;
  width: 20px;
  background-color: white;
  line-height: 10px;
  margin: 3px 0;
}
.burger {
  display: none;
}
.about {
  position: relative;
  display: flex;
  justify-content: space-evenly;
  flex-direction: row;
  padding: 10rem;
  min-height: 100vh;
}
.about::before {
  content: " ";
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  background-image: url("backgroundImage.jpg");
  background-size: cover;
  opacity: 0.5;
}

.about img {
  position: relative;
  height: 170px;
  width: 183px;
  padding: 0;
  border-radius: 50%;
  margin-right: 5rem;
  margin-bottom: 3rem;
  border: 5px solid rgb(215, 241, 214);
}
.about p {
  position: relative;
  margin: 0;
  padding: 2rem;
  font-size: 2rem;
  font-family: "Zilla Slab", serif;
  color: rgb(4, 253, 253);
}
.about p span {
  color: #c6fc31fc;
  font-size: 2.8rem;
}
#skills,
#projects {
  text-align: center;
  margin-top: 25px;
}
#skills h1,
#projects h1 {
  font-family: "Poppins", sans-serif;
  font-size: 2rem;
  letter-spacing: 1px;
  color: #726eff;
  display: inline;
  border-bottom: 1px solid #5affe7;
  padding: 1rem;
}
.icons {
  display: grid;
  margin-top: 3rem;
  grid-template-columns: auto auto auto;
}
.icons img {
  width: 5rem;
  height: auto;
  opacity: 0.5;
}
.icons img:hover {
  opacity: 1;
}
.project-details {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: center;
  grid-gap: 4rem;
  margin: 5rem;
}
.project {
  width: 35rem;
  min-height: 280px;
  margin: auto;
  background-color: rgb(35, 32, 31);
}
.project-image img {
  width: 35rem;
}
.aboutproject {
  color: white;
  font-size: 1.6rem;
  padding: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
}
.aboutproject p {
  font-size: 1.4rem;
}
.aboutproject h3 {
  text-transform: uppercase;
}
.aboutproject a {
  text-decoration: none;
  color: white;
  border: 2px solid white;
  padding: 0.4rem;
  margin: 2rem;
  width: 10rem;
  display: block;
}
#footer {
  background-color: black;
  color: whitesmoke;
  padding: 3rem;
  line-height: 3rem;
  font-family: Poppins, sans-serif;
}
#footer div {
  text-align: center;
}
#footer div p {
  font-size: 1.4rem;
}
#footer h4 {
  font-size: 3rem;
}
.socialmedia {
  text-align: center;
  margin: 1rem;
}
.socialmedia a {
  margin: 0 1rem;
}
.socialmedia a img {
  padding: 0.4rem;
  width: 4rem;
  border: 1px solid black;
  border-radius: 50%;
}
#linkedin {
  background-color: rgb(88, 88, 250);
}
#github {
  background-color: rgb(46, 211, 46);
}
#linkedin:hover {
  transform: scale(1.1);
  background-color: white;
}
#github:hover {
  transform: scale(1.1);
  background-color: white;
}
.rights p {
  font-size: 1.4rem;
}
@media screen and (max-width: 500px) {
  .navbar,
  .nav-links {
    flex-direction: column;
  }
  .navbar {
    width: 100%;
  }
  .logo {
    margin-bottom: 1rem;
  }
  .nav-links {
    width: 100%;
    align-items: center;
    line-height: 1.2rem;
  }
  li a:hover {
    color: blueviolet;
  }
  .burger {
    display: inline;
    opacity: 1;
    position: absolute;
    top: 16px;
    right: 40px;
  }
  .burger:hover {
    cursor: pointer;
  }
  .toggle {
    display: none;
  }
  .about {
    flex-direction: column;
    padding: 3.5rem;
  }
  .about img {
    margin: auto;
  }
  .icons {
    margin-top: 3rem;
  }
  .project-details {
    grid-template-columns: auto;
  }
  .project-image img,
  .project {
    width: 25rem;
  }
}

@media screen and (min-width: 768px) and (max-width: 768px) {
  .about {
    min-height: 40vh;
  }
}
@media screen and (min-width: 1000px) {
  .about {
    padding: 20rem;
  }
}
