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

body {
  margin: 0;
  padding: 0;
  border: none;
  font-family: "Poppins", sans-serif;
  background: #f8f9fa;
}

header {
  display: flex;
  background-color: #fff;
  flex-direction: row;
  justify-content: space-between;
  height: 10vh;
  padding-left: 6.4%;
  padding-right: 6.4%;
  align-items: center;
}

.logo {
  font-weight: 700;
  color: #6070ff;
}

.humburger {
  font-size: 30px;
  color: #6070ff;
}

.menu {
  display: none;
}

.headline-section {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  background-image: url(./IMG/header-shapesmobile.png);
  height: 100vh;
  background-repeat: no-repeat;
  background-size: contain;
  border-bottom-left-radius: 100px;
  margin-top: -1px;
}

.headline-section h1 {
  font-size: 40px;
  line-height: 52px;
  color: #172b4d;
  width: 80%;
  margin-left: 6.4%;
  padding-top: 15%;
  margin-bottom: 0;
}

.headline-section p {
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  color: #344563;
  line-height: 24px;
  margin-bottom: 0;
  width: 87.2%;
  margin-left: 6.4%;
}

.headline-section h2 {
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  margin-top: 0;
  color: #7f8cff;
  margin-left: 6.4%;
}

.socials {
  width: 150px;
  display: flex;
  list-style: none;
  padding-left: 0;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-left: 6.4%;
}

.popup-menu {
  width: 100vw;
  height: 100vh;
  background-color: rgba(96, 112, 255, 0.662745098);
  position: fixed;
  z-index: 1;
}

.fa-remove {
  font-size: 30px;
  color: #fff;
  padding-top: 7%;
  margin-left: 87%;
}

.popup-menu-items {
  list-style: none;
  color: #fff;
  font-weight: 600;
  font-size: 32px;
  line-height: 44px;
}

.popup-menu-items li a {
  color: #fff;
  text-decoration: none;
}

.show {
  display: block;
}

.hide {
  display: none;
}

.overflow {
  overflow-y: hidden;
}

.works {
  width: 100%;
  display: grid;
  justify-items: center;
  margin-top: 114px;
  margin-bottom: 26px;
}

article {
  width: 87.2%;
  height: auto;
  padding-bottom: 4vh;
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border-radius: 1rem;
  margin-bottom: 88px;
  border: solid 1px #dfe1e6;
}

.card-image-mobile {
  width: 70.214067%;
  margin-left: 14.892966%;
  margin-top: 4.89296%;
  height: 32.8358vh;
  border-radius: 10px;
}

.card-image-desktop {
  display: none;
  border-radius: 10px;
}

.project-title {
  color: #172b4d;
  font-weight: 700;
  font-size: 32px;
  line-height: 44px;
  margin-top: 0;
  margin-bottom: 0;
  margin-left: 4.892966%;
}

.project-highlights {
  width: 100%;
  list-style: none;
  display: flex;
  flex-direction: row;
  padding-left: 0;
  margin-top: 0;
  font-weight: 600;
  font-size: 13px;
  line-height: 16px;
  color: #7a869a;
  margin-left: 4.892966%;
}

.project-highlights li {
  padding-right: 3.6%;
}

.organisation {
  color: #344563;
}

.stacks {
  display: flex;
  list-style: none;
  padding-left: 4.892966%;
}

.stack {
  background: #ebebff;
  color: #6070ff;
  font-weight: 500;
  font-size: 12px;
  line-height: 16px;
  margin-right: 1rem;
  letter-spacing: 0.03em;
  padding: 0.4rem;
  border-radius: 8px;
}

.project-descritpion {
  margin-bottom: 0;
  margin-left: 4.892966%;
  padding-bottom: 0;
  font-weight: 400;
  font-size: 15px;
  line-height: 24px;
  margin-right: 4.892966%;
  color: #344563;
}

.project-btn {
  padding: 0.5rem;
  border: 1px solid #6070ff;
  border-radius: 6px;
  font-weight: 500;
  font-size: 17px;
  line-height: 24px;
  color: #6070ff;
  background: #fff;
  width: 7rem;
  margin-left: 4.892966%;
  text-decoration: none;
}

.project-btn:hover {
  color: #fff;
  background: #6070ff;
  transition: all ease-out 0.5s;
}

.project-btn:active {
  background-color: #2230d2;
}

