@import url("https://fonts.googleapis.com/css?family=Poppins");
.shape {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100vh;
  /* background: #141E30;
  background: -webkit-linear-gradient(to top, #243B55, #141E30);
  background: linear-gradient(to top, #243B55, #141E30); */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.contents {
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: white;
  padding: 20px 20px;
  width: 100%;
  height: 100%;
  transform: translateY(100%);
}


 /* ============= imagebox1 ============= */
.imagebox1 {
  border-radius: 16px;
  width: 360px;
  height: 360px;
  background: url(https://i.postimg.cc/76FG2HVC/data.jpg);
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 50px rgba(0, 0, 0, 0.85);
  margin-right: 20px;
}
.imagebox1:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  background-color: rgba(0, 0, 0, 0.92);
}
.imagebox1 .img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
}
.imagebox1 .img span {
  width: 25%;
  height: 100%;
  background: url(https://i.postimg.cc/76FG2HVC/data.jpg);
  transition: 0.5s;
}
.imagebox1 .img span:nth-child(1) {
  background-position: 0;
  transition-delay: 0;
}
.imagebox1 .img span:nth-child(2) {
  background-position: 33.33333%;
  transition-delay: 0.1s;
}
.imagebox1 .img span:nth-child(3) {
  background-position: 66.66666%;
  transition-delay: 0.2s;
}
.imagebox1 .img span:nth-child(4) {
  background-position: 100%;
  transition-delay: 0.3s;
}

.imagebox1:hover .img > span {
  transform: translateY(-100%);
}
.imagebox1:hover .contents {
  transform: translateY(0%);
  transition: 1s;
  transition-delay: 0.1s;
}
.imagebox1 h2{
  font-size: 32px;
  margin-bottom: 15px;
  color: white;
}

.imagebox1 h4{
  font-size: 17px;
  color: white;
}

/* ========== imagebox2 ============ */

.imagebox2 {
  border-radius: 16px;
  font-size: 10px;
  width: 360px;
  height: 360px;
  background: url(https://i.postimg.cc/qByCdrmq/consultation.jpg);
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 50px rgba(0, 0, 0, 0.85);
  margin-right: 20px;
}

.imagebox2:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  background-color: rgba(0, 0, 0, 0.92);
}
.imagebox2 .img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
}
.imagebox2 .img span {
  width: 25%;
  height: 100%;
  background: url(https://i.postimg.cc/qByCdrmq/consultation.jpg);
  transition: 0.5s;
}
.imagebox2 .img span:nth-child(1) {
  background-position: 0;
  transition-delay: 0;
}
.imagebox2 .img span:nth-child(2) {
  background-position: 33.33333%;
  transition-delay: 0.1s;
}
.imagebox2 .img span:nth-child(3) {
  background-position: 66.66666%;
  transition-delay: 0.2s;
}
.imagebox2 .img span:nth-child(4) {
  background-position: 100%;
  transition-delay: 0.3s;
}

.imagebox2:hover .img > span {
  transform: translateY(-100%);
}
.imagebox2:hover .contents {
  transform: translateY(0%);
  transition: 1s;
  transition-delay: 0.1s;
}

.imagebox2 h2{
  font-size: 32px;
  margin-bottom: 15px;
  color: white;
}

.imagebox2 h4{
  font-size: 17px;
  color: white;
}

/* ========== imagebox3 ============ */

.imagebox3 {
  border-radius: 16px;
  font-size: 10px;
  width: 360px;
  height: 360px;
  background: url(https://i.postimg.cc/65K4WPS0/computer-vision.jpg);
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 50px rgba(0, 0, 0, 0.85);
  margin-right: 20px;
}

.imagebox3:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  background-color: rgba(0, 0, 0, 0.92);
}
.imagebox3 .img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
}
.imagebox3 .img span {
  width: 25%;
  height: 100%;
  background: url(https://i.postimg.cc/65K4WPS0/computer-vision.jpg);
  transition: 0.5s;
}
.imagebox3 .img span:nth-child(1) {
  background-position: 0;
  transition-delay: 0;
}
.imagebox3 .img span:nth-child(2) {
  background-position: 33.33333%;
  transition-delay: 0.1s;
}
.imagebox3 .img span:nth-child(3) {
  background-position: 66.66666%;
  transition-delay: 0.2s;
}
.imagebox3 .img span:nth-child(4) {
  background-position: 100%;
  transition-delay: 0.3s;
}

.imagebox3:hover .img > span {
  transform: translateY(-100%);
}
.imagebox3:hover .contents {
  transform: translateY(0%);
  transition: 1s;
  transition-delay: 0.1s;
}

.imagebox3 h2{
  font-size: 32px;
  margin-bottom: 15px;
  color: white;
}

.imagebox3 h4{
  font-size: 17px;
  color: white;
}