@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100;0,9..40,200;0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,800;0,9..40,900;0,9..40,1000;1,9..40,100;1,9..40,200;1,9..40,300;1,9..40,400;1,9..40,500;1,9..40,600;1,9..40,700;1,9..40,900&family=JetBrains+Mono:wght@100;200;300;400;500;600;700;800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;1,100;1,200;1,300;1,400;1,500;1,700;1,900&family=Roboto:ital,wght@0,300;1,400;1,500&family=Work+Sans:wght@100;200;300;400;500;600;700;800;900&display=swap");
* {
  margin: 0;
  padding: 0;
  font-family: "Work Sans", sans-serif;
  box-sizing: border-box;
}
body {
  width: 100%;
}
.dark-mode {
  color: #F4F4F4;
}
.bg2 {
  position: fixed;
  height: 100%;
  width: 100%;
}

.close-icon {
  display: none;
}
.menu-icon2 {
  display: none;
}
header h1 {
  position: absolute;
  top: 35px;
  left: 30px;
  color: #F4F4F4;
}
header {
  position: relative;
  height: 100px;
  width: 100%;
}

nav ul {
  position: absolute;
  top: 45px;
  right: 5%;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  width: 45%;
  list-style: none;
}
nav ul li a {
  color: rgb(241, 244, 228);
  text-decoration: none;
  font-size: 20px;
}
.page-1 {
  position: absolute;
  height: 500vh;
  width: 100%;
}
.page-21 h1 {
  position: relative;
  font-size: 65px;
  top: 80px;
  font-weight: 600;
  left: 140px;
  width: fit-content;
  color: rgb(248, 245, 245);
}
.page-1 p {
  position: relative;
  left: 140px;
  width: 500px;
  top: 100px;
  line-height: 35px;
  font-size: 20px;
}
.profile-img2-D {
  display: none;
}
.profile-img-D {
  position: absolute;
  height: 450px;
  width: 450px;
  object-fit: cover;
  border-radius: 50%;
  top: 80px;
  right: 8%;
}
.socials-page-1-D {
  position: relative;
  left: 140px;
  top: 120px;
  width: fit-content;
}
.socials-page-1-D img {
  position: relative;
  width: 35px;
  margin: 20px;
  opacity: 70%;
}
.more-btn-D {
  position: relative;
  top: 150px;
  border-radius: 16px;
  background: #000;
  color: rgb(255, 255, 255);
  height: 45px;
  width: 135px;
  font-weight: 500;
  font-size: 18px;
  border-style: none;
  left: 190px;
}
.about-page {
  position: relative;
  top: 650px;
  display: grid;
  place-items: center;
}
.about-h-D {
  position: relative;
  font-size: 50px;
  text-align: center;
}
.about-box-D {
  position: relative;
  top: 80px;

  width: 50%;
  height: 420px;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.325);
}
.about-p-D {
  padding: 50px;
  line-height: 30px;
  font-size: 17px;
}
.Exp-in {
  position: relative;
  display: grid;
  place-items: center;
  top: 900px;
}
.Exp-in-D {
  font-size: 50px;
}
.logos-D {
  position: relative;
  top: 60px;
  width: 50%;
  transform: translate(0%);
  height: 500px;
  display: flex;
  flex-direction: row;
  gap: 15%;
}
.logos-D img {
  position: relative;
  width: 60px;
  height: 60px;
}
.logos2 {
  position: absolute;
  top: 100px;
  width: 60%;
  display: flex;
  flex-direction: row;
  gap: 15%;
  transform: translate(35%);
}
.logos2 img:nth-child(1) {
  width: 135px;
  height: 90px;
}
.logos2 img:nth-child(2) {
  position: relative;
  top: 18px;
  width: 60px;
  height: 60px;
}
.logos2 img:nth-child(3) {
  top: 18px;

  width: 60px;
  height: 60px;
}
.logos3 {
  position: absolute;
  top: 230px;
  display: flex;
  gap: 50%;
  transform: translate(250%);
}
.projects {
  position: relative;
  top: 1000px;
}
.projects h1 {
  text-align: center;
  font-size: 50px;
}
.project-1-D {
  position: relative;
  background-color: rgba(255, 255, 255, 0.355);
  width: 357px;
  height: 530px;
  border-radius: 35px;
  border: #F4F4F4 solid 1px;
  top: 60px;
  left: 20%;
}
.project-1-D p {
  width: 350px;
  padding: 15px;
}
.lan {
  display: flex;
  gap: 15px;
}
.lan :nth-child(1) {
  position: relative;
  background-color: rgba(255, 255, 255, 0.236);
  width: 80px;
  padding: auto;
  text-align: center;
  height: 30px;
  font-size: 16px;
  border-radius: 7px;
  padding-top: 5px;
  left: 20px;
  border: #F4F4F4 solid 1px;
  font-weight: 600;
}
.lan :nth-child(2) {
  position: relative;
  background-color: rgba(255, 255, 255, 0.236);
  width: 80px;
  padding: auto;
  text-align: center;
  height: 30px;
  font-size: 16px;
  border-radius: 7px;
  padding-top: 5px;
  left: 20px;
  border: #F4F4F4 solid 1px;
  font-weight: 600;
}
.lan :nth-child(3) {
  position: relative;
  background-color: rgba(255, 255, 255, 0.236);
  width: 100px;
  padding: auto;
  text-align: center;
  height: 30px;
  font-size: 16px;
  border-radius: 7px;
  color: #F4F4F4;
  padding-top: 5px;
  left: 20px;
  color: black;
  border: #F4F4F4 solid 1px;
  font-weight: 600;
}
.lan2 {
  position: relative;
  top: 10px;
  display: flex;
  gap: 15px;
}
.lan2 :nth-child(1) {
  position: relative;
  background-color: rgba(255, 255, 255, 0.236);
  color: #000;
  width: 100px;
  padding: auto;
  text-align: center;
  height: 30px;
  font-size: 16px;
  border-radius: 7px;
  padding-top: 5px;
  left: 20px;
  border: #F4F4F4 solid 1px;
  font-weight: 600;
}
.lan2 :nth-child(2) {
  position: relative;
  background-color: rgba(255, 255, 255, 0.236);
  width: 80px;
  padding: auto;
  text-align: center;
  height: 30px;
  font-size: 16px;
  border-radius: 7px;
  color: #000000;
  padding-top: 5px;
  left: 20px;
  border: #F4F4F4 solid 1px;
  font-weight: 600;
}
.lan2 :nth-child(3) {
  position: relative;
  background-color: rgba(255, 255, 255, 0.236);
  width: 100px;
  padding: auto;
  text-align: center;
  height: 30px;
  font-size: 16px;
  border-radius: 7px;
  padding-top: 5px;
  left: 20px;
  color: black;
  border: #F4F4F4 solid 1px;
  font-weight: 600;
}

