﻿.navigation {
    width: 100%;
    text-align: right;
    direction: rtl;
    background-color: #F5FFED;
    box-shadow: 0px 0px 3px 0px #7c7cb5;
    padding-bottom: 10px;
}



.training .img {
    margin-bottom: 10px;
    transition: all .5s ease-in-out;
    box-shadow: 0px 0px 4px 1px #131010;
    width: 100%;
}

    .training .img:hover {
        transform: scale(1.05);
    }

.callout {
    border-radius: .25rem;
    box-shadow: 0 1px 3px rgba(0,0,0,.12),0 1px 2px rgba(0,0,0,.24);
    background-color: #fff;
    border-right: 7px solid #36aec1;
    border-left-color: rgb(233, 236, 239);
    margin-bottom: 1rem;
    padding: 1rem;
    color: #645656;
}




/*start the services style*/

@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    height: 100%;
    width: 100%;
    text-align: center;
    background: #f2f2f2;
}




.wrapper .box {
    width: 100%;
    margin: 0 auto;
    position: relative;
    perspective: 1000px;
}

    .wrapper .box .front-face {
        background: #fff;
        height: 220px;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        box-shadow: 0px 5px 20px 0px rgba(0, 81, 250, 0.1);
        transition: all 0.5s ease;
    }

.box .front-face .icon {
    height: 80px;
}

    .box .front-face .icon i {
        font-size: 65px;
    }

.box .front-face span,
.box .back-face span {
    font-size: 22px;
    font-weight: 600;
    text-transform: uppercase;
}

.box .front-face .icon i,
.box .front-face span {
    background: linear-gradient(-135deg, #c850c0, #4158d0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.box .back-face {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    /*height: 220px;*/
    width: 100%;
    padding: 30px;
    color: #fff;
    opacity: 0;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    background: linear-gradient(-135deg, #c850c0, #4158d0);
    transform: translateY(110px) rotateX(-90deg);
    box-shadow: 0px 5px 20px 0px rgba(0, 81, 250, 0.1);
    transition: all 0.5s ease;
}

    .box .back-face p {
        margin-top: 10px;
        text-align: justify;
    }

.box:hover .back-face {
    opacity: 1;
    transform: rotateX(0deg);
}

.box:hover .front-face {
    opacity: 0;
    transform: translateY(-110px) rotateX(90deg);
}



/*End the services style*/
