@import url('https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css');
#team {
    background: #eee !important;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #108d6f;
    border-color: #108d6f;
    box-shadow: none;
    outline: none;
}

.btn-primary {
    color: #fff;
    background-color: #007b5e;
    border-color: #007b5e;
}

section {
    padding: 60px 0;
}
.h1{
    color: #d96459;
}
section .section-title .h1 {
    text-align: center;
    color: #d96459 !important;
    margin-bottom: 50px;
    text-transform: uppercase;
}
.card-text{
    padding-top:10px;
}
.pink{
    background-color: #f61372!important;
}
.yellow{
    background-color: #f61372!important;
}
.card-bod .text-center{
    background-color: #f61372;
}
.car{
    background-color: #ffffff!important;
}
.flip-card{
    background-color:#ffbc0a;
    margin-bottom:30px !important;
}

.card-body img{
    height: 150px !important;
}
#team .text-center{
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: wrap;
}

#team .car {
    display: flex !important;
    justify-content: space-evenly;
    flex-direction: column !important;
    flex-wrap: wrap;
    border: none;
    
}

.image-flip:hover .backside,
.image-flip.hover .backside {
    -webkit-transform: rotateY(0deg)!important;
    -moz-transform: rotateY(0deg)!important;
    -o-transform: rotateY(0deg)!important;
    -ms-transform: rotateY(0deg)!important;
    transform: rotateY(0deg)!important;
    border-radius: .25rem;
}

.image-flip:hover .frontside,
.image-flip.hover .frontside {
    -webkit-transform: rotateY(180deg) !important;
    -moz-transform: rotateY(180deg) !important;
    -o-transform: rotateY(180deg) !important;
    transform: rotateY(180deg) !important;
    border-radius: .25rem;
}

.mainflip {
    -webkit-transition: 1s !important;
    -webkit-transform-style: preserve-3d !important;
    -ms-transition: 1s !important;
    -moz-transition: 1s !important;
    -moz-transform: perspective(1000px) !important;
    -moz-transform-style: preserve-3d !important;
    -ms-transform-style: preserve-3d !important;
    transition: 1s !important;
    transform-style: preserve-3d !important;
    position: relative;
}

.frontside {
    position: relative;
    -webkit-transform: rotateY(0deg) !important;
    -ms-transform: rotateY(0deg) !important;
    z-index: 2;
    
}

.backside {
    height:312px !important;
    position: absolute;
    
    top: 0;
    left: 0;
    background: ;
    -webkit-transform: rotateY(-180deg) ;
    -moz-transform: rotateY(-180deg);
    -o-transform: rotateY(-180deg);
    -ms-transform: rotateY(-180deg);
    transform: rotateY(-180deg);
    -webkit-box-shadow: 5px 7px 9px -4px rgb(158, 158, 158);
    -moz-box-shadow: 5px 7px 9px -4px rgb(158, 158, 158);
    box-shadow: 5px 7px 9px -4px rgb(158, 158, 158);
}

.frontside,
.backside {
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition: 1s;
    -webkit-transform-style: preserve-3d;
    -moz-transition: 1s;
    -moz-transform-style: preserve-3d;
    -o-transition: 1s;
    -o-transform-style: preserve-3d;
    -ms-transition: 1s;
    -ms-transform-style: preserve-3d;
    transition: 1s;
    transform-style: preserve-3d;
}

.frontside .car,
.backside .car {
    min-height: 312px;
}

.backside .car a {
    font-size: 18px;
    color: #007b5e !important;
}