@import url('./root.css');
@import url('./feature-work.css');
.all-pages-first-section {
  height: 220px;
  background-image: url('../images/all-pages-first-section/background-img.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.portfolio-section {
  background: linear-gradient(180deg, #000417 0%, #000626 100%);
  display: flex;
  align-items: flex-end;
  /* height: 300px; */
  padding: 20px;
  position: relative;
  padding-top: 4rem;
  min-width: 100vw;
}

.portfolio-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-left: 49px;
  padding-bottom: 11px;
}

.portfolio-title p {
  width: 588px;
  text-align: left;
  color: white;
  font-weight: 300;
}

.portfolio-title h2 {
  text-align: left;
  background: var(--ea-green-to-blue);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 38px;
  font-weight: 300;
  font-style: normal;
}

.portfolio-img {
  width: 280px;
  height: 162px;
  background: white;
  border-radius: 33px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -81px;
}

.portfolio-img img {
  width: 280px;
  height: 162px;
}

.portfolio-technology {
  position: sticky;
  display: flex;
  background: rgba(0, 4, 23, 0.5);
  color: white;
  top: 65px;
  width: 30%;
  flex-direction: column;
  right: 0;
  font-weight: 200;
  padding: 18px;
  margin-top: -150px;
}

.link {
  display: flex;
}

.link a {
  color: white;
  text-decoration-thickness: 1px;
  text-decoration-color: rgb(218 219 219 / 40%);
}

.year {
  display: flex;
  margin-top: 12px;
}

.project-type {
  display: flex;
  flex-direction: column;
  margin-top: 12px;
}

.types-used1 {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: -13px;
  margin-left: -5px;
}

.types-used1 div {
  border-radius: 6px;
  border: 1px solid var(--ea-green);
  background: rgba(1, 210, 166, 0.05);
  color: var(--ea-green);
  padding-left: 5px;
  padding-right: 5px;
  margin: 5px;
  font-size: 11px;
  height: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.technologies {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin-top: 20px;
}

.tech-used-img-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-left: -9px;
  margin-top: -10px;
  width: 209px;
}

.tech-used-img-container img {
  width: 30px;
  height: 30px;
  margin: 9px;
}

.text-left-position {
  margin-left: 20px;
}

.portfolio-images {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background: #000417;
}

.portfolio-img-container {
  display: flex;
  flex-direction: column;
  width: 70%;
  padding: 20px;
}

.portfolio-img-container img {
  width: 100%;
  margin: 7px;
  border-radius: 10px;
}

.portfolio-images-para {
  color: white;
  margin-left: 7px;
  margin-bottom: 2px;
}

@media screen and (max-width: 990px) {
  .portfolio-technology {
    width: 250px;
  }

  .portfolio-title p {
    width: 65%;
  }
}

@media screen and (max-width: 680px) {
  .portfolio-technology {
    background: rgba(0, 4, 23, 0.97);
    color: white;
    top: 65px;
    width: auto;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 0px;
    padding-left: 58px;
  }

  .portfolio-images {
    flex-direction: column-reverse;
  }

  .year {
    margin-top: -10px;
    width: 100%;
  }

  .project-type {
    margin-top: -10px;
    width: 100%;
  }

  .tech-used-img-container {
    width: 100%;
  }

  .portfolio-img-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 39px;
    justify-content: center;
    align-items: center;
  }
  .technologies {
    margin-top: 10px;
  }
  .tech-used-img-container {
    margin-top: -16px;
  }
  .types-used1 {
    margin-top: -10px;
  }
  .portfolio-title p {
    width: auto;
  }
  .portfolio-section {
    padding-top: 7rem;
  }
}
.port-center {
  display: flex;
  justify-content: center;
}
.portsec-center {
  display: flex;
  justify-content: center;
}
