.fnc-slider {
    overflow: hidden;
    box-sizing: border-box;
    position: relative;
    height: 100%;
}

.fnc-slider *,
.fnc-slider *:before,
.fnc-slider *:after {
    box-sizing: border-box;
}

.fnc-slider__slides {
    position: relative;
    height: 100%;
    transition: transform 1s 0.6666666667s;
}

.fnc-slider .m--blend-dark .fnc-slide__inner {
    background-color: #8a8a8a;
}

.fnc-slider .m--blend-dark .fnc-slide__mask-inner {
    background-color: #575757;
}

.fnc-slider .m--navbg-dark {
    background-color: #575757;
}

.fnc-slider .m--blend-green .fnc-slide__inner {
    background-color: #6d9b98;
}

.fnc-slider .m--blend-green .fnc-slide__mask-inner {
    background-color: #42605e;
}

.fnc-slider .m--navbg-green {
    background-color: #42605e;
}

.fnc-slider .m--blend-red .fnc-slide__inner {
    background-color: #ea2329;
}

.fnc-slider .m--blend-red .fnc-slide__mask-inner {
    background-color: #990e13;
}

.fnc-slider .m--navbg-red {
    background-color: #990e13;
}

.fnc-slider .m--blend-blue .fnc-slide__inner {
    background-color: #59aecb;
}

.fnc-slider .m--blend-blue .fnc-slide__mask-inner {
    background-color: #2d7791;
}

.fnc-slider .m--navbg-blue {
    background-color: #2d7791;
}

.fnc-slide {
    overflow: hidden;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    transform: translate3d(0, 0, 0);
}

.fnc-slide.m--before-sliding {
    z-index: 2 !important;
    transform: translate3d(100%, 0, 0);
}

.fnc-slide.m--active-slide {
    z-index: 1;
    transition: transform 1s 0.6666666667s ease-in-out;
    transform: translate3d(0, 0, 0);
}

.fnc-slide__inner {
    position: relative;
    background-size: cover;
    background-position: center top;
    transform: translate3d(0, 0, 0);
}

.m--global-blending-active .fnc-slide__inner,
.m--blend-bg-active .fnc-slide__inner {
    background-blend-mode: luminosity;
}

.m--before-sliding .fnc-slide__inner {
    transform: translate3d(-100%, 0, 0);
}

.m--active-slide .fnc-slide__inner {
    transition: transform 1s 0.6666666667s ease-in-out;
    transform: translate3d(0, 0, 0);
}

.fnc-slide__mask {
    overflow: hidden;
    z-index: 1;
    position: absolute;
    right: 20%;
    top: 5%;
    width: 20rem;
    height: 33rem;
    margin-right: -90px;
    -webkit-clip-path: polygon(
        0 16%,
        100% 0,
        93% 16%,
        0 32%,
        0 48%,
        100% 32%,
        93% 48%,
        0 64%,
        0 80%,
        100% 64%,
        93% 80%,
        0 96%
    );
    clip-path: polygon(
        0 16%,
        100% 0,
        93% 16%,
        0 32%,
        0 48%,
        100% 32%,
        93% 48%,
        0 64%,
        0 80%,
        100% 64%,
        93% 80%,
        0 96%
    );
    transform-origin: 50% 0;
    transition-timing-function: ease-in-out;
}

.m--before-sliding .fnc-slide__mask {
    transform: rotate(-10deg) translate3d(200px, 0, 0);
    opacity: 0;
}

.m--active-slide .fnc-slide__mask {
    transition: transform 0.7s 1.2222222222s, opacity 0.35s 1.2222222222s;
    transform: translate3d(0, 0, 0);
    opacity: 1;
}

.m--previous-slide .fnc-slide__mask {
    transition: transform 0.7s 0.3333333333s, opacity 0.35s 0.6833333333s;
    transform: rotate(10deg) translate3d(-200px, 0, 0);
    opacity: 0;
}

