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

body {
  font-family: "poppins", sans-serif;
  background: #e5e5e5;
}

main.main-bx {
  width: 375px;
  margin: auto;
}

/* The Mobile Version---------------------------------------------------------------------------- */

/* The header: Navigation Section */

.header-section {
  width: 375px;
  background: white;
}

.connect a {
  width: 117px;
  height: 24px;
  font-family: "poppins", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  color: #7f8cff;
  text-decoration: none;
  margin-left: 24px;
  margin-right: 24px;
}

.my-logo {
  display: flex;
  justify-content: space-around;
}

.my-logo h1 a {
  text-decoration: none;
  width: 76px;
  height: 20px;
  font-family: "Poppins", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 18px;
  line-height: 20px;
  display: flex;
  align-items: center;
  text-align: center;
  color: #6070ff;
  transition-duration: 0.5s;
}

.my-logo h1 a:hover {
  background-color: #6070ff;
  color: white;
  margin-left: 18px;
  border-radius: 8px;
}

h1.intro-title-bx {
  font-weight: 700;
  font-size: 40px;
  line-height: 52px;
  padding-top: 56px;
}

/* Section One: headlines */
header nav ul {
  position: relative;
  display: flex;
  justify-content: space-between;
  list-style-type: none;
  height: 45px;
  left: 24px;
  top: 30px;
  bottom: 38px;
}

header.header-section {
  width: 100%;
  background: white;
}

.headlines {
  border-radius: 0 0 0 75px;
  position: relative;
  list-style-type: none;
  display: flex;
  flex-direction: column;
  background: #fff;
  width: 375px;
  height: 718px;
  top: 0;
  margin-bottom: 114px;
  background-image: url(../images/header-shapes\ mobile@2x.png);
  background-repeat: no-repeat;
  background-size: contain;
}

.introduction {
  padding-top: 29px;
}

/* Title description part of the portfolio */

.title-about {
  font-family: "poppins", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 40px;
  line-height: 52px;
  color: #172b4d;
  margin-top: 60px;
}

.text-bx {
  font-family: "poppins", sans-serif;
  font-style: normal;
  font-weight: 400px;
  font-size: 16px;
  line-height: 24px;
  color: #344563;
  margin-top: 12px;
  width: 327px;
  height: 146px;
  margin-left: 24px;
  margin-right: 24px;
}

.connect {
  padding-top: 20px;
  margin-top: 12px;
  margin-bottom: 15.03px;
}

.social-media ul {
  display: flex;
  justify-content: flex-start;
  align-items: baseline;
  margin-left: 24px;
  margin-right: 24px;
}

.languages li {
  background: #ebebff;
  border-radius: 8px;
  letter-spacing: 0.03em;
  padding: 4px 12px 4px 12px;
  color: #6070ff;
  text-align: center;
  width: 295px;
  height: 25px;
  margin-left: 0 !important;
}

.languages-p li {
  color: #000;
  border-radius: nullpx;
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
  list-style-type: none;
  padding-bottom: 10px;
}

.languages-list li {
  left: 76px;
  right: 12px;
  font-family: "Poppins", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 20px;
  color: #253858;
  padding: 8px 12px 21px 0;
  list-style-type: none;
}

.social-media ul li {
  list-style-type: none;
  padding-right: 10px;
}

.twitter-logo {
  width: 19.99px;
  height: 19.99px;
}

.linkedin-logo {
  width: 12.71px;
  height: 16.97px;
}

.medium-logo {
  width: 20px;
  height: 16px;
}

.github-logo {
  width: 17.99px;
  height: 20px;
}

.angellist-logo {
  width: 14.17px;
  height: 20px;
}

.menu {
  display: flex;
  width: 117px;
  height: 24px;
  align-items: center;
  padding-right: 30px;
}

/* Section Two: Works */
.main-container {
  display: grid;
  grid-template-columns: 100%;
  width: 375px;
}