.resume-btn {
  padding: 0.5rem;
  border: 1px solid #6070ff;
  border-radius: 6px;
  font-weight: 500;
  font-size: 17px;
  line-height: 24px;
  color: #6070ff;
  background: #fff;
  width: 9rem;
  margin-left: 6.4%;
  margin-bottom: 50px;
  text-decoration: none;
}

.resume-btn:hover {
  color: #fff;
  background: #6070ff;
  transition: all ease-out 0.5s;
}

.resume-btn:active {
  background-color: #2230d2;
}

.about {
  height: auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-top-right-radius: 100px;
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 133px;
}

.about h2 {
  margin-top: 114px;
  font-weight: 700;
  font-size: 40px;
  line-height: 52px;
  width: 7rem;
  margin-bottom: 0;
  margin-left: 6.4%;
}

.about p {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  width: 87.2%;
  color: #344563;
  margin-left: 6.4%;
}

.about h3 {
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  margin-top: 0;
  color: #7f8cff;
  margin-left: 6.4%;
}

.socials-about {
  width: 150px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-left: 6.4%;
  margin-bottom: 20px;
}

.about-second {
  list-style: none;
  padding-left: 6.4%;
  color: #344563;
  margin-top: 10%;
}

.about-second li {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-right: 6.4%;
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
}

.languages {
  margin-top: 0;
  padding: 0;
}

.languages li {
  background-color: #f8f9fa;
  display: flex;
  margin-left: 0;
  flex-direction: row;
  justify-content: left;
  border-bottom: solid 10px #fff;
  align-items: center;
  height: 66.72px;
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
}

.languages-topic {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-right: 6.4%;
}

.list-item {
  border-bottom: solid 1px #dfe1e6;
}

.arrow-icons {
  width: 20px;
  height: 20px;
}

.languages-item {
  height: 48px;
  width: 48px;
}

.contact {
  display: flex;
  flex-direction: column;
  background: hsl(234deg, 100%, 69%) url(./IMG/shapes-contact-mobile.png) 100% 1% no-repeat;
  color: #fff;
  align-items: center;
  background-size: contain;
  border-top-left-radius: 80px;
  height: auto;
}

.contact h2 {
  font-weight: 700;
  font-size: 40px;
  line-height: 52px;
  margin-top: 110px;
  margin-bottom: 0;
}

.contact p {
  font-weight: 400;
  font-size: 20px;
  line-height: 28px;
  width: 87.2%;
  text-align: center;
}

.contact input {
  width: 87.2%;
  height: 48px;
  margin-bottom: 20px;
  margin-left: 6.4%;
  border-radius: 10px;
  border: none;
}

.contact textarea {
  width: 87.2%;
  height: 170px;
  margin-bottom: 20px;
  margin-left: 6.4%;
  border-radius: 10px;
  color: #b3bac5;
  font-weight: 400;
  font-size: 15px;
  line-height: 24px;
  border: none;
}

.submit-button {
  height: 3rem;
  width: 9rem;
  margin-bottom: 5rem;
  margin-left: 6.4%;
  border-radius: 10px;
  background-color: #fff;
  color: #6070ff;
  border: none;
  font-weight: 500;
  font-size: 17px;
  line-height: 24px;
}

.submit-button:hover {
  color: #fff;
  background-color: #172b4d;
}

.submit-button:active {
  color: #fff;
  background-color: rgba(23, 43, 77, 0.6509803922);
}

.popup-overlay {
  overflow-y: scroll;
  overflow-x: hidden;
  border: solid 1px grey;
  position: fixed;
  background-color: rgba(193, 199, 208, 0.662745098);
  height: 100%;
  margin-top: 0;
  width: 100%;
  margin-left: 0;
  pointer-events: all;
  z-index: 999;
}

.popup-content {
  background-color: #fff;
  border: solid 1px grey;
  position: fixed;
  height: 95%;
  margin-top: 3.5%;
  width: 95%;
  margin-left: 2.5%;
  border-radius: 20px;
}

.popup-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-top: 6%;
  margin-left: 1%;
  margin-right: 3%;
  margin-bottom: 14px;
}

.canel-icon-wrapper {
  margin-right: 3%;
}

.cancel-icon {
  cursor: pointer;
  width: 20px;
  margin-top: 10px;
  transition: all 0.5s ease-in-out;
}

.project-popup-descritpion {
  height: 19vh;
}

.project-popup-btns {
  border-top: solid 1px rgba(103, 121, 142, 0.631372549);
  margin-left: 3%;
  margin-right: 3%;
  padding-top: 6%;
  display: flex;
  justify-content: center;
}