.fnc-slide__mask-inner {
    z-index: -1;
    position: absolute;
    left: 50%;
    top: 50%;
    width: 70rem;
    height: 80rem;
    margin-left: -50rem;
    margin-top: -50rem;
    background-size: cover;
    background-position: center center;
    background-blend-mode: luminosity;
    transform-origin: 50% 16.5rem;
    transition-timing-function: ease-in-out;
}

.m--before-sliding .fnc-slide__mask-inner {
    transform: translateY(0) rotate(10deg) translateX(-200px) translateZ(0);
}

.m--active-slide .fnc-slide__mask-inner {
    transition: transform 0.7s 1.2222222222s;
    transform: translateX(0);
}

.m--previous-slide .fnc-slide__mask-inner {
    transition: transform 0.7s 0.3333333333s;
    transform: translateY(0) rotate(-10deg) translateX(200px) translateZ(0);
}

.fnc-slide__content {
    z-index: 2;
    position: absolute;
    left: 40%;
    top: 40%;
}

.fnc-slide__heading {
    margin-bottom: 10px;
    text-transform: uppercase;
}

.fnc-slide__heading-line {
    overflow: hidden;
    position: relative;
    padding-right: 20px;
    font-size: 100px;
    color: #fff;
    word-spacing: 10px;
}

.fnc-slide__heading-line:nth-child(2) {
    padding-left: 30px;
}

.m--before-sliding .fnc-slide__heading-line {
    transform: translateY(100%);
}

.m--active-slide .fnc-slide__heading-line {
    transition: transform 1.5s 1s;
    transform: translateY(0);
}

.m--previous-slide .fnc-slide__heading-line {
    transition: transform 1.5s;
    transform: translateY(-100%);
}

.fnc-slide__heading-line span {
    display: block;
}

.m--before-sliding .fnc-slide__heading-line span {
    transform: translateY(-100%);
}

.m--active-slide .fnc-slide__heading-line span {
    transition: transform 1.5s 1s;
    transform: translateY(0);
}

.m--previous-slide .fnc-slide__heading-line span {
    transition: transform 1.5s;
    transform: translateY(100%);
}

.fnc-slide__action-btn {
    position: relative;
    margin-left: 200px;
    padding: 5px 15px;
    font-size: 20px;
    line-height: 1;
    color: transparent;
    border: none;
    text-transform: uppercase;
    background: transparent;
    cursor: pointer;
    text-align: center;
    outline: none;
}

.fnc-slide__action-btn span {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    perspective: 1000px;
    transform-style: preserve-3d;
    transition: transform 0.3s;
    transform-origin: 50% 0;
    line-height: 30px;
    color: #fff;
}

.fnc-slide__action-btn span:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border: 2px solid #fff;
    border-top: none;
    border-bottom: none;
}

.fnc-slide__action-btn span:after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    line-height: 30px;
    background: #1f2833;
    opacity: 0;
    transform-origin: 50% 0;
    transform: translateY(100%) rotateX(-90deg);
    transition: opacity 0.15s 0.15s;
}

.fnc-slide__action-btn:hover span {
    transform: rotateX(90deg);
}

.fnc-slide__action-btn:hover span:after {
    opacity: 1;
    transition: opacity 0.15s;
}

.fnc-nav {
    z-index: 5;
    position: absolute;
    right: 0;
    bottom: 0;
    text-align: center;
    line-height: 0;
    display: block;
}

