html,
body {
  overflow-x: hidden;
  font-family: "Poppins", sans-serif;
}

.header {
  background-image: url('images/background1.png');
  background-repeat: no-repeat;
  background-position: 100%;
  padding: 76px 0 0 24px;
  height: 545px;
  width: 349px;
}

.navbar {
  width: 315px;
  padding: 45px 36px 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  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;
  flex: none;
  order: 0;
  flex-grow: 0;
}

a:link {
  text-decoration: none;
}

.icon {
  position: relative;
  display: block;
  width: 17.5px;
  cursor: pointer;
  appearance: none;
  outline: none;
  border: none;
  background: none;
  z-index: 99;
}

.icon .bar,
.icon::after,
.icon::before {
  content: '';
  display: block;
  width: 35px;
  height: 5px;
  background-color: #6070ff;
  margin: 6px 0;
  transition: 0.4s;
}

.icon.is-active::before {
  transform: rotate(45deg) translate(0, 15px);
  background-color: white;
  position: relative;
}

.icon.is-active::after {
  transform: rotate(-45deg) translate(0, -15px);
  background-color: white;
  position: relative;
}

.icon.is-active .bar {
  opacity: 0;
}

#menuAll {
  position: fixed;
  top: 0;
  left: 100%;
  width: 100%;
  min-height: 100vh;
  display: block;
  z-index: 98;
  padding-top: 40px;
  transition: 0.4s;
  color: white;
  font-family: 'Poppins', sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 32px;
  line-height: 44px;
}

#menuAll.is-active {
  left: 0;
  color: white;
  background: #6070ff;
  backdrop-filter: blur(10px);
  mix-blend-mode: multiply;
}

#menuAll ul li {
  color: white;
  display: block;
  width: 100%;
  max-width: 200px;
  text-align: start;
  padding: 12px 16px;
}

#menuAll ul li a {
  color: white;
}

.menu {
  display: none;
}

.intro {
  width: 300px;
  height: 150px;
  font-family: 'Poppins', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 40px;
  line-height: 52px;
  color: #172b4d;
  flex-grow: 0;
  margin-bottom: 0;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
}

.presentation {
  display: flex;
  width: 327px;
  height: 146px;
  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;
}

.connect {
  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;
}

.social {
  margin: 0;
  display: flex;
  flex-direction: column;
  width: 140px;
  height: auto;
  flex: none;
  order: 2;
  flex-grow: 0;
}

.social_links {
  margin-top: -10px;
  display: flex;
  list-style: none;
  padding-left: 0;
  align-items: flex-start;
  gap: 16px;
}

.works {
  margin-top: 150px;
  display: grid;
}

.project,
.project_multipost {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 16px;
  gap: 12px;
  width: auto;
  height: auto;
  background: #fff;
  border: 1px solid #dfe1e6;
  border-radius: 16px;
  flex: none;
  order: 0;
  flex-grow: 0;
  margin: 0 24px 88px 24px;
}

.desktop_text {
  display: flex;
  height: 275px;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 10px;
}

.desktop_text_multipost {
  display: flex;
  height: 310px;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 10px;
}

.project_image {
  width: 295px;
  height: 220px;
  border-radius: 8px;
  flex: none;
  margin-bottom: 0;
}

.project_title,
.project_title_3,
.project_title_both {
  margin: 0;
  width: 100px;
  height: 36px;
  font-family: "Poppins", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 32px;
  line-height: 44px;
  color: #172b4d;
}

.counter {
  width: 8px;
  height: 8px;
}

.project_details,
.project_details_desktop,
.project_details_both {
  display: flex;
  width: 250px;
  height: 28px;
  justify-content: space-between;
  align-items: center;
  font-family: 'Poppins', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 9px;
  line-height: 16px;
  color: #344563;
}

.grey_words {
  color: #7a869a;
}

.project_description,
.project_description_3,
.project_description_both {
  margin: 0;
  width: 295px;
  height: 76px;
  font-family: 'Poppins', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 15px;
  line-height: 24px;
  color: #344563;
}

.project_lang {
  display: flex;
  padding: 0;
  margin: 0;
}

