.arrow-right {
  opacity: 0;
  font-size: 18px;
  color: #fff;
  will-change: transform;
  -webkit-transform: scale(0.1);
  transform: scale(0.1);
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.card {
  position: relative;
  width: 100%;
  height: 170px;
  background-color: #fff;
  overflow: hidden;
  z-index: 5;
  margin-bottom: 1rem;
  border-radius: 20px;
  -webkit-transition: 0.3s ease;
  transition: 0.3s ease;
  -webkit-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
          box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  border: unset;
}

.card h2 {
  z-index: 2;
  font-family: "Kanit", sans-serif;
  position: absolute;
  bottom: 0;
  right: calc(100% - 70%);
  font-size: clamp(12px, 3vw, 24px);
  font-weight: 700;
  color: #fff;
  text-decoration: underline;
}

.card .arrow-right {
  z-index: 3;
  position: absolute;
  right: calc(100% - 90%);
  bottom: calc(100% - 95%);
  width: 40px;
  cursor: pointer;
}

.card p {
  z-index: 2;
  position: absolute;
  top: calc(100% - 90%);
  right: calc(100% - 95%);
  color: #000;
  font-size: 12px;
  letter-spacing: 1px;
  -webkit-writing-mode: vertical-lr;
      -ms-writing-mode: tb-lr;
          writing-mode: vertical-lr;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.card .pic {
  z-index: 1;
  width: calc(100% - 25%);
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  -webkit-filter: grayscale(100%);
          filter: grayscale(100%);
}

.card:hover .arrow-right {
  opacity: 1;
  -webkit-transform: scale(1);
  transform: scale(1);
}

.card .hover-circle {
  position: absolute;
  z-index: 1;
  right: calc(100% - 95%);
  bottom: calc(100% - 95%);
  width: 30px;
  height: 30px;
  opacity: 1;
  background-color: #e88431;
  border-radius: 30px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.card:hover .hover-circle {
  -webkit-transform: scale(16.5);
          transform: scale(16.5);
  opacity: 0.8;
}

.card:hover p {
  color: #fff;
}

.card:hover .pic {
  -webkit-filter: grayscale(0);
          filter: grayscale(0);
}

.card:hover {
  background-color: #e88431;
}

@media screen and (max-width: 767px) {
  .card {
    border-radius: 10px;
    height: 100px;
  }
  .card .arrow-right {
    width: 20px;
  }
  .card p {
    font-size: 10px;
  }
  .card:hover .hover-circle {
    -webkit-transform: scale(12.5);
            transform: scale(12.5);
  }
  .card .hover-circle {
    width: 15px;
    height: 15px;
  }
}
/*# sourceMappingURL=portfolio.css.map */