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

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  max-width: 768px;
  min-width: 375px;
  margin: auto;
  position: relative;
}

.body {
  background: #f7f7f9;
}

header {
  padding: 2% 3%;
  display: flex;
  background-color: #fff;
}

header .hamburger-menu {
  font-size: 22px;
}

.showcase {
  display: flex;
  flex-direction: column;
  background-image: url(img/header-shapes\ mobile.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: inherit;
  background-color: #fff;
  padding: 5%;
  position: relative;
  border-bottom-left-radius: 5rem;
  margin-bottom: 3rem;
}

.logo {
  font-weight: 700;
  font-size: 18px;
  font-family: 'Poppins', sans-serif;
  width: 100%;
  display: flex;
}

.logo a {
  color: #6070ff;
  text-decoration: none;
  font-size: 1.5rem;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #6070ff;
  font-weight: 700;
  font-size: 1.6rem;
  cursor: pointer;
}

nav ul {
  display: none;
}

.title {
  display: flex;
  flex-direction: column;
  margin-top: 6%;
}

.title h1 {
  font-size: 3rem;
  font-family: 'Poppins', sans-serif;
  text-transform: capitalize;
  color: #172b4d;
  margin-top: 18%;
  margin-bottom: 4%;
  animation: transform 3s 2s ease-in-out forwards;
}

p {
  font-family: 'Poppins', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 25px;
  color: #344563;
  margin-bottom: 4%;
  animation: transform-b 3s 2s ease-in-out forwards;
}

@keyframes transform {
  from {
    transform: translateY(-1200px);
  }

  to {
    transform: translateY(0);
  }
}

@keyframes transform-b {
  from {
    transform: translateX(-120000px);
  }

  to {
    transform: translateX(0);
  }
}

h2 {
  font-family: 'Poppins', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 20px;
  color: #396df2;
  margin-bottom: 3%;
}

.socials {
  position: relative;
  top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 10%;
  height: 1.2rem;
  list-style: none;
  flex-grow: 0;
  padding-bottom: 10rem;
}

li img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 1rem;
}

.snap img {
  width: 100%;
  position: relative;
}

.gb-img img {
  width: 100%;
}

.lis img {
  margin-right: 0.2rem;
}

.socials li a img {
  padding: 0 12px;
  transition: transform 1s 0.3s;
}

.skills ul {
  list-style: none;
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  line-height: 1;
}

.skills ul li {
  font-weight: 600;
  font-size: 13px;
  line-height: 16px;
  color: #7a869a;
  margin-right: 0.5rem;
  font-style: normal;
}

.tech ul li {
  margin-right: 2rem;
  background: #e5e5e5;
  border-radius: 8px;
  align-items: center;
  padding: 4px 12px;
  font-weight: 500;
  font-size: 12px;
  color: #396df2;
}

.social li a img {
  padding: 0 15px;
  transform: translateX(-23%);
  transition: transform 0.1s;
  margin: 0;
}

.card-container {
  display: grid;
  grid-template-columns: 1fr;
  background-color: #fff;
  border-radius: 10px;
  padding: 6%;
  border: 1px solid #dfe1e6;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 3rem;
}

.skills .canopy {
  font-size: 15px !important;
  font-style: normal;
  font-weight: 600;
  line-height: 16px;
  color: #344563;
}

