
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}


.image-hover h1{


font-family: 'Open Sans';
font-style: normal;
font-weight: 600;
font-size: 34px;
line-height: 46px;
text-align: center;
text-transform: capitalize;

color: #5E5E5E;

}
.image-hover h2{
  font-family: 'Open Sans';
font-style: normal;
font-weight: 600;
font-size: 19px;
line-height: 26px;
/* identical to box height */

text-align: center;
text-transform: uppercase;

color: #5E5E5E;

}
.container{
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1100px;
}
.container .carde{
  position: relative;
  width: 320px;
  height: 350px;
  margin: 15px;
  overflow: hidden;
}

.container .carde .imgBx,
.container .carde .contentBx{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.container .carde .imgBx img{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.container .carde .contentBx::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 50%;
    transform: scaleX(0); 
    transition: transform 0.5s ease-in-out;
    transform-origin: right;
    transition-delay: 0.5s;
}
.container .carde:hover .contentBx::before{
  transform: scaleX(1); 
  transition: transform 0.5s ease-in-out;
  transform-origin: left;
  transition-delay: 0s;
} 
.container .carde .contentBx .content{
  position: relative;
  padding: 30px;
  z-index: 1;
  transition: 0.5s;
  transform: translateX(-300px);
  transition-delay: 0s;
}
.container .carde:hover .contentBx .content{
  transform: translateX(0px);
  transition-delay: 0.5s;
}
.container .carde .contentBx .content h3{
font-size: 1.3em;
text-transform: uppercase;
letter-spacing: 1px;
color: #fff;
font-family: 'Open Sans';
font-style: normal;
font-weight: 700;
font-size: 19px;
line-height: 26px;
/* identical to box height */

text-align: center;
text-transform: uppercase;
}
.container .card .contentBx .content p{
  font-size: 1em;
  line-height: 1.4em;
  font-weight: 300;
}



.container .card{
  position: relative;
  width: 320px;
  height: 350px;
  margin: 15px;
  overflow: hidden;
}
.container .card .imgBx,
.container .card .contentBx{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.container .card .imgBx img{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.container .card .contentBx::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 50%;
    transform: scaleX(0); 
    transition: transform 0.5s ease-in-out;
    transform-origin: right;
    transition-delay: 0.5s;
}
.container .card:hover .contentBx::before{
  transform: scaleX(1); 
  transition: transform 0.5s ease-in-out;
  transform-origin: left;
  transition-delay: 0s;
} 
.container .card .contentBx .content{
  position: relative;
  padding: 30px;
  z-index: 1;
  transition: 0.5s;
  transform: translateX(-300px);
  transition-delay: 0s;
}
.container .card:hover .contentBx .content{
  transform: translateX(0px);
  transition-delay: 0.5s;
}
.container .card .contentBx .content h3{
font-size: 1.3em;
text-transform: uppercase;
letter-spacing: 1px;
color: #fff;
font-family: 'Open Sans';
font-style: normal;
font-weight: 700;
font-size: 19px;
line-height: 26px;
/* identical to box height */

text-align: center;
text-transform: uppercase;
}
.container .card .contentBx .content p{
  font-size: 1em;
  line-height: 1.4em;
  font-weight: 300;
}


* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}


.container {
  width: 90%;
  margin: 50px auto;
}
.heading {
  text-align: center;
  font-size: 30px;
  margin-bottom: 50px;
}
.heading h2{
  font-family: 'Open Sans';
font-style: normal;
font-weight: 600;
font-size: 19px;
line-height: 26px;
/* identical to box height */

text-align: center;
text-transform: uppercase;

color: #5E5E5E;
}
.heading h1{
  font-family: 'Open Sans';
font-style: normal;
font-weight: 600;
font-size: 34px;
line-height: 46px;
text-align: center;
text-transform: capitalize;

color: #5E5E5E;

}
.row {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  flex-flow: wrap;
}



.card {
  width: 30%;
  background: #fff;
  margin-bottom: 50px;
  transition: 0.3s;
  box-shadow: 0 0 40px -10px rgba(0, 0, 0, 0.35);
}

.card-header {
  text-align: center;
  /* padding: 50px 10px; */
  color: #fff;
  align-items: center;
  margin-left: auto;
  margin-right: auto;

}

.card-header img{
  height: 200px;
  width: 340px;
  align-items: center;
  align-content: center;
}

.card-body {
  /* padding: 30px 20px; */
  text-align: center;
  font-size: 18px;
}

.card-body p{
 
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 19px;
  text-align: center;
  margin: 5px;
  align-items: center;
  color: #000000;
}
.name{
  width: 110px;
  height: 19px;
  left: 746px;
  bottom: 25px;  
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  line-height: 19px;
  /* identical to box height */
  margin-left: 15px;
  text-align: left;
  padding-top: 25px;
  color: #000000;
}
.nam{
  width: 110px;
  height: 19px;
  left: 746px;
  bottom: 25px;  
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  line-height: 19px;
  /* identical to box height */
  margin-left: 15px;
  text-align: left;
  padding-top: 42px;
  color: #000; 
}
.card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 40px -10px rgba(0, 0, 0, 0.55);
}

@media screen and (max-width: 1000px) {
  .card {
    width: 40%;
    box-shadow: 0 0 40px -10px rgba(0, 0, 0, 0.50);
  }
}

@media screen and (max-width: 620px) {
  .container {
    width: 100%;
  }

  .heading {
    padding: 20px;
    font-size: 20px;
  }

  .card {
    width: 80%;
  }
}




/*footer*/


