* {
  margin: 0%;
  padding: 0%;
}

body {
  font-family: "Inter", sans-serif;
  color: #172b4d;
}

a {
  text-decoration: none;
}

button {
  background-color: #36b37f;
  padding: 12px;
  border: none;
  outline: none;
  color: #fff;
  border-radius: 4px;
}

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

button:active {
  background-color: #008552;
}

/* Toolbar */

.toolbar {
  display: flex;
  justify-content: end;
  align-items: center;
  width: 100%;
  min-height: 44px;
}

.toolbar-menu {
  position: fixed;
  left: -100%;
  top: 0;
  display: flex;
  flex-direction: column;
  background-color: #fff;
  width: 100%;
  height: 100vh;
  text-align: start;
  transition: 0.3s;
}

.toolbar-menu.active {
  left: 0;
  padding-top: 75px;
}

.menu-item {
  list-style: none;
  margin: 15px 50px;
}

.menu-link {
  text-decoration: none;
  font-size: 32px;
  font-weight: 600;
  line-height: 44px;
  color: #3a4a42;
}

.hamburger {
  display: block;
  cursor: pointer;
  margin-right: 15px;
}

.bar {
  display: block;
  width: 20px;
  height: 3px;
  margin: 5px auto;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background-color: #000;
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.toolbar button {
  border: none;
  background: none;
}

.headline {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url("./Assets/header-illsutration-mobile.png");
  background-repeat: no-repeat;
  background-position: center;
  height: 653.32px;
  width: 100%;
}

.headline_content {
  margin-top: 70px;
}

.title h1,
.title h2 {
  font-style: normal;
  font-weight: 700;
  font-size: 38px;
  line-height: 52px;
}

.title h2 span {
  color: #36b37e;
}

.description {
  padding: 15px 20px;
}

.description p {
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 28px;
}

.socialIcons ul {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  gap: 20px;
  padding-bottom: 10px;
}

.action {
  margin-top: 90px;
}

/* PORTFOLIO/WORKS */
.works_content {
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.works_content h3 {
  font-style: normal;
  font-weight: 700;
  font-size: 40px;
  line-height: 52px;
  padding: 0 25px;
  margin-bottom: 15px;
}

.works_cards {
  display: grid;
  grid-template-columns: auto;
  grid-template-rows: repeat(6, 475px);
  padding: 3% 5%;
  gap: 15px;
}

.works_cards .card {
  display: flex;
  flex-direction: column;
  text-align: center;
  outline: 1px solid #eee;
  border-radius: 7px;
}

.card_image {
  height: 50%;
}

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

.card_content {
  height: 40%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  margin-top: 5%;
}

.card_content h3 {
  font-style: normal;
  font-weight: 600;
  font-size: 24px;
  line-height: 32px;
  color: #3a4a42;
}

.card_content ul {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.popupSkillsMobile li {
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 0.36px;
  background-color: #ebecf0;
  color: #344563;
  padding: 10px 10px;
  border-radius: 5px;
  margin-right: 1%;
}

.card_content ul li {
  background-color: #eee;
  padding: 8px 12px;
  font-size: 12px;
  color: #3a4a42;
}

.popupSection {
  position: fixed;
  top: 1%;
  bottom: 0;
  display: none;
  width: 100%;
  height: 100vh;
  overflow: auto;
}

.popup {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fff;
  justify-content: center;
  padding: 75px 0;
  border-radius: 15px;
  width: 80%;
  margin-left: 10%;
}

.popup .snapshootMobile {
  text-align: center;
  width: 95%;
}

.popup .snapshootDesktop {
  display: none;
}

.popupContent {
  width: 80%;
  margin-top: 25px;
}

.titleAndButtons h2 {
  font-size: 32px;
  font-weight: 600;
  line-height: 44px;
}

.popupSkills ul {
  list-style: none;
}

.popupSkillsDesktop {
  display: none;
}

.popupSkillsMobile {
  display: flex;
  margin: 15px 0;
}

.popupDescriptionDesktop {
  display: none;
}

.popupDescriptionMobile {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.popupDescriptionMobile p {
  margin: 15px 0;
}

.popupButtons {
  width: 80%;
  display: flex;
  justify-content: space-between;
}

.popupButtons button {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 12px 15px;
}

.popupButtons button a {
  color: #fff;
}

.X {
  position: absolute;
  right: 12.5%;
  top: 1.5%;
  cursor: pointer;
  background-color: #ebecf0;
  border-radius: 8px;
  padding: 4px 15px;
  font-size: 32px;
}

/* About */
.about {
  margin-top: 5%;
  padding-top: 20px;
}

.about_content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.illustration1 img {
  position: relative;
  bottom: 60px;
  left: 155px;
}

.illustration2 {
  position: relative;
  bottom: 100px;
}

.about_description {
  position: relative;
  top: -430px;
}

.about_description p {
  color: #42526e;
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 32px;
  margin-bottom: 80px;
  padding: 0 15px;
}

.about_boxes {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: -350px;
}

.box h3 {
  font-style: normal;
  font-weight: 600;
  font-size: 24px;
  line-height: 32px;
  color: #344563;
}

.about_content .illustration1 h3 {
  color: #172b4d;
  font-style: normal;
  font-weight: 700;
  font-size: 40px;
  line-height: 52px;
  padding-right: 25px;
  margin-bottom: -40px;
}

.box {
  width: 327px;
  height: 316px;
  background: #ebf0ee;
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  border-radius: 10px;
}

.box ul {
  list-style: none;
  display: flex;
  justify-content: space-around;
  gap: 10px;
}

.box ul li {
  background: #fff;
  padding: 8px 12px;
  font-size: 12px;
  color: #36b37e;
  border-radius: 8px;
}

/* CONTACT */
.contact {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.contact .contactHeading h3 {
  color: #172b4d;
  font-weight: 700;
  font-size: 40px;
  line-height: 52px;
  margin: 5% 2%;
}

.contactForm ul {
  list-style: none;
}

.contactForm ul li input {
  border: 1px solid #60c095;
  border-radius: 4px;
  font-style: italic;
  font-weight: 400;
  font-size: 15px;
  line-height: 24px;
  margin-bottom: 10%;
  padding: 8px 20px;
  width: 70%;
}

.contactForm ul li textarea {
  border: 1px solid #60c095;
  border-radius: 4px;
  font-weight: 400;
  font-size: 15px;
  line-height: 24px;
  color: #42526e;
  resize: none;
  padding: 10px;
  width: 70%;
}

.contactForm ul li button {
  margin: 1% 0;
}

.contactEmail {
  background-image: url(Assets/illustration-contact-form.png);
  background-repeat: no-repeat;
  background-position: 100%;
  padding: 50px 0;
  text-align: center;
  font-weight: 400;
  font-size: 20px;
  line-height: 32px;
}

.contactBackground {
  visibility: hidden;
}

span.errorMessage {
  color: red;
}

.socialIcons {
  margin: 15px 0;
}

@media screen and (min-width: 768px) {
  /* TOOLBAR */
  .toolbar {
    justify-content: center;
    position: absolute;
  }

  .toolbar-menu {
    width: 15%;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
  }

  .menu-link {
    color: #344563;
  }

  .hamburger {
    display: none;
  }

  /* HEADLINE */
  .headline {
    height: 160vh;
    background-image: url("/Assets/Header-llustration-desktop.png");
    background-size: auto;
    background-position: center;
    background-repeat: no-repeat;
  }

  .headline_content {
    margin-bottom: 325px;
  }

  .headline_content .title div {
    display: flex;
    justify-content: center;
  }

  .card_content h3 {
    font-style: normal;
    font-weight: 700;
    font-size: 30px;
    line-height: 33px;
    color: #172b4d;
  }

  .headline_content .title h1,
  .title h2 {
    font-weight: 800;
    font-size: 48px;
    line-height: 60px;
    letter-spacing: 0.37px;
  }

  .about_description p {
    margin-bottom: 15px;
  }

  .headline_content .description p {
    font-weight: 400;
    font-size: 20px;
    line-height: 32px;
    padding: 0 20.5%;
    color: #172b4d;
  }

  .action {
    margin-top: 50px;
  }

  /* POPUP */
  .popup .snapshootMobile {
    display: none;
  }

  .popup .snapshootDesktop {
    display: block;
  }

  .popup .titleAndButtons {
    padding-right: 50px;
    width: 60%;
  }

  .popup .titleAndButtons h2 {
    font-size: 32px;
    font-weight: 700;
    line-height: 44px;
  }

  .popup .popupSkillsDesktop {
    display: flex;
    gap: 10px;
    margin: 25px 0;
  }

  .card_content ul li {
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.03em;
    color: #172b4d;
  }

  .popup .popupSkillsDesktop li {
    padding: 8px 12px;
    align-items: center;
    background-color: #ebecf0;
    color: #344563;
    border-radius: 8px;
  }

  .popup .popupSkillsMobile {
    display: none;
  }

  .popupDescriptionDesktop {
    display: block;
    font-size: 16px;
    font-weight: 400;
    line-height: 30px;
  }

  .popupDescriptionMobile {
    display: none;
  }

  .popupButtons {
    position: absolute;
    top: 732px;
    right: 199px;
    width: 20%;
  }

  /* PORTFOLIO */

  .works_cards {
    display: grid;
    grid-template-columns: repeat(3, 33%);
    grid-template-rows: auto;
    padding: 3% 5%;
    gap: 15px;
  }

  .works_contenth3 {
    font-weight: 700;
    font-size: 40px;
    line-height: 52px;
  }

  .works_content img {
    display: none;
  }

  .works_cards .card {
    height: 550px;
  }

  /* ABOUT */
  .illustration1 img {
    display: none;
  }

  .illustration2 img {
    display: none;
  }

  .about_content {
    height: 45vh;
    background-image:
      url(Assets/illustration-about-me-2-desktop.png),
      url(Assets/illustration-about\ me-1-desktop.png);
    background-position: 0 150px, right -65px;
    background-repeat: no-repeat;
    background-size: auto;
    justify-content: center;
  }

  .about_description {
    top: 60px;
    padding: 0% 20.25%;
  }

  .about_boxes {
    flex-direction: row;
    justify-content: center;
    gap: 25px;
    margin-top: 75px;
  }

  .about_boxes .box {
    width: 375px;
    justify-content: normal;
  }

  .about_boxes .box div {
    margin: 25px 0 20px 0;
  }

  .about_boxes .box h3 {
    margin-bottom: 25px;
  }

  .about_boxes .box ul li {
    padding: 10px 15px;
  }

  .box img {
    width: 160px;
    margin-bottom: -50px;
  }

  .listMarginBottom {
    margin-bottom: 5px;
  }

  /* CONTACT */
  .contact {
    display: flex;
    flex-direction: row;
    text-align: start;
    margin-top: 3%;
    height: 65vh;
  }

  .contact .contactHeading {
    display: flex;
    align-items: center;
    width: 46%;
  }

  .contact .contactHeading h3 {
    color: #172b4d;
    font-weight: 700;
    font-size: 30px;
    line-height: 52px;
    text-align: start;
    padding-left: 16%;
  }

  .contactForm {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 2%;
    width: 50%;
  }

  .contactEmail {
    display: none;
  }

  .contactForm ul li input {
    width: 85%;
    margin-bottom: 3%;
  }

  .contactForm ul li textarea {
    width: 88%;
  }

  .contactForm ul li button {
    margin-top: 2%;
    padding: 15px 22px;
  }

  .contactBackground {
    visibility: visible;
    position: relative;
    top: -100px;
  }

  .contactBackground .illustration1 {
    position: absolute;
    left: 0;
    top: -50px;
  }

  .contactBackground .illustration2 {
    position: absolute;
    top: 105px;
    left: 200px;
  }

  .contactBackground .illustration3 {
    position: absolute;
    right: 0;
    z-index: -1;
    top: -213px;
  }

  .bottom_bar {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 25px;
    top: 185px;
  }
}
