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

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  list-style: none;
  border: none;
  text-decoration: none;
}

.error {
  display: flex;
  color: red;
  text-align: start;
  border: 1px solid #cfd8dc;
  background-color: #e5e5e5;
  border-radius: 8px;
  font-family: "Poppins", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 17px;
  padding: 8px;
  align-self: center;
}

body {
  background: white;
  margin: 0;
  font-family: "Poppins", sans-serif;
}

.navbar {
  background: #ffff;
  padding-top: 14px;
  padding-bottom: 14px;
  padding-left: 24px;
  padding-right: 24px;
  display: flex;
  place-content: space-between;
  position: fixed;
  width: 100%;
}

.menu-wrapper {
  max-width: 100%;
}

.mobile-menu {
  cursor: pointer;
}

.mobile-menu-exit {
  position: fixed;
  right: 0;
  padding: 10px;
}

.nav-list {
  display: none;
  font-family: "Poppins", sans-serif;
}

.nav-list-menu.open {
  height: 100vh;
  width: 100%;
  background-color: #6070ff;
  z-index: 1;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  opacity: 0.9;
}

.nav-list-menu .mobile-menu-exit {
  display: none;
  color: #fff;
  margin-right: 35px;
  margin-top: 5px;
  cursor: pointer;
}

.nav-list-menu.open .mobile-menu-exit {
  display: block;
}

.nav-list-menu.open .nav-list {
  display: flex;
  flex-direction: column;
  margin-left: 20px;
  margin-top: 40px;
}

.nav-list-menu.open .nav-list .nav-item a {
  color: #e5e5e5;
  font-size: 32px;
}

.navbar .logo {
  font-family: "Poppins", sans-serif;
  font-style: normal;
  font-weight: bold;
  font-size: 18px;
  line-height: 20px;
  text-decoration: none;
  display: flex;
  align-items: center;
  text-align: center;
  color: #6070ff;
}

.navbar .logo:hover {
  transform: rotate(45deg);
}

.cl-btn {
  padding-left: 2rem;
}

.hero {
  background-image: url("../images/Header.png");
  background-repeat: no-repeat, no-repeat;
  background-size: cover;
  background-color: white;
  border-radius: 0 0 0 100px;
  padding-top: 114px;
  padding-left: 24px;
  padding-right: 24px;
  height: 100vh;
}

.hero .premary-text {
  position: static;
  width: 600px;
  left: 24px;
  top: 114px;
  font-family: "Poppins", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 40px;
  line-height: 52px;
  display: flex;
  color: #172b4d;
  order: 0;
  flex-grow: 0;
  margin: 12px 0;
  align-items: center;
}

#animation {
  animation: typing 8s steps(18, end) forwards;
}

@keyframes typing {
  0% {
    width: 0;
  }

  33% {
    width: 100%;
  }

  100% {
    width: 100%;
  }
}

h2 {
  color: #091e42;
  font-weight: 700;
  font-size: 40px;
  line-height: 56px;
}

.hero .secondary-text {
  font-weight: 400;
  font-size: 20px;
  line-height: 28px;
  color: #344563;
}

.hero .secondary-section {
  position: static;
  width: 327px;
  height: 146px;
  left: 24px;
  top: 276px;
  font-family: "Poppins", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #344563;
  flex: none;
  order: 1;
  flex-grow: 0;
  margin: 12px 0;
}

.hero .headline {
  position: static;
  left: 0;
  top: 0;
  font-family: "Poppins", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: #7f8cff;
  flex: none;
  order: 0;
  flex-grow: 0;
  margin: 0;
}

.hero ul {
  list-style: none;
}

.headline-img {
  display: -webkit-box;
  display: flex;
  margin-top: 12px;
  padding-left: 0;
  justify-content: start;
  align-items: flex-start;
  gap: 20px;
}

