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

body {
  font-family: "Inter", sans-serif;
}

main {
  width: 100%;
  margin: 0 auto;
}

#mobile-links,
.pop-up {
  display: none;
}

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

.introduction,
.introduction-second-part {
  text-align: center;
}

.introduction {
  color: #172b4d;
}

.introduction-second-part {
  color: #40bb82;
}

.supporting-text {
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  text-align: center;
  color: #42526e;
}

.icon-social {
  display: flex;
  justify-content: center;
  margin-top: 56px;
  list-style: none;
}

.social {
  padding-left: 10px;
  padding-right: 10px;
}

.arrow-circle {
  display: inline-block;
  text-align: center;
  margin-top: 55px;
}

.arrow {
  border: 1px solid #dfe1e6;
  border-radius: 32px;
  padding: 8px;
}

.recent-work-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #172b4d;
}

.recent-work-title h2 {
  font-style: normal;
  font-weight: 700;
  font-size: 40px;
  line-height: 52px;
}

.green-line {
  margin-top: 24px;
  width: 48px;
  height: 4px;
  background-color: #40bb82;
  text-align: center;
}

.card {
  display: flex;
  flex-direction: column;
  border: 1px solid #d0d9d4;
  border-radius: 8px;
}

.image-card-holder {
  height: 252px;
  background-color: #ebf0ee;
}

.text-work-title h3 {
  font-style: normal;
  font-weight: 600;
  font-size: 24px;
  line-height: 32px;
  text-align: center;
  margin-top: 16px;
  color: #172b4d;
}

.card-tags {
  margin-top: 16px;
}

.card-tags ul {
  display: flex;
  list-style: none;
  font-style: normal;
  font-weight: 600;
  font-size: 12px;
  line-height: 16px;
  justify-content: space-around;
}

.tag-element {
  padding: 8px 12px;
  background-color: #ebf0ee;
  border-radius: 4px;
}

.tag-element:hover {
  background-color: #368449;
}

.card form {
  text-align: center;
}

.see-project-btn {
  width: 122px;
  background-color: #366049;
  font-style: normal;
  font-weight: 500;
  font-size: 17px;
  line-height: 24px;
  padding-top: 12px;
  padding-bottom: 12px;
  margin: 29px auto 24px;
  border-radius: 4px;
  color: #ffff;
}

.see-project-btn:hover {
  box-shadow: 5px 10px 8px #888;
}

.see-project-btn:active {
  background-color: #007443;
  color: #fff;
}

.about-template {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-me {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-title {
  font-style: normal;
  font-weight: 700;
  font-size: 40px;
  line-height: 52px;
  color: #172b4d;
}

.about-me p {
  margin-top: 24px;
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 32px;
  text-align: center;
  color: #42526e;
}

.about-me button {
  background-color: #366049;
  font-style: normal;
  font-weight: 500;
  font-size: 17px;
  line-height: 24px;
  color: #ffff;
  padding: 12px;
  margin: 29px auto 24px;
  border-radius: 4px;
}

.about-me button:hover {
  box-shadow: 5px 10px 8px #888;
}

.about-me button:active {
  background-color: #007443;
  color: #fff;
}

.about-cards img {
  margin-top: 20px;
}

.about-cards h3 {
  font-style: normal;
  font-weight: 600;
  font-size: 24px;
  line-height: 32px;
  text-align: center;
  color: #344563;
  margin-top: 20px;
}

.card-about {
  padding-bottom: 72px;
  background-color: #ebf0ee;
  border: 1px solid #c1c7d0;
  border-radius: 8px;
}

.about-languages-tags {
  margin-top: 24px;
  margin-left: 20px;
  margin-right: 20px;
}

.about-languages-tags ul {
  display: flex;
  list-style: none;
  font-style: normal;
  font-weight: 600;
  font-size: 12px;
  line-height: 16px;
  justify-content: space-around;
}

.tag-element-about {
  padding: 12px;
  background-color: #fff;
  color: #36ad49;
  border-radius: 4px;
  font-style: normal;
  font-weight: 600;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.03em;
}

.tag-element-about:hover {
  background-color: #000;
}

.about-other-tags {
  margin-top: 24px;
}

.about-other-tags ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  font-style: normal;
  font-weight: 600;
  font-size: 12px;
  line-height: 16px;
  justify-content: center;
  row-gap: 8px;
  column-gap: 8px;
}

.input-form {
  list-style: none;
}

.input-form input {
  width: 100%;
  border: 1px solid #d0d9d4;
  border-radius: 4px;
  margin-top: 24px;
  padding: 15px 16px;
}

.input-form textarea {
  width: 100%;
  font-style: normal;
  font-weight: 400;
  font-size: 15px;
  line-height: 24px;
  margin-top: 24px;
  padding: 10px;
  border: 1px solid #60c095;
  box-sizing: border-box;
  border-radius: 4px;
}

.contact-btn {
  background-color: #366049;
  font-style: normal;
  font-weight: 500;
  font-size: 17px;
  line-height: 24px;
  color: #ffff;
  padding: 12px;
  border-radius: 4px;
}

.contact-btn:hover {
  box-shadow: 5px 10px 8px #888;
}

.contact-btn:active {
  background-color: #007443;
  color: #fff;
}

.pop-up {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  background-color: #c1c7d0;
  padding: 20px 0;
  line-height: 30px;
}

.project-container {
  width: 90%;
  height: 96%;
  position: absolute;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  background-color: #fff;
  overflow: auto;
}

.project-container-desktop {
  width: 90%;
  height: 96%;
  position: absolute;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  background-color: #fff;
  overflow: auto;
}

.image-project-holder {
  text-align: center;
  margin-top: 16px;
}

.project-container h3 {
  color: #172b4d;
  font-weight: 600;
  font-size: 32px;
  line-height: 44px;
  margin-left: 15px;
}

.project-tags ul {
  display: flex;
  list-style: none;
  font-style: normal;
  font-weight: 600;
  font-size: 12px;
  line-height: 16px;
  margin-top: 12px;
  margin-bottom: 15px;
}

.project-tags li {
  margin-left: 15px;
}

.project-container p {
  width: 90%;
  margin: 0 auto;
}

.project-buttons-container {
  display: flex;
  justify-content: space-around;
}

.project-btn {
  display: flex;
  justify-content: space-around;
  width: 150px;
  background-color: #366049;
  font-style: normal;
  font-weight: 500;
  font-size: 17px;
  line-height: 24px;
  padding-top: 15px;
  padding-bottom: 15px;
  margin: 29px auto 24px;
  border-radius: 4px;
  color: #ffff;
}

.project-btn:hover {
  box-shadow: 5px 10px 8px #888;
}

.project-btn:active {
  background-color: #007443;
  color: #fff;
}

.liveIcon {
  margin-top: 02px;
}

#label-email {
  color: white;
  background-color: #ff6163;
  padding: 5px;
  display: none;
}

