/* text-color */
.dark-text{
    color: #1a1a1a !important;
}

.light-text{
    color: #fafafa !important;
}

.dark-text.pre-heading{
  color: #1a1a1a !important;
  background-color: #f0f0f0;
}

.light-text.pre-heading{
  color: #fafafa !important;
  background-color: rgba(240,240,240,0.5);
}

/* btn options */
.dark-solid-btn{
  background: #1a1a1a;
  color: #fafafa !important;
  border: 1px solid #1a1a1a;
}
.dark-outline-btn{
  background: unset;
  color: #1a1a1a !important;
  border: 1px solid #1a1a1a;
}
.light-outline-btn{
  background: unset;
  color: #fafafa !important;
  border: 1px solid #fafafa;
}

.light-solid-btn{
  background: #fafafa;
  color: #1a1a1a !important;
  border: 1px solid #fafafa;
}

/* btn hover,active,focuse,visited */

a.dark-solid-btn:hover,
a.dark-solid-btn:active,
a.dark-solid-btn:focuse,
a.dark-solid-btn:visited,
a.dark-outline-btn:active,
a.dark-outline-btn:hover,
a.dark-outline-btn:focuse,
a.dark-outline-btn:visited{
  border: 3px solid #fafafa !important;
}

a.light-outline-btn:hover,
a.light-outline-btn:focuse,
a.light-outline-btn:active,
a.light-outline-btn:visited,
a.light-solid-btn:hover,
a.light-solid-btn:active,
a.light-solid-btn:focuse,
a.light-solid-btn:visited{
  border: 3px solid #1a1a1a !important;
}


/*  */
.front-btn-text{
  margin-bottom: 0px;
}
.cardArrowIcon{
    width: 25px;
    rotate: 270deg;
}


.boxesContainer{    
    width: 80%;
    margin: 65px auto 0px auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width:1020px
}


.cardBox {
  float: left;
  font-size: 1.2em;
  margin: 0px;
  perspective: 800px;
  transition: all 0.3s ease 0s;
  width: 48%;
  max-width: 475px;
  min-width: 320px
 
}

.cardBox:hover .card {
  transform: rotateY( 180deg);
}

.card {
  cursor: default;
  height: 300px;
  transform-style: preserve-3d;
  transition: transform 0.4s ease 0s;
  width: 100%;
  -webkit-animation: giro 1s 1;
  animation: giro 1s 1;
  border-radius:8px;
  box-shadow: 0px 0px 49px 4px rgba(26,26,26,0.11);
  padding: 0px!important;
}

.card p {
  margin-bottom: 1.8em;
}

.front .imageContainer{
    display: flex;
    width: 100%;
    height: 100%;
    border-radius:8px;
    position:relative;
  
}
.imageContainer img{
  width: 100%;
  border-radius:8px;
  
}

.front-btn{
  display:flex;
  flex-direction: row;
  justify-content:space-between;
  align-items:center;
  padding: 12px 20px;
  position: absolute;
/*   z-index:300; */
  z-index:0;
  background:#1a1a1a;
  color: #fafafa;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  bottom: 0;
  right: 0; 
  left: 0;
}

.card .front,
.card .back {
  backface-visibility: hidden;
  box-sizing: border-box;
  color: white;
  display: block;
  font-size: 1.2em;
  height: 100%;
  padding: 0px;
  position: absolute;
  text-align: center;
  width: 100%;
  border-radius:8px;
}


.card .back {
  display: flex;
  flex-direction:column;
  justify-content:space-between;
  transform: rotateY( 180deg);
  text-align:left;
  padding: 35px;
  color: #1a1a1a;
  background: #ffffff;
}

.card .back-a{
    margin: 0px;
    display: flex;
    align-self: baseline;
    justify-content: space-between;
    flex-direction: column;
    flex-grow: 1;
}

.card .back-a .dark-outline-btn{
  margin: 0px;
  width: fit-content;
}

.cardImg{
object-fit: cover;}


.cardBox{
  margin-bottom: 30px;
}

.cardBox:nth-child(2) .card {
  -webkit-animation: giro 1.5s 1;
  animation: giro 1.5s 1;
}

.cardBox:nth-child(3) .card {
  -webkit-animation: giro 2s 1;
  animation: giro 2s 1;
}

.cardBox:nth-child(4) .card {
  -webkit-animation: giro 2.5s 1;
  animation: giro 2.5s 1;
}

@-webkit-keyframes giro {
  from {
    transform: rotateY( 180deg);
  }
  to {
    transform: rotateY( 0deg);
  }
}

@keyframes giro {
  from {
    transform: rotateY( 180deg);
  }
  to {
    transform: rotateY( 0deg);
  }
}



@media(max-width:500px){
  .mobile-left-align{
    text-align: left !important;
  }
}


@media screen and (max-width: 820px) {
    .boxesContainer{
    width: 90% !important;
    justify-content: center;
      
  }
  
  .cardBox:nth-child(3),.cardBox:nth-child(4){
  margin-bottom: 30px;
}
  .cardBox {
    
    width: 100%;
  }
  
 
};
@media screen and (max-width: 1400px) {
    .boxesContainer{
    width: 90%;
  }
};



@media screen and (max-width: 1400px) {
    .boxesContainer{
    width: 90%;
  }
};

