@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap");

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  background-color: #e5e5e5;
}

.header-title {
  width: 100%;
  position: fixed;
  top: 0;
  border: 1px solid white;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: white;
}

.desktop {
  display: none;
}

.popup {
  width: 100%;
  background-color: #c1c7d0;
  backdrop-filter: blur(100px);
  top: 0;
  position: fixed;
  align-items: center;
  display: flex;
  justify-content: center;
  height: 100%;
}

.title {
  min-width: 327px;
}

.title h1 {
  padding-top: 100px;
  color: #172b4d;
  font-weight: 700;
  font-size: 40px;
  line-height: 52px;
}

.main {
  top: 0;
  position: fixed;
  height: 100%;
}

.headline {
  height: 600px;
  margin-top: 64px;
  background-image: url(../image/header-shapes-mobile.svg);
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #fff;
  border-radius: 0 0 0 90px;
}

.content-wrap {
  margin: 0 25px;
}

.description p {
  font-weight: 400;
  line-height: 24px;
  font-size: 16px;
  color: #344563;
}

.about-project p {
  font-size: 15px;
  font-weight: 400;
  line-height: 24px;
  color: #344563;
  margin-top: 0;
}

.content-wrapp p {
  /* Primary Text */

  margin-left: 24px;
  width: 327px;
  height: 144px;
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #344563;
}

.contact-wrapper p {
  margin: 12px 95px 24px 24px;
}

.not-open p {
  min-width: 300px;
  margin-right: 50px;
  height: 1px;
  background-color: #7a869a;
}

.navbar a p {
  float: left;
  color: blue;
  text-align: center;
  text-decoration: none;
  font-size: 25px;
  font-family:
    "Lucida Sans",
    "Lucida Sans Regular",
    "Lucida Grande",
    "Lucida Sans Unicode",
    Geneva,
    Verdana,
    sans-serif;
  line-height: 1.2;
  padding-left: 24px;
}

.navbar-list {
  display: flex;
  flex-direction: column;
  background-color: #6070ff;
  gap: 40px;
  backdrop-filter: blur(8px);
  height: 100vh;
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
}

.project-popup {
  display: flex;
  flex-direction: column;
  padding: 0 18px 18px 18px;
  background: #fff;
  border: 1px solid #dfe1e6;
  border-radius: 16px;
  margin: 20px 40px 0 40px;
  height: 100%;
}

.project-header {
  display: flex;
  flex-direction: row;
  width: 100%;
  align-items: center;
}

.project-header h3 {
  width: 100%;
  margin-bottom: 30px;
  font-weight: 700;
  font-size: 32px;
  line-height: 44px;
  color: #172b4d;
}

.project-header i {
  margin-right: 30px;
}

.buttons {
  display: flex;
  gap: 20px;
  flex-direction: row;
  margin-left: 0;
  margin-bottom: 30px;
}

.buttons .source {
  width: 150px;
  color: #396df2;
  border: 1px solid #396df2;
  font-weight: 500;
  font-size: 17px;
  line-height: 24px;
  text-align: center;
  padding: 10px 10px 10px 10px;
  border-radius: 7px;
  background-color: #fff;
  margin-bottom: 30px;
  margin-left: 8px;
}

.buttons a {
  text-decoration: none;
}

#closeMenu {
  color: white;
  height: 12px;
  width: 12px;
  margin-left: 410px;
  margin-top: -30px;
}

.navbar-list a {
  color: #fff;
  text-decoration: none;
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 32px;
  line-height: 44px;
  margin-left: 24px;
}

.icon {
  display: block;
  float: left;
  font-size: 20px;
  color: #6070ff;
  width: 16px;
  padding-right: 24px;
}

.social-media ul {
  list-style: none;
  display: flex;
  margin-left: -45px;
}

.description {
  height: 146px;
  min-width: 327px;
}

.description h2 {
  color: #7f8cff;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  text-transform: uppercase;
}