.popup-btn {
  width: 8rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.popup-btn1 {
  margin-left: 0;
}

.popup-btn img {
  width: auto;
  height: auto;
  margin-right: 0.5rem;
}

.body-handle {
  overflow-x: hidden;
  pointer-events: none;
}

.blur {
  filter: blur(5px);
  z-index: -100;
  pointer-events: none;
}

.header-handle {
  display: none;
}

.technical-skill {
  background: #ebebff;
  color: #6070ff;
  font-weight: 500;
  font-size: 12px;
  line-height: 16px;
  margin-right: 0.4rem;
  letter-spacing: 0.03em;
  padding: 0.4rem;
  margin-bottom: 1px;
  border-radius: 8px;
}

/* ============================(MEDIUM SCREENS)================================== */
@media screen and (min-width: 375px) {
  header {
    position: fixed;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    align-items: center;
  }

  .logo {
    margin-left: 6.4%;
  }

  .humburger {
    margin-right: 15px;
  }
  
  .headline-section {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    background-image: url(./IMG/header-shapesmobile.png);
    height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
    border-bottom-left-radius: 100px;
    margin-top: -1px;
  }
}

/* ============================(WIDER SCREENS)================================== */
@media screen and (min-width: 768px) {
  header {
    display: flex;
    position: fixed;
    width: 100%;
    background-color: #fff;
    flex-direction: row;
    justify-content: space-between;
    height: 7.64vh;
    padding-left: 0;
    padding-right: 0;
    align-items: center;
  }

  .logo {
    margin-left: 6.4%;
  }

  @-webkit-keyframes logo-hover {
    0% {
      margin-left: 6.4%;
      font-size: 1.1rem;
    }

    50% {
      margin-left: 8.4%;
      font-size: 1rem;
    }

    100% {
      margin-left: 6.4%;
      font-size: 1.1rem;
    }
  }

  @keyframes logo-hover {
    0% {
      margin-left: 6.4%;
      font-size: 1.1rem;
    }

    50% {
      margin-left: 8.4%;
      font-size: 1rem;
    }

    100% {
      margin-left: 6.4%;
      font-size: 1.1rem;
    }
  }

  .humburger {
    display: none;
  }

  .menu {
    list-style: none;
    font-size: 15px;
    line-height: 20px;
    color: #344563;
    display: flex;
    flex-direction: row;
    margin: 0;
    padding: 0;
    margin-right: 13.69vw;
  }

  .menu li {
    padding-left: 1vw;
  }

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

  .menu li a:hover {
    color: #6070ff;
    text-decoration: underline;
    transition: all ease-out 0.4s;
  }

  .headline-section {
    background: rgb(255, 255, 255) url(./IMG/HeaderWidebg@2x.png) 100% 65px no-repeat;
    background-size: contain;
    height: 120vh;
    padding-left: 18.055%;
    padding-right: 18.055%;
  }

  .headline-section h1 {
    font-size: 40px;
    line-height: 52px;
    color: #172b4d;
    width: 40.5%;
    margin-left: 0;
    padding-top: 35%;
    margin-bottom: 0;
  }

  .headline-section p {
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    color: #344563;
    line-height: 24px;
    margin-bottom: 0;
    width: 87.2%;
    margin-left: 0;
  }

  .headline-section h2 {
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    margin-top: 0;
    color: #7f8cff;
    margin-left: 0;
  }

  .socials {
    width: 150px;
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-left: 0;
  }

  .works {
    width: 100%;
    display: grid;
    justify-items: center;
    margin-top: 142px;
    margin-bottom: 26px;
  }

  .card-image-mobile {
    display: none;
  }

  article {
    width: 70%;
    height: auto;
    min-height: 400px;
    display: flex;
    flex-direction: row;
    background-color: #fff;
    border-radius: 1rem;
    padding-right: 2.892966%;
    margin-bottom: 142px;
    box-shadow: 3px 2px 6px rgba(122, 134, 154, 0.4117647059);
  }

  @-webkit-keyframes left {
    from {
      margin-left: -20rem;
    }

    to {
      margin-left: 0;
    }
  }

  @keyframes left {
    from {
      margin-left: -20rem;
    }

    to {
      margin-left: 0;
    }
  }

  @-webkit-keyframes right {
    from {
      margin-left: 20rem;
    }

    to {
      margin-right: 0;
    }
  }

  @keyframes right {
    from {
      margin-left: 20rem;
    }

    to {
      margin-right: 0;
    }
  }

  article:hover {
    border: solid 1px rgba(57, 109, 242, 0.3647058824);
    box-shadow: 10px 5px 16px rgba(122, 134, 154, 0.4117647059);
    transition: box-shadow 0.5s ease-in-out;
  }

  .card-image-desktop {
    display: flex;
    width: 47.05%;
    margin-left: 1.892966%;
    margin-top: 2.48%;
    height: 90.32%;
  }

  .side-section {
    margin-top: 4.48%;
    margin-right: 4.48%;
    margin-left: 3%;
  }

  .order1 {
    order: 1;
  }

  .order2 {
    order: 2;
  }

  .about-second {
    list-style: none;
    padding-left: 0%;
    width: 49%;
    margin-top: 10%;
  }

  .about {
    height: auto;
    width: 100%;
    display: flex;
    flex-direction: row;
    background: #fff;
    border-top-right-radius: 100px;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 133px;
  }

  .about-top {
    margin-left: 4%;
    width: 40%;
  }

  .socials-about {
    margin-left: 6%;
  }

  .languages {
    display: flex;
  }

  .languages li {
    background-color: #f8f9fa;
    display: flex;
    margin-left: 0;
    flex-direction: column;
    border: solid 0.4px #f8f9fa;
    justify-content: space-between;
    font-weight: 400;
    font-size: 15px;
    line-height: 20px;
    width: 122px;
    height: 120px;
  }

  .languages li:hover {
    background-color: rgba(248, 249, 250, 0.6901960784);
    border: solid 0.4px #b3bac5;
    box-shadow: 4px 4px 4px #b3bac5;
    transition: box-shadow ease-in 1s;
  }

  .languages-item {
    height: 48px;
    width: 48px;
    margin-top: 1rem;
    margin-left: -2rem;
  }

  .contact {
    display: flex;
    flex-direction: column;
    background: hsl(234deg, 100%, 69%) url(./IMG/contactformbackgroundshapes@2x.png) 100% 100px no-repeat;
    color: #fff;
    justify-items: center;
    align-items: center;
    background-size: contain;
    border-top-left-radius: 80px;
    height: auto;
    margin: 0;
    padding: 0;
  }

  form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .contact h2 {
    font-weight: 700;
    font-size: 40px;
    line-height: 52px;
    margin-top: 12%;
    margin-bottom: 0;
  }

  .contact p {
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
    width: 45%;
    text-align: center;
  }

  .contact input {
    width: 30%;
    height: 48px;
    margin-left: 0;
    margin-bottom: 20px;
    border-radius: 0;
  }

  .contact textarea {
    width: 30%;
    height: 170px;
    margin-bottom: 20px;
    border-radius: 0;
    color: #b3bac5;
    font-weight: 400;
    font-size: 15px;
    margin-left: 0;
    line-height: 24px;
  }

  .submit-button {
    height: 3rem;
    width: 9rem;
    margin-bottom: 5rem;
    margin-left: 0;
    border-radius: 10px;
    background-color: #fff;
    color: #6070ff;
    border: none;
    font-weight: 500;
    font-size: 17px;
    line-height: 24px;
  }

  .popup-overlay {
    overflow-y: scroll;
    overflow-x: hidden;
    background-color: rgba(193, 199, 208, 0.662745098);
    border: solid 1px grey;
    position: fixed;
    height: 100vh;
    margin-top: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-left: 0;
    pointer-events: all;
  }

  .popup-content {
    background-color: #fff;
    border: solid 1px grey;
    position: initial;
    height: 125vh;
    margin-top: 3%;
    width: 75%;
    margin-left: 2.5%;
    margin-bottom: 20px;
    border-radius: 20px;
  }

  .popup-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 2%;
    margin-left: 1%;
    margin-right: 3%;
    margin-bottom: 14px;
  }

  .desktop-popup-image {
    width: 96%;
    height: 55%;
  }

  .project-popup-descritpion {
    height: 19%;
  }

  .project-content {
    display: flex;
  }

  .project-popup-btns {
    border-top: solid 1px rgba(103, 121, 142, 0.3490196078);
    margin-left: 3%;
    margin-right: 3%;
    padding-top: 5%;
    display: flex;
    justify-content: center;
  }

  .project-btn {
    width: 9rem;
  }

  .cancel-icon:hover {
    transform: rotate(180deg);
    transition: all 0.7s ease;
  }

  .header-handle {
    position: initial;
  }

  .show {
    display: block;
  }

  .hide {
    display: none;
  }

  .right-section {
    margin-right: 2%;
  }
}
