* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  background-color: #040b14;
  height: 90vh;
  width: 300px;
  max-width: 300px;
  z-index: 10;
  transition: 0.5s;
}
.my-pic {
  margin: 10px auto;
  margin-top: 20px;
  text-align: center;
}
.img {
  border-radius: 50%;
  outline: 10px solid #272829;
  height: 120px;
  margin: 10px 0;
}
.header h1 {
  color: white;
  font-size: 27px;
  font-family: sans-serif;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

a {
  color: white;
  text-decoration: none;
}
nav ul {
  list-style: none;
  margin: 20px;
}
nav ul li {
  margin: 25px 10px;
}
nav ul li a {
  font-size: 18px;
  color: #6f7180;
}

nav ul li a i {
  margin-right: 20px;
  font-size: 22px;
}
nav ul li a:hover {
  color: white;
}

.links {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.links a {
  background-color: #272829;
  border-radius: 50%;
  height: 40px;
  width: 40px;
  display: flex;
  justify-content: center;
  align-items: center;

  transition: 0.2s ease-in-out;
}
.links a:hover {
  background-color: blue;
}
.links i {
  color: white;
  font-size: 21px;
  transition: 0.4s ease linear;
}

/* *************************** */
/* footer section */
.footer {
  position: fixed;
  left: 0;
  background-color: #040b14;
  color: white;
  width: 300px;
  height: 10vh;
  z-index: 10;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

/* *************************** */
/* home section */
.home {
  height: 100vh;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url(./img/background.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  flex-direction: column;
  position: relative;
  z-index: 1;
}
.home::after {
  height: 100vh;
  width: 100vw;
  position: absolute;
  content: "";
  background-color: #040b14;
  opacity: 0.2;
  z-index: -1;
}

.home h1 {
  font-size: 56px;
  font-family: sans-serif;
  text-align: start;
  margin-bottom: 10px;
  color: white;
}
.home h2 {
  font-size: 32px;
  text-align: start;
  padding: 5px 0;
  color: white;
}
.togger-icon {
  position: fixed;
  background-color: rgb(100 164 189);
  border-radius: 50%;
  right: 20px;
  height: 40px;
  width: 40px;
  top: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  display: none;
  color: white;
}
.home i {
  font-size: 24px;
}

/* *********************** */
/*  about section */

.about {
  height: auto;
  width: 100%;
  padding-left: 310px;
}

.section-heading {
  font-size: 32px;
  padding: 5px 0;
  font-weight: bold;
  width: fit-content;
  border-bottom: 4px solid rgb(114, 166, 186);
  margin: 20px 0;
}
.my-about {
  font-size: 17px;

  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  margin: 10px 0;
}

.details {
  display: flex;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  flex-direction: row;
  gap: 40px;
  margin: 30px 0;
  padding: 20px 30px;
}
.details img {
  width: 600px;
}
.role {
  font-size: 32px;
  border-bottom: 2px solid skyblue;
}
.my-role {
  font-size: 32px;
}
.summary {
  font-size: 17px;
  margin: 5px 0px;
}
.personal-deatails {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 10px;
  padding: 10px;
}
span {
  font-weight: 700;
}

/* *************************** */
/* resume section */
.resume-section {
  height: auto;
  padding: 30px 0;
  width: 100vw;
  padding-left: 310px;
}
.resume-heading {
  font-size: 20px;
  font-weight: 600;
  padding-left: 40px;
}
.education-container > div {
  /* border-left: 2px solid; */
  position: relative;
  padding: 20px 0;
  margin: 20px 0;
  padding-left: 20px;
  margin-left: 40px;
  box-shadow: 2px 2px 6px black;
  width: 80%;
}
.education-container > div p {
  font-size: 18px;
}
.education-level {
  font-size: 20px;
  font-weight: 600;
}

.education-container > div span {
  /* background-color: aqua; */
  padding: 5px;
  margin: 10px 0;
  display: inline-block;
}

/* ************************* */
/*  skills section */

.skills-section {
  background-color: rgba(135, 207, 235, 0.137);
  height: auto;
  padding: 50px 0;
  width: 100vw;
  padding-left: 310px;
  padding-right: 20px;
}

.my-skills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 20px 0px;
}
.skill div {
  position: relative;
  background-color: rgb(209, 229, 249);
  height: 10px;
}
.skill div::after {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  content: "";
  width: 90%;
  height: 100%;
  background-color: rgb(32, 126, 208);
}
.skill .html::after {
  width: 90%;
}
.skill .css::after {
  width: 80%;
}
.skill .javascript::after {
  width: 70%;
}
.skill .react::after {
  width: 60%;
}
.skill .php::after {
  width: 70%;
}
.skill .wordpress::after {
  width: 70%;
}
.skill > p {
  margin: 5px 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 600;
}
.skill > p span {
  float: right;
}

/* *********************************** */
/*  projects section */

.project-container {
  padding-left: 310px;
}
.my-projects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 10px;
}
.my-projects > div {
  border: 2px solid;
  height: auto;
  padding: 10px;
}
.projects {
  display: flex;
  gap: 20px;
  /* justify-content: space-between; */
}
.project-icon {
  margin-left: 10px;
  /* width: 250px; */
  padding-top: 10px;
  overflow: visible;
}
.project-icon > div {
  background-color: steelblue;
  border-radius: 50%;
  height: 50px;
  width: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.projects i {
  font-size: 30px;

  color: white;
}
.project-heading {
  font-size: 20px;
  margin-top: 10px;
  font-weight: 600;
}
.project-desc {
  font-size: 17px;
  margin-top: 10px;
}
.projects button {
  padding: 5px 15px;
  background-color: steelblue;
  margin-top: 10px;
  border: none;
}
.projects button > a {
  color: white;
}
/* *********************************** */
/*  contact section */

.contact {
  height: auto;
  padding-left: 310px;
}

.sub-heading {
  font-size: 17px;
}
form {
  width: 50%;
  float: right;
  box-shadow: 2px 2px 10px black;
  border: 1px solid;
}
form > div {
  margin: auto;
  width: 70%;
}
form input,
textarea {
  display: block;
  width: 100%;
  padding: 10px 15px;
  border: 1px solid;
}
form label {
  margin: auto;
  /* padding: 0px 5px; */
  margin: 10px 0;
  display: inline-block;
}
form button {
  text-align: center;
  border: 2px solid;
  display: block;
  margin: auto;
  color: white;
  background-color: steelblue;
  padding: 10px 14px;
  font-size: 17px;
  margin-top: 20px;
  margin-bottom: 30px;
  cursor: pointer;
}
.contact-details {
  display: flex;
  padding: 0 50px;
  gap: 50px;
  margin: 50px 0;
}
.contact-details iframe {
  padding: 10px;
}
