@import url(https://fonts.googleapis.com/css?family=Inter:100,200,300,regular,500,600,700,800,900);
@import url(https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap);

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

a {
  text-decoration: none;
}

html {
  font-size: 62.5%;
}

a:visited {
  color: #6070ff;
  text-decoration: none;
}

li {
  list-style: none;
}

body {
  font-family: "Inter", sans-serif;
  font-size: 10px;
  width: 100vw;
  min-width: 375px;
  padding: 0;
  margin: 0;
  min-height: 100vh;
}

header {
  display: flex;
  width: 100vw;
  position: fixed;
  top: 0;
  min-height: 8vh;
  align-items: center;
  justify-content: space-between;
  background-color: white;
}

.menu-mobile-version.active {
  visibility: visible;
  z-index: 10;
  display: block;
}

.menu-mobile-version {
  display: none;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  position: fixed;
  visibility: hidden;
}

.list-navigator li {
  font-size: 3.2rem;
  position: fixed;
  font-family: Poppins, sans-serif;
  color: white;
}

.logo {
  color: #6070ff;
  font-size: 2rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  margin-right: 20vw;
  margin-left: 2.4rem;
  min-width: 245px;
  padding: 1rem;
}

.closing {
  cursor: pointer;
  justify-content: flex-end;
  padding-right: 2rem;
  padding-top: 2rem;
  display: flex;
}

.closing-icon {
  width: 5%;
  height: 5%;
}

.list-navigator {
  display: flex;
  flex-direction: column;
  height: 13rem;
  position: fixed;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 4.5rem;
  margin-left: 2.8rem;
}

.guide {
  position: absolute;
  bottom: 2rem;
  left: 40%;
  width: 25%;
  background-color: black;
  color: black;
  border-radius: 5px;
  border-bottom: 3px solid black;
}

.navigator {
  cursor: pointer;
  justify-content: flex-start;
  padding-right: 2rem;
}

.navigator.active ~ .menu-mobile-version {
  background-color: #6070ff;
  width: 100%;
  display: block;
  top: 0;
}

.main-section.inactive {
  position: fixed;
  pointer-events: none;
  filter: blur(5px);
}

@media screen and (min-width: 768px) {
  .navigator {
    display: none;
  }

  .menu-mobile-version {
    display: flex;
    flex-direction: row;
    color: black;
    width: 0%;
    top: 0;
    visibility: visible;
  }

  .navigator.active ~ .menu-mobile-version {
    color: white;
    background-color: white;
    display: flex;
    flex-direction: row;
  }

  .logo {
    margin-top: 1rem;
    visibility: visible;
    top: 0;
    z-index: 99;
  }

  .main-section.inactive {
    filter: blur(0);
    position: static;
  }

  header {
    justify-content: flex-start;
  }

  .list-navigator {
    font-weight: 500;
    width: 15%;
    margin-left: 70%;
    justify-content: space-between;
    display: flex;
    gap: 2rem;
    flex-direction: row;
    margin-top: 2rem;
    cursor: pointer;
  }

  .list-navigator li {
    font-style: normal;
    position: fixed;
    font-family: Poppins, sans-serif;
    color: #344563;
    font-size: 1.5rem;
    line-height: 20px;
    margin-right: 0;
  }
}

.my_portfolio {
  display: flex;
  min-height: 100vh;
  margin: 2.5rem;
  background-repeat: no-repeat;
  flex-direction: column;
  align-items: left;
  text-align: left;
  padding-top: 3.5rem;
  color: #172b4d;
  background-image: url(../images/header-mobile.svg);
  background-size: contain;
}

.my_portfolio__title {
  font-size: 40px;
  font-weight: bold;
  padding: 1rem;
  margin-top: 8rem;
}

.my_portfolio__description {
  font-size: 2rem;
  font-weight: 400;
  padding: 1rem;
  color: #344563;
}

.my_portfolio__icons {
  justify-content: flex-start;
  list-style: none;
  margin-top: 1rem;
  display: flex;
  width: 60vw;
  padding: 1rem;
}

.contact_me {
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
  padding: 1rem;
  color: #6070ff;
}

.my_portfolio__icons li {
  display: flex;
  padding-right: 4rem;
}

@media screen and (min-width: 768px) {
  .my_portfolio {
    margin-right: 2rem;
    margin-left: 2rem;
    margin-top: 7rem;
    background-image: url(../images/desktop/Header\ bg.svg);
    background-size: cover auto;
  }

  .my_portfolio__description {
    width: 90rem;
  }

  .my_portfolio_paragraph {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 15rem;
    padding-top: 10rem;
  }
}

.btn {
  font-size: 1.7rem;
  font-weight: 500;
  text-align: center;
  padding: 1.2rem;
  color: #396df2;
  border: 1px solid #396df2;
  border-radius: 8px;
  margin-top: 15px;
  transition: 0.6s;
}

.btn--green {
  background-color: #fff;
  border: 1px solid #396df2;
  border-radius: 8px;
  margin-left: 20px;
}

.btn:hover {
  box-shadow: 0 8px 16px rgba(54, 179, 127, 0.24);
}

.btn:active {
  background-color: #396df2;
  color: #fff;
}

.work {
  margin-inline: 2.4rem;
  padding-bottom: 10rem;
  display: flex;
  justify-content: center;
}

.card__container {
  display: -ms-grid;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 3rem;
  justify-content: center;
}

.card {
  width: 33rem;
  height: 50rem;
  border: 1px solid #d0d9d4;
  border-radius: 0.8rem;
}

.card__imgbox {
  height: 220px;
  width: 295px;
  margin: auto;
}

.card__img {
  width: 100%;
  height: 100%;
  padding-block: 10%;
}

.card__details {
  justify-content: space-around;
  align-items: flex-start;
  height: 50%;
  display: flex;
  flex-direction: column;
}

.card__text {
  padding-bottom: 0;
  color: #172b4d;
  text-transform: capitalize;
  font-size: 2.4rem;
  font-weight: 800;
  padding-left: 20px;
  align-items: flex-start;
}

.card__list,
.about__list {
  width: 100%;
  flex-wrap: wrap;
  overflow: hidden;
  margin-left: 15px;
  justify-content: space-evenly;
}

.card__canopy-list li::before {
  list-style: circle;
  font-weight: bold;
  display: inline-block;
  width: 1.5rem !important;
  height: 1.5rem !important;
  margin-left: 1rem;
  content: "\2022";
  color: gray;
  left: -18px;
  top: 50%;
}

.card__canopy {
  justify-content: flex-start;
  padding-left: 20px;
}

.card__canopy-list {
  display: flex;
  margin: 10px;
  padding: 0;
}

.card__canopy-header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.card__canopy-title {
  margin-right: 10px;
  font-size: 13px;
  color: #172b4d;
}

.card__canopy-list li {
  margin-right: 10px;
  font-size: 13px;
  color: gray;
  font-weight: 600;
}

.card__list > li {
  color: #6070ff;
  background: #ebebff;
  font-weight: 500;
  font-size: 12px;
  line-height: 16px;
  border-radius: 8px;
  padding: 0.6rem 1rem;
  float: left;
  margin: 5px;
}

.card__canopy-text {
  font-size: 15px;
  color: #344563;
  font-weight: 400;
  line-height: 24px;
  width: 295px;
  height: 76px;
}

.card__imgbox:hover img {
  transform: scale(1.1);
  transition: transform 0.3s ease-in-out;
}

@media screen and (min-width: 768px) {
  .card__container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .card {
    display: flex;
    border: 2px solid #d0d9d4;
    border-radius: 24px;
    margin: 2%;
    overflow: hidden;
    flex-direction: row;
    width: 100%;
    height: 100%;
  }

  .work {
    justify-content: center;
    margin-top: 220px;
    display: block;
  }

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

  .card__imgbox {
    height: 100%;
    width: 47%;
  }

  .card__details {
    height: 100%;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 1rem;
    padding-top: 5rem;
    box-sizing: border-box;
  }

  .card__text {
    font-size: 4rem;
    font-weight: 700;
    font-family: Poppins, sans-serif;
  }

  .card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding-block: 2%;
    border-radius: 8px;
  }

  .card__canopy-header {
    margin-bottom: 1.5rem;
  }

  .card__canopy-title {
    font-family: Poppins, sans-serif;
    font-size: 2rem;
    font-weight: 500;
    line-height: 24px;
    font-style: normal;
  }

  .card__canopy-text {
    font-family: Poppins, sans-serif;
    font-size: 1.6rem;
    color: #344563;
    display: inline;
  }

  .card__canopy {
    margin-bottom: 3rem;
  }

  .card__description {
    font-size: 1.2rem;
    line-height: 1.3;
    margin-block-end: 1rem;
    width: 50%;
  }

  .card__canopy-list {
    display: flex;
    margin-right: 1rem;
    padding: 0;
  }

  .card__canopy-list li {
    font-family: Poppins, sans-serif;
    font-size: 1.8rem;
    color: #6b778c;
    font-weight: 400;
  }

  .btn {
    margin-top: 5rem;
  }
}