.lang_type {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  padding: 4px 12px;
  width: auto;
  height: 24px;
  flex: none;
  order: 2;
  margin: 0 4px 0 0;
  background: #ebebff;
  border-radius: 8px;
  border-style: none;
  color: #6070ff;
  font-family: 'Poppins', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.03em;
}

ul {
  list-style-type: none;
}

.multipost {
  display: flex;
  height: 88px;
  margin: 0 0 -12px;
  width: 200px;
  font-family: "Poppins", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 32px;
  line-height: 44px;
  color: #172b4d;
}

.project_image_desktop,
.project_details_desktop,
.project_description_desktop,
.project_title_desktop,
.organization_desktop {
  display: none;
}

.main {
  width: 100vw;
  height: 100vh;
  background-color: green;
  position: fixed;
  top: 0;
}

.about {
  margin-top: 28px;
  padding: 55px 24px 24px 24px;
  width: 325px;
  margin-bottom: 60px;
}

.intro_about {
  width: 250px;
  height: 150px;
  font-family: 'Poppins', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 40px;
  line-height: 52px;
  display: flex;
  align-items: center;
  color: #172b4d;
  flex: none;
  order: 0;
  flex-grow: 0;
}

.knowledge {
  font-family: 'Poppins', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #000;
  margin: 30px 0 7px 0;
}

.first_knowledge {
  margin-bottom: 30px;
}

.arrow_down {
  transform: rotate(90deg);
}

.languages {
  font-family: 'Poppins', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 15px;
  line-height: 20px;
  display: flex;
  align-items: center;
}

.lang_img {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 10px;
  width: 303px;
  height: 66.72px;
}

.myself {
  margin-top: -50px;
  width: 327px;
  height: 144px;
  font-family: 'Poppins', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 15.5px;
  line-height: 24px;
  color: #344563;
}

.skills {
  margin-left: -20px;
  display: flex;
  flex-direction: column;
}

.desktop_list {
  display: none;
}

.resume_button {
  margin: 10px 0 10px 0;
  width: 180px;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px;
  color: #396df2;
  background: #fff;
  border: 1px solid #396df2;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 17px;
  line-height: 24px;
  text-align: center;
  letter-spacing: 0.03em;
  transition: all 0.5s;
}

.resume_button:hover {
  color: white;
  background-color: #6070ff;
  box-shadow: 0 8px 16px rgba(64, 83, 252, 0.24);
  border-radius: 8px;
  cursor: pointer;
}

.resume_button:active {
  color: white;
  background: #2230d2;
  border-radius: 8px;
}

.resume_button:disabled {
  color: #5e6c84;
  border-color: #5e6c84;
}

.white_button {
  width: 150px;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px;
  background: #fff;
  border: 1px solid #396df2;
  border-radius: 8px;
  flex: none;
  order: 0;
  flex-grow: 0;
  font-family: 'Poppins', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 17px;
  line-height: 24px;
  color: #396df2;
  text-align: center;
  letter-spacing: 0.03em;
  grid-row-start: 6;
  grid-column: 1/2;
  transition: all 0.4s;
}

.white_button:hover {
  color: white;
  background: #6070ff;
  box-shadow: 0 8px 16px rgba(64, 83, 252, 0.24);
  border-radius: 8px;
}

.white_button:active {
  color: white;
  background: #2230d2;
  border-radius: 8px;
}

.white_button:disabled {
  color: #5e6c84;
  border-color: #5e6c84;
}

.contact_form {
  background: url('images/background_contact.png'), #6070ff;
  background-size: 60%;
  background-repeat: no-repeat;
  background-position: 150px;
  display: flex;
  flex-direction: column;
  align-content: center;
  width: 375px;
  height: 779px;
  left: 0;
  top: 5410px;
  border: 1px solid #dfe1e6;
  border-top-left-radius: 80px;
}

.contact_me {
  font-family: 'Poppins', sans-serif;
  color: #fff;
  font-style: normal;
  font-weight: 700;
  font-size: 40px;
  line-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 103px;
}