@media only screen and (max-width: 767px) {
  .desktop-header {
    display: none;
  }

  .mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
  }

  .mobile-header a {
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: 28px;
    color: #28352f;
    margin-left: 24px;
    text-decoration: none;
  }

  .nav-bar-mobile div {
    height: 2px;
    background-color: #050505;
    margin: 5px;
    border-radius: 25px;
  }

  .nav-bar-mobile {
    width: 30px;
    margin-right: 36px;
  }

  .open .line-two {
    background: transparent;
    transform: translateX(-50px);
  }

  .open {
    position: fixed;
    top: 40px;
    right: 0;
    z-index: 2;
  }

  .open .line-one {
    transform: rotate(45deg) translateY(10px);
    background-color: #67798e;
    width: 20px;
  }

  .open .line-three {
    transform: rotate(-45deg) translateY(-10px);
    background-color: #67798e;
    width: 20px;
  }

  #mobile-links {
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    background-color: #ffff;
    padding: 20px 0;
    line-height: 30px;
  }

  #mobile-links ul {
    padding-top: 50px;
  }

  #mobile-links li {
    margin-left: 25px;
    list-style: none;
  }

  #mobile-links a {
    text-decoration: none;
    color: #3a4a42;
    font-weight: 600;
    font-size: 32px;
    line-height: 44px;
  }

  .list-margin {
    margin-top: 40px;
  }

  .presentation {
    background-image: url("images/header-illsutration-mobile@2x.png");
    background-repeat: no-repeat;
    background-size: cover;
  }

  .introduction,
  .introduction-second-part {
    font-style: normal;
    font-weight: 700;
    font-size: 40px;
    line-height: 52px;
  }

  .introduction {
    padding-top: 110px;
  }

  .supporting-text {
    line-height: 28px;
    margin: 54px 24px 0;
  }

  .recent-projects {
    margin-top: 22px;
    display: grid;
    grid-template-columns: 327px;
    grid-template-rows: repeat(7, auto);
    justify-content: center;
  }

  .card-work-row {
    margin-top: 62px;
    display: flex;
    flex-direction: column;
  }

  .card2,
  .card3,
  .card4,
  .card5,
  .card6,
  .card-below {
    margin-top: 24px;
  }

  .about-me {
    background-image:
      url("images/about-me-up.png"),
      url("images/about-me-bot.png");
    background-repeat: no-repeat;
    background-size: auto, auto;
    background-position-x: right, left;
    background-position-y: top, bottom;
    padding-top: 68px;
  }

  .about-cards {
    display: grid;
    grid-template-columns: 327px;
    grid-template-rows: repeat(3, auto);
    justify-content: center;
    margin-top: 65px;
  }

  .card-about-two,
  .card-about-three {
    margin-top: 25px;
  }

  .form-contact {
    background-image: url("images/form-frame.png");
    background-repeat: no-repeat;
    background-size: auto;
    background-position-x: right;
    background-position-y: bottom;
  }

  .text-contact {
    font-style: normal;
    font-weight: 700;
    font-size: 40px;
    line-height: 52px;
    text-align: center;
    margin: 60px 24px 30px;
  }

  .form-contact form {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-page div {
    height: 5px;
    background-color: #050505;
    margin: 0 auto;
    border-radius: 25px;
    width: 100px;
    margin-bottom: 10px;
  }

  .footer-page p {
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 32px;
    text-align: center;
    margin-top: 19px;
    padding-bottom: 100px;
  }

  .contact-btn {
    margin: 24px 94px;
  }

  #footer-icons {
    margin-top: 30px;
  }

  .close-btn {
    position: absolute;
    top: 25px;
    right: 25px;
  }

  .image-project-holder img {
    width: 90%;
  }

  .project-container-desktop {
    display: none;
  }
}

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

  .nav-bar-desktop ul {
    position: absolute;
    width: 100%;
    display: flex;
    list-style: none;
    justify-content: center;
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 32px;
  }

  .nav-bar-desktop ul li {
    padding: 26px 20px;
  }

  .nav-bar-desktop ul a {
    text-decoration: none;
    color: #172b4d;
  }

  .introduction {
    margin-top: 145px;
    font-weight: 800;
    font-size: 45px;
    line-height: 60px;
    letter-spacing: 0.37px;
    padding-top: 80px;
    opacity: 0;
    animation: fadeIn linear 3s;
    animation-fill-mode: forwards;
  }

  .introduction-second-part {
    font-weight: 800;
    font-size: 45px;
    line-height: 60px;
    letter-spacing: 0.37px;
    animation: fadeIn linear 2s;
    opacity: 0;
    animation-delay: 1.5s;
    animation-fill-mode: forwards;
  }

  .supporting-text {
    width: 770px;
    margin: 24px auto 34px;
    line-height: 32px;
    animation: fadeIn linear 2s;
    opacity: 0;
    animation-delay: 3s;
    animation-fill-mode: forwards;
  }

  @keyframes fadeIn {
    0% {
      opacity: 0;
    }

    100% {
      opacity: 100;
    }
  }

  .presentation {
    background-image: url("images/Header-llustration-desktop.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 1000px;
  }

  .recent-projects {
    display: flex;
    flex-direction: column;
    padding-top: 100px;
  }

  .recent-work-title h2 br,
  .green-line {
    display: none;
  }

  .card-work-row {
    width: 80%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-template-rows: auto;
    gap: 32px 24px;
    margin: 52px auto 5px;
  }

  .about-me {
    background-image:
      url("images/about-me-desktop-left.png"),
      url("images/about-me-desktop-rigth.png");
    background-repeat: no-repeat;
    background-size: auto, auto;
    background-position-x: left, right;
    background-position-y: bottom, top;
    padding-top: 90px;
  }

  .about-me p {
    width: 60%;
  }

  .about-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-template-rows: auto;
    margin-top: 65px;
    column-gap: 25px;
    row-gap: 20px;
    width: 80%;
  }

  .form-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: auto;
    padding-bottom: 150px;
    background-image:
      url("images/frame-left-contact-desktop.png"),
      url("images/frame-midle-contact.png"),
      url("images/frame-rigth-contact.png");
    background-repeat: no-repeat;
    background-size: auto;
    background-position-x: left, 300px, right;
    background-position-y: bottom, 500px, bottom;
  }

  .text-contact {
    width: 35%;
    font-style: normal;
    font-weight: 700;
    font-size: 30px;
    line-height: 50px;
    text-align: center;
    margin-top: 180px;
    margin-right: 24px;
  }

  .form-contact form {
    margin-top: 100px;
    width: 43%;
  }

  .contact-btn {
    margin-top: 24px;
  }

  .footer-page p,
  .footer-page div {
    display: none;
  }

  .footer-page #footer-icons {
    padding-top: 25px;
    padding-bottom: 25px;
    border-top: solid #dfe1e6;
  }

  .btn:hover {
    animation: rotateBtn 2s;
    animation-iteration-count: infinite;
  }

  @keyframes rotateBtn {
    0% {
      transform: rotate(25deg);
    }

    50% {
      transform: rotate(-25deg);
    }

    100% {
      transform: rotate(25deg);
    }
  }

  .close-button-cont {
    text-align: right;
    margin: 24px;
  }

  .project-container-desktop {
    width: 70%;
  }

  .title-btns {
    display: flex;
    width: 95%;
    margin: 24px auto;
  }

  .title-btns h3 {
    color: #172b4d;
    font-weight: 600;
    font-size: 32px;
    line-height: 44px;
    margin-left: 15px;
  }

  .project-buttons-container {
    margin-top: -25px;
  }

  .project-btn {
    width: 115px;
    font-weight: 600;
    font-size: 15px;
    line-height: 20px;
    height: 50px;
    padding: 10px 5px;
  }

  .source-btn {
    width: 140px;
    margin-left: 10px;
  }

  .project-tags {
    margin-left: 20px;
  }

  .project-container-desktop p {
    padding-bottom: 45px;
    width: 90%;
    margin: 0 auto;
  }

  .pop-up {
    background-color: rgb(193 199 208 / 80%);
    backdrop-filter: blur(20px);
  }

  .project-container {
    display: none;
  }
}
