/*--------------------------------------------------------------
# Our Projects Section
--------------------------------------------------------------*/
.portfolio-container {
  height: 100vh;
  margin-top: 0;
  margin-left: 0;
  overflow: hidden;
}

.portfolio-item {
  width: 33.1%;
  padding: 0;
  margin: 0;
}

.projects {
  cursor: pointer;
  display: block;
  padding: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  transition: all 0.3s ease-in-out;
}

.projects .portfolio-content {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.projects .portfolio-txt {
  position: absolute;
  z-index: 999;
  color: #fff;
  padding: 0 10%;
}

.projects .portfolio-txt p {
  font-weight: 300;
  line-height: 2rem;
  margin-top: 25px;
}

.projects .portfolio-txt .more-btn {
  width: 100%;
  display: inline-block;
  margin-top: 80px;
}

.projects .portfolio-txt .more-btn .more-icon {
  width: 40px;
  height: 40px;
  background-color: #e0e5e9;
  border-radius: 50%;
  margin-left: 15px;
  position: relative;
  display: inline-block;
  vertical-align: middle;
}

.projects .portfolio-content .portfolio-txt .more-btn .more-icon .arrow {
  position: absolute;
  width: 32px;
  height: 40px;
  margin-left: -10px;
  background-image: url(../img/arrow_right.svg);
  transition: 0.3s;
}

.projects .portfolio-content:hover .portfolio-txt .more-btn .more-icon .arrow {
  background-image: url(../img/arrow_right.svg);
  transform: translateX(5px);
  filter: invert(38%) sepia(96%) saturate(2300%) hue-rotate(201deg)
    brightness(105%) contrast(102%);
}

.projects .portfolio-content img {
  transition: 1s;
  height: 100vh;
}

.projects .portfolio-content:hover img {
  transform: scale(1.05);
}

.projects .portfolio-content .portfolio-img {
  background: rgba(0, 0, 0, 0.4);
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 4;
}

.projects .portfolio-content .portfolio-info {
  opacity: 0;
  position: absolute;
  inset: 0;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  background: rgba(0, 0, 0, 0.5);
}

.projects .portfolio-content:hover .portfolio-info {
  opacity: 1;
}

@media screen and (max-width: 991px) {
  .portfolio-container {
    height: auto;
    width: 100%;
    inset: 0;
  }

  .portfolio-item {
    width: 50%;
    display: inline-block;
  }

  .portfolio-item:last-child {
    width: 100%;
  }

  .projects .portfolio-content img {
    height: 50vh;
  }

  .portfolio-item:last-child img {
    width: 100%;
  }

  .projects .portfolio-content h2 {
    font-size: 1.9rem;
  }

  .projects {
    font-size: 1.2rem;
  }

  .projects .portfolio-txt {
    position: absolute;
    z-index: 999;
    color: #fff;
    padding: 0 40px;
  }

  .projects .portfolio-txt p {
    line-height: 2.5rem;
    margin-top: 34px;
  }

  .projects .portfolio-txt .more-btn {
    margin-top: 100px;
  }

  .projects .portfolio-content h2 {
    font-size: 1.8rem;
  }

  .projects {
    font-size: 1.1rem;
  }

  .projects .portfolio-txt p {
    line-height: 2rem;
    margin-top: 24px;
  }

  .projects .portfolio-txt .more-btn {
    margin-top: 40px;
  }
}

@media screen and (max-width: 575px) {
  .portfolio-item {
    width: 100%;
    display: block;
  }

  .projects .portfolio-content img {
    height: 420px;
  }

  .projects .portfolio-txt {
    padding: 0 24px;
  }

  .projects .portfolio-content h2 {
    font-size: 1.5rem;
  }

  .projects {
    font-size: 1rem;
    margin: 0;
  }

  .portfolio-item:last-child img {
    width: auto;
  }

  .projects .portfolio-txt p {
    line-height: 1.7rem;
    margin-top: 34px;
  }
}

/*--------------------------------------------------------------
# other-projects Section
--------------------------------------------------------------*/
.other-projects {
  margin: 0 0 20px 0;
  list-style: none;
}

.other-projects .portfolio02-content {
  position: relative;
  overflow: hidden;
  margin: 0 20px;
  height: 500px;
}

.other-projects .portfolio02-content span {
  position: absolute;
  z-index: 99;
  margin: 10% 0 0 10%;
  font-weight: 600;
  font-size: 28px;
  color: #fff;
  text-shadow: 1px 2px 1px rgba(0, 0, 0, 0.6);
}

.other-projects .portfolio02-content img {
  transition: 0.3s;
  height: 100%;
  min-width: 100%;
}

.other-projects .portfolio02-content .portfolio02-info {
  opacity: 0;
  position: absolute;
  inset: 0;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  background: rgba(0, 0, 0, 0.6);
  padding: 15px;
}

.other-projects .portfolio02-content:hover .portfolio02-info {
  opacity: 1;
}

.other-projects .portfolio02-content .portfolio02-info p {
  position: absolute;
  bottom: 23%;
  margin: 0 10%;
  left: 0;
  right: 0;
  font-size: 18px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
}

.other-projects .portfolio02-content .portfolio02-info .more-icon {
  position: absolute;
  bottom: 10%;
  width: 40px;
  height: 40px;
  background-color: #e0e5e9;
  border-radius: 50%;
  margin-left: 5%;
  display: inline-block;
}

.other-projects .portfolio02-content .portfolio02-info .more-icon .arrow {
  position: absolute;
  width: 32px;
  height: 40px;
  margin-left: -5px;
  background-image: url(../img/arrow_right.svg);
}

.other-projects .portfolio02-content:hover img {
  transform: scale(1.1);
}

.other-projects .portfolio02-container .portfolio02-item01 {
  margin-top: 240px;
}

.other-projects .portfolio02-container .portfolio02-item02 {
  margin-top: 120px;
}

.other-projects .portfolio02-container .portfolio02-item03 {
  margin-top: 0;
}

.other-projects .portfolio02-container .portfolio02-item04 {
  margin-top: 80px;
}

.other-projects .portfolio02-container .portfolio02-item05 {
  margin-top: -40px;
}

.other-projects .portfolio02-container .portfolio02-item06 {
  margin-top: -160px;
}

@media screen and (max-width: 1199px) {
  .other-projects .portfolio02-content {
    margin: 0 10px;
    height: 430px;
  }

  .other-projects .portfolio02-content span {
    font-size: 24px;
  }
}

@media screen and (max-width: 991px) {
  .other-projects .portfolio02-container .portfolio02-item02 {
    margin-top: 40px;
  }

  .other-projects .portfolio02-container .portfolio02-item01 {
    margin-top: 120px;
  }

  .other-projects .portfolio02-container .portfolio02-item03 {
    margin-top: 40px;
  }

  .other-projects .portfolio02-container .portfolio02-item04 {
    margin-top: 40px;
  }

  .other-projects .portfolio02-container .portfolio02-item05 {
    margin-top: 40px;
  }

  .other-projects .portfolio02-container .portfolio02-item06 {
    margin-top: 40px;
  }
}

@media screen and (max-width: 575px) {
  .other-projects .portfolio02-container {
    padding: 0 12px;
    margin-top: 60px;
  }

  .other-projects .portfolio02-content {
    margin: 0;
    height: 280px;
  }

  .other-projects .portfolio02-container .portfolio02-item01,
  .other-projects .portfolio02-container .portfolio02-item02,
  .other-projects .portfolio02-container .portfolio02-item03,
  .other-projects .portfolio02-container .portfolio02-item04,
  .other-projects .portfolio02-container .portfolio02-item05,
  .other-projects .portfolio02-container .portfolio02-item06 {
    width: 50%;
    margin-top: 0;
    padding: 0;
  }

  .other-projects .portfolio02-content span {
    font-size: 1rem;
  }
}
