﻿#cf {
    position: relative;
    height: 281px;
    width: 323px;
    margin: 0 auto;
}

    #cf img {
        position: absolute;
        left: 0;
        -webkit-transition: opacity 1s ease-in-out;
        -moz-transition: opacity 1s ease-in-out;
        -o-transition: opacity 1s ease-in-out;
        transition: opacity 1s ease-in-out;
    }

        #cf img.top:hover {
            opacity: 0;
        }

body {
    font-family: Arial, Helvetica, sans-serif;
}

.flip-box {
    background-color: transparent;
    width: 300px;
    height: 200px;
    border: 1px solid #f1f1f1;
}

.flip-box-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    /*transition: transform 0.8s;*/
    /*transform-style: preserve-3d;*/
    /*animation-name: flip;
    animation-duration: 5s;*/
}

.flip-box-front, .flip-box-back {
    position: absolute;
    width: 100%;
    height: 100%;   
}

.flip-box-front {
    background-color: #bbb;
    color: black;
    /*animation-name: flip;
    animation: flip 2s infinite linear;
    position: absolute;*/
    width: 100%;
    height: 100%;
}

.flip-box-back {
    background-color: #555;
    color: white;
    animation-name: flip1;
    animation-duration:.7s;
    animation: flip1 2s infinite linear;
    position: absolute;
    width: 100%;
    height: 100%;
}
@keyframes flip {
    /*0% {
        transform: perspective(400px) scaleX(1);
    }
    100% {
        transform: perspective(400px) scale(-1);
    }*/
    0% {
        transform: perspective(400px) rotateX(180deg);
    }

    100% {
        transform: perspective(400px) rotateX(-180deg);
    }
}
@keyframes flip1 {
    0% {
        transform: perspective(400px) rotateY(180deg);
    }
    100% {
        transform: perspective(400px) rotateY(-180deg);
    }
}
.counter {
    background-color: #eaecf0;
    text-align: center;
}

.employees, .customer, .design, .order {
    margin-top: 70px;
    margin-bottom: 70px;
}

.counter-count {
    font-size: 47px;
    /*background-color: #00b3e7;*/
    border-radius: 50%;
    position: relative;
    color: #ffffff;
    text-align: center;
    line-height: 92px;
    width: 92px;
    height: 92px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    display: inline-block;
}

.counter-count1 {
    font-size: 47px;
    /*background-color: #00b3e7;*/
    border-radius: 50%;
    position: relative;
    color: #ffffff;
    text-align: center;
    line-height: 92px;
    width: 92px;
    height: 92px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    display: inline-block;
}

.employee-p, .customer-p, .order-p, .design-p {
    font-size: 24px;
    color: #000000;
    line-height: 34px;
}
