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

:root {
  --mainfont: poppins, times, serif;
}

* {
  margin: 0;
  padding: 0;
  font-family: var(--mainfont);
}

.body {
  background-color: #f4f5f7;
}

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

.header {
  width: 100%;
  height: 9%;
}

.navbar {
  height: 100%;
  padding-left: 30px;
  padding-right: 30px;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
}

.my-logo {
  margin-top: 10px;
  margin-bottom: 10px;
  height: 50%;
  width: 76px;
  font-size: 18px;
  color: #6070ff;
  font-weight: 700;
  text-align: center;
  line-height: 20px;
}

.navlist {
  display: flex;
  justify-content: space-between;
}

.navlink {
  display: none;
}

.menu-icon {
  margin-top: 14px;
  margin-bottom: 14px;
  width: 18px;
  height: 12px;
  background-image: url("../images/menu-icon.png");
}

.main {
  width: 100%;
  background-image: url("../images/Header\ bg.png"), url("../images/header-background-mobile.png");
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.main-content {
  display: flex;
  flex-direction: column;
  align-items: left;
}

.primary-text-container {
  margin-top: 114px;
  text-align: left;
  width: 87.2%;
  max-width: 370px;
  border: 0;
  line-height: 52px;
  margin-left: 6.4%;
}

.primary-text {
  font-size: 40px;
  color: #172b4d;
  font-weight: 700;
  padding: 0;
}

.secondary-text {
  margin-top: 12px;
  text-align: left;
  margin-left: 6.4%;
  width: 87.2%;
  min-width: 327px;
  max-width: 840px;
  font-size: 16px;
  color: #172b4d;
  font-style: normal;
  font-weight: 400;
  border: 0;
  line-height: 24px;
}

.connect-text {
  margin-top: 12px;
  margin-left: 6.4%;
  height: 24px;
  width: fit-content;
  font-size: 16px;
  color: #7f8cff;
  font-style: normal;
  font-weight: 500;
  border: 0;
  line-height: 24px;
}

.socialmedia-icons {
  margin-top: 12px;
  margin-left: 6.4%;
  width: auto;
  max-width: 400px;
  height: 20px;
}

ul {
  list-style-type: none;
  display: flex;
  gap: 12px;
}

.twitter-icon {
  background-image: url("../images/twitter-icon.png");
  width: 20px;
  height: 20px;
}

.linkedin-icon {
  background-image: url("../images/linkedin-icon.png");
  width: 20px;
  height: 20px;
}

.m-icon {
  background-image: url("../images/m-icon.png");
  width: 20px;
  height: 20px;
}

.cat-icon {
  background-image: url("../images/cat-icon.png");
  width: 20px;
  height: 20px;
}

.fingers-icon {
  background-image: url("../images/fingers-icon.png");
  width: 20px;
  height: 20px;
}

.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(327px, 1fr));
  justify-content: space-around;
  align-items: start;
  column-gap: 10px;
  margin-left: 6.4%;
}

.project {
  margin-top: 88px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  padding: 16px;
  gap: 12px;
  width: 327px;
  background: #fff;
  border: 1px solid #dfe1e6;
  border-radius: 16px;
  justify-content: space-around;
}

#project1 {
  order: 0;
}

#project2 {
  order: 1;
}

#project3 {
  order: 2;
}

#project4 {
  order: 3;
}

#project1 .pimage {
  margin-bottom: 5px;
  width: 295px;
  height: 220px;
  background-image: url("../images/p1image.png");
}

#project2 .pimage {
  margin-bottom: 5px;
  width: 295px;
  height: 220px;
  background-image: url("../images/p2image.png");
}

#project3 .pimage {
  width: 295px;
  height: 220px;
  background-image: url("../images/p3image.png");
}

#project4 .pimage {
  width: 295px;
  height: 220px;
  background-image: url("../images/p4image.png");
}

.p-title {
  width: 220px;
  flex: none;
  order: 0;
  flex-grow: 0;
  align-items: center;
  text-align: left;
  align-self: flex-start;
}

.p-title h2 {
  font-style: normal;
  font-weight: 700;
  font-size: 32px;
  line-height: 44px;
  color: #172b4d;
}

.details-list {
  display: flex;
  width: 295px;
  height: 36px;
  align-items: center;
}

.client {
  width: 55px;
  height: 16px;
  font-style: normal;
  font-weight: 600;
  font-size: 13px;
  line-height: 16px;
  color: #344563;
}

.spacedot {
  width: 8px;
  height: 8px;
  background-image: url("../images/spacedot.png");
}

.role {
  width: 90px;
  height: 16px;
  font-style: normal;
  font-weight: 600;
  font-size: 13px;
  line-height: 16px;
  color: #7a869a;
}

.year {
  width: 29px;
  height: 16px;
  font-style: normal;
  font-weight: 600;
  font-size: 13px;
  line-height: 16px;
  color: #7a869a;
}

.p-description {
  width: 295px;
  height: 76px;
  font-style: normal;
  font-weight: 400;
  font-size: 15px;
  line-height: 24px;
  color: #344563;
}