.about {
  padding: 1.2rem;
  padding-left: 1rem;
  display: flex;
  flex-direction: column;
  align-items: left;
}

.about__title {
  font-size: 40px;
  font-weight: bold;
  margin-top: 8rem;
  margin-bottom: 0;
  color: #172b4d;
  padding: 1.1rem;
  display: inline-block;
}

.about_description {
  font-size: 2rem;
  font-weight: 400;
  color: #344563;
  margin: 1rem;
  margin-top: 0;
}

.about__btn {
  padding: 1.1rem;
  margin: 1rem 0 0;
}

.about__card__container {
  display: flex;
  flex-direction: column;
  margin-left: 10px;
  margin-top: 20px;
  grid-template-columns: repeat(1, 1fr);
  gap: 3rem;
}

.about_contact_me {
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
  padding: 1rem;
  color: #6070ff;
}

.about_my_portfolio__icons {
  display: flex;
  width: 60vw;
  justify-content: flex-start;
  list-style: none;
  margin-top: 1rem;
  padding: 1rem;
}

.about_my_portfolio__icons li {
  display: flex;
  padding-right: 4rem;
}

.drop__down {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 15px;
  margin-left: 25px;
  padding: 1rem;
}

.language_list_technologies {
  display: flex;
  border-radius: 8px;
  font-size: 15px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  color: #253858;
  align-items: center;
  flex-wrap: wrap;
  width: 303px;
  margin-bottom: 12px;
  background-color: #f7f7f9;
  border: 1px solid #f7f7f9;
  padding: 1rem;
  gap: 16px;
  height: 67px;
}

