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

*,
::before,
::after {
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  background-color: #e5e5e5;
  align-content: center;
  justify-content: center;
}

.header {
  display: flex;
  justify-content: space-between;
  background-color: #fff;
}

.head {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  border-radius: 20px;
}

.nav-list {
  display: none;
}

.logo {
  padding: 10px 12px;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 18px;
  line-height: 24px;
  color: #6070ff;
}

.vector {
  padding: 10px 12px;
}

.vector img {
  width: 24px;
  height: 24px;
}

.nav-mobile {
  width: 375px;
  height: 100vh;
  background-color: #6070ff;
  position: fixed;
  top: 5px;
  display: none;
  mix-blend-mode: multiply;
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.navbar-mobile {
  display: flex;
  flex-direction: column;
  gap: 15px;
  list-style: none;
  position: absolute;
  top: 48px;
}

.menu-mobile {
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 32px;
  line-height: 44px;
  color: #fff;
}

.cross-btn {
  position: absolute;
  right: 17px;
  top: 16px;
  width: 14px;
  height: 14px;
}

.main {
  display: flex;
  background-image: url("assets/header-shapes\ mobile.png");
  height: 718px;
  width: 375px;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 114px 24px;
  flex-direction: column;
  background-color: #fff;
  border-bottom-left-radius: 70px;
}

.intro {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 52px;
  align-items: center;
  color: #172b4d;
}

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

.connect a {
  font-family: 'Poppins', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: #7f8cff;
  text-decoration: none;
}

.social {
  list-style-type: none;
  display: flex;
  margin-top: 14px;
  width: 170.17px;
  height: 20px;
}

.social_nav {
  display: flex;
  width: 100%;
  justify-content: space-between;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 88px;
  height: 100%;
}

.popUp {
  display: none;
  position: fixed;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  z-index: 2;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
}

.popUp-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 1156px;
  border-radius: 16px;
}

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

.popUp-description {
  margin-top: 60px;
  display: flex;
  flex-direction: row;
}

.popUp-desc {
  width: 70%;
  font-family: 'Poppins', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 30px;
  color: #344563;
}

.technologies {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding-left: 15px;
}

.popUp-buttons {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-top: 30px;
}

.cross-black {
  padding: 10px;
}

.image-popup {
  width: 1100px;
}

.work {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 88px;
  gap: 88px;
  height: 100%;
}

.works {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
  gap: 12px;
  width: 327px;
  height: 552px;
  background: #fff;
  border: 1px solid #dfe1e6;
  border-radius: 16px;
}

.snapshot {
  width: 295px;
  height: 220px;
  border-radius: 8px;
  flex: none;
  flex-grow: 0;
}

.snapshot img {
  width: 100%;
  height: 100%;
}

.info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 295px;
  flex: none;
}

.title {
  font-family: 'Poppins', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 32px;
  line-height: 44px;
  color: #172b4d;
  flex-grow: 0;
}

.frame {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 236px;
  height: 32px;
}

.name {
  width: 55px;
  height: 16px;
  font-family: 'Poppins', sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 13px;
  line-height: 16px;
  color: #344563;
  flex: none;
  flex-grow: 0;
}

.counter {
  width: 8px;
  height: 8px;
  background: #c1c7d0;
  flex: none;
  border-radius: 100%;
}

.text {
  font-family: 'Poppins', sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 13px;
  line-height: 16px;
  color: #7a869a;
  flex: none;
  flex-grow: 0;
}

.desc {
  width: 295px;
  height: 76px;
  font-family: 'Poppins', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 15px;
  line-height: 24px;
  color: #344563;
  flex: none;
  flex-grow: 0;
}

.tags {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  width: 203px;
  height: 24px;
  flex: none;
  flex-grow: 0;
}

.tag {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 4px 12px;
  height: 24px;
  background: #ebebff;
  border-radius: 8px;
  flex: none;
  flex-grow: 0;
  list-style-type: none;
}

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

.action {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-top: 30px;
  width: 295px;
  height: 72px;
}

.btn-action {
  padding: 12px;
  gap: 10px;
  width: 124px;
  height: 48px;
  top: calc (50% - 48px/2);
  border: 1px solid #6070ff;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 17px;
  line-height: 24px;
  color: #396df2;
  transition: all 1s;
}

.btn-action:hover {
  color: #fff;
  background-color: black;
  transform: translateY(4px);
}

.about {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  width: 375px;
  border-top-right-radius: 70px;
}

.about-elements {
  padding: 114px 20px;
}

.myself {
  width: 327px;
  height: 101px;
  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;
}

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

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

.resume {
  width: 138px;
  height: 24px;
  font-family: 'Poppins', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 17px;
  line-height: 24px;
  display: flex;
  align-items: center;
  text-align: center;
  color: #396df2;
}