.languages-list {
  display: flex;
  width: 295px;
  height: 24px;
  align-items: center;
}

.lang {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 4px 12px;
  width: auto;
  height: 24px;
  background: #ebebff;
  border-radius: 8px;
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.03em;
  color: #6070ff;
}

.project-access {
  box-sizing: border-box;
  margin-top: 25px;
  margin-bottom: 25px;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 12px;
  width: 132px;
  height: 48px;
  border: 1px solid #6070ff;
  border-radius: 8px;
  font-style: normal;
  font-weight: 500;
  font-size: 17px;
  line-height: 24px;
  text-align: center;
  letter-spacing: 0.03em;
  color: #396df2;
}

.project-access:hover {
  background: #6070ff;
  box-shadow: 0 8px 16px rgba(64, 83, 252, 0.24);
  color: #fff;
}

.project-access:active {
  background: #2230d2;
  color: #5e6c84;
}

.project-access:disabled {
  border: 1px solid #c1c7d0;
  color: #5e6c84;
}

.about-me {
  margin-top: 40px;
  width: 100%;
  display: flex;
  background-image: url("../images/Base\ about\ my\ self.png");
  background-size: cover;
}

.about-me-content {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding-left: 6.4%;
}

.about-intro {
  width: 40%;
  max-width: 800px;
  display: flex;
  flex-direction: column;
}

.about-intro .primary-text {
  margin-left: 0;
  padding-left: 0;
}

.about-details {
  width: 40%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.resume-access {
  margin-left: 6.4%;
  box-sizing: border-box;
  margin-top: 25px;
  margin-bottom: 25px;
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 162px;
  height: 48px;
  border: 1px solid #6070ff;
  border-radius: 8px;
  font-style: normal;
  font-weight: 500;
  font-size: 17px;
  line-height: 24px;
  text-align: center;
  letter-spacing: 0.03em;
  color: #396df2;
  justify-content: center;
}

.resume-access:hover {
  background: #6070ff;
  box-shadow: 0 8px 16px rgba(64, 83, 252, 0.24);
  color: #fff;
}

.resume-access:active {
  background: #2230d2;
  color: #5e6c84;
}

.resume-access:disabled {
  border: 1px solid #c1c7d0;
  color: #5e6c84;
}

.categories-info {
  margin-top: 30px;
  margin-bottom: 30px;
  margin-left: 6.4%;
  width: 327px;
  display: flex;
  flex-direction: column;
}

.subcategories-info {
  margin-left: 6.4%;
  width: 327px;
  display: flex;
  flex-direction: column;
}

.categorie {
  width: 327px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.categorie-name {
  width: 237px;
  height: 24px;
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
}

#cat1 .arrow-img {
  margin-right: 55px;
  width: 24px;
  height: 25px;
  background-image: url("../images/arrow1.png");
}

#cat2 .arrow-img,
#cat3 .arrow-img {
  width: 24px;
  margin-right: 55px;
  height: 25px;
  background-image: url("../images/arrow2.png");
}

.subcategorie {
  width: 303px;
  height: 66.72px;
  display: flex;
  background: #f7f7f9;
  border-radius: 8px;
  align-items: center;
  flex: none;
  margin-bottom: 10px;
}

#subcat1 .subcat-logo {
  margin-left: 12px;
  width: 48px;
  height: 48px;
  background-image: url("../images/Javascript-logo.png");
}

.subcategorie-name {
  margin-left: 16px;
  width: 215px;
  height: 24px;
  font-style: normal;
  font-weight: 400;
  font-size: 15px;
  line-height: 20px;
  display: flex;
  align-items: center;
}

#subcat2 .subcat-logo {
  margin-left: 12px;
  width: 48px;
  height: 48px;
  background-image: url("../images/HTML-logo.png");
}

#subcat3 .subcat-logo {
  margin-left: 12px;
  width: 48px;
  height: 48px;
  background-image: url("../images/CSS-logo.png");
}

.separator-line {
  width: 327px;
  height: 1px;
  background: #dfe1e6;
}

.contactme {
  width: 100%;
  display: flex;
  flex-direction: column;
  background-image: url("../images/contact\ form\ shapes-mobile.png"), url("../images/contact-me-blue-background.png");
  background-size: cover;
  text-align: center;
  justify-content: center;
  align-items: center;
}

.contactme-title {
  margin-top: 103px;
  width: 801px;
  height: 56px;
  font-style: normal;
  font-weight: 700;
  font-size: 25px;
  line-height: 52px;
  color: #fff;
}

.contactme-intro {
  margin-top: 12px;
  width: 327px;
  height: 102px;
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 28px;
  text-align: center;
  color: #ebebff;
}

