* {
  padding: 0;
  margin: 0;
  font-family: "Open Sans", sans-serif;
}

body {
  scroll-snap-align: center;
}

.nav-main-container {
  display: flex;
  align-items: center;
  height: 70px;
  width: 100vw;
  background-color: #333;
  font-weight: bolder;
  top: 0;
  position: fixed;
  z-index: 999;
}

.navName {
  font-family: fantasy;
  margin-left: 5%;
  font-weight: bolder;
  margin-top: 10px;
  color: orange;
}

ul {
  display: flex;
  /* justify-content: space-around; */
  width: 45vw;
  font-size: 23px;
  align-items: center;
  height: 100%;
  margin-left: 40%;
}

li {
  list-style: none;
  font-size: 20px;
  cursor: pointer;
  width: 100px;
  color: orange;
}

li:hover {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  background-color: orange;
  color: #333;
}

.qualifiedImgContainer {
  width: 400px;
}

.leftSkill {
  width: 300px;
}

a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: black;
  height: 100%;
}

.container {
  background-color: #111;
  overflow: hidden;
}

.salute {
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.leftSkill img {
  border-radius: 40px;
}
.rightSkill img {
  border-radius: 40px;
}

.qualifiedChart {
  margin-right: 100px;
}

.saluteTextContainer {
  flex: 2;
  padding: 100px;
}

.saluteImgContainer {
  flex: 1.5;
  border: 10px solid #333;
  margin: 0;
  margin-right: 35px;
  padding: 0px;
}

.saluteText {
  color: darkgrey;
  cursor: default;
  margin-top: 90px;
}

.saluteImg {
  width: 100%;
}

.nameContainer {
  height: 100vh;
  background-color: orange;
}

.name {
  font-size: 14vw;
  color: #333;
  cursor: default;
  text-align: center;
  line-height: 100vh;
}

.jobTitleContainer {
  height: 100vh;
}

.dark {
  background: url("./img/bg1.png");
  object-fit: cover;
}

.purple {
  background: #fa9216 url("./img/bg2.png");
}

.green {
  background-color: #f4f4f4;
}

.skillsContainer {
  display: flex;
  justify-content: center;
  height: 100vh;
  width: 100vw;
}

.leftSkill {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rightSkill {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.jobTitle {
  font-size: 8vw;
  color: rgb(31, 83, 82);
  line-height: 100vh;
  cursor: default;
}

.projects {
  display: flex;
  flex-direction: column;
  gap: 30vh;
  padding: 0px 100px;
}

.projectsTitle {
  font-size: 10vw;
  color: #333;
}

.project {
  display: flex;
  align-items: center;
  justify-self: center;
  gap: 100px;
  height: 100vh;
  overflow: hidden;
}

.project:nth-child(2n) {
  flex-direction: row-reverse;
}

.phone {
  flex: 0.7;
  width: 300px;
  height: 600px;
  position: relative;
}

.color1 {
  background-color: #222222;
}

.color2 {
  background-color: white;
}

.phoneScreen {
  width: 264px;
  height: 567px;
  position: absolute;
  top: 17px;
  left: 18px;
  border-radius: 28px;
  overflow: scroll;
}

.phoneScreen::-webkit-scrollbar {
  display: none;
}

.phoneApp {
  width: 100%;
}

.projectDetail {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 50px;
  align-items: center;
}

.projectTitle {
  font-size: 7vw;
  color: #555;
}

.projectDesc {
  font-size: 20px;
  color: #555;
  text-align: justify;
  line-height: 40px;
}

.projectButton {
  padding: 10px 20px;
  background-color: transparent;
  border: 2px solid #555;
  color: #555;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.projectButton::after {
  content: "View Demo";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: -100%;
  transition: 1s all;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #555;
  color: #222;
}

.projectButton:hover.projectButton::after {
  transform: translateX(100%);
}

.laptop {
  width: 600px;
  height: 379px;
  flex: 1;
  position: relative;
}

.laptopScreen {
  width: 451px;
  height: 283px;
  position: absolute;
  top: 18px;
  left: 68px;
  overflow: scroll;
  background-color: white;
}

.laptopApp {
  width: 100%;
}

.laptopScreen::-webkit-scrollbar {
  display: none;
}

.githubContainer {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}

.githubTitle {
  font-size: 100px;
  color: #333;
}

.githubChart {
  width: 820px;
  text-align: center;
  margin-top: -250px;
}

.dates {
  padding: 10px;
  color: #555;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
}

.boxContainer {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.box {
  width: 15px;
  height: 15px;
  background-color: #171c25;
  border-radius: 2px;
  cursor: pointer;
  transition: 3s all ease;
}

.active:nth-child(4n) {
  background-color: #195b2c;
}

.githubChart:hover .active:nth-child(2n + 1) {
  background-color: #195b2c;
}

.githubChart:hover .active:nth-child(2n) {
  background-color: #063f24;
}

.githubSm {
  display: none;
}

@media screen and (max-width: 1024px) {
  .projects {
    padding: 0 30px;
    text-align: center;
  }

  .skillsContainer {
    flex-direction: column;
  }

  .leftSkill img {
    width: 400px;
    border-radius: 22px;
  }

  .salute {
    flex-direction: column;
    font-size: 12px;
  }

  .saluteText {
    height: 300px;
    overflow: hidden;
  }

  .saluteImgContainer {
    margin-top: -140px;
    margin-left: 30px;
  }

  .rightSkill img {
    width: 400px;
    border-radius: 22px;
  }
  .project {
    flex-direction: column;
    height: max-content;
  }
  .project:nth-child(2n) {
    flex-direction: column;
  }

  .phone,
  .laptop {
    transform: none !important;
  }

  .laptop {
    height: 50px;
  }

  .qualifiedChart {
    margin-right: 15px;
  }

  .githubChart {
    display: none;
  }

  .githubTitle {
    text-align: center;
    font-size: 10vw;
  }

  .qualifiedImgContainer {
    width: 200px;
  }

  li:hover {
    margin-left: -50%;
    padding: 0px;
    background-color: transparent;
    color: white;
  }

  ul {
    margin-left: 10%;
  }

  #homeNav {
    display: none;
  }
  #project {
    display: none;
  }
  #github {
    display: none;
  }
  .githubSm {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    color: #555;
    font-size: 30px;
    text-align: center;
  }

  .rightSkill img {
    width: 300px;
    height: 300px;
  }

  .leftSkill img {
    width: 300px;
    height: 300px;
    margin-left: 100px;
  }
}