.contents {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contents h3 {
  margin: 1rem 0;
}

.contents .skills {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

.div {
  margin: 6px;
}

li .div {
  background-color: #ebebff;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.skills .div {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c1c7d0;
  margin-left: 0.6rem;
}

.heading {
  font-style: normal;
  font-weight: 700;
  font-size: 32px;
  line-height: 44px;
}

.contents .heading2 {
  font-weight: 400;
  color: #344563;
  font-size: 16px;
}

.tech {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 1rem;
}

.contents .tech {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

.tech ul {
  list-style: none;
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.tech ul li:hover {
  background-color: #396df2;
  color: #fff;
}

.btns {
  border: 1px solid #396df2;
  padding: 0.8rem 0.8rem;
  background-color: transparent;
  border-radius: 8px;
  color: #396df2;
  font-weight: 500;
  font-size: 17px;
  letter-spacing: 0.03em;
  font-family: 'Poppins', sans-serif;
  margin: 0.5rem 0;
  cursor: pointer;
}

.btn-b {
  display: inline-block;
  margin-top: 3rem;
  text-decoration: none;
  font-weight: 500;
  font-size: 17px;
  color: #396df2;
  border: 1px solid #6070ff;
  border-radius: 8px;
  padding: 12px;
}

.btns:hover,
.btn-b:hover {
  color: #fff;
  background: #6070ff;
}

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

.work {
  display: grid;
  grid-template-rows: 1fr;
  gap: 6rem;
  background: #f7f7f9;
  padding: 20% 6%;
}

.about-container {
  background: #f7f7f9;
  padding-top: 2.5rem;
}

.about {
  background-color: #fff;
  padding: 10%;
  border-radius: 0 5rem 0 0;
  display: flex;
  flex-direction: column;
}

.about-h1 {
  font-family: 'Poppins', sans-serif;
  margin-bottom: 1rem;
  color: #091e42;
  font-weight: 700;
  font-size: 40px;
  transform: translateY(28%);
  margin-top: 2rem;
}

.about-p {
  margin-top: 1.5rem;
  color: #344563;
  font-weight: 400;
  font-size: 16px;
}

.connect {
  color: #6070ff;
  margin: 0.5rem 0;
  font-weight: 500;
  font-size: 16px;
}

.social {
  position: relative;
  top: 20px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 1%;
  height: 1.2rem;
  list-style: none;
  flex-grow: 0;
}

li .imgs {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 0;
  padding: 0;
  margin-left: 0;
}

.techs .lis {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 0.6rem;
  margin: 0.5rem;
  background-color: #ebebee;
  border-radius: 12px;
  color: #253858;
  width: 50%;
  font-weight: 600;
}

.langs {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  margin-top: -1rem;
}

.langs p {
  transform: translateX(-32%);
}

.langs span {
  margin-right: 10px;
  margin-left: 4px;
  font-size: 12px;
  color: #7a869a;
  font-weight: normal;
  font-family: 'Poppins', sans-serif;
}

.under-lines {
  padding: 1.5rem 0;
  border-bottom: 2px solid #e5e5e5;
  width: 100%;
}

.under-lines:nth-child(1) {
  border-bottom: none;
}

.solid {
  position: absolute;
  right: 0;
  cursor: pointer;
}

.fas-circle {
  background-color: #7a869a;
}

.container-b {
  font-family: 'Poppins', sans-serif;
  max-width: 768px;
  border-radius: 0 20px 0 0;
}

.bg-b {
  background-color: #fff;
  padding: 5%;
  border-radius: 0 60px 0 0;
}

.about-h1-b {
  font-family: 'Poppins', sans-serif;
  margin-bottom: 0.5rem;
  font-weight: 700;
  font-size: 45px;
  line-height: 1;
  color: #172b4d;
  margin-top: 3rem;
}

.about-p-b {
  margin-top: 1.5rem;
  font-weight: 400;
  font-size: 16px;
  color: #344563;
}

.connect-b {
  color: #396df2;
  margin: 0.5rem 0;
  font-size: 15px;
  font-weight: 400;
}

.techs .liss {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 0.6rem;
  margin: 0.5rem;
  background-color: #ebebee;
  border-radius: 12px;
  color: #253858;
  width: 100%;
  font-weight: 600;
}

.liss .imgs {
  margin-right: 1rem;
}

.solids {
  position: absolute;
  left: 89%;
  cursor: pointer;
  font-size: 16px;
}

.form {
  margin-top: 5rem;
  padding: 6% -1.5rem;
  color: #fff;
  background-image: url("img/contact-form.png");
  background-color: #6070ff;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
  background-clip: inherit;
  background-position: 30px -51px;
  border-radius: 5rem 0 0 0;
  position: relative;
}

.form_container {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  text-align: center;
  overflow: hidden;
}

.form_container .p {
  font-weight: 400;
  text-align: center;
  color: #ebebff;
  padding: 0.9rem 2rem;
  width: 100%;
  padding-bottom: 0.7rem;
  font-size: 20px;
  line-height: 28px;
}

.form_heading {
  padding-top: 8rem;
  padding-bottom: -0.1rem;
  font-weight: 700;
  font-size: 40px;
  font-family: 'Poppins', sans-serif;
  font-style: normal;
  z-index: 100;
}

.form_container .form_btn {
  border: 0;
  display: flex;
  align-items: center;
  text-align: center;
  letter-spacing: 0.03em;
  color: #6070ff;
  border-radius: 8px;
  overflow: hidden;
}

.form-wrap {
  display: flex;
  flex-direction: column;
  margin-top: 0.3rem;
}

form input {
  display: block;
  width: 80%;
  transform: translateX(13%);
  margin-bottom: 1rem;
  font-weight: 400;
  font-size: 17px;
  color: #172b4d;
  border-radius: 8px;
  padding: 0.7rem;
  outline: none;
  border: 0;
  font-family: 'Poppins', sans-serif;
}

textarea {
  width: 80%;
  transform: translateX(13%);
  display: block;
  border-radius: 8px;
  outline: none;
  resize: none;
  margin-bottom: 2rem;
}

input:focus {
  border-bottom: 3px solid #1ed5f5;
}

.textarea {
  font-weight: 400;
  font-size: 14px;
  color: #b3bac5;
  padding: 0.8rem 0.5rem;
  font-family: 'Poppins', sans-serif;
}

.button {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  margin: 1rem;
  transform: translateX(8%);
  overflow: hidden;
}

.button .form_btn {
  padding: 0.8rem 1rem;
  font-size: 17px;
  font-weight: 500;
  background-color: #fff;
  cursor: pointer;
  text-align: center;
  letter-spacing: 0.03em;
  margin-bottom: 2.5rem;
}

.form_btn:hover {
  background: #6070ff;
  color: #fff;
}

.actives:active {
  background: #2230d2;
  color: #fff;
}

hr {
  background: #0d151e;
  border-radius: 10px;
  width: 35%;
  height: 5px;
  margin: auto;
  border: none;
  left: calc(48% - 134px / 2 - 0.5px);
  position: absolute;
  bottom: 1rem;
}

@media (min-width: 769px) and (max-width: 1920px) {
  body {
    margin: auto;
    min-width: 769px;
    max-width: 1920px;
    overflow-x: hidden;
  }

  .hamburger-menu {
    display: none;
  }

  .body {
    padding: 0;
    margin: 0;
    overflow: hidden;
  }

  header {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #fff;
    height: 75px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
  }

  nav {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  header .logo {
    font-weight: 700;
    font-size: 18px;
    color: #6070ff;
    margin-left: 5rem;
  }

  nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    text-align: center;
    margin-right: 5rem;
  }

  nav ul li a {
    text-decoration: none;
    color: #344563;
    font-weight: 500;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    margin-left: 1.5rem;
  }

  .showcase {
    background-image: url(img/Header\ bg@2x.png);
    background-repeat: no-repeat;
    transform: translateY(9%);
    padding: 2rem;
  }

  .showcase .title {
    display: flex;
    flex-wrap: wrap;
    align-items: start;
    margin: 0.5rem 15%;
    padding-top: -5rem;
  }

  .title h1 {
    font-weight: 700;
    font-size: 45px;
    color: #091e42;
    line-height: 50px;
    margin-bottom: 1rem;
  }

  .span {
    display: block;
  }

  .title p {
    margin-bottom: 1rem;
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
    color: #344563;
  }

  .title h2 {
    font-weight: 500;
    font-size: 16px;
    color: #396df2;
    margin-top: -0.5rem;
  }

  .work {
    padding: 15% 7%;
    padding-bottom: 10%;
  }

  .card-container {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 3rem;
    row-gap: 1rem;
    padding: 2%;
    width: 100%;
    box-shadow: 5px 10px 20px 12px rgba(0, 0, 0, 0.1);
  }

  .card-container:nth-child(even) {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    padding: 1.5rem;
  }

  .last {
    width: 100%;
    transform: translateX(-2%);
  }

  .para {
    padding-right: 2rem;
  }

  .contents-b {
    position: relative;
    padding-bottom: 5rem;
    overflow: hidden;
  }

  .card-container .contents {
    transform: translateY(-3%);
    overflow: hidden;
  }

  .ps {
    display: block;
  }

  .socials li img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-top: -2rem;
    color: #505f79;
  }

  .techs ul li img {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    text-align: center;
    padding: 0.2rem;
  }

  .social li a img {
    margin-right: -1rem;
    color: #505f79;
  }

  .gb-img img:nth-child(even) {
    width: 100%;
  }

  .card-containers .gb-img img {
    width: 100%;
  }

  .about {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5rem;
    justify-items: center;
    align-items: baseline;
    padding-top: 8rem;
    padding-left: 6%;
    padding-right: 6%;
    padding-bottom: 5rem;
  }

  .about-h1-b {
    font-weight: 700;
    font-size: 40px;
    color: #091e42;
    line-height: 52px;
  }

  .techs {
    width: 100%;
  }

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

  .under-lines {
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
    color: #344563;
    padding-bottom: 0.9rem;
    border-bottom: 2px solid #dfe1e6;
    padding-top: -2rem;
  }

  .heading h3 {
    font-size: 35px;
  }

  .techs ul {
    display: flex;
    width: 30%;
    padding: 0.5rem;
  }

  .socials li,
  .social li {
    transition: all 1s 0.2s ease-in-out;
  }

  .techs ul li {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
    font-weight: 500;
    font-size: 12px;
  }

  .socials li:hover,
  .social li:hover {
    transform: translateY(-10px);
  }

  .socials li a {
    margin-right: -1.5rem;
    width: 20px;
  }

  .solid {
    transform: translateY(-150%);
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    margin-bottom: 4rem;
  }

  .form_container {
    overflow: hidden;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
  }

  .form {
    padding: 5%;
    color: #fff;
    background-image: url("img/contact\ form\ background\ shapes.svg");
    background-color: #6070ff;
    background-repeat: no-repeat;
    border-radius: 5rem 0 0 0;
    background-position: -5px 110px;
    background-size: contain;
  }

  .form_container .p {
    width: 40%;
    text-align: center;
    transform: translateY(17%);
  }

  .form_heading {
    padding-top: 5rem;
    transform: translateY(20%);
    font-weight: 700;
    font-size: 40px;
    font-family: 'Poppins', sans-serif;
    font-style: normal;
  }

  form input {
    padding: 0.8rem;
    width: 150%;
    color: #172b4d;
    outline: none;
    border: 0;
    margin-bottom: 1rem;
    font-weight: 400;
    font-size: 18px;
    align-items: center;
    transform: translateX(-18%);
  }

  input:focus {
    border-bottom: 3px solid #1ed5f5;
  }

  textarea {
    outline: none;
    resize: none;
    width: 150%;
    transform: translateX(-18%);
    height: 10%;
  }

  .textarea {
    font-weight: 400;
    font-size: 16px;
    color: #b3bac5;
    padding: 0.5rem 0.5rem;
    font-family: 'Poppins', sans-serif;
  }

  .button {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1rem 0;
  }

  .button .form_btn {
    padding: 0.8rem 1rem;
    font-size: 17px;
    font-weight: 500;
    background-color: #fff;
    cursor: pointer;
    text-align: center;
    letter-spacing: 0.03em;
    margin-bottom: 2.5rem;
    margin-right: 2.5rem;
    border-radius: 8px;
  }

  .form_btn:hover {
    background: #6070ff;
    color: #fff;
  }

  .actives:active {
    background: #2230d2;
    color: #ffff;
  }

  hr {
    display: none;
    margin: 0;
    padding: 0;
  }
}