.fnc-nav__bgs {
    z-index: -1;
    overflow: hidden;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.fnc-nav__bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.fnc-nav__bg.m--nav-bg-before {
    z-index: 2 !important;
    transform: translateX(100%);
}

.fnc-nav__bg.m--active-nav-bg {
    z-index: 1;
    transition: transform 1s 0.6666666667s;
    transform: translateX(0);
}

.fnc-nav__controls {
    font-size: 0;
}

.fnc-nav__control {
    overflow: hidden;
    position: relative;
    display: inline-block;
    vertical-align: top;
    width: 5rem;
    height: 3rem;
    font-size: 14px;
    color: #fff;
    text-transform: uppercase;
    background: #b8a768;
    border: none;
    outline: none;
    cursor: pointer;
    transition: background-color 0.5s;
}
@media (max-width: 675px) {
    .fnc-nav__control {
        width: 2rem;
        height: 2rem;
        font-size: small;
    }
}

.fnc-nav__control.m--active-control {
    background: #1d4f95d1;
}

.fnc-nav__control-progress {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0.2rem;
    background: #fff;
    transform-origin: 0 50%;
    transform: scaleX(0);
    transition-timing-function: linear !important;
}

.m--with-autosliding .m--active-control .fnc-nav__control-progress {
    transform: scaleX(1);
}

.m--prev-control .fnc-nav__control-progress {
    transform: translateX(100%);
    transition: transform 0.5s !important;
}

.m--reset-progress .fnc-nav__control-progress {
    transform: scaleX(0);
    transition: transform 0s 0s !important;
}

.m--autosliding-blocked .fnc-nav__control-progress {
    transition: all 0s 0s !important;
    transform: scaleX(0) !important;
}

/* NOT PART OF COMMON SLIDER STYLES */

body {
    margin: 0;
}

.demo-cont__credits {
    box-sizing: border-box;
    overflow-y: auto;
    z-index: 1;
    position: absolute;
    right: 0;
    top: 0;
    width: 400px;
    height: 100%;
    padding: 20px 10px 30px;
    background: #303030;
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    color: #fff;
    text-align: center;
    transition: transform 0.7s;
    transform: translate3d(100%, 0, 0) rotateY(-45deg);
    will-change: transform;
}

.credits-active .demo-cont__credits {
    transition: transform 0.7s 0.2333333333s;
    transform: translate3d(0, 0, 0);
}

.demo-cont__credits *,
.demo-cont__credits *:before,
.demo-cont__credits *:after {
    box-sizing: border-box;
}

.demo-cont__credits-close {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 28px;
    height: 28px;
    cursor: pointer;
}

.demo-cont__credits-close:before,
.demo-cont__credits-close:after {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 2px;
    margin-top: -1px;
    background: #fff;
}

.demo-cont__credits-close:before {
    transform: rotate(45deg);
}

.demo-cont__credits-close:after {
    transform: rotate(-45deg);
}

.demo-cont__credits-heading {
    text-transform: uppercase;
    font-size: 40px;
    margin-bottom: 20px;
}

.demo-cont__credits-img {
    display: block;
    width: 60%;
    margin: 0 auto 30px;
    border-radius: 10px;
}

.demo-cont__credits-name {
    margin-bottom: 20px;
    font-size: 30px;
}

.demo-cont__credits-link {
    display: block;
    margin-bottom: 10px;
    font-size: 24px;
    color: #fff;
}

.demo-cont__credits-blend {
    font-size: 30px;
    margin-bottom: 10px;
}

.example-slider {
    z-index: 2;
    transform: translate3d(0, 0, 0);
    transition: transform 0.7s;
}

.credits-active .example-slider {
    transform: translate3d(-400px, 0, 0) rotateY(10deg) scale(0.9);
}

.example-slider .fnc-slide-3 .fnc-slide__inner:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
}

.example-slider .fnc-slide__heading,
.example-slider .fnc-slide__action-btn,
.example-slider .fnc-nav__control {
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
}

/* COLORFUL SWITCH STYLES 
   ORIGINAL DEMO - https://codepen.io/suez/pen/WQjwOb */

.colorful-switch {
    position: relative;
    width: 180px;
    height: 77.1428571429px;
    margin: 0 auto;
    border-radius: 32.1428571429px;
    background: #cfcfcf;
}

