body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* for animation */
@keyframes fade {
  0% {
    opacity: 0;
    transform: translate(0, 3rem);
  }

  100% {
    opacity: 1;
    transform: translate(0, 0);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .in-view {
    animation: fade 0.6s 0.5s both;
  }

  .not-in-view {
    opacity: 0;
  }
}

/* css for Desktop */
.portfolio-header {
  position: relative;
  width: 100%;
  height: 52vh;
}

.portfolio-header img {
  width: 100%;
  height: 100%;
  /* object-fit: cover; */
}

.portfolio-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.portfolio-header-texts {
  position: absolute;
  bottom: 14%;
  left: 120px;
}

.portfolio-header-texts h1 {
  font-size: 3rem;
  letter-spacing: 0px;
  color: #FFFFFF;
  text-transform: unset;
  opacity: 1;
}

.portfolio-header-texts p {
  font-size: 1rem;
  color: #FFFFFF;
  text-transform: capitalize;
  opacity: 1;
}

.brand-details-portfolio {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.brand-details-portfolio-one {
  width: 50%;
  padding: 30px;
  padding-top: 70px;
}

.zero-texts {
  font-size: 1.2rem;
  color: #000000;
  font-weight: 700;
  text-align: left;
  opacity: 1;
  margin: 0;
  padding: 0;
}

.gold {
  color: #ccac84;
}

.one-texts {
  font-weight: 900;
  margin-top: 0;
  padding-top: 0;
  font-size: 2.5rem;
  color: #000000;
  text-align: left;
  opacity: 1;
}

.two-texts {
  font-size: 1rem;
  color: #414141;
  text-align: left;
  opacity: 1;
  max-width: 78%;
}

.matrix-cards {
  width: 50%;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
}

.brand-details-portfolio-two {
  display: flex;
  flex-direction: row;
  /* justify-content: center; */
  gap: 50px;
  margin-top: 20px;
}

.matrcis-icon {
  position: relative;
  margin-top: 30px;
  width: 140px;
  /* height: 130px; */
  background-color: #f2f2f2;
}

.matrcis-icon img {
  mix-blend-mode: multiply;
}

.text-matrcix {
  position: absolute;
  top: 20%;
  left: 27%;
  font-size: 1.2rem;
  color: #707070;
  opacity: 1;
}

.all-icons {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  width: 100%;
  margin-top: 80px;
}

.first-icons {
  margin-left: -5rem;
  /* margin-right: -3rem; */
}

/* .container.brand-details-portfolio {
    margin-left: 13rem;
} */
.container2s {
  margin-left: -9rem;
}

.all-icons {
  margin-left: 12rem;
}

.first-icons {
  width: 45%;
}

.first-iconss {
  width: 10%;
}

.row-portfolio {
  display: flex;
  flex-wrap: wrap;
  padding-right: 80px;
  padding-left: 80px;
}

.image1 {
  width: 33.3%;
  height: 100%;
  padding: 8px;
  /* padding-top:20px; */
  padding-top: 41px;
}

.image1 img {
  width: 80px;
  height: 50px;
  filter: grayscale(100%);
  margin-left: 22px;
}

.icons-011 {
  transition: all .2s ease-in-out;
}

.icons-011:hover {
  transform: scale(1.1);
}

.container2s {
  display: flex;
  margin-top: 40px;
}

.cols-2 {
  margin-top: 3rem;
  margin-left: 12rem;
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.controls-padding {
  margin-bottom: 70px;
}

.text-iconss {
  padding-left: 30px;
}

.line-port {
  height: 450px;
  border-left: 3px solid #f2f2f2;
  ;
}

.one-big {
  font-weight: 800;
  font-size: 2.5rem;
  color: #000000;
  text-align: left;
  width: 65%;
  margin: 0;
  /* padding-right: 20px; */
}

.one-big-2 {
  font-weight: 800;
  font-size: 2.5rem;
  color: #000000;
  text-align: left;
  width: 40%;
}

.one-big-p {
  font-weight: 600;
  font-size: 1.1rem;
  color: #000000;
  margin: 0;
}

/* css for tablet */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .zero-texts {
    font-size: 1rem;
    color: #000000;
    font-weight: 700;
    text-align: left;
    opacity: 1;
    margin: 0;
    padding: 0;
  }

  .portfolio-header-texts {
    left: 70px;
  }

  .one-texts {
    font-weight: 900;
    margin-top: 0;
    padding-top: 0;
    font-size: 1.5rem;
    color: #000000;
    text-align: left;
    opacity: 1;
  }

  .two-texts {
    font-size: 1rem;
    color: #414141;
    text-align: left;
    opacity: 1;
    max-width: 100%;
  }

  .all-icons {
    margin-left: 0rem;
  }

  .first-icons {
    margin-left: 0rem;
  }

  .line-port {
    height: 330px;
    border-left: 1px solid black;
    margin: 0 40px;
  }

  .image1 {
    width: 33.3%;
    height: 100%;
    padding: 10px;
    padding-top: 20px;
  }

  .one-big {
    font-weight: 800;
    font-size: 1.5rem;
    /* margin-left: 3rem; */
    color: #000000;
    text-align: left;
    width: 100%;
  }

  .one-big-2 {
    font-weight: 800;
    font-size: 1.5rem;
    color: #000000;
    text-align: left;
    width: 100%;
  }

  .line-port {
    height: 320px;
    border-left: 1px solid black;
  }

  /* .container2s {
        margin-left: -8rem;
        margin-top: 2rem;
      }
    .cols-2 {
        margin-left: 11rem;
      } */
}

/* css for mobile */
@media only screen and (max-width: 767px) {
  .portfolio-header-texts {
    position: absolute;
    bottom: 5%;
    left: 8%;
  }

  .portfolio-header-texts h1 {
    font-size: 2rem;
    letter-spacing: 0px;
    color: #FFFFFF;
    text-transform: unset;
    opacity: 1;
  }

  .all-icons {
    margin-left: 4rem;
  }

  .portfolio-header img {
    object-fit: cover;
  }

  .container2s {
    margin-left: -23rem;
  }

  .zero-texts {
    font-size: 1rem;
  }

  .brand-details-portfolio-one {
    width: 100%;
    padding: 0px;
    padding-top: 45px;
    padding-left: 10px
  }

  .one-texts {
    font-weight: 900;
    margin-top: 0;
    padding-top: 0;
    font-size: 2rem;
    color: #000000;
    text-align: left;
    opacity: 1;
    padding-right: 70px
  }

  .two-texts {
    font-size: 1rem;
    color: #414141;
    text-align: left;
    opacity: 1;
    max-width: 85%;
  }

  .matrix-cards {
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  .row-portfolio {
    display: flex;
    padding-right: 2px;
    padding-left: 20px;
    justify-content: center;
  }

  .image1 {
    width: 50%;
    height: 100%;
    padding: 8px;
    padding-top: 20px;
    text-align: center;
  }

  .text-iconss {
    /* padding-left: 10px; */
    text-align: center;
  }

  .one-big-p {
    font-weight: 600;
    font-size: 1.1rem;
    color: #000000;
    margin: 0 0 30px 0;
  }

  .line-port {
    height: 2px;
    text-align: center;
    width: 350px;
    border-bottom: 1px solid gray;
    margin-left: -4rem;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .first-icons {
    width: 100%;
  }

  .first-iconss {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
  }

  .one-big {
    font-weight: 800;
    font-size: 2rem;
    color: #000000;
    width: 100%;
    /* padding: 0 65px; */
  }

  .one-big-2 {
    margin-top: 30px;
    font-weight: 800;
    font-size: 2rem;
    color: #000000;
    text-align: center;
    width: 100%;
  }

  .brand-details-portfolio-two {
    width: 100%;
    /* flex-flow: column; */
    flex-wrap: wrap;
  }

  .matrcis-icon {
    width: 50%;
    max-width: 50%;
  }

  ul#customize-controls {
    padding-left: 0;
  }

  .rumming-box p {
    animation: scrollText 4s linear infinite !important;
  }
}

.icons-center {
  justify-content: center;
}

@media(min-width: 992px) {
  .portfolio-header img {
    width: 100%;
    height: 90vh;
    object-fit: cover;
    object-position: top;
  }
}

.portfolio-header-texts {
  z-index: 2;
}

.matrcis-icon h3,
.matrcis-icon h3 span,
.matrcis-icon p,
.brand-details-portfolio-one h2,
.brand-details-portfolio-one p,
.portfolio-header-texts h1,
.portfolio-header-texts p,
.first-icons h2,
.image1 img,
p.text-iconss.one-big-p,
.portfolio-header img,
.rumming-box p span {
  animation: none !important;
}

@media (min-width:768px) {
  .brand-details-portfolio-two {
    flex-wrap: wrap;
    gap: 0;
  }

  .brand-details-portfolio-two .matrcis-icon {
    width: 50%;
  }

  .matrcis-icon p {
    font-size: 16px;
    width: 80%;
    line-height: 1.2;
  }
}

@media (min-width:1500px) {
  .matrcis-icon p {
    font-size: 18px;
  }
}

@media (min-width:1700px) {
  .matrcis-icon p {
    font-size: 20px;
  }
}

@media (min-width:1700px) {
  .matrcis-icon p {
    font-size: 22px;
  }
}

@media (max-width:767px) {
  .matrcis-icon p {
    font-size: 16px;
  }
}

.first-icons {
  margin-bottom: 50px;
}

.brand-details-portfolio-one {
  padding-bottom: 0px !important;
}

.first-icons .image1 {
  padding-top: 20px;
}

.first-icons .image1 img {
  width: auto;
  height: auto;
  margin-left: auto;
  filter: none;
}

@media (max-width:767px) {
  .brand-details-portfolio-one {
    padding-bottom: 0px;
  }
}