.language__list,
.skill__list,
.framework__list {
  display: flex;
  font-weight: 600;
  font-size: 20px;
  width: 327px;
  justify-content: space-between;
  height: 24px;
  line-height: 24px;
  color: #344563;
}

.skill__list {
  border-top: 1px solid #dfe1e6;
  border-bottom: 1px solid #dfe1e6;
  padding-top: 5vw;
  padding-bottom: 10vw;
  margin: 0;
}

.language__list span,
.skill__list span,
.framework__list span,
.language_technologies {
  padding-left: 10px;
}

.fas {
  margin-right: 50px;
  margin-top: 3px;
  color: #acb7c3;
}

@media screen and (min-width: 768px) {
  .about {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    padding: 9rem;
  }

  .about_basics {
    width: 50%;
  }

  .about__title {
    width: 100;
  }

  .about_contact_me {
    margin-top: 2rem;
  }

  .language__list,
  .skill__list,
  .framework__list {
    justify-content: flex-start;
    margin-bottom: 20px;
  }

  .language__list span,
  .skill__list span,
  .framework__list span {
    padding-left: 15px;
  }

  .language_technologies {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    width: 414px;
    height: 144px;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0;
  }

  .fas {
    margin-left: 400px;
    margin-top: 3px;
    color: #acb7c3;
  }

  .drop__down {
    margin-top: 30px;
    padding-top: 66px;
    width: 684px;
    text-align: right;
  }

  .about__btn {
    margin-top: 3rem;
  }

  .language_list_technologies {
    display: flex;
    justify-content: flex-start;
    background-color: #f7f7f9;
    width: 122px;
    flex-direction: column;
    align-items: flex-start;
    height: 120px;
  }

  .language__list .fas {
    margin-left: 402px;
  }

  .skill__list {
    padding: 4rem;
    padding-left: 0;
    align-items: center;
    width: auto;
  }

  .skill__list .fas {
    margin-left: 469px;
  }
}

