@import url("https://cdn.jsdelivr.net/gh/fancyapps/fancybox@3.5.7/dist/jquery.fancybox.min.css");
                .petek .item {
                            height: 187px;
                            width: 210px;
                            float: left;
                            cursor: pointer;
                            text-align: center; }
                        /*.petek .item:not(.item-petek) {
                            opacity: 0.3;
                        }*/
                        .petek .item:hover {
                            opacity: 1; }
                        .petek .item span.petek-span {
                            font-weight: 500;
                            font-size: 32px;
                            display: inline-block;
                            margin-top: 32px;
                            margin-bottom: 29px;
                        }
                        .petek .item div.petek-div {
                            width: 84%;
                            margin: 0px auto;
                            font-weight: 500;
                            color:#4e4e4e;
                        }
                        @media only screen and (min-width: 615px) {
                        .petek .item.item-1 {
                            background: url('1.png') no-repeat center center;
                            margin-top: 97px;
                            margin-right: -35px;
                            color:#4b55a3;
                        }
                        .petek .item.item-2 {
                            background: url('2.png') no-repeat center center;
                            margin-top: 9px;
                            color:#ac2d90;
                        }
                        .petek .item.item-3 {
                            background: url('3.png') no-repeat center center;
                            margin-top: -92px;
                            margin-left: 176px;
                            color:#eb5b30;
                        }
                        .petek .item.item-4 {
                            background: url('4.png') no-repeat center center;
                            margin-top: 9px;
                            color:#ffab2c;
                        }
                        .petek .item.item-5 {
                            background: url('5.png') no-repeat center center;
                            margin-top: 97px;
                            margin-left: -35px;
                            color:#a7d24b;
                        }
                        .petek .item.item-6 {
                            background: url('6.png') no-repeat center center;
                            color:#15a7be;
                        }
                        .petek .item.item-petek {
                            background: url('petek.png') no-repeat center center;
                            margin-top: -90px;
                            margin-left: -35px;
                            margin-right: -33px;
                        }

                        .petek .item:not(.item-petek):hover {
                            -webkit-animation: rotate-scale-up 0.85s linear both;
                                    animation: rotate-scale-up 0.85s linear both;
                        }

                        }

                        @media only screen and (max-width: 615px) {
                            .petek .item {
                                width: 100%;
                                border: 15px solid #333;
                                margin-bottom: 10px;
                                background: rgba(237,237,237,1);
                                background: -moz-linear-gradient(top, rgba(237,237,237,1) 0%, rgba(255,255,255,1) 100%);
                                background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(237,237,237,1)), color-stop(100%, rgba(255,255,255,1)));
                                background: -webkit-linear-gradient(top, rgba(237,237,237,1) 0%, rgba(255,255,255,1) 100%);
                                background: -o-linear-gradient(top, rgba(237,237,237,1) 0%, rgba(255,255,255,1) 100%);
                                background: -ms-linear-gradient(top, rgba(237,237,237,1) 0%, rgba(255,255,255,1) 100%);
                                background: linear-gradient(to bottom, rgba(237,237,237,1) 0%, rgba(255,255,255,1) 100%);
                                filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ededed', endColorstr='#ffffff', GradientType=0 );
                            }

                           .petek .item.item-1 {
                            color:#4b55a3;
                            border-color:#4b55a3;
                            }
                            .petek .item.item-2 {
                            color:#ac2d90;
                            border-color:#ac2d90;
                            }
                            .petek .item.item-3 {
                                color:#eb5b30;
                            border-color:#eb5b30;
                            }
                            .petek .item.item-4 {
                                color:#ffab2c;
                            border-color:#ffab2c;
                            }
                            .petek .item.item-5 {
                                color:#a7d24b;
                            border-color:#a7d24b;
                            }
                            .petek .item.item-6 {
                                color:#15a7be;
                            border-color:#15a7be;
                            }
                            .petek .item.item-petek {
                                display: none;
                            }
                            .petek .item div.petek-div {
                               width: 90%;
                               font-size: 26px;
                            }
                            .petek .item span.petek-span {
                               font-size: 52px;
                            }

                        }

                        @-webkit-keyframes rotate-scale-up {
                            0% {
                                -webkit-transform: scale(1) rotateZ(0);
                                                transform: scale(1) rotateZ(0);
                            }
                            50% {
                                -webkit-transform: scale(1) rotateZ(180deg);
                                                transform: scale(1) rotateZ(180deg);
                            }
                            100% {
                                -webkit-transform: scale(1) rotateZ(360deg);
                                                transform: scale(1) rotateZ(360deg);
                            }
                        }
                        @keyframes rotate-scale-up {
                            0% {
                                -webkit-transform: scale(1) rotateZ(0);
                                                transform: scale(1) rotateZ(0);
                            }
                            50% {
                                -webkit-transform: scale(1) rotateZ(180deg);
                                                transform: scale(1) rotateZ(180deg);
                            }
                            100% {
                                -webkit-transform: scale(1) rotateZ(360deg);
                                                transform: scale(1) rotateZ(360deg);
                            }
                        }
                        .morphing-btn,
                         .morphing-btn-wrap {
                             display: block;
                             min-width: 100%;
                             min-height: 100%;
                             height: 100%;
                         }



.morphing-btn_circle {
    color: transparent !important;
    padding-left: 0;
    padding-right: 0;
    width: 35.6px !important;
    /* Override inline style rule */
    -webkit-transition: color 0.2s 0s, width .3s 0.2s;
    -moz-transition: color 0.2s 0s, width .3s 0.2s;
    -o-transition: color 0.2s 0s, width .3s 0.2s;
    transition: color 0.2s 0s, width .3s 0.2s;
}

.morphing-btn-clone {
    position: fixed;
    background: #FF6666;
    border-radius: 50%;
    z-index: 3;
    -webkit-transition: all 0.5s cubic-bezier(.65, .05, .36, 1);
    -moz-transition: all 0.5s cubic-bezier(.65, .05, .36, 1);
    -o-transition: all 0.5s cubic-bezier(.65, .05, .36, 1);
    transition: all 0.5s cubic-bezier(.65, .05, .36, 1);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.morphing-btn-clone_visible {
    display: block;
    -webkit-transform: scale(1) !important;
    -moz-transform: scale(1) !important;
    -ms-transform: scale(1) !important;
    -o-transform: scale(1) !important;
    transform: scale(1) !important;
}

.fancybox-morphing .fancybox-bg {
    background: #FF6666;
    opacity: 1;
}

.fancybox-morphing .fancybox-toolbar {
    top: 20px;
    right: 40px;
}

.fancybox-morphing .fancybox-button--close {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    color: #fff;
}

.fancybox-morphing .fancybox-button--close::after,
.fancybox-morphing .fancybox-button--close::before {
        height: 1.55px;
        width: 22px;
        left: calc(50% - 11px);
}

.fancybox-morphing .fancybox-button--close:hover {
    background: rgba(0, 0, 0, 0.25);
}

/* Styling for element used in example */

.morphing-content {
    margin: 0;
    position: relative;
    background: transparent !important;
    color: #333;
    font-size: 19px;
    padding: 6em 10vw;
    line-height: 2;
    z-index: 3;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

#morphing-content a {
    color: #fff;
}