.contact_details {
  margin: -20px 24px 50px 24px;
  font-family: 'Poppins', sans-serif;
  color: #fff;
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 28px;
  text-align: center;
}

.list_items {
  padding: 0;
  margin: 0;
}

.name,
.email {
  background: #fff;
  border: 1px solid #cfd8dc;
  border-radius: 8px;
  width: 273px;
  height: 18px;
  padding: 15px 38px 15px 16px;
  margin: 0 24px 15px 24px;
  font-family: 'Poppins', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 17px;
  line-height: 20px;
}

.message {
  background: #fff;
  border: 1px solid #cfd8dc;
  border-radius: 8px;
  width: 273px;
  height: 140px;
  margin: 0 24px 15px 24px;
  padding: 15px 38px 15px 16px;
  font-family: 'Poppins', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 15px;
  line-height: 24px;
  color: #b3bac5;
}

.get_in_touch {
  margin-left: 24px;
  width: 150px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: #fff;
  border: 1px solid #396df2;
  border-radius: 8px;
  flex: none;
  order: 0;
  flex-grow: 0;
  font-family: 'Poppins', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 17px;
  line-height: 24px;
  color: #396df2;
  text-align: center;
  letter-spacing: 0.03em;
  transition: all 0.5s;
  cursor: pointer;
}

.get_in_touch:hover {
  color: white;
  background: #6070ff;
  box-shadow: 0 8px 16px rgba(64, 83, 252, 0.24);
  border-radius: 8px;
}

.get_in_touch:active {
  color: white;
  background: #2230d2;
  border-radius: 8px;
}

.get_in_touch:disabled {
  color: #5e6c84;
  border-color: #5e6c84;
}

