#our_service_module {
  padding-top: 4rem;
  background: #0e0e0e;
  padding-bottom: calc(100vh / 10);
}

#our_service_module .block-tlt {
  margin: 0;
  color: transparent;
  display: flex;
  align-items: center;
  color: #c54709;
}

#our_service_module .block-tlt:after {
  content: "";
  width: 120px;
  background: #c54709;
  display: block;
  height: 2px;
  margin-left: 2rem;
}

.plate {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  grid-template-rows: auto;
  padding-top: 4rem;
}

.plate__item {
  display: flex;
  background: #1d1d1d;
  position: relative;
  box-sizing: border-box;
  padding: 0rem;
  height: 250px;
  overflow: hidden;
}

.contact__btn {
  color: white;
  padding: 16px;
  background: #c54709;
  position: absolute;
  cursor: pointer;
  top: 45%;
  transition: 0.5s;
  width: 100%;
  text-align: center;
  left: -100rem;
  display: none;
}

.plate__item {
  filter: grayscale(1);
  transition: 0.8s;
  clip-path: polygon(0 0, 100% 0, 100% 0%, 0 0%);
  /* animation: 1.8s imageIn; */
  /* transform: scaleY(0) */
}

.plate__item:hover {
  filter: grayscale(0);
}

.in__view .plate__item {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  /* animation: 1.8s imageIn; */
  /* transform: scaleY(1) */
}

.plate__item:nth-child(1) {
  transition-delay: 0.1s;
}

.plate__item:nth-child(2) {
  transition-delay: 0.2s;
}

.plate__item:nth-child(3) {
  transition-delay: 0.3s;
}

.plate__item:nth-child(4) {
  transition-delay: 0.4s;
}

.plate__item:nth-child(5) {
  transition-delay: 0.5s;
}

.plate__item:nth-child(6) {
  transition-delay: 0.6s;
}

.plate__item:nth-child(7) {
  transition-delay: 0.7s;
}

.plate__item:nth-child(8) {
  transition-delay: 0.8s;
}

.plate__item:nth-child(9) {
  transition-delay: 0.9s;
}

.plate__item:nth-child(10) {
  transition-delay: 0.1s;
}

.plate__item:nth-child(11) {
  transition-delay: 0.11s;
}

.plate__item:hover img {
  filter: grayscale(0);
}

.plate__item:hover .contact__btn {
  left: 0rem;
}

.plate-title {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 1.5rem 0.6rem;
  /* background: #1d1d1d; */
  color: #ffffff;
  text-transform: uppercase;
  width: 100%;
  font-size: 15px;
  font-weight: 400;
  text-align: center;
  margin: 0;
}

.plate__item:nth-child(2n) .plate-title {
  bottom: 0px;
  top: initial;
}

.plate__item:nth-child(2n) .cost {
  top: 0;
}

.cost {
  right: 0;
  top: 0rem;
  color: white;
  padding: 0.6rem 0.5rem;
  font-size: 1rem;
  position: absolute;
  width: 130px;
  height: 50px;
  font-weight: 700;
  transition: 0.5s;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  z-index: 95;
  /* background: #c54709; */
}

/* .cost:after {
	content: "\20BD";
	content: ".-";
	padding-left: 0.1rem;
} */

/*
.plate__item:hover .cost {
	background: #c54709;
	right: 0;
}

.plate__item:hover .plate-title {
	background: #c54709;
}*/

.color__block {
  /* position: absolute; */
  /* left: 0; */
  /* top: 200%; */
  /* width: 100%; */
  /* background: #1d1d1d; */
  /* height: 100%; */
}

.plate__item:hover .color__block {
  animation: bg;
  animation-duration: 1s;
}

.plate-title:after {
  content: "";
  height: 2px;
  background: #ffffff;
  width: 0%;
  position: relative;
  display: block;
  transform: translateY(10px);
  transition: 0.5s;
  margin: 0 auto;
}

.plate__item:hover .plate-title::after {
  /* transform: translateY(10px); */
  width: 90%;
}

@media screen and (max-width: 1440px) {
  .plate {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(5, 1fr);
  }

  .plate-title {
    font-size: 15px;
    padding: 1.5rem 0.5rem;
  }
}

@media screen and (max-width: 1024px) {
  .plate-title {
    font-size: 14px;
    padding: 0.5rem;
  }

  .plate__item {
    height: 210px;
  }

  .block-tlt:after {
    content: "";
    width: calc(100vw / 5);
  }
}

@media screen and (max-width: 992px) {
  .plate {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(8, 1fr);
    grid-auto-rows: auto;
  }

  .plate__item {
    height: 230px;
  }

  .plate-title {
    font-size: 14px;
    padding: 0.8rem 0.5rem;
  }

  .block-tlt:after {
    content: "";
    width: calc(100vw / 5);
  }
}

@media screen and (max-width: 768px) {
  .plate {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(8, 1fr);
  }

  .plate__item {
    height: 210px;
  }

  .plate-title {
    font-size: 14px;
    padding: 0.8rem 0.5rem;
  }

  .block-tlt:after {
    content: "";
    width: calc(100vw / 5);
  }
}

@media screen and (max-width: 640px) {
  .plate__item {
    height: 180px;
  }

  .plate-title {
    font-size: 14px;
    padding: 0.5rem;
  }
}

@media screen and (max-width: 510px) {
  .plate {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(16, 1fr);
  }

  .plate__item {
    height: 220px;
  }

  .plate-title {
    font-size: 14px;
    padding: 0.8rem 0.5rem;
  }

  #our_service_module .block-tlt {
  }

  .block-tlt:after {
    content: "";
    width: calc(100vw / 5);
  }
}

@media screen and (max-width: 425px) {
  .plate__item {
    height: 210px;
  }

  .plate-title {
    font-size: 13px;
    padding: 0.8rem 0.5rem;
  }

  .block-tlt:after {
    content: "";
    width: calc(100vw / 5);
  }
}

@media screen and (max-width: 360px) {
  .plate__item {
    height: 180px;
  }

  .plate-title {
    font-size: 12px;
    padding: 0.8rem 2rem;
  }

  .block-tlt:after {
    content: "";
    width: calc(100vw / 5);
  }

  #our_service_module .block-tlt:after {
    width: 40px;
  }
}

@keyframes plateIn {
  0% {
    transform: scale(0);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes imageIn {
  0% {
    transform: translateY(-200em);
  }

  50% {
    transform: translateY(-100em);
  }

  100% {
    transform: translateY(0em);
  }
}