.project-2-D {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.355);
  width: 356px;
  height: 530px;
  border-radius: 35px;
  border: #F4F4F4 solid 1px;
  top: 120px;
  right: 20%;
}
.project-2-D p {
  width: 350px;
  padding: 15px;
}
.lan {
  display: flex;
  gap: 15px;
}
.lan :nth-child(1) {
  position: relative;
  background-color: rgba(255, 255, 255, 0.236);
  width: 80px;
  padding: auto;
  text-align: center;
  height: 30px;
  font-size: 16px;
  border-radius: 7px;
  color: #000000;
  padding-top: 5px;
  left: 20px;
  border: #F4F4F4 solid 1px;
  font-weight: 600;
}

.lan :nth-child(2) {
  position: relative;
  background-color: rgba(255, 255, 255, 0.236);
  width: 80px;
  padding: auto;
  text-align: center;
  height: 30px;
  font-size: 16px;
  border-radius: 7px;
  color: #000000;
  padding-top: 5px;
  left: 20px;
  border: #F4F4F4 solid 1px;
  font-weight: 600;
}
.lan :nth-child(3) {
  position: relative;
  background-color: rgba(255, 255, 255, 0.236);
  width: 100px;
  padding: auto;
  text-align: center;
  height: 30px;
  font-size: 16px;
  border-radius: 7px;
  color: #F4F4F4;
  padding-top: 5px;
  left: 20px;
  color: black;
  border: #F4F4F4 solid 1px;
  font-weight: 600;
}
.project-3-D {
  position: relative;
  background-color: rgba(255, 255, 255, 0.355);
  width: 356px;
  height: 600px;
  border-radius: 35px;
  border: #F4F4F4 solid 1px;
  top: 120px;
  left: 20%;
}
.project-3-D p {
  position: absolute;
  top: 430px;
  width: fit-content;
  padding: 15px;
  background-color: #F4F4F4;
  color: #000;
  border-radius: 0px 0px 30px 30px;
}
.project-3-D .lan {
  position: relative;
  top: 35px;
}
.contact-D {
  position: relative;
  top: 1400px;
  height: 800px;
  background-color: #000000;
}
.contact-D h1 {
  position: relative;
  font-size: 50px;
  text-align: center;
  top: 30px;
}

.socials {
  position: relative;
  transform: translate(130%);
  z-index: 1;
  top: 800px;
  width: fit-content;
}
.socials img {
  position: relative;
  width: 40px;
  margin: 30px;
  opacity: 60%;
}
.summa {
  color: #fcfcfc;
  position: relative;
  top: 860px;
  left: 35%;
  width: fit-content;
}