.contact {
  background-image: url("../images/shapes.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-color: #6070ff;
  border-radius: 100px 0 0 0;
  padding-top: 114px;
  padding-bottom: 114px;
  padding-left: 24px;
  padding-right: 24px;
  width: 100%;
  margin-top: 20px;
}

.first-text-contact {
  font-size: 40px;
  color: #fff;
  text-align: center;
  align-self: flex-start;
  padding-bottom: 20px;
}

.second-text-contact {
  font-family: Poppins, sans-serif;
  font-style: normal;
  font-weight: normal;
  font-size: 20px;
  color: #ebebff;
  text-align: center;
  align-self: flex-start;
  margin: 18px 0;
}

.text-area {
  font-family: Poppins, sans-serif;
  padding: 12px 20px;
  border: 1px solid #cfd8dc;
  background: #fff;
  background-color: rgb(255, 255, 255);
  background-color: #f8f8f8;
  border-radius: 8px;
  resize: none;
  margin-bottom: 1px;
  width: 100%;
  align-self: flex-start;
  padding-left: 20px;
  outline: none;
}

.text-area-large {
  font-family: Poppins, sans-serif;
  width: 100%;
  height: 170px;
  padding: 12px 20px;
  border: 1px solid #cfd8dc;
  background: #fff;
  background-color: rgb(255, 255, 255);
  background-color: #f8f8f8;
  border-radius: 8px;
  resize: none;
  margin-bottom: 18px;
  align-self: flex-start;
  outline: none;
}

.btn-container-contact {
  text-align: left;
  border-radius: 8px;
  border: none;
  color: #1c32f5;
  font-family: "Poppins", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 17px;
  cursor: pointer;
  padding: 8px;
  align-self: center;
}

.btn-container-contact:hover {
  background-color: #1c32f5;
  color: white;
}

.container-form {
  display: flex;
  row-gap: 18px;
  width: 100%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.flex-center-culomn {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 65px 0;
}

.card-item {
  border: 1px solid #dfe1e6;
  width: 80%;
  max-width: 330px;
  margin: 0 auto;
  margin-bottom: 2.5rem;
  left: 24px;
  top: 114px;
  border-radius: 16px;
  padding: 16px;
  background-color: #fff;
  justify-content: flex-start;
  align-items: flex-start;
}

.card-image {
  max-width: 100%;
}

.img-container {
  width: 100%;
}

.list-container {
  width: 100%;
}

.list {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.list-item {
  color: #7a869a;
  font-family: "Poppins", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 15px;
  text-transform: capitalize;
}

.list .item1 {
  text-transform: capitalize;
  color: #344563;
}

.see-btn {
  font-size: 18px;
  color: #0531a1;
  padding: 12px;
  background-color: transparent;
  margin-top: 2rem;
  border: 1px solid #396df2;
  border-radius: 6px;
  cursor: pointer;
  transition: ease color 2s;
}

.btn .resume-btn:hover {
  background-color: #0631a0;
  color: white;
}

.see-btn:hover {
  background-color: #011444;
  color: white;
}

.lang-container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.langage-item {
  background: #ebebff;
  border-radius: 8px;
  padding: 2px 4px;
  margin: 5px 8px;
  font-size: 13px;
  color: #6070ff;
  border-color: #396df2;
}

.about-myself {
  width: 90%;
  margin: 0 auto;
}

.about-myself .primary-text {
  color: #172b4d;
  font-weight: 700;
  font-size: 48px;
  line-height: 60px;
}

.about-myself .secondary-text {
  margin: 15px 0;
}

.about-myself .headline {
  font-weight: 500;
  font-size: 18px;
  line-height: 24px;
  color: #7f8cff;
}

.get-resume {
  padding: 14px 55px;
  border-radius: 9px;
  font-size: 17px;
  color: #396df2;
  border: 1px solid #396df2;
  background: transparent;
  margin: 15px 0;
}

.about-me {
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  background-color: #fff;
  border-top-right-radius: 5rem;
  padding-top: 5rem;
  padding-bottom: 2rem;
}

.about-me .title {
  max-width: 300px;
  font-size: 3rem;
  font-style: normal;
  font-weight: 700;
  line-height: 55px;
  letter-spacing: 0;
  text-align: left;
  color: #172b4d;
  padding: 3rem 2.5rem 0 2.5rem;
}

.about-me .info {
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0;
  text-align: left;
  color: #344563;
  padding: 0 2.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}

.about-me .connect {
  color: #7f8cff;
  font-weight: 500;
  padding: 1rem 2.5rem;
  margin-bottom: 2rem;
}

.about-me .knowledges {
  width: 100%;
  display: flex;
  align-content: center;
  flex-direction: column;
}

.knowledges .knowledge {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 3.5rem;
}

.knowledge .kn_1 {
  display: inline-flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  font-size: 22px;
  font-weight: 400;
  position: relative;
  padding: 10px 0;
  color: #000;
}

.knowledges .knowledge .kn_1 span i {
  color: #acb7c3;
}

.knowledges .knowledge .kn_1::after {
  position: absolute;
  content: "";
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: #dfe1e6;
}

.knowledges .knowledge:first-child .kn_1::after {
  display: none;
}

.knowledge .languages {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.knowledge .languages li {
  background-color: #f7f7f9;
  height: 66.72px;
  width: 100%;
  margin-bottom: 2rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
}

.img-language-item {
  display: flex;
  justify-self: center;
}

.knowledge .languages li img {
  padding: 0 16px 0 12px;
}

.knowledge .frameworks {
  justify-content: center;
  flex-direction: column;
  padding: 0 3rem;
  margin-top: 2rem;
  display: none;
}

.knowledge .frameworks li {
  display: flex;
  align-items: center;
  background-color: #f7f7f9;
  height: 66.72px;
  width: 100%;
  margin-bottom: 2rem;
  border-radius: 8px;
}

.knowledge .frameworks li img {
  padding: 0 1.8rem;
}

.social-media {
  width: 100%;
  display: flex;
  align-items: center;
  padding-left: 2rem;
  margin-top: 2.4rem;
  padding-bottom: 1rem;
}

.social-media svg {
  margin-right: 1.8rem;
}

.btn {
  display: inline-block;
  padding: 1rem;
  border: 1px solid #6070ff;
  border-radius: 1rem;
  color: #396df2;
  text-align: center;
  letter-spacing: 0.03em;
  font-weight: 500;
  font-size: 17px;
  line-height: 24px;
  transition: ease color 2s;
}

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

.about-me .btn .resume-btn {
  margin-left: 2rem;
  text-decoration: none;
  margin-top: 1rem;
}

.cards-container {
  background-color: #e5e5e5ee;
}

.languages-list-container {
  width: 100%;
  margin: 10px 0;
}

.contact-input {
  flex-direction: column;
}

@media screen and (min-width: 768px) {
  * {
    margin: 0;
  }

  .menu-wrapper {
    display: none;
  }

  .nav-list {
    padding: 0 50px;
    display: flex;
    align-content: space-between;
    font-family: "Poppins", sans-serif;
  }

  .nav-item {
    margin-left: 50px;
  }

  .nav-item a {
    color: #344563;
  }

  .hero {
    justify-content: flex-start;
    margin-bottom: -20px;
  }

  .hero .container {
    margin: auto 160px;
  }

  .hero .primary-text {
    font-size: 48px;
    margin-left: 30px;
    margin-top: 30px;
  }

  .hero .secondary-text {
    margin: 10px 20px 10px 30px;
    max-width: 100%;
    font-size: 20px;
  }

  .hero .headline {
    margin: 10px 30px;
  }

  .headline-img {
    margin: 20px 30px;
    justify-content: flex-start;
    max-width: 30%;
  }

  .cards-list {
    display: grid;
    grid-template-columns: 1fr;
    grid-row-gap: 4rem;
  }

  .card-item.flex-center-culomn {
    display: flex;
    flex-direction: row;
    width: 90%;
    margin: 20px auto;
    height: auto;
    max-width: 90%;
  }

  .langage-item {
    margin-left: 0;
  }

  .card-item.flex-center-culomn:nth-child(2n + 2) {
    flex-direction: row-reverse;
  }

  .img-container {
    height: 365px;
    width: 665px;
    margin: 0 20px;
  }

  .img-container img {
    width: 100%;
    height: 100%;
  }

  .list {
    justify-content: unset;
  }

  .knowledge .kn_1 {
    max-width: 480px;
    margin: 0 0 0 20px;
  }

  .knowledge .languages li {
    margin: 0 8px 0 20px;
    width: 100px !important;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: flex-start;
    border-radius: 8px;
  }

  .knowledge .languages li img {
    padding: 12px 3px;
  }

  .about-me .title {
    margin: 0;
    padding-left: 60px;
  }

  .about-me .info {
    padding: 0 0 0 4rem;
    margin-top: 1rem;
  }

  .about-me .connect {
    padding: 0 4rem;
  }

  .about-me .social-media {
    padding: 1rem 4rem;
  }

  .cl-btn {
    padding-left: 4rem;
  }

  .knowledge {
    width: 100%;
    justify-content: center;
  }

  .about-me {
    display: flex;
    align-self: center;
    justify-content: center;
  }

  .about-me .knowledges {
    width: 58%;
    margin-top: 0;
    padding-top: 5rem;
  }

  .about-me .left-container {
    width: 42%;
  }

  .knowledges .knowledge {
    margin: 0 auto;
    justify-content: flex-start;
  }

  .knowledge .languages {
    flex-direction: row;
    justify-content: flex-start;
    margin-right: 120px;
    width: unset;
  }

  .right-container {
    padding-top: 36px;
  }

  .contact {
    max-width: unset;
    text-align: center;
  }

  .container-contact {
    margin: 100px;
  }

  .second-text-contact {
    font-family: Poppins, sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 20px;
    color: #ebebff;
    text-align: center;
    align-self: flex-start;
    margin: 0 0 30px 0;
  }

  .nav-logo {
    margin: 0;
  }

  .contact-contact-container {
    justify-content: center;
    margin: 100px 20%;
    max-width: 100%;
  }

  .list-item {
    margin-left: 0;
    margin-right: 10px;
  }

  .list-item-btn {
    margin-left: 5px;
  }

  .container-form {
    width: 70%;
    margin: auto;
  }
}