.social-media {
  margin: 10px 0;
}

.social-media img {
  width: 25px;
  height: 25px;
  color: #505f79;
  font-size: 25px;
  margin: 5px;
}

.works-container {
  padding-top: 50px;
  display: grid;
  grid-template-columns: 100%;
  grid-template-rows: auto;
}

.project {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
  margin: 24px;
  gap: 12px;
  background-color: #fff;
  border: 1px solid #dfe1e6;
  border-radius: 16px;
  width: fit-content;
}

.image {
  width: 340px;
  height: 220px;
  padding: 16px 16px 16px 16px;
}

.project-details {
  display: flex;
  flex-direction: column;
  margin-top: -18px;
}

.project-details h3 {
  height: 80px;
  font-weight: 700;
  font-size: 32px;
  line-height: 44px;
  color: #172b4d;
  margin-top: 0;
  margin-bottom: 0;
}

.project-desc {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-top: -40px;
}

.project-desc h4 {
  font-weight: 600;
  font-size: 13px;
  line-height: 16px;
  color: #344563;
}

.ul-2 li {
  list-style-type: none;
  margin-bottom: 15px;
  width: 303px;
  margin-right: 100px;
  height: 66.72px;
  background-color: #e5e5e5;
  border-radius: 8px;
  display: flex;
  align-items: center;
  margin-left: -25px;
}

.project-desc ul {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-left: -35px;
}

.project-desc ul li {
  font-weight: 600;
  font-size: 13px;
  line-height: 16px;
  color: #7a869a;
  margin-left: 32px;
}

.technology ul {
  margin-top: -18px;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 4px 12px;
  margin-left: -10px;
}

.technology ul li {
  list-style-type: none;
}

.technology ul li p {
  border-radius: 8px;
  background-color: #ebebff;
  font-weight: 500;
  font-size: 12px;
  line-height: 16px;
  padding: 4px 12px 4px 12px;
  letter-spacing: 0.03em;
  color: #1d34ff;
  margin-left: 5px;
  text-align: center;
}

button {
  width: 120px;
  color: #396df2;
  border: 1px solid #396df2;
  font-weight: 500;
  font-size: 17px;
  line-height: 24px;
  text-align: center;
  padding: 10px 10px 10px 10px;
  border-radius: 7px;
  background-color: #fff;
  margin-bottom: 30px;
  margin-left: 8px;
}

.buttons button {
  width: 150px;
}

button:hover {
  box-shadow: 0 8px 16px 0 #4053fc3d;
  background-color: #6070ff;
  color: #fff;
}

button:active {
  background: #2230d2;
  color: #fff;
}

.about-me {
  margin-top: 64px;
  background-image: url("/image/Base-about-myself.png");
  background-repeat: no-repeat;
  background-size: cover;
  max-width: 100%;
}

.resume {
  width: 200px;
  font-size: 17px;
  margin-top: 4px;
  margin-left: -2px;
  border-radius: 8px;
  color: #396df2;
  background-color: #fff;
  letter-spacing: 0.03em;
  border: 1px solid #396df2;
  padding: 10px 10px 10px 10px;
  font-family:
    "Poppins",
    "Lucida Sans",
    "Lucida Sans Regular",
    "Lucida Grande",
    "Lucida Sans Unicode",
    Geneva,
    Verdana,
    sans-serif;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
}

.content-wrapp h2 {
  padding-top: 114px;
  margin-left: 24px;
  margin-right: 24px;
  font-family:
    "Poppins",
    "Lucida Sans",
    "Lucida Sans Regular",
    "Lucida Grande",
    "Lucida Sans Unicode",
    Geneva,
    Verdana,
    sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 40px;
  line-height: 52px;
  color: #172b4d;
}

.content-wrapp h3 {
  color: #7f8cff;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  text-transform: uppercase;
  margin-left: 24px;
}

.content-wrapp .social-media {
  margin-left: 24px;
}

.content-wrapp button {
  margin-left: 24px;
}

