.card-item3 {
  border-radius: 2px;
  border: 1px solid #d1d1d1;
  padding: 10px;
  margin: 8px;
  width: 330px;
}

.card-item3 h3 {
  padding: 25px 0;
  font-size: 20px;
}


.card-item3 p {
  margin: 0px 5px 20px;
  height: 269px;
  color: #838383;
  overflow: hidden;
  font-size: 13px;
  line-height: 24px;
}


.footer .button {
  padding: 8px 8px;
  background: #122837;
  font-size: 13px;
  color: white;
}

.card-item3 .image-div img {
  height: 100%;
}

.card-item3 .image-div {
  border-radius: 2px;
  overflow: hidden;
  height: 300px;
  cursor: pointer;
  transition: 0.3s;
}

.card-item3 .image-div:hover {
  box-shadow: 0px 0px 5px #c8c8c8;
}

.card-item3 .image-div:active {
  transform: scale(0.95);
  box-shadow: 0px 0px 8px #5a5a5a;
}

.bold {
  font-weight: 600;
  color: black;
}

.footer .pr-btn:hover {
  transform: scale(1.05);
}

.card-items-container2 {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 20px 0;
}

.title2 {
  padding: 60px 0;

}

.title2 h1 {
  text-align: center;
  font-size: 35px;
}


.product-section {
  padding: 0 10px 200px;

}

/* pop up */

.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
}

.visible {
  visibility: visible;
  opacity: 1;
}

.popup {
  padding: 20px;
  background: #fff;
  border-radius: 5px;
  height: 80%;
  width: 80%;
  position: absolute;
  overflow: hidden;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 5s ease-in-out;
}


.popup .description {
  padding: 30px 10px;
  width: 100%;
  color: #838383;
  box-sizing: border-box;
}

.popup .name {
  padding: 30px 10px;
  font-size: 20px;
  width: 100%;
  box-sizing: border-box;
}

.popup .pd_img {
  display: block;
  margin: auto;
}

.popup .close {
  font-size: 30px;
  display: block;
  font-weight: bold;
  text-decoration: none;
  margin-bottom: 10px;
  color: #333;
  transition: 0.2s;
  width:min-content;
}

.popup .close img{
  width: 40px;
}

.popup .close:hover {
  transform: scale(1.08);
}

.popup .close:active {
  transform: scale(0.92);
}

.popup .content {
  max-height: 90%;
  overflow: auto;
}

@media screen and (max-width: 700px) {
  .box {
    width: 70%;
  }

  .popup {
    width: 70%;
  }
}