﻿



* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

h1 {
    font-size: 2.5rem;
    font-family: Vazir-Light, Yekan, Tahoma !important;
    font-weight: normal;
    color: #444;
    text-align: center;
    margin: 2rem 0;
}

.wrapper-Parallax {
    width: 80%;
    margin: 0 auto;
    max-width: 80rem;
}

.cols-Parallax {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin:0px 20px 0px 20px;
}

.col-Parallax {
    width: calc(20% - 2rem);
    margin: 1rem;
    cursor: pointer;
    margin:0px 20px 0px 20px;
}


.col-Parallax-portal {
    width: calc(70% - 2rem);
    margin: 1rem;
    cursor: pointer;
    margin:0px 20px 0px 20px;
}


.container-Parallax {
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-perspective: 1000px;
    perspective: 1000px;
}

.front-Parallax,
.back-Parallax {
    background-size: cover;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    background-position: center;
    -webkit-transition: -webkit-transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
    transition: -webkit-transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
    -o-transition: transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
    transition: transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
    transition: transform .7s cubic-bezier(0.4, 0.2, 0.2, 1), -webkit-transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    text-align: center;
    min-height: 280px;
    height: auto;
    border-radius: 10px;
    color: #fff;
    font-size: 1.5rem;
}

.back-Parallax {
    background: #0e2f5e;
    background: -webkit-linear-gradient(45deg, #0e2f5e 0%, #314487 100%);
    background: -o-linear-gradient(45deg, #0e2f5e 0%, #314487 100%);
    background: linear-gradient(45deg, #0e2f5e 0%, #314487 100%);
}

.front-Parallax:after {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    content: '';
    display: block;
    opacity: 0.8;
    background-color: #011426;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 10px;
}

.container-Parallax:hover .front-Parallax,
.container-Parallax:hover .back-Parallax {
    -webkit-transition: -webkit-transform .17s cubic-bezier(0.4, 0.2, 0.2, 1);
    transition: -webkit-transform .17s cubic-bezier(0.4, 0.2, 0.2, 1);
    -o-transition: transform .17s cubic-bezier(0.4, 0.2, 0.2, 1);
    transition: transform .17s cubic-bezier(0.4, 0.2, 0.2, 1);
    transition: transform .17s cubic-bezier(0.4, 0.2, 0.2, 1), -webkit-transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
}

.back-Parallax {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.inner-Parallax {
    -webkit-transform: translateY(-50%) translateZ(60px) scale(0.90);
    transform: translateY(-50%) translateZ(60px) scale(0.94);
    top: 50%;
    position: absolute;
    left: 0;
    width: 100%;
    padding: 2rem;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    outline: 1px solid transparent;
    -webkit-perspective: inherit;
    perspective: inherit;
    z-index: 2;
}

.container-Parallax .back-Parallax {
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

.container-Parallax .front-Parallax {
    -webkit-transform: rotateY(0deg);
    transform: rotateY(0deg);
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

.container-Parallax:hover .back-Parallax {
    -webkit-transform: rotateY(0deg);
    transform: rotateY(0deg);
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

.container-Parallax:hover .front-Parallax {
    -webkit-transform: rotateY(-180deg);
    transform: rotateY(-180deg);
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

.front-Parallax .inner-Parallax p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    position: relative;
    color:#fff
   
}

.front-Parallax .inner-Parallax p:after {
    content: '';
    width: 4rem;
    height: 2px;
    position: absolute;
    background: #C6D4DF;
    display: block;
    left: 0;
    right: 0;
    margin: 0 auto;
    bottom: -.75rem;
    color:#fff
}

.front-Parallax .inner-Parallax span {
    color: rgba(255, 255, 255, 0.9);
    font-family: Vazir-Light, Yekan, Tahoma !important;
    font-weight: 300;
    font-size:1rem;
}


.front-Parallax .inner-Parallax span:after {
    color: rgba(255, 255, 255, 0.7);
    font-family: Vazir-Light, Yekan, Tahoma !important;
    font-weight: 300;
    font-size:1rem;
     color:#fff
}


@media screen and (max-width: 64rem) {
    .col-Parallax {
        width: calc(33.333333% - 2rem);
        margin:5px;
    }
}

@media screen and (max-width: 48rem) {
    .col-Parallax {
        width: calc(50% - 2rem);
        margin:5px;
    }
}

@media screen and (max-width: 32rem) {
    .col-Parallax {
        width: 100%;
        margin:5px;
    }
}