@import url("https://fonts.googleapis.com/css2?family=Fira+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Reem+Kufi+Fun:wght@400..700&display=swap");

* {
  margin: 0;
  padding: 0;
}

.sidebar {
  position: absolute;
  background-color: rgb(192, 182, 182);
  /* width: 19.4rem; */
  height: 100%;
  font-family: "Poppins", sans-serif;
  transition: transform 0.4s ease-in;
  box-shadow: 1px 2px 7px black;
}

.sidebar nav {
  padding: 2rem;
  list-style: none;
  font-size: 1.4rem;
}

.sidebar nav li {
  padding: 1rem 0rem;
  /* font-size: 4vh; */
}

.sidebar nav li a {
  text-decoration: none;
  color: black;
}

.main {
  /* background-color: yellow; */
  width: 100vw;
}

.container {
  display: flex;
}

.myInfo {
  /* background-color: rgb(81, 162, 124); */
  margin: 7rem 3rem;
  display: flex;
  justify-content: space-around;
  height: 58vh;
  align-items: center;
  font-family: "Reem Kufi Fun", sans-serif;
  font-size: 2vh;
}

.info {
  font-size: 3rem;
  font-optical-sizing: auto;
  font-style: normal;
  min-width: max-content;
}

.infoName {
  font-size: 1.8rem;
  font-weight: bold;
  font-family: "Poppins", sans-serif;
}

.about {
  font-size: 1.2rem;
  font-family: "Source Code Pro", monospace;
  margin-top: 0.5rem;
}

.moreAboutMe {
  font-size: 0.8rem;
  margin-top: 1.5rem;
  font-family: "Reem Kufi Fun", sans-serif;
  word-spacing: 5px;
}

.buttons {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.btn {
  padding: 1vh 4vh;
  border-radius: 2.8vh;
  /* background-color: #27526d; */
  background-color: #813932;
  color: white;
  margin: 0 0.2rem;
  font-size: 2.5vh;
  cursor: pointer;
  border: 2px solid#813932;
}

.btn:hover {
  /* color: #27526d; */
  color: #813932;
  /* border:2px solid #27526d; */
  border: 2px solid#813932;
  background-color: white;
}

.infoPic img {
  /* width: 15rem; */
  width: 38vh;
  height: 70vh;
  margin-left: 1rem;
}

.contactForm {
  font-family: "Poppins", sans-serif;
  padding-top: 5rem;
  /* margin-left: 2rem; */
}

.contactForm h1 {
  font-family: "Source Code Pro", monospace;
  margin-left: 8.3vh;
}

.contactForm form {
  padding-left: 3rem;
}

.contactForm form div {
  padding: 2vh 0 0;
  display: flex;
  flex-direction: column;
}

#clientEmail,
#clientPhone {
  width: 40vh;
  text-align: start;
  border-radius: 2vh;
  padding: 1.5vh;
  margin: 1vh 0vh 0vh 0vh;
  font-size: 2.5vh;
}

.btnContact {
  padding: 1vh 2vh;
  border-radius: 2.8vh;
  /* background-color: #27526d; */
  background-color: #813932;
  color: white;
  margin: 0.5rem 0.2rem;
  font-size: 2.2vh;
  cursor: pointer;
  border: 2px solid #813932;
}

#isClient {
  align-self: center;
  height: 3vh;
}

#emailHelp {
  font-size: 1.7vh;
  color: darkslateblue;
  margin: -1.5vh 0vh 0vh 1vh;
}

.mb-3.form-check {
  display: flex;
  flex-direction: row;
  gap: 2vh;
  padding-bottom: 1vh;
}

.blogContainer {
  margin: 2rem 1rem 1rem 2rem;
  padding: 0.5rem;
  font-family: "Poppins", sans-serif;
}

.blogItem {
  margin: 1rem 0rem 1.5rem 0rem;
}

.blogItem p,
.aboutMe p {
  margin: 1rem 0rem;
  font-family: "Source Code Pro", monospace;
}

.sm-btn {
  padding: 1vh 1vh;
  border-radius: 2.8vh;
  background-color: #27526d;
  color: white;
  cursor: pointer;
  font-size: 2.1vh;
}

.aboutMe {
  margin: 2rem 3rem;
}

.aboutMe h1 {
  font-family: "Source Code Pro", monospace;
  margin-bottom: 1rem;
}

.skillContainer {
  font-family: "Source Code Pro", monospace;
  padding: 1rem 0rem;
  max-width: 600px;
}

.skillItem {
  margin-bottom: 1.2rem;
}

.skillBar {
  background-color: #eee;
  border-radius: 20px;
  overflow: hidden;
  height: 20px;
  margin-top: 5px;
}

.skill.fill {
  background-color: maroon;
  height: 130%;
  line-height: 20px;
  color: white;
  text-align: right;
  padding-right: 10px;
  border-radius: 20px;
  transition: width 1s ease-in-out;
  font-size: 0.8rem;
}

.sidebarGo {
  transform: translate(-310px, 0px);
  position: absolute;
}

.ham {
  position: absolute;
  left: 10px;
  top: 10px;
}

.hamburger,
.crossPng {
  cursor: pointer;
  font-size: 1.5rem;
}

.crossPng {
  margin-left: 8.3rem;
}

.projectContainer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4rem;
  margin: 2rem 0rem;
  font-family: "Source Code Pro", monospace;
}

.projectCard {
  width: 280px;
  background-color: maroon;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
  text-align: center;
  text-transform: capitalize;
}

.projectCard:hover {
  transform: scale(1.03);
}

.projectCard img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 2px solid #eee;
}

.projectCard h3 {
  font-size: 1.3rem;
  margin: 0.8rem 0 0.5rem;
  color: white;
}

.projectCard p {
  font-size: 0.95rem;
  padding: 0 1rem 1rem;
  color: beige;
}

.anchorPNG {
  text-decoration: none;
  color: black;
  font-size: 5vh;
}

.skillContainer + h1 {
  text-align: center;
  margin-top: 1rem;
}

.icon {
  width: 10rem;
}

.iconDiv {
  display: flex;
  flex-wrap: wrap;
  margin: 2rem 0rem;
  padding: 1rem;
  /* border: 2px solid #813932; */
  border-radius: 2rem;
  gap: 2rem;
  justify-content: center;
}

.iconDiv div {
  display: flex;
  flex-basis: min-content;
  text-align: center;
  font-family: "Poppins", sans-serif;
  margin: 0.5rem;
}

.iconDiv div .icon:hover {
  transform: scale(1.2);
}

@media only screen and (max-width: 425px) {
  .info {
    font-size: 2.4rem;
  }

  .myInfo {
    margin: 7rem 0.8rem;
    /* margin-right: auto; */
    /* justify-content: center; */
  }

  .blogContainer h1 {
    font-size: 2rem;
  }

  .about {
    font-size: 0.9rem;
  }

  .contactForm {
    margin-right: 1rem;
  }

  .infoName {
    font-size: 1rem;
  }

  .DevInfo {
    width: 8rem;
    height: 26rem;
  }

  .infoPic {
    width: 30vh;
    height: 40vh;
  }

  .infoPic img {
    margin-left: 0.1rem;
    width: 29vh;
    height: 60vh;
  }

  .projectCard {
    width: 90%;
  }
}