.colorful-switch:before {
    content: "";
    z-index: -1;
    position: absolute;
    left: -5px;
    top: -5px;
    width: 190px;
    height: 87.1428571429px;
    border-radius: 37.1428571429px;
    background: #314239;
    transition: background-color 0.3s;
}

.colorful-switch:hover:before {
    background: #4c735f;
}

.colorful-switch__checkbox {
    z-index: -10;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
}

.colorful-switch__label {
    z-index: 1;
    overflow: hidden;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 32.1428571429px;
    cursor: pointer;
}

.colorful-switch__bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 540px;
    height: 100%;
    background: linear-gradient(
        90deg,
        #14dcd6 0,
        #10e7bd 180px,
        #ef9c29 360px,
        #e76339 100%
    );
    transition: transform 0.5s;
    transform: translate3d(-360px, 0, 0);
}

.colorful-switch__checkbox:checked
    ~ .colorful-switch__label
    .colorful-switch__bg {
    transform: translate3d(0, 0, 0);
}

.colorful-switch__dot {
    position: absolute;
    left: 131.1428571429px;
    top: 50%;
    width: 5.1428571429px;
    height: 5.1428571429px;
    margin-left: -2.5714285714px;
    margin-top: -2.5714285714px;
    border-radius: 50%;
    background: #fff;
    transition: transform 0.5s;
    transform: translate3d(0, 0, 0);
}

.colorful-switch__checkbox:checked
    ~ .colorful-switch__label
    .colorful-switch__dot {
    transform: translate3d(-80.3571428571px, 0, 0);
}

.colorful-switch__on {
    position: absolute;
    left: 104.1428571429px;
    top: 22.5px;
    width: 19.2857142857px;
    height: 36px;
    transition: transform 0.5s;
    transform: translate3d(0, 0, 0);
}

.colorful-switch__checkbox:checked
    ~ .colorful-switch__label
    .colorful-switch__on {
    transform: translate3d(-80.3571428571px, 0, 0);
}

.colorful-switch__on__inner {
    position: absolute;
    width: 100%;
    height: 100%;
    transition: transform 0.25s 0s cubic-bezier(0.52, -0.96, 0.51, 1.28);
    transform-origin: 100% 50%;
    transform: rotate(45deg) scale(0) translateZ(0);
}

.colorful-switch__checkbox:checked
    ~ .colorful-switch__label
    .colorful-switch__on__inner {
    transition: transform 0.25s 0.25s cubic-bezier(0.67, -0.16, 0.47, 1.61);
    transform: rotate(45deg) scale(1) translateZ(0);
}

.colorful-switch__on__inner:before,
.colorful-switch__on__inner:after {
    content: "";
    position: absolute;
    border-radius: 2.5714285714px;
    background: #fff;
}

.colorful-switch__on__inner:before {
    left: 0;
    bottom: 0;
    width: 100%;
    height: 6.1428571429px;
}

.colorful-switch__on__inner:after {
    right: 0;
    top: 0;
    width: 6.1428571429px;
    height: 100%;
}

.colorful-switch__off {
    position: absolute;
    left: 131.1428571429px;
    top: 50%;
    width: 41.1428571429px;
    height: 41.1428571429px;
    margin-left: -20.5714285714px;
    margin-top: -20.5714285714px;
    transition: transform 0.5s;
    transform: translate3d(0, 0, 0);
}

.colorful-switch__checkbox:checked
    ~ .colorful-switch__label
    .colorful-switch__off {
    transform: translate3d(-80.3571428571px, 0, 0);
}

.colorful-switch__off:before,
.colorful-switch__off:after {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 5.1428571429px;
    margin-top: -2.5714285714px;
    border-radius: 2.5714285714px;
    background: #fff;
    transition: transform 0.25s 0.25s;
}

.colorful-switch__checkbox:checked
    ~ .colorful-switch__label
    .colorful-switch__off:before,
