.work-title {
  max-width: 1920px;
  margin-left: auto;
  margin-right: auto;
}

.our-work {
  padding-left: 45px;
  padding-right: 45px;
  max-width: 1920px;
  margin-left: auto;
  margin-right: auto;
}

.our-work__wrap {
  display: grid;
  flex: none;
  gap: 110px;
  grid-auto-rows: minmax(0, 1fr);
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  height: min-content;
  justify-content: center;
  overflow: visible;
  position: relative;
  width: 100%;
}

.our-work__box {
  position: relative;
  align-content: center;
  align-items: center;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 15px;
  height: min-content;
  justify-content: center;
  overflow: visible;
  padding: 0;
  position: relative;
  text-decoration: none;
  width: 100%;
}

.our-work__box--cta img {
  opacity: 0.5;
  border: 1px solid #808080;
}

.our-work__box--cta .our-work__info {
  opacity: 0.5;
  transition: opacity 0.3s ease-out;
}

.our-work__img,
.our-work__img img {
  width: 100%;
}

.our-work__box:hover .our-work__img img {
  transform: scale(0.95);
}

.our-work__box--cta:hover img {
  opacity: 1;
}

.our-work__box--cta:hover .our-work__info {
  opacity: 1;
  transition: opacity 0.4s ease-out;
}

.our-work__img img {
  display: block;
  border-radius: var(--border-box-large-xl);
  transition: transform 0.4s ease-out;
}

.our-work__info {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.our-work__info .m-heading-5 {
  font-size: 18px;
}

.our-work__info p {
  font-size: 11px;
}

.work-icon {
  position: absolute;
  top: -17px;
  right: -17px;
  width: 51px;
  height: 51px;
  border-radius: 50%;
  background-color: #fe3f32;
  color: #f3f3f3;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #f3f3f3;
  padding: 0px;
  z-index: 2;
  font-size: 20px;
}

.page-template-tmplt-work .work-title__text-headings {
  margin-bottom: 0;
}

@media only screen and (max-width: 1440px) {
  .work-icon {
    top: -15px;
    right: -15px;
    width: 45px;
    height: 45px;
    font-size: 18px;
    border-width: 2px;
  }
}

@media only screen and (max-width: 1280px) {
  .page-template-tmplt-work .work-title {
    padding: 110px 45px 70px;
  }
}

@media only screen and (max-width: 1199px) {
  .our-work__wrap {
    gap: 80px;
    grid-template-columns: repeat(3, minmax(140px, 1fr));
  }

  .our-work__info .m-heading-5 {
    font-size: 16px;
  }

  .our-work__info p {
    font-size: 10px;
  }
}

@media only screen and (max-width: 991px) {
  .our-work {
    padding-left: 20px;
    padding-right: 20px;
  }

  .our-work__wrap {
    flex: 1 0 0px;
    gap: 30px;
    grid-auto-rows: min-content;
    grid-template-columns: repeat(3, minmax(40px, 1fr));
    grid-template-rows: repeat(5, min-content);
  }

  .work-icon {
    top: -13px;
    right: -13px;
    width: 39px;
    height: 39px;
    font-size: 16px;
  }

  .our-work__info .m-heading-5 {
    font-size: 14px;
  }

  .our-work__info p {
    font-size: 8px;
    display: none;
  }
  .page-template-tmplt-work .work-title {
    padding: 110px 20px 70px;
  }
}

@media only screen and (max-width: 900px) {
  .page-template-tmplt-work .work-title {
    padding: 110px 20px 40px;
  }
}

@media only screen and (max-width: 767px) {
  .page-template-tmplt-work .work-title {
    padding: 90px 20px 40px;
  }

  .work-icon {
    top: -11px;
    right: -11px;
    width: 33px;
    height: 33px;
    font-size: 14px;
  }
}

@media only screen and (max-width: 575px) {
  .our-work__wrap {
    gap: 20px;
  }
  .our-work__box {
    gap: 10px;
  }
  .our-work__info {
    gap: 3px;
    /* white-space: nowrap; */
  }
  .our-work__info .m-heading-5 {
    font-size: 12px;
  }
}

@media only screen and (max-width: 479px) {
  .our-work__info .m-heading-5 {
    font-size: 10px;
  }

  .work-icon {
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    font-size: 12px;
  }
}

/*Single Work*/

.view-website {
  position: fixed;
  left: 50%;
  transform: translateX(-50%) translateY(calc(100% + 20px));
  bottom: 20px;
  border-radius: 7px;
  background-color: #ffffff;
  padding: 5px;
  z-index: 9;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 58px;
  transform-origin: bottom;
  transition: transform 0.2s ease-out;
}

.view-website.is--visible {
  transform: translateX(-50%) translateY(0);
  transition: transform 0.3s ease-out;
}

.view-website-link {
  font-size: 16px;
  line-height: 20px;
  color: #030303;
  font-weight: 600;
  text-decoration: none;
  padding-right: 73px;
  padding-left: 15px;
}

.view-website__icon {
  width: 48px;
  min-width: 48px;
  height: 48px;
  border-radius: 5px;
  background-color: #e0ff63;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.4s ease-out;
}

.is--active .icon-eye span:nth-child(1),
.is--active .icon-eye span:nth-child(2),
.is--active .icon-eye span:nth-child(3) {
  top: 0px;
  -webkit-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

.is--active .icon-eye span:nth-child(4),
.is--active .icon-eye span:nth-child(5),
.is--active .icon-eye span:nth-child(6) {
  top: 16px;
  -webkit-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

.is--active .icon-eye span:nth-child(7),
.is--active .icon-eye span:nth-child(10) {
  top: 4px;
  -webkit-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

.is--active .icon-eye span:nth-child(8),
.is--active .icon-eye span:nth-child(11) {
  top: 12px;
  -webkit-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}
.icon-eye span:nth-child(13) {
  transition: left 0.3s ease-out 0.3s; /* property duration easing delay */
}

@keyframes eyeMove {
  0% {
    left: 12px;
  }
  10% {
    left: 10px;
  }
  50% {
    left: 10px;
  }
  85% {
    left: 10px;
  }
  100% {
    left: 12px;
  }
}

.is--active .icon-eye span:nth-child(13) {
  animation: eyeMove 1.3s ease 0.3s forwards;
}

.view-website:hover .view-website__icon {
  width: calc(100% - 10px);
}

@media only screen and (max-width: 1440px) {
  .view-website {
    transform: translateX(-50%) translateY(calc(100% + 20px)) scale(0.8);
  }
}

@media only screen and (max-width: 1280px) {
  .view-website {
    bottom: 10px;
    transform: translateX(-50%) translateY(calc(100% + 10px)) scale(0.7);
  }

  .view-website-link {
    padding-left: 10px;
    padding-right: 68px;
  }
}

@media only screen and (max-width: 767px) {
  .view-website {
    transform: translateX(-50%) translateY(calc(100% + 10px)) scale(1);
    padding: 3px;
    height: 44px;
    border-radius: 6px;
  }

  .view-website-link {
    font-size: 14px;
    padding-right: 51px;
  }

  .view-website__icon {
    width: 38px;
    min-width: 38px;
    height: 38px;
    border-radius: 4px;
    right: 3px;
  }

  .view-website:hover .view-website__icon {
    width: calc(100% - 6px);
  }

  .view-website .icon-eye {
    transform: scale(0.7);
  }
}