.drop-down {
  height: 16px;
  width: 16px;
  margin-top: 30px;
}

.ul-1 {
  list-style-type: none;
  margin-left: -15px;
  padding-top: -25px;
  padding-bottom: 50px;
}

.li-1_title {
  list-style-type: none;
  margin-top: 30px;
  min-width: 300px;
  margin-right: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.li-1 h3 {
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
  color: #344563;
}

.ul-2 img {
  padding: 5px 10px 5px 0;
}

.ul-2 li img {
  padding-left: 15px;
}

.contact-wrapper {
  display: flex;
  flex-direction: column;
  background: #6070ff;
  background-image: url(../image/contact-form-shapes-mobile.png);
  border-radius: 90px 0 0 0;
  color: #fff;
  background-repeat: no-repeat;
  background-size: cover;
  width: fit-content;
}

.my-form ul {
  display: flex;
  flex-direction: column;
  list-style: none;
}

.contact-wrapper h2 {
  font-family:
    Poppins,
    "Lucida Sans",
    "Lucida Sans Regular",
    "Lucida Grande",
    "Lucida Sans Unicode",
    Geneva,
    Verdana,
    sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 40px;
  color: #fff;
  margin-top: 203px;
  margin-left: 124px;
}

.my-form button {
  background-color: #fff;
  border: none;
  padding: 10px 10px 10px 10px;
  font-size: 17px;
  font-weight: 500;
  color: #4756de;
  letter-spacing: 0.03em;
  border-radius: 10px;
  width: 150px;
}

.my-form textarea {
  font-family: Poppins, sans-serif;
  width: 100%;
  height: 170px;
  border: 1px solid #cfd8dc;
  box-sizing: border-box;
  border-radius: 8px;
  font-weight: 400;
  font-size: 15px;
  line-height: 24px;
}

.my-form input {
  font-family: Poppins, sans-serif;
  width: 100%;
  height: 48px;
  border: 1px solid #cfd8dc;
  box-sizing: border-box;
  border-radius: 8px;
  font-weight: 400;
  font-size: 15px;
  line-height: 24px;
  margin-bottom: 12px;
}

.my-form {
  margin: 12px 45px 0 -24px;
}

textarea input::placeholder {
  padding: 15px 38px 15px 16px;
}

.error_message {
  visibility: hidden;
  color: red;
  opacity: 0.7;
  font-size: 24px;
}

@media screen and (min-width: 768px) {
  html,
  body {
    height: 100%;
    width: 100%;
  }

  body {
    overflow-x: hidden;
  }

  .navbar {
    display: none;
  }

  .icon {
    display: none;
  }

  .desktop {
    display: flex;
    background-color: white;
    align-items: center;
    justify-content: space-between;
  }

  .desktop-version {
    display: flex;
    flex-direction: row;
    gap: 12px;
    margin-right: 30px;
    margin-top: 24px;
    background-color: white;
  }

  .desktop-version a {
    text-decoration: none;
    color: #344563;
    font-size: 15px;
    line-height: 20px;
  }

  .not-open p {
    margin-top: 30px;
    width: 95%;
    height: 1px;
    background-color: #dfe1e6;
  }

  .description p {
    font-family: "Poppins", Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #344563;
    padding-right: 260px;
  }

  .desktop a p {
    float: left;
    color: blue;
    text-align: center;
    text-decoration: none;
    font-size: 25px;
    font-family:
      "Lucida Sans",
      "Lucida Sans Regular",
      "Lucida Grande",
      "Lucida Sans Unicode",
      Geneva,
      Verdana,
      sans-serif;
    line-height: 1.2;
    padding-left: 24px;
  }

  .headline {
    width: 100%;
    background-image: url(/image/Header-bg.png);
    background-size: contain;
    background-position: center;
    height: 912px;
  }

  .title h1 {
    margin-left: 260px;
    padding-top: 359px;
  }

  .project-popup {
    margin-top: 30px;
    margin-left: 30px;
    margin-bottom: 30px;
    width: 600px;
    display: flex;
    flex-direction: column;
    padding-bottom: 20px;
  }

  .popup {
    top: 0;
    height: auto;
    position: absolute;
  }

  .project-details-pop {
    display: flex;
    flex-direction: row;
  }

  .buttons {
    width: 350px;
  }

  .description {
    margin-left: 260px;
  }

  .works-container {
    display: flex;
    flex-direction: column;
    margin-left: 100px;
    align-items: center;
  }

  .project {
    height: 496px;
    display: flex;
    flex-direction: row;
    margin-right: 30px;
    width: 100%;
  }

  .image {
    height: 448px;
    width: 544px;
    margin: 24px 0 24px 24px;
  }

  .about-project {
    padding-right: 120px;
  }

  #facebook-btn {
    width: 120px;
    color: white;
    border: 1px solid #396df2;
    font-weight: 500;
    font-size: 17px;
    line-height: 24px;
    text-align: center;
    padding: 10px 10px 10px 10px;
    border-radius: 7px;
    background-color: #396df2;
    margin-bottom: 30px;
    margin-left: 8px;
  }

  #facebook-btn:hover {
    box-shadow: 0 8px 16px 0 #4053fc3d;
    background-color: white;
    color: #6070ff;
  }

  .project-details {
    height: 100%;
    margin-left: 30px;
    margin-top: 48px;
  }

  .project.reverse {
    flex-direction: row-reverse;
  }

  .about-me {
    display: flex;
    flex-direction: row;
    padding-left: 142px;
  }

  .ul-1 {
    margin: 0;
    margin-top: 120px;
    width: 50%;
    margin-bottom: 50px;
  }

  .ul-2 {
    display: flex;
    flex-direction: row;
    padding-left: 20px;
  }

  .ul-2 li {
    display: flex;
    flex-direction: column;
    width: 122px;
    height: 120px;
    justify-content: center;
    align-items: flex-start;
    margin-right: 40px;
    background-color: #f7f7f9;
  }

  .ul-2 li img {
    padding: 0;
    width: 48px;
    height: auto;
    margin-left: 15px;
    margin-bottom: 15px;
  }

  .ul-2 li span {
    margin-left: 15px;
  }

  .li-1_title {
    width: 90%;
    justify-content: space-between;
    align-items: center;
  }

  .not-open {
    width: 100%;
  }

  .contact-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    background: #6070ff;
    background-image: url(../image/contact-form-background-shapes.svg);
    border-radius: 90px 0 0 0;
    color: #fff;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
  }

  .my-form textarea {
    font-family: "Poppins", Arial, Helvetica, sans-serif;
    width: 447px;
    height: 170px;
    border: 1px solid #cfd8dc;
    box-sizing: border-box;
    border-radius: 8px;
    font-weight: 400;
    font-size: 15px;
    line-height: 24px;
  }

  .my-form input {
    font-family: Poppins, sans-serif;
    width: 447px;
    height: 48px;
    border: 1px solid #cfd8dc;
    box-sizing: border-box;
    border-radius: 8px;
    font-weight: 400;
    font-size: 15px;
    line-height: 24px;
    margin-bottom: 12px;
  }

  .my-form button:hover {
    font-family: "Poppins", Arial, Helvetica, sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 17px;
    line-height: 24px;
    padding: 12px;
    width: 150px;
    height: 48px;
    background-color: #2230d2;
    color: white;
  }

  input::placeholder {
    font-family: "Poppins", Arial, Helvetica, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 17px;
    line-height: 20px;
    color: #172b4d;
  }

  textarea::placeholder {
    bottom: 15px;
    font-family: "Poppins", Arial, Helvetica, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 24px;
    color: #b3bac5;
  }

  .image:hover {
    animation: fade ease 4s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
  }

  @keyframes fade {
    0% {
      opacity: 0;
    }

    100% {
      opacity: 1;
    }
  }
}