.form-elements-list {
  margin-top: 80px;
  width: 100%;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.input-name {
  box-sizing: border-box;
  padding: 15px;
  width: 327px;
  height: 48px;
  background: #fff;
  border: 1px solid #cfd8dc;
  border-radius: 8px;
  font-style: normal;
  font-weight: 400;
  font-size: 17px;
  line-height: 20px;
  transition: all 0.5s ease-out;
}

.input-email {
  box-sizing: border-box;
  padding: 15px;
  width: 327px;
  height: 48px;
  background: #fff;
  border: 1px solid #cfd8dc;
  border-radius: 8px;
  font-style: normal;
  font-weight: 400;
  font-size: 17px;
  line-height: 20px;
  transition: all 0.5s ease-out;
}

.input-textarea {
  box-sizing: border-box;
  width: 327px;
  height: 170px;
  padding: 15px;
  background: #fff;
  border: 1px solid #cfd8dc;
  border-radius: 8px;
  font-style: normal;
  font-weight: 400;
  font-size: 17px;
  line-height: 20px;
  transition: all 0.5s ease-out;
}

.input-name:hover,
.input-email:hover,
.input-textarea:hover {
  background: rgba(255, 255, 255, 0.637);
}

.submit-button {
  margin-bottom: 50px;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 12px 12px;
  width: 145px;
  height: 48px;
  background: #fff;
  border-radius: 8px;
  font-style: normal;
  font-weight: 500;
  font-size: 17px;
  line-height: 24px;
  text-align: center;
  letter-spacing: 0.03em;
  color: #6070ff;
  border: none;
}

.submit-button:hover {
  background: #6070ff;
  box-shadow: 0 8px 16px rgba(64, 83, 252, 0.24);
  color: #fff;
}

.submit-button:active {
  background: #2230d2;
  color: #5e6c84;
}

@media (min-width: 1000px) {
  .menu-icon {
    display: none;
  }

  .navbar {
    padding-left: 10.77%;
    padding-right: 10.77%;
  }

  .navlink {
    display: inline;
    margin-right: 20px;
  }

  .main {
    padding-top: 100px;
    padding-bottom: 250px;
    background-image: url("../images/Header\ bg.png"), url("../images/header\ background\ shape-desktop.png");
  }

  .projects {
    grid-template-columns: 100%;
    grid-template-rows: 25% 25% 25% 25%;
    justify-items: left;
    padding-left: 5%;
  }

  .project {
    display: flex;
    flex-direction: row;
    width: 80.3%;
    height: 496px;
    flex-wrap: nowrap;
    box-sizing: border-box;
  }

  #project1 .pimage {
    width: 48.05%;
    height: auto;
    background-image: url("../images/p1imagebig.jpg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: all 0.5s ease-out;
  }

  #project2 .pimage {
    width: 48.05%;
    height: auto;
    background-image: url("../images/p1imagebig.jpg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: all 0.5s ease-out;
  }

  #project3 .pimage {
    width: 48.05%;
    height: auto;
    background-image: url("../images/p1imagebig.jpg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: all 0.5s ease-out;
  }

  #project4 .pimage {
    width: 48.05%;
    height: auto;
    background-image: url("../images/p1imagebig.jpg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: all 0.5s ease-out;
  }

  .p-title h2 {
    font-size: 40px;
    line-height: 52px;
    width: fit-content;
  }

  .projectdetails {
    width: 48.05%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 10%;
    padding-left: 15px;
    padding-top: 35px;
  }

  .details-list {
    display: flex;
    width: 100%;
    height: 40px;
    flex-wrap: nowrap;
    align-items: center;
  }

  .client,
  .year,
  .role {
    font-size: 18px;
    line-height: 24px;
    width: fit-content;
    padding: 0;
    margin: 0;
  }

  .p-description {
    font-size: 16px;
    line-height: 24px;
    width: fit-content;
    padding-right: 60px;
  }

  .about-me {
    background-image: url("../images/about\ myself\ -\ background-\ shape-\ desktop.png");
    background-size: cover;
    padding: 0%;
    height: 924px;
  }

  .about-me-content {
    display: flex;
    flex-direction: row;
    width: 80.3%;
    align-items: baseline;
    flex-wrap: nowrap;
    padding-left: 10%;
  }

  .about-intro {
    display: flex;
    flex-direction: column;
  }

  .about-intro .secondary-text {
    max-width: 447px;
    font-size: 16px;
    line-height: 24px;
  }

  .subcategories-info {
    flex-direction: row;
    justify-items: left;
    margin-left: -10px;
    gap: 12px;
  }

  .subcategorie {
    width: 122px;
    height: 120px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-around;
    flex: none;
  }

  .categorie {
    width: 640px;
  }

  .separator-line {
    width: 640px;
  }

  .contactme {
    background-image: url("../images/contact\ form\ background\ shapes.png"), url("../images/contact\ form-\ background-shape-desktop.png");
    background-size: cover;
  }

  .contactme .contactme-intro {
    width: 570px;
    margin-bottom: 0;
  }

  .form-elements-list {
    align-items: center;
    margin-top: 0;
  }

  .input-name,
  .input-email,
  .input-textarea {
    width: 447px;
  }

  #project1 .pimage:hover,
  #project2 .pimage:hover,
  #project3 .pimage:hover,
  #project4 .pimage:hover {
    width: 55%;
  }
}