.colorful-switch__checkbox:checked
    ~ .colorful-switch__label
    .colorful-switch__off:after {
    transition-delay: 0s;
}

.colorful-switch__off:before {
    transform: rotate(45deg) scaleX(1) translateZ(0);
}

.colorful-switch__checkbox:checked
    ~ .colorful-switch__label
    .colorful-switch__off:before {
    transform: rotate(45deg) scaleX(0) translateZ(0);
}

.colorful-switch__off:after {
    transition-timing-function: cubic-bezier(0.67, -0.16, 0.47, 1.61);
    transform: rotate(-45deg) scaleX(1) translateZ(0);
}

.colorful-switch__checkbox:checked
    ~ .colorful-switch__label
    .colorful-switch__off:after {
    transition-timing-function: ease;
    transform: rotate(-45deg) scaleX(0) translateZ(0);
}

@media (max-width: 768px) {
    .demo-cont {
        height: 500px;
    }
    .fnc-slide__inner {
        width: auto;
        height: 100%;
        margin: auto;
        display: block;
    }
    .fnc-slide__mask {
        overflow: hidden;
        z-index: 1;
        position: absolute;
        right: 30%;
        top: 32%;
        width: 4rem;
        height: 10rem;
        margin-right: -90px;
        -webkit-clip-path: polygon(
            0 16%,
            100% 0,
            93% 16%,
            0 32%,
            0 48%,
            100% 32%,
            93% 48%,
            0 64%,
            0 80%,
            100% 64%,
            93% 80%,
            0 96%
        );
        clip-path: polygon(
            0 16%,
            100% 0,
            93% 16%,
            0 32%,
            0 48%,
            100% 32%,
            93% 48%,
            0 64%,
            0 80%,
            100% 64%,
            93% 80%,
            0 96%
        );
        transform-origin: 50% 0;
        transition-timing-function: ease-in-out;
        width: 50%;
        height: 50%;
        object-fit: scale-down;
    }

    .hakkimizda-panel {
        font-size: small !important;
    }

    .hakkimizda-panel .cta-content {
        padding: 5px 0 20px;
    }

    .hakkimizda-panel h1 {
        font-size: 20px;
    }

    .hakkimizda-panel .btn {
        font-size: small;
    }
}
@media (min-width: 1197px) {
    .demo-cont {
        overflow: hidden;
        position: relative;
        width: 100vw;
        height: calc(100vw / 2.13);
        perspective: 1500px;
        background: #000;
    }
}

@media (max-width: 1198px) {
    .fnc-slide__inner-wrapper {
        display: flex;
        justify-content: center; /* Resimleri yatayda ortalar */
        align-items: center; /* Resimleri dikeyde ortalar */
        max-width: 100%;
    }
    .fnc-slide__inner {
        width: auto;
        height: 100%;
        margin: auto;
        display: block;
    }
    .fnc-slide__mask {
        display: none;
        overflow: hidden;
        z-index: 1;
        position: absolute;
        right: 20%;
        top: 24%;
        width: 12rem;
        height: 18rem;
        margin-right: -90px;
        -webkit-clip-path: polygon(
            0 16%,
            100% 0,
            93% 16%,
            0 32%,
            0 48%,
            100% 32%,
            93% 48%,
            0 64%,
            0 80%,
            100% 64%,
            93% 80%,
            0 96%
        );
        clip-path: polygon(
            0 16%,
            100% 0,
            93% 16%,
            0 32%,
            0 48%,
            25rem 100% 32%,
            93% 48%,
            0 64%,
            0 80%,
            100% 64%,
            93% 80%,
            0 96%
        );
        transform-origin: 50% 0;
        transition-timing-function: ease-in-out;
        width: 50%;
        height: 50%;
        object-fit: scale-down;
    }
    .demo-cont {
        overflow: hidden;
        height: 50rem;
        width: 100vw;
        max-width: 500px;
        margin: 0 auto;
    }
}