.details {
  margin-bottom: 88px;
  margin-left: 24px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
  gap: 12px;
  width: 100%;
  height: 592px;
  background: #fff;
  border: 1px solid #dfe1e6;
  border-radius: 16px;
}

/* card1 elements */

.snapshot {
  width: 295px;
  height: 220px;
  margin: 16px 16px 0 16px;
}

.tonic {
  margin: 12px 16px 12px 16px;
  width: 295px;
  height: 36px;
  font-family: "poppins", sans-serif;
  font-style: normal;
  font-size: 32px;
  font-weight: 700;
  line-height: 44px;
  color: #172b4d;
}

.details ul {
  display: flex;
  flex-direction: row;
  width: 295px;
  height: 25px;
}

.details ul li {
  margin: 12px;
}

.canopy {
  font-family: "Poppins", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 13px;
  line-height: 16px;
  color: #344563;
  list-style-type: none;
  margin-left: 0 !important;
}

.back-end {
  font-family: "Poppins", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 13px;
  line-height: 16px;
  color: #7a869a;
}

.year {
  font-family: "Poppins", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 13px;
  line-height: 16px;
  color: #7a869a;
}

.descriptive-paragraph {
  font-family: "Poppins", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 15px;
  line-height: 24px;
  color: #344563;
  width: 295px;
  height: 76px;
}

.languages {
  list-style-type: none;
}

.html-language {
  width: 53px;
  height: 24px;
  padding: 4px 12px;
}

.css-language {
  width: 45px;
  height: 24px;
  padding: 4px 12px;
}

.javaScript-language {
  width: 45px;
  height: 24px;
  padding: 4px 12px;
}

.project-btn {
  width: 100%;
}

.details-button {
  box-sizing: border-box;
  padding: 12px;
  width: 124px;
  height: 48px;
  margin-top: 16px;
  border: 1px solid #6070ff;
  border-radius: 8px;
}

.details-button:hover {
  background-color: #6070ff;
  color: white;
  cursor: pointer;
  opacity: 0.9;
}

.details-button:active {
  background-color: white;
  color: #6070ff;
}

button {
  font-family: "Poppins", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 17px;
  line-height: 24px;
  color: #396df2;
  border: 0;
  background: #fff;
}

.details-button:focus {
  background-color: #6070ff;
  color: white;
}

/* Section Three: About Myself------------------------------------------------------ */

.about-myself {
  width: 100%;
  height: 1263px;
}

.introduction-about-bx {
  width: 100%;
  height: auto;
  background: white;
  margin: auto;
  border-top-right-radius: 80px;
  padding: 20px;
  line-height: 24px;
  font-weight: 400;
  font-size: 16px;
}

.title-about-myself {
  font-family: "poppins", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 40px;
  line-height: 52px;
  color: #172b4d;
  margin-top: 60px;
}

.text-about-myself {
  width: 100%;
  height: 144px;
  font-family: "Poppins", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #344563;
}

.about-myself1 h2 {
  font-family: "poppins", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  color: #7f8cff;
  text-decoration: none;
  margin-right: 24px;
}

.about-social-media ul {
  display: flex;
  justify-content: flex-start;
  align-items: baseline;
  margin-left: 24px;
  margin-right: 24px;
}

.about-social-media ul li {
  list-style-type: none;
  padding-right: 10px;
}

.twitter-logo1 {
  width: 19.99px;
  height: 19.99px;
}

.linkedin-logo1 {
  width: 12.71px;
  height: 16.97px;
}

.medium-logo1 {
  width: 20px;
  height: 16px;
}

.github-logo1 {
  width: 17.99px;
  height: 20px;
}

.angellist-logo1 {
  width: 14.17px;
  height: 20px;
}

.btn-resume {
  padding-left: 20px;
}

.resume-button {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 12px;
  width: 162px;
  height: 48px;
  margin-top: 16px;
  border: 1px solid #6070ff;
  border-radius: 8px;
  left: 0;
}

