.ca-menu{
    padding:0;
    margin:20px auto;
    width: 100%;
}
.ca-menu li{
    width: 20%;
    padding: 2px;
    height: 300px;
    overflow: hidden;
    position: relative;
    float:left;
    background: #f9f9f9; 
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    transition: all 300ms linear;
}
.ca-menu li:last-child{
    margin-right: 0px;
}
.ca-menu li a{
    text-align: left;
    width: 100%;
    height: 100%;
    display: block;
    color: #333;
    position: relative;
    border: 1px solid #ccc;
}
.ca-icon{
    font-family: 'WebSymbolsRegular', cursive;
    font-size: 60px;
    color: #ddd;
    line-height: 150px;
    position: absolute;
    width: 100%;
    height: 50%;
    left: 0px;
    top: 0px;
    text-align: center;
    -webkit-transition: all 200ms linear;
    -moz-transition: all 200ms linear;
    -o-transition: all 200ms linear;
    -ms-transition: all 200ms linear;
    transition: all 200ms linear;
}
.ca-icon img{
    width:10rem;
}
.ca-content{
    /* position: absolute;
    left: 0px;
    width: 100%;
    height: 50%;
    top: 50%; */
    position: absolute;
    left: 0px;
    width: 100%;
    height: 50%;
    top: 50%;
    padding: 0 10%;
}
.ca-main{
    font-size: 30px;
    opacity: 0.8;
    text-align: center;
    -webkit-transition: all 200ms linear;
    -moz-transition: all 200ms linear;
    -o-transition: all 200ms linear;
    -ms-transition: all 200ms linear;
    transition: all 200ms linear;
    margin-top: 0;
    margin-bottom: 20px;
}
.ca-sub{
    text-align:center;
    font-size: 14px;
    color: #afa379;
    /* text-shadow: 1px 1px 1px #fff; */
    line-height: 1.5;
    opacity: 0.8;
    -webkit-transition: all 200ms linear;
    -moz-transition: all 200ms linear;
    -o-transition: all 200ms linear;
    -ms-transition: all 200ms linear;
    transition: all 200ms linear;
}
.ca-menu-box{
    /* min-height: 350px; */
    height: 350px;
    background: transparent;
    margin-bottom: 20px;
    padding: 20px;
}
.ca-menu-box>div{
    width: 100%;
    height: 100%;
    background: #fff;
}
.ca-menu li:nth-child(1):hover{
    background:rgb(255, 222, 173);
}
.ca-menu li:nth-child(2):hover{
    background:rgb(173, 218, 255);
}
.ca-menu li:nth-child(3):hover{
    background:rgba(252, 245, 245, 0.9);
}
.ca-menu li:nth-child(4):hover{
    background:rgb(121, 156, 172);
}
.ca-menu li:nth-child(5):hover{
    background:rgb(255, 246, 232);
}
.ca-menu li:hover .ca-icon{
    color: #afa379;
    font-size: 90px;
    /* opacity: 0.1; */
    -webkit-animation: moveFromLeft 400ms ease;
    -moz-animation: moveFromLeft 400ms ease;
    -ms-animation: moveFromLeft 400ms ease;
}
.ca-menu li:hover .ca-main{
    color: #afa379;
    -webkit-animation: moveFromRight 300ms ease;
    -moz-animation: moveFromRight 300ms ease;
    -ms-animation: moveFromRight 300ms ease;
}
.ca-menu li:hover .ca-sub{
    color: #000;
    -webkit-animation: moveFromBottom 500ms ease;
    -moz-animation: moveFromBottom 500ms ease;
    -ms-animation: moveFromBottom 500ms ease;
}
@-webkit-keyframes moveFromLeft{
    from {
        -webkit-transform: translateX(-100%);
    }
    to {
        -webkit-transform: translateX(0%);
    }
}
@-moz-keyframes moveFromLeft{
    from {
        -moz-transform: translateX(-100%);
    }
    to {
        -moz-transform: translateX(0%);
    }
}
@-ms-keyframes moveFromLeft{
    from {
        -ms-transform: translateX(-100%);
    }
    to {
        -ms-transform: translateX(0%);
    }
}

@-webkit-keyframes moveFromRight {
    from {
        -webkit-transform: translateX(100%);
    }
    to {
        -webkit-transform: translateX(0%);
    }
}
@-moz-keyframes moveFromRight {
    from {
        -moz-transform: translateX(100%);
    }
    to {
        -moz-transform: translateX(0%);
    }
}
@-ms-keyframes moveFromRight {
    from {
        -ms-transform: translateX(100%);
    }
    to {
        -ms-transform: translateX(0%);
    }
}

@-webkit-keyframes moveFromBottom {
    from {
        -webkit-transform: translateY(100%);
    }
    to {
        -webkit-transform: translateY(0%);
    }
}
@-moz-keyframes moveFromBottom {
    from {
        -moz-transform: translateY(100%);
    }
    to {
        -moz-transform: translateY(0%);
    }
}
@-ms-keyframes moveFromBottom {
    from {
        -ms-transform: translateY(100%);
    }
    to {
        -ms-transform: translateY(0%);
    }
}
/* .ca-menu .ca-menu-box:nth-child(1):hover{
    background:rgb(255, 222, 173);
}
.ca-menu .ca-menu-box:nth-child(2):hover{
    background:rgb(173, 218, 255);
}
.ca-menu .ca-menu-box:nth-child(3):hover{
    background:rgba(252, 245, 245, 0.9);
}
.ca-menu .ca-menu-box:nth-child(4):hover{
    background:rgb(121, 156, 172);
}
.ca-menu .ca-menu-box:nth-child(5):hover{
    background:rgb(255, 246, 232);
}
.ca-menu .ca-menu-box:nth-child(6):hover{
    background:rgb(255, 222, 173);
}
.ca-menu .ca-menu-box:nth-child(7):hover{
    background:rgb(173, 218, 255);
}
.ca-menu .ca-menu-box:nth-child(8):hover{
    background:rgba(252, 245, 245, 0.9);
} */
.ca-menu .ca-menu-box:hover .ca-icon{
    color: #afa379;
    font-size: 90px;
    /* opacity: 0.1; */
    -webkit-animation: moveFromLeft 1000ms ease;
    -moz-animation: moveFromLeft 1000ms ease;
    -ms-animation: moveFromLeft 1000ms ease;
}
.ca-menu .ca-menu-box:hover .ca-main{
    color: #afa379;
    -webkit-animation: moveFromRight 1000ms ease;
    -moz-animation: moveFromRight 1000ms ease;
    -ms-animation: moveFromRight 1000ms ease;
}
.ca-menu .ca-menu-box:hover .ca-sub{
    color: #000;
    -webkit-animation: moveFromBottom 1000ms ease;
    -moz-animation: moveFromBottom 1000ms ease;
    -ms-animation: moveFromBottom 1000ms ease;
}
@media (max-width: 768px) {
    .ca-menu li{
        width: 33.333%;
        height: 350px;;
    }
}
@media (max-width: 414px){
	.ca-menu li{
        width: 50%;
        height: 300px;;
    }
}