@media only screen and (max-width: 600px) {
  .bg {
    width: 100%;
    height: 100%;
    opacity: 60%;
  }
  header h1 {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 22px;
  }

  nav {
    position: absolute;
    height: 500px;
    width: 100%;
    background-color: rgb(255, 255, 255);
    transition: 0.4s;
    z-index: 1;
    left: 0;
    transform: translateY(-100%);
  }
  nav ul {
    position: relative;
    top: 80px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    list-style: none;
    text-align: center;
    transform: translate(70%);
  }
  nav ul li a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-size: 25px;
    font-weight: 600;
    line-height: 80px;
  }
  .menu-icon2 {
    position: absolute;
    display: block;
    top: 18px;
    right: 19px;
    height: 30px;
    width: 30px;
  }
  .close-icon {
    display: block;
    position: absolute;
    top: 18px;
    right: 19px;
    height: 27px;
    width: 27px;
  }
  .page-1 {
    position: absolute;
    height: 500vh;
    width: 100%;
  }
  .page-1 h1 {
    position: relative;
    font-size: 45px;
    top: 20px;
    font-weight: 600;
    left: 24px;
    width: fit-content;
  }
  .page-1 p {
    position: relative;
    left: 30px;
    width: 90%;
    top: 40px;
    line-height: 35px;
    font-size: 20px;
  }
  .profile-img-D {
    display: none;
  }
  .profile-img2-D {
    display: block;
    height: 250px;
    width: 250px;
    object-fit: cover;
    border-radius: 50%;
    position: relative;
    top: 70px;
    left: 50%;
    margin: 10px -125px;
  }
  .profile-img {
    display: none;
  }
  .socials-page-1-D {
    position: relative;
    left: 30px;
    top: 40px;
    width: fit-content;
  }
  .socials-page-1 img {
    position: relative;
    width: 30px;
    margin: 10px;
    opacity: 70%;
  }
  .more-btn-D {
    display: none;
  }
  .about-h-D {
    top: 30px;
    font-size: 40px;
  }
  .about-box-D {
    width: 90%;
    height: fit-content;
  }
  .Exp-in-D h1 {
    font-size: 40px;
  }
  .logos-D {
    width: 93%;
    gap: 10%;
  }

  .logos-D img {
    right: 0px;
    width: 40px;
    height: 40px;
  }
  .logos2 {
    position: absolute;
    top: 80px;
    width: 60%;
    display: flex;
    flex-direction: row;
    gap: 15%;
    transform: translate(20%);
  }
  .logos2 img:nth-child(1) {
    top: 8px;
    width: 95px;
    height: 60px;
  }
  .logos2 img:nth-child(2) {
    position: relative;
    top: 18px;
    width: 40px;
    height: 40px;
  }
  .logos2 img:nth-child(3) {
    top: 18px;
    left: 10px;
    width: 40px;
    height: 40px;
  }
  .logos3 {
    top: 190px;
    transform: translate(130%);
  }
  .projects {
    top: 900px;
    display: grid;
    place-items: center;
  }
  .projects h1 {
    font-size: 40px;
  }
  .project-1-D {
    position: relative;
    background-color: rgba(255, 255, 255, 0.355);
    width: 330px;
    height: 530px;
    border-radius: 35px;
    border: #F4F4F4 solid 1px;
    top: 60px;
    left: 0%;
  }
  .project-1-D img {
    width: 100%;
  }
  .project-2-D img {
    width: 100%;
  }
  .lan2 :nth-child(3) {
    width: 80px;
  }
  .project-3-D img {
    width: 100%;
  }
  .project-2-D {
    position: relative;
    left: 0%;
    width: 330px;
  }
  .project-3-D {
    position: relative;
    top: 170px;
    left: 0%;
    width: 330px;
  }
  .project-3-D h6 {
    top: 50px;
  }
  .input-box {
    top: 750px;
    left: 30px;
    width: 85%;
  }
  .input-box input {
    font-size: 15px;
    text-align: left;
    padding-left: 20px;
  }
  .name2 {
    padding: 0;
    left: 20px;
    width: 100%;
  }
  .email2 {
    padding: 0;
    left: 20px;
    width: 100%;
  }
  .message2 {
    padding: 0;
    left: 20px;
    width: 100%;
  }
  .send-btn {
    width: 140px;
    height: 50px;
    font-size: 17px;
  }
  .socials {
    z-index: 1;
    position: relative;
    top: 750px;
    transform: translate(15%);
  }
  .socials img {
    position: relative;
    width: 35px;
    margin: 15px;
  }
  .summa {
    margin-top: 60px;
    left: 10px;
  }
}