/* Buttons Desktop: 768px or wider */
@media only screen and (min-width: 768px) {
  .contact_form {
    width: 1440px;
    height: 846px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: url(images/contact\ desktop.png), #6070ff;
    background-size: 90%;
    background-repeat: no-repeat;
    background-position-x: center;
    background-position-y: center;
    padding: 0;
  }

  .contact_me {
    margin: 0 0 40px 0;
    padding: 0;
  }

  .contact_details {
    width: 569px;
    height: 102px;
    margin-bottom: 0;
  }

  .name,
  .email,
  .message {
    margin-top: 15px;
    width: 447px;
  }

  /* Header Desktop: 768px or wider */

  .navbar {
    width: 1440px;
    height: 72px;
    padding: 0;
  }

  .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 155px;
    width: 76px;
    height: 20px;
  }

  .icon {
    display: none;
  }

  .menu {
    display: flex;
    margin-right: 120px;
    width: 250px;
    justify-content: space-between;
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 15px;
    line-height: 20px;
    align-items: center;
    text-align: center;
    color: #344563;
  }

  .header {
    width: 1180px;
    height: 750px;
    padding: 25px 20px 20px 260px;
    background: none;
    background-image: url(images/background_desktop.png);
    background-repeat: no-repeat;
    background-size: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .intro {
    width: auto;
    height: 122px;
    display: flex;
    padding: 0;
    font-weight: 700;
    font-size: 48px;
    line-height: 60px;
    align-items: center;
    letter-spacing: 0.37px;
  }

  .presentation {
    width: 920px;
    height: 98px;
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
  }

  .connect {
    margin: 20px 0 0 260px;
    width: 200px;
    height: 24px;
  }

  .social_links {
    margin: 3px 0 0 260px;
    padding: 0;
    width: 140px;
    height: auto;
  }

  /* Works Desktop: 768px or wider -> Pending templates 2, 3 and 4 */

  .works {
    margin-top: 140px;
    display: grid;
  }

  .project,
  .project_multipost {
    display: flex;
    flex-direction: row;
    background: #fff;
    border: 1px solid #dfe1e6;
    border-radius: 24px;
    margin: 0 142px 142px 142px;
    width: 1156px;
    height: 496px;
    padding: 10px;
  }

  .project_multipost {
    flex-direction: row-reverse;
    height: 476px;
    padding: 10px;
  }

  .desktop_text,
  .desktop_text_multipost {
    display: flex;
    margin: 15px 0 0 25px;
    width: 50%;
    height: 70%;
    padding: 10px;
  }

  .project_image,
  .organization_3,
  .project_description_3,
  .project_details,
  .project_description,
  .project_title {
    display: none;
  }

  .project_title,
  .project_title_3,
  .project_title_both {
    font-weight: 700;
    font-size: 40px;
    line-height: 52px;
    width: 150px;
    height: 46px;
    margin: 0;
  }

  .project_title_desktop {
    display: flex;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 52px;
    width: auto;
    height: 46px;
    margin: 0;
  }

  .project_description,
  .project_description_desktop {
    height: auto;
    width: 90%;
  }

  .project > p,
  .project_description_desktop {
    display: flex;
    width: 470px;
    height: 50px;
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 24px;
    color: #344563;
    margin: 0;
  }

  .project_lang {
    margin: 0;
  }

  .desktop_text_multipost {
    width: 50%;
    height: 68%;
    margin: 35px 0 0 0;
  }

  .project_image_desktop {
    display: flex;
    width: 544px;
    height: 448px;
    margin: 10px 0 10px 0;
  }

  .multipost {
    width: auto;
    height: auto;
    font-weight: 700;
    font-size: 40px;
    line-height: 52px;
    color: #091e42;
  }

  .project_details_desktop,
  .project_details_both {
    display: flex;
    width: 350px;
    margin: 0;
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
  }

  .organization_desktop {
    display: flex;
  }

  /* About Desktop: 768px or wider */

  .about {
    display: flex;
    width: 1440px;
    height: 668px;
    padding: 0;
    margin-bottom: 0;
  }

  .intro_about {
    width: 150px;
    height: 114px;
    margin: 0 0 10px;
  }

  .myself {
    width: 440px;
    height: 102px;
    margin: 0;
  }

  .left_desktop {
    display: flex;
    flex-direction: column;
    width: 31%;
    padding: 0;
    margin: 130px 0 142px 142px;
    height: 60%;
    justify-content: space-between;
  }

  .skills {
    width: 42%;
    margin: 140px 0 0 15px;
    padding: 0;
  }

  .lang_img {
    display: none;
  }

  .desktop_list {
    display: flex;
  }

  .social_links,
  .connect {
    margin-left: 0;
  }

  /* popups desktop */

  .portStyle {
    align-items: center;
    min-width: 0;
    max-width: 60%;
  }

  .imageContainer {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  /* 0 full content desktop */
  .fullcontentDesktop {
    display: flex;
    flex-direction: row;
    justify-content: center;
  }

  /* text */
  .contentStyle {
    color: #000;
    font-size: 12px;
    display: flex;
    align-self: center;
    width: 30vw;
    height: auto;
    min-width: 0;
  }

  /* 2 main right */
  .contentRight {
    display: flex;
    flex-direction: column;
    align-content: flex-start;
    justify-content: space-around;
    width: 25vw;
    height: 20vh;
    margin-left: 2vw;
  }

  /* html, css and js */
  .buildStyle {
    display: flex;
    margin-bottom: 20px;
  }

  /* 4 buttons */
  .buttonWrapperStyle {
    width: 10px;
    display: flex;
  }

  /* // The two buttons style */
  .twoButtonsStyle {
    display: flex;
    border: 1px solid #6070ff;
    border-radius: 8px;
    color: #6070ff;
    padding: 8px 12px;
    width: auto;
    height: auto;
  }
}

.imageContainer {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.portStyle {
  width: 100%;
}

.fullcontentDesktop {
  display: flex;
  flex-direction: row;
}

.contentRight {
  display: flex;
  flex-direction: column;
}

/* html, css and js */
.buttonWrapperStyle,
.buildStyle {
  display: flex;
  flex-direction: row;
  width: 100%;
  margin-bottom: 10px;
}

/* // The two buttons style */
.twoButtonsStyle {
  border: 1px solid #6070ff;
  border-radius: 8px;
  color: #6070ff;
  font-weight: 500;
  padding: 20px;
  user-select: none;
  justify-content: space-between;
  width: fit-content;
}