.skills {
  display: flex;
  align-items: flex-start;
  margin-top: 30px;
}

.skills li {
  text-decoration: none;
  list-style-type: none;
  align-items: flex-start;
}

.first {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 40px;
}

.item {
  display: flex;
  align-items: center;
  padding-left: 5px;
  width: 303px;
  height: 67px;
  background-color: #f7f7f9;
}

.lang {
  width: 303px;
}

.techs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tech-name {
  margin-left: 10px;
  font-family: 'Poppins', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 15px;
  color: #253858;
}

.icons {
  margin-top: 20px;
  width: 303px;
}

.last {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.languages {
  font-family: 'Poppins', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
  display: flex;
  align-items: center;
  color: #000;
  text-decoration: none;
  margin-bottom: 20px;
  margin-bottom: 1px;
  width: 66px;
}

.contact-form {
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 375px;
  margin: 0;
  padding: 0;
  background: #6070ff;
  border-top-left-radius: 90px;
  background-image: url("assets/contact\ form\ shapes-mobile@2x.png");
}

.contact-me {
  font-family: 'Poppins', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 40px;
  line-height: 52px;
  color: #fff;
  margin-top: 90px;
  padding: 0;
}

.contact-desc {
  font-family: 'Poppins', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  text-align: center;
  color: #ebebff;
}

.descritption {
  width: 327px;
}

.form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#user {
  background: #fff;
  border: 1px solid #cfd8dc;
  border-radius: 8px;
  width: 327px;
  height: 47px;
  padding-left: 10px;
}

.error {
  border: 1px solid red;
}

.field {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#small {
  color: red;
}

#email {
  background: #fff;
  border: 1px solid #cfd8dc;
  border-radius: 8px;
  width: 327px;
  height: 47px;
  padding-left: 10px;
}

#message {
  background: #fff;
  border: 1px solid #cfd8dc;
  border-radius: 8px;
  width: 327px;
  height: 170px;
  padding: 10px 10px;
}

.touch {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  align-self: start;
}

.submit {
  width: 142px;
  height: 48px;
  background: #fff;
  border-radius: 8px;
  letter-spacing: 0.03em;
  color: #6070ff;
  font-family: 'Poppins', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 17px;
  line-height: 24px;
  margin-bottom: 30px;
  border: none;
}

.submit:hover {
  background: #344563;
  color: white;
}

.submit:active {
  background: #0542aa;
  color: black;
}

@media (max-width: 764px) {
  .popUp-content {
    width: 343px;
  }

  .image-popup {
    width: 311px;
    height: 220px;
  }

  .popUp-description {
    display: flex;
    flex-direction: column;
  }

  .popUp-desc {
    width: 100%;
  }

  .technologies {
    padding-left: 0;
  }

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

@media (min-width: 764px) {
  .vector {
    display: none;
  }

  .main {
    width: 98.9vw;
    background-image: url('assets/desktop\ files/header.png');
    padding: 200px 24px;
    height: 800px;
  }

  .logo {
    padding: 10px 12px;
    margin-left: 143px;
  }

  .nav-list {
    display: flex;
    justify-content: space-between;
    margin-right: 143px;
    align-items: flex-start;
  }

  .nav-list li {
    list-style-type: none;
  }

  .nav-list li a {
    padding: 10px 12px;
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 15px;
    line-height: 20px;
    color: #344563;
    text-decoration: none;
  }

  .active {
    border-bottom: 1px solid gray;
  }

  .texts {
    margin-left: 15%;
    width: 60%;
  }

  .container {
    width: 96%;
  }

  .works {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 496px;
    padding: 24px;
  }

  .snapshot {
    width: 46%;
    height: 448px;
  }

  .snapshot img {
    width: 100%;
    height: 100%;
  }

  .info {
    padding: 24px;
    width: 48%;
    height: 448px;
  }

  .desc {
    width: 100%;
  }

  .projects {
    flex-direction: row-reverse;
  }

  .about {
    display: flex;
    flex-direction: column;
    width: 98.9vw;
    justify-content: center;
  }

  .about-elements {
    display: flex;
  }

  .first-element {
    width: 35%;
    margin-left: 10%;
    margin-right: 20px;
  }

  .skills {
    width: 50%;
  }

  .content {
    width: 100%;
    height: 200px;
  }

  .technology-list {
    width: 100%;
  }

  .line {
    width: 100%;
  }

  .techs {
    display: flex;
    flex-direction: row;
    gap: 10px;
  }

  .item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 120px;
    height: 100%;
  }

  .tech-name {
    margin-left: 1px;
  }

  .contact-form {
    width: 98.9vw;
    background-image: url("assets/desktop\ files/contact form-back.png");
    background-repeat: no-repeat;
  }

  .touch {
    align-self: center;
  }

  .btn-action:hover {
    background-color: #7f8cff;
    color: #fff;
  }

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