.card_img{
      height: 100%;
      /* width: max-content; */
      background-position: center; 
      background-repeat: no-repeat; 
      background-size: cover;
      border-radius: 10px;
}

.maincontainer
{
    width: 25%;
    /* height: 250px; */
    /* padding-left: 40px;
    padding-right: 40px; */
    height: 220px;
    margin: 38px;
    float: left; 
}

.front img
{
    height: 200px;
    border-radius: 10px;
}

.back img
{
    height: 190px;
    border-radius: 10px;    
    width: 235px;

}

.back h2
{
    position: absolute;
}

.back p
{
    position: absolute;
    top: 50px;
    font-size: 15px;
}

.front h2
{
    position: absolute;
    /* padding: 10px; */
    top: 200px;
    color: #000;
}

/* style the maincontainer class with all child div's of class .front */
.maincontainer > .front
{

    position: absolute;
    transform: perspective(600px) rotateY(0deg);
    
    width: 25%;
    height: 200px;
    
    backface-visibility: hidden;
    transition: transform .5s linear 0s;
}

.maincontainer > .back
{
    position: absolute;
    transform: perspective(600px) rotateY(180deg);
    background: #262626;
    color: #fff;
    width: 25%;
    height: 200px;
    border-radius: 10px;
    padding: 5px;
    backface-visibility: hidden;
    transition: transform .5s linear 0s;
}

@media only screen and (max-width: 767px) {
  .card_img{
      border-radius: 10px !important;
  }
  .maincontainer
  {
      width: 60%;
      height: 220px;
      margin-left: auto;
      margin-right: auto;
      float: center; 
  }
  .front img
  {
      width: 100%;
      height: 200px;
      border-radius: 10px;
  }
  .back img
  {
      width: 100%;
      height: 200px;
      border-radius: 10px;
  }
  .maincontainer > .front
  {
  
      position: absolute;
      transform: perspective(600px) rotateY(0deg);
      
      width: 60%;
      height: 200px;
      margin: 20px;
      
      backface-visibility: hidden;
      transition: transform .5s linear 0s;
  }

    .maincontainer > .back
  {
      position: absolute;
      transform: perspective(600px) rotateY(180deg);
      background: #262626;
      color: #fff;
      width: 60%;
      height: 200px;
      border-radius: 10px;
      padding: 5px;
      backface-visibility: hidden;
      transition: transform .5s linear 0s;
  }
}

.maincontainer:hover > .front
{
    transform: perspective(600px) rotateY(-180deg);
}

.maincontainer:hover > .back
{
    transform: perspective(600px) rotateY(0deg);
}

/* ul {
    margin: 0px;
    padding: 0px;
} */
.footer-section {
  background: #151414;
  position: relative;
}
.footer-cta {
  border-bottom: 1px solid #373636;
}
.single-cta i {
  color: #ff5e14;
  font-size: 30px;
  float: left;
  margin-top: 8px;
}
.cta-text {
  padding-left: 15px;
  display: inline-block;
}
.cta-text h4 {
  color: #020100;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 2px;
}
.cta-text span {
  color: #757575;
  font-size: 15px;
}
.footer-content {
  position: relative;
  z-index: 2;
}
.footer-pattern img {
  position: absolute;
  top: 0;
  left: 0;
  height: 330px;
  background-size: cover;
  background-position: 100% 100%;
}
.footer-logo {
  margin-bottom: 30px;
}
.footer-logo img {
    max-width: 200px;
}
.footer-text p {
  margin-bottom: 14px;
  font-size: 14px;
      color: #7e7e7e;
  line-height: 28px;
}
.footer-social-icon span {
  color: #020100;
  display: block;
  font-size: 20px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 20px;
}
.footer-social-icon a {
  color: #020100;
  font-size: 16px;
  margin-right: 15px;
}
.footer-social-icon i {
  height: 40px;
  width: 40px;
  text-align: center;
  line-height: 38px;
  border-radius: 50%;
}
.facebook-bg{
  background: #3B5998;
}
.twitter-bg{
  background: #55ACEE;
}
.google-bg{
  background: #DD4B39;
}
.footer-widget-heading h3 {
  color: #020100;
  /* margin-left: -60px; */
  font-size: 16px;
  /*font-weight: 350;*/
  font-weight: bolder;
  margin-bottom: 30px;
  position: relative;
}
/* .footer-widget-heading h3::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -15px;
  height: 2px;
  width: 50px;
  background: #ff5e14;
} */
.footer-widget ul li {
  display: inline-block;
  /* float: left; */
  width: 100%;
  margin-bottom: 12px;
}
.footer-widget ul li a:hover{
  color: #ff5e14;
}
.footer-widget ul li a {
  color: #878787;
  text-transform: capitalize;
}
.subscribe-form {
  position: relative;
  overflow: hidden;
}
.subscribe-form input {
  width: 100%;
  padding: 14px 28px;
  background: #2E2E2E;
  border: 1px solid #2E2E2E;
  color: #fff;
}
.subscribe-form button {
    position: absolute;
    right: 0;
    background: #ff5e14;
    padding: 13px 20px;
    border: 1px solid #ff5e14;
    top: 0;
}
.subscribe-form button i {
  color: #fff;
  font-size: 22px;
  transform: rotate(-6deg);
}
.copyright-area{
  background: #202020;
  padding: 25px 0;
}
.copyright-text p {
  margin: 0;
  font-size: 14px;
  color: #878787;
}
.copyright-text p a{
  color: #ff5e14;
}
.footer-menu li {
  display: inline-block;
  margin-left: 20px;
}
.footer-menu li:hover a{
  color: #ff5e14;
}
.footer-menu li a {
  font-size: 14px;
  color: #878787;
}