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

html,
body {
  font-size: 18px;
  font-family: "Poppins", sans-serif;
  width: 100%;
  overflow-x: hidden;
  list-style: none;
}

.navbar {
  background-color: white;
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-left: 40px;
  margin-right: 40px;
  margin-top: 40px;
  border: none;
}

.navbar-content img {
  width: 20px;
  height: 13px;
}

.logo {
  color: #6070ff;
  font-weight: 700;
  text-decoration: none;
  font-size: 18px;
  line-height: 20px;
}

.nav_link ul {
  display: none;
}

.section-1 {
  height: 720px;
  background-color: #f7f7f9;
  border-style: none;
}

.section-1-container {
  background-image: url("images/header-shapes\ mobile.png");
  background-repeat: no-repeat;
  background-position: center;
  border-bottom-left-radius: 100px;
  background-color: white;
  padding: 160px 25px;
  width: 100%;
  height: 100%;
}

.heading {
  font-size: 2.5em;
  font-weight: 700;
  line-height: 52px;
}

.leading {
  font-size: 18px;
  text-align: start;
  margin: 20px 0;
}

.social-heading {
  color: #6070ff;
  margin-bottom: 8px;
}

.socials {
  display: flex;
  list-style: none;
}

.socials img {
  padding-right: 15px;
}

.section-2 {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-content: center;
  background-color: #f7f7f9;
  padding-bottom: 100px;
}

.container-1 img {
  padding: 20px 20px;
  width: 100%;
}

.container-1 {
  background-color: white;
  margin-left: 1.2em;
  margin-right: 1.2em;
  justify-self: center;
  margin-top: 100px;
  border-radius: 20px;
  border: 1px solid #dfe1e6;
  padding-bottom: 20px;
}

.items ul {
  display: flex;
  font-size: 12px;
  align-items: center;
  justify-content: flex-start;
}

.items {
  padding-left: 20px;
  margin-right: 50px;
}

.items h1 {
  font-size: 2em;
}

.items p {
  font-size: 16px;
  text-align: start;
  margin-right: 25px;
  margin-bottom: 10px;
}

form ul li {
  list-style: none;
  margin-bottom: 25px;
}

.items ul li {
  padding-right: 5px;
  font-weight: 700;
  font-size: 1.2em;
  margin-bottom: 10px;
}

form ul li:nth-child(1) {
  margin-bottom: -14px;
}

.items ul li:nth-child(1) {
  list-style: none;
  margin-right: 10px;
  font-weight: 500;
}

.items ul li:nth-child(2) {
  color: #7a869a;
  margin-left: 10px;
  margin-right: 10px;
  font-weight: 400;
}

.items ul li:nth-child(3) {
  color: #7a869a;
  margin-left: 10px;
  margin-right: 10px;
  font-weight: 400;
}

.btn {
  border: none;
  padding: 4px 12px;
  color: #6070ff;
  text-decoration: none;
  background-color: #ebebff;
  border-radius: 10px;
  margin-right: -20px;
  font-weight: 500;
}

.btn-div {
  margin: 15px 0;
  list-style: none;
  font-size: 12px;
  display: flex;
  flex-direction: row;
}

.last-btn {
  border: 1px solid #6070ff;
  padding: 10px 18px;
  border-radius: 10px;
  margin-top: 8px;
  background-color: white;
  color: #6070ff;
  font-style: normal;
  font-weight: 500;
  font-size: 17px;
  line-height: 24px;
  transition: ease-in 0.4s all;
}

.last-btn:hover {
  background: #4053fc;
  color: #fff;
  cursor: pointer;
}

.section-3 {
  background-color: #f7f7f9;
}