.btn-resume button:hover {
  background-color: #6070ff;
  color: white;
  cursor: pointer;
  opacity: 0.8;
}

.btn-resume button:focus {
  background-color: #6070ff;
  color: white;
}

.languages-p {
  margin-top: 46px;
  display: flex;
  justify-content: space-between;
}

.drop-down {
  width: 24px;
  height: 16px;
  margin-left: 149px;
}

.arrow-pointers {
  width: 24px;
  height: 16px;
  margin-left: 159px;
}

.languages-list {
  display: flex;
  flex-direction: row;
  align-items: center;
  background: #f7f7f9;
  border-radius: 8px;
  margin-top: 25px;
  padding-top: 10px;
}

.js-logo {
  width: 48px;
  height: 48px;
  border-radius: 1px solid #fff;
  margin-right: 16px;
  margin-left: 12px;
}

.hr-frame {
  margin-bottom: 71px;
}

.hr-skills {
  margin-bottom: 113.85px;
  width: 100%;
}

/* Section Four: Contact Form-------------------------------------------------------------- */
footer.footer-bx {
  width: 375px;
  margin: auto;
  top: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 375px;
  height: 779px;
  background: #6070ff;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-style: normal;
  text-align: center;
  background-image: url(../images/contact\ form\ shapes-mobile@2x.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: right;
  border-radius: 95px 0 0 0;
  margin-top: -71px;
}

.contacts-bx {
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.contacts-texts {
  margin-top: 66px;
  margin-bottom: 28px;
}

.contacts-texts h1 {
  font-weight: 700;
  font-size: 40px;
  line-height: 52px;
}

.contacts-texts p {
  width: 327px;
  height: 102px;
  left: 24px;
  font-weight: 400;
  font-size: 20px;
  line-height: 28px;
  color: #ebebff;
}

form .contacts-lists {
  padding: 0;
  margin: 0;
}

.contact-inpt {
  height: 48px;
  border: none;
  border-radius: 8px;
  background: #fff;
  margin-bottom: 20px;
  width: 100%;
  padding: 18px 24px;
  font-style: normal;
  font-size: 17px;
  font-weight: 400;
  left: 16px;
  right: 38px;
  top: calc(50% - 18px / 2);
  color: #172b4d;
}

.inpt-bx {
  height: 18px;
  font-weight: 400;
  font-size: 17px;
  display: flex;
  align-items: center;
  color: #172b4d;
  border: none;
}

.textarea-inpt {
  width: 327px;
  height: 170px;
  border: 1px solid #cfd8dc;
  border-radius: 8px;
  background: #fff;
  padding: 12px;
  margin-bottom: 22px;
}

.txtarea-bx {
  width: 273px;
  height: 140px;
  border: none;
  font-size: 15px;
  line-height: 24px;
  color: #b3bac5;
}

.button-inpt {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 12px 16px;
  position: absolute;
  width: 140px;
  height: 48px;
  left: 24px;
  background: #fff;
  border-radius: 8px;
}

.btn-inpt {
  display: flex;
  align-items: center;
  text-align: center;
  background-color: #fff;
  width: 108px;
  height: 24px;
  font-weight: 500;
  font-size: 17px;
  line-height: 24px;
  letter-spacing: 0.03em;
  color: #6070ff;
  border: none;
}

.button-inpt:hover {
  background-color: #6070ff;
  color: white;
  cursor: pointer;
  opacity: 0.9;
}

.btn-inpt:hover {
  background-color: #6070ff;
  color: white;
  cursor: pointer;
  opacity: 0.9;
}

.button-inpt:active {
  background-color: white;
  color: #6070ff;
}

.btn-inpt:active {
  background-color: white;
  color: #6070ff;
}

@media screen and (max-width: 768px) {
  .nav-items {
    display: none;
  }
}

/* Desktop Version-------------------------------------------------------------------------------------- */

@media screen and (min-width: 768px) {
  /* The header section */

  main.main-bx {
    width: 100%;
    margin: auto;
  }

  .humberger {
    display: none;
  }

  .header-section {
    width: 100%;
    height: auto;
    background: white;
  }

  nav h1 a {
    width: 76px;
    height: 20px;
    font-family: "Poppins", sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    line-height: 20px;
    display: flex;
    align-items: center;
    text-align: center;
    color: #6070ff;
    text-decoration: none;
  }

  .connect1 a {
    width: 117px;
    height: 24px;
    font-family: "poppins", sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    color: #7f8cff;
    text-decoration: none;
    margin-left: 24px;
    margin-right: 24px;
  }

  .connect a {
    width: 920px;
    margin-left: 18.056%;
    line-height: 24px;
    margin-top: -9%;
  }

  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2% 6%;
  }

  .nav-items ul li {
    position: relative;
    display: inline-block;
    list-style-type: none;
    padding: 8px 12px;
  }

  .nav-items ul li a {
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    line-height: 20px;
    display: flex;
    align-items: center;
    text-align: center;
    color: #344563;
  }

  /* The headline section */

  .headlines {
    border-radius: 0 0 0 75px;
    position: relative;
    list-style-type: none;
    display: flex;
    flex-direction: column;
    background: #fff;
    width: 100%;
    height: 916px;
    background-image: url(../images/Header\ bg@2x.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right;
  }

  h1.intro-title-bx {
    width: 920px;
    font-family: "Poppins", sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 48px;
    line-height: 60px;
    margin-left: 18.056%;
    letter-spacing: 0.37px;
    color: #091e42;
  }

  .text-bx {
    font-family: "poppins", sans-serif;
    font-style: normal;
    font-weight: 400px;
    color: #344563;
    margin-left: 18.056%;
    width: 920px;
    height: 98px;
    font-size: 20px;
    line-height: 28px;
    flex: none;
    order: 1;
    flex-grow: 0;
  }

  .connect {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    width: 100%;
    height: fit-content;
    margin-top: 45px;
  }

  .social-media ul {
    display: flex;
    justify-content: flex-start;
    align-items: baseline;
    margin-left: 18.056%;
    margin-top: -4%;
  }

  /* Section Two: Works Section------------------ */

  .main-container {
    display: grid;
    grid-template-columns: 100%;
    width: 100%;
    padding-bottom: 6%;
    padding-top: 6%;
    height: 2500px;
    gap: 5%;
  }

  .details {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 16px;
    gap: 12px;
    width: 1156px;
    height: 496px;
    background: #fff;
    border: 1px solid #dfe1e6;
    border-radius: 24px;
    margin-bottom: 71px;
  }

  .snapshot {
    width: 50%;
    height: 100%;
    border-radius: 8px;
    margin-top: 24px;
    margin-left: 24px;
    margin-bottom: 24px;
  }

  .works-skills {
    display: flex;
    flex-direction: column;
    width: 46%;
    height: 100%;
    gap: 1%;
    padding: 3%;
    padding-top: 4%;
  }

  .tonic {
    width: 496px;
    height: 46px;
    font-family: "poppins", sans-serif;
    font-style: normal;
    font-size: 40px;
    font-weight: 700;
    line-height: 52px;
    color: #091e42;
  }

  .descriptive-paragraph {
    font-family: "Poppins", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #344563;
    width: 496px;
    height: 53px;
  }

  .project-btn {
    width: 100%;
    margin-top: 14px;
  }

  .details-button {
    box-sizing: border-box;
    padding: 12px;
    width: 124px;
    height: 48px;
    margin-top: 16px;
    border: 1px solid #6070ff;
    border-radius: 8px;
    transition-duration: 0.6s;
  }

  .details-button:hover {
    background-color: #6070ff;
    color: white;
    cursor: pointer;
    opacity: 0.9;
    margin-left: 12px;
    padding: 10px 9px;
  }

  .details-button:active {
    background-color: white;
    color: #6070ff;
  }

  .experience-bx {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 24px 0;
    width: 496px;
    height: 40px;
  }

  .canopy {
    font-family: "Poppins", sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
    color: #344563;
    list-style-type: none;
    width: 96px;
    height: 24px;
  }

  .back-end {
    font-family: "Poppins", sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: #6b778c;
    width: 100%;
    height: 24px;
  }

  .year {
    font-family: "Poppins", sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
    color: #6b778c;
    width: 38px;
    height: 24px;
  }

  /* Section Three: About Myself Section-------------------------------------- */
  .about-myself {
    margin-top: 200px;
  }

  .introduction-about-bx {
    width: 100%;
    height: auto;
    border-top-right-radius: 80px;
    line-height: 24px;
    font-weight: 400;
    font-size: 16px;
    background: #fff;
    border: 1px solid #dfe1e6;
    display: flex;
    flex-direction: row;
    align-items: center;
  }

  .about-myself1 {
    width: 50%;
    height: 50%;
    margin-top: 142px;
  }

  .about-myself2 {
    width: 46%;
    height: 50%;
  }

  .title-about-myself {
    font-family: "poppins", sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 40px;
    line-height: 52px;
    width: 447px;
    height: 114px;
    display: flex;
    align-items: center;
    color: #091e42;
    margin-top: -184px;
  }

  .text-about-myself {
    width: 447px;
    height: 102px;
    font-family: "Poppins", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #344563;
  }

  .connect1 {
    padding-top: 20px;
    margin-top: 12px;
    margin-bottom: 15.03px;
  }

  .social-handles {
    margin-left: 23px;
  }

  .about-social-media ul {
    display: flex;
    flex-direction: row;
    margin-top: 31px;
    margin-left: 8px;
  }

  .about-social-media ul li {
    list-style-type: none;
    padding-right: 10px;
  }

  .twitter-logo1 {
    width: 19.99px;
    height: 19.99px;
  }

  .linkedin-logo1 {
    width: 12.71px;
    height: 16.97px;
  }

  .medium-logo1 {
    width: 20px;
    height: 16px;
  }

  .github-logo1 {
    width: 17.99px;
    height: 20px;
  }

  .angellist-logo1 {
    width: 14.17px;
    height: 20px;
  }

  .btn-resume {
    padding-left: 20px;
    margin-left: -25px;
  }

  .about-languages {
    display: flex;
    flex-direction: row;
    margin-right: 12px;
  }

  /* Section Four: Contact Form-------------------------- */

  footer.footer-bx {
    width: 100%;
    top: 0;
  }

  .contact-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    height: 846px;
    background: #6070ff;
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-style: normal;
    text-align: center;
    background-image: url(../images/contact\ form\ shapes-mobile@2x.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right;
    border-radius: 95px 0 0 0;
    margin-top: -694px;
  }

  .button-inpt {
    padding: 12px 16px;
    width: 140px;
    height: 48px;
    background: #fff;
    border-radius: 8px;
    margin-left: 42%;
  }

  .btn-inpt {
    display: flex;
    align-items: center;
    text-align: center;
    background-color: #fff;
    width: 108px;
    height: 24px;
    font-weight: 500;
    font-size: 17px;
    line-height: 24px;
    letter-spacing: 0.03em;
    color: #6070ff;
    border: none;
  }

  .textarea-inpt {
    width: 569px;
    height: 170px;
    border: 1px solid #cfd8dc;
    background: #fff;
    padding: 12px;
    margin-bottom: 22px;
  }

  .txtarea-bx {
    width: 339px;
    height: 140px;
    border: none;
    font-size: 15px;
    line-height: 24px;
    color: #b3bac5;
  }

  .contacts-texts p {
    width: 569px;
    height: 102px;
    font-family: "Poppins", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
    text-align: center;
    color: #ebebff;
  }

  .languages-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #f7f7f9;
    border-radius: 8px;
    margin-top: 25px;
    padding-top: 10px;
    margin-right: 12px;
    width: 122px;
    height: 120px;
  }
}