.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-repeat: no-repeat;
  background-size: auto auto, cover;
  margin-top: 22vh;
  background-image: url('../images/Contact_Form/shapes.svg'), url('../images/Contact_Form/basic_background.svg');
  padding-top: 20vh;
  height: auto;
  background-position: right top 5vh, left top;
}

.contact__form__title {
  font-family: Poppins, sans-serif;
  font-size: 40px;
  text-align: center;
  margin-bottom: 2rem;
  color: white;
  font-style: normal;
  font-weight: 700;
  line-height: 52px;
}

.contact__form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 10vh;
  padding-bottom: 10vh;
  width: 90%;
  box-sizing: border-box;
}

.contact__form__desc {
  font-size: 20px;
  line-height: 28px;
  text-align: center;
  color: #ebebff;
  width: 327px;
  height: 137px;
  font-family: Poppins, sans-serif;
  font-style: normal;
  font-weight: 400;
}

.contact__name input,
.contact__email input,
.contact__message textarea {
  padding-right: 30%;
  box-sizing: border-box;
  margin-top: 0;
}

.contact__name,
.contact__email,
.contact__message {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 1rem;
}

.contact__name input,
.contact__email input {
  width: 100%;
  padding: 1rem;
  margin-bottom: 0.5rem;
  border-radius: 1rem;
  border: 1px solid #cfd8dc;
  height: 48px;
}

.contact__message textarea {
  width: 100%;
  height: 150px;
  padding: 1rem;
  margin-bottom: 0.5rem;
  border-radius: 1rem;
  border: 1px solid #cfd8dc;
}

.contact__btn {
  font-family: Poppins, sans-serif;
  padding: 1rem;
  color: #396df2;
  margin-top: 15px;
  transition: 0.6s;
  background-color: #fff;
  border: 1px solid #396df2;
  border-radius: 8px;
  font-size: 20px;
  font-weight: 500;
  text-align: center;
  margin-left: 0;
}

.contact__btn:active {
  background-color: #396df2;
  color: #fff;
}

.contact__btn:hover {
  box-shadow: 0 8px 16px rgba(54, 179, 127, 0.24);
  cursor: pointer;
}

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

.error-message {
  color: red;
  font-size: 1.6rem;
  width: 100%;
}

.contact__name input::placeholder,
.contact__email input::placeholder,
.contact__name input,
.contact__email input,
.contact__message textarea {
  font-style: normal;
  font-weight: 400;
  font-size: 17px;
  line-height: 20px;
  display: flex;
  align-items: center;
  font-family: Poppins, sans-serif;
  top: calc(50% - 18px / 2);
  color: #172b4d;
}

@media screen and (min-width: 768px) {
  .contact {
    background-image: url('../images/desktop/contact_shapes.svg'), url('../images/desktop/contact_background.svg');
    background-position: center top;
    background-size: 90%, cover;
    background-repeat: no-repeat;
    width: 100vw;
  }

  .contact__form {
    display: flex;
    padding-top: 2vh;
    padding-bottom: 10vh;
    width: 90%;
    box-sizing: border-box;
    flex-direction: column;
    align-items: center;
  }

  .contact__name,
  .contact__email,
  .contact__message {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    margin-bottom: 1rem;
  }

  .contact__name input,
  .contact__email input {
    width: 447px;
    height: 48px;
    margin-right: 0;
  }

  .error-message {
    color: red;
    font-size: 1.6rem;
    width: 40rem;
  }

  .contact__form__desc {
    width: 569px;
    height: 102px;
  }

  .contact__message textarea {
    width: 447px;
    height: 170px;
  }
}