.container-3 {
  background-color: white;
  border-top-right-radius: 100px;
  padding-left: 30px;
  padding-top: 100px;
  padding-right: 20px;
  margin-bottom: 195px;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.about {
  font-size: 2.4em;
  padding-bottom: 10px;
}

.about-div p {
  padding-bottom: 15px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 16px;
}

.m-b {
  margin-top: 20px;
}

.languages {
  padding-top: 50px;
}

.languages-div {
  display: flex;
  align-items: center;
  padding-left: 20px;
  list-style: none;
}

.framework {
  border-bottom: 1.5px solid #dfe1e6;
  padding: 25px 0;
  display: flex;
  justify-content: space-between;
  padding-right: 60px;
}

.skills {
  background-color: #f7f7f9;
  margin-top: 20px;
  padding-bottom: 15px;
  padding-top: 15px;
  border-radius: 10px;
  margin-right: 20px;
  display: flex;
}

.m-l {
  margin-left: 20px;
}

.language {
  display: flex;
  justify-content: space-between;
  padding-right: 60px;
}

.section-2-desktop {
  display: none;
}

.section-4 {
  background-color: #6070ff;
  background-image: url("images/contact\ form\ shapes-mobile@2x.png");
  background-size: 60%;
  background-position: right 0;
  background-repeat: no-repeat;
  width: 100%;
  height: 779px;
  border-top-left-radius: 100px;
}

.section-4-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.full-name {
  margin-bottom: 2rem;
}

.contact {
  font-family: "Poppins", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 40px;
  line-height: 52px;
  color: #fff;
  margin-top: 80px;
  margin-bottom: 10px;
}

.section-4-container p {
  font-family: "Poppins", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 28px;
  text-align: center;
  color: #fff;
  margin-bottom: 20px;
  margin-top: 10px;
  padding: 0 20px;
}

form {
  width: 100%;
  padding: 0 20px;
}

form input,
textarea {
  width: 100%;
  border: 1px solid #cfd8dc;
  border-radius: 8px;
  padding: 15px 15px;
}

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

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

.submit-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}

.submit-container .message {
  position: absolute;
  bottom: 40px;
  font-size: 12px;
  width: 100%;
  border: 1px solid white;
  background-color: rgb(245, 97, 97);
  opacity: 0;
  transition: 200ms ease-in-out;
}

.submit-btn {
  padding: 12px 16px;
  margin-top: 20px;
  font-family: "Poppins", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 17px;
  line-height: 24px;
  background-color: #fff;
  border: none;
  color: #6070ff;
  text-decoration: none;
  border-radius: 10px;
  cursor: pointer;
}

@media only screen and (min-width: 768px) {
  .section-1-container {
    background-image: url("images/Header\ bg.png");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    display: flex;
    padding: 0 14em;
    justify-content: center;
    align-items: start;
    flex-direction: column;
    text-align: start;
  }

  nav {
    margin-top: -10px;
    margin-bottom: 50px;
    margin-left: 50px;
    margin-right: 50px;
  }

  .navbar-content img {
    display: none;
  }

  .navbar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }

  .nav_link {
    display: block;
    font-style: normal;
    font-weight: 500;
    font-size: 15px;
    line-height: 20px;
  }

  .btn {
    margin-right: -15px;
    border-radius: 8px;
    font-style: normal;
    font-weight: 500;
    font-size: 12px;
    line-height: 16px;
    padding: 5px 18px;
  }

  .nav_link ul {
    display: flex;
    list-style: none;
    margin-top: 50px;
    margin-right: 50px;
  }

  .nav_link ul a {
    text-decoration: none;
    color: black;
    padding: 10px;
    font-size: 15px;
  }

  .section-2 {
    display: none;
  }

  .section-2-desktop {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    justify-content: center;
    background-color: #f7f7f9;
    padding-bottom: 100px;
    padding-top: 50px;
  }

  .container-1 img {
    width: 100%;
    height: 100%;
    margin-top: 8px;
    margin-bottom: -5px;
  }

  .container-1 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    place-items: center;
    margin-left: 100px;
    margin-right: 100px;
    border-radius: 24px;
    padding-left: 8px;
    padding-right: 8px;
  }

  .ruby {
    margin-right: -5px;
  }

  .items {
    margin-bottom: 50px;
  }

  .items ul {
    margin-bottom: 35px;
    margin-top: 20px;
    font-size: 18px;
  }

  .items p {
    margin-top: -20px;
  }

  .container-3 {
    display: grid;
    grid-template-columns: 1.4fr 2fr;
  }

  .about-div {
    padding-left: 50px;
  }

  .languages {
    padding-top: 20px;
    padding-left: 80px;
    padding-right: 100px;
  }

  .wrapper {
    display: flex;
  }

  .skills {
    display: flex;
    flex-direction: column;
    width: 122px;
    align-items: flex-start;
    text-align: start;
  }

  .section-4 {
    background-color: #6070ff;
    background-image: url("images/contact\ form\ background\ shapes@2x.png");
    background-size: 90%;
    background-position: center;
    background-repeat: no-repeat;
    border-top-left-radius: 100px;
    width: 100%;
    height: 100%;
  }

  .section-4-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5rem 0;
    margin: 0 21rem;
  }

  form input,
  textarea {
    border-radius: 0;
  }

  .submit-container {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .section-4-container p {
    font-family: "Poppins", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
    text-align: center;
    color: #fff;
    margin-bottom: 20px;
    margin-top: 10px;
  }

  /* tranasition and animation */

  .socials li a img:hover {
    transform: scale(1.2);
  }

  .nav_link:hover {
    transform: scale(1.2);
  }
}
