/*------------*\
   #IPHONE X
\*------------*/

.px {
    position: relative;
    padding: 6% 7%;
}

.px--ls {
    padding: 3.3% 3%;
}

.px__body {
    position: absolute;
    top: 0;
    right: 1%;
    bottom: 0;
    left: 1%;
    background: linear-gradient(to top, #e5e5e5 0%, #f7f7f9 10%, #eeeef0 90%);
    border-radius: 14%/7%;
    box-shadow: inset 0 0 3px 1px #000;
}

.px--ls > .px__body {
    top: 1%;
    right: 0;
    bottom: 1%;
    left: 0;
    border-radius: 7%/14%;
}

.px__body:before {
    content: "";
    position: absolute;
    top: 0.7%;
    right: 1.4%;
    bottom: 0.7%;
    left: 1.4%;
    background-color: #000;
    border-radius: 13%/7%;
    box-shadow: 0 0 3px #000;
}

.px--ls > .px__body:before {
    top: 1.4%;
    right: 0.7%;
    bottom: 1.4%;
    left: 0.7%;
    border-radius: 7%/13%;
}

.px__body:after {
    content: "";
    position: absolute;
    top: 1%;
    right: 2.3%;
    bottom: 1%;
    left: 2.3%;
    background-color: #000;
    box-shadow: inset 0 0 10px 2px #fff;
    border-radius: 13%/6.5%;
}

.px--ls > .px__body:after {
    top: 2.3%;
    right: 1%;
    bottom: 2.3%;
    left: 1%;
    border-radius: 6.5%/13%;
}

.px__body__cut {
    position: absolute;
    z-index: 2;
    top: 3%;
    left: 50%;
    width: 50%;
    height: 3.5%;
    background-color: #000;
    border-radius: 0 0 10% 10%/80%;
    transform: translate3d(-50%, 0, 0);
}

.px--ls .px__body__cut {
    top: 50%;
    left: 3%;
    width: 3.5%;
    height: 50%;
    border-radius: 0 80% 80% 0/10%;
    transform: translate3d(0, -50%, 0);
}

.px__body__speaker,
.px__body__camera,
.px__body__sensor {
    position: absolute;
    z-index: 2;
    background-color: #222;
    transform: translate(-50%, -50%);
}

.px__body__speaker {
    top: 4%;
    left: 50%;
    width: 12%;
    height: 0.8%;
    border-radius: 5px;
}

.px--ls .px__body__speaker {
    top: 50%;
    left: 4%;
    width: 0.8%;
    height: 12%;
}

.px__body__camera {
    top: 4%;
    left: 36%;
    width: 3.5%;
    height: 1.7%;
    border-radius: 50%;
    box-shadow: inset 0 0 2px 1px #000;
}

.px--ls .px__body__camera {
    top: 64%;
    left: 4%;
    width: 1.7%;
    height: 3.5%;
}

.px__body__sensor {
    top: 4%;
    left: 61%;
    width: 2.2%;
    height: 1.1%;
    border-radius: 50%;
    background-color: #2a4a73;
    box-shadow: inset 0 0 2px 1px #000;
}

.px--ls .px__body__sensor {
    top: 39%;
    left: 4%;
    width: 1.1%;
    height: 2.2%;
}

.px__body__mute,
.px__body__up,
.px__body__down,
.px__body__right {
    position: absolute;
    background-color: #b5b8ba;
    box-shadow: inset 0 5px 5px -3px rgba(0, 0, 0, 0.5),
    inset 0 -5px 5px -3px rgba(0, 0, 0, 0.5);
    transform: translate(0, -50%);
}

.px--ls .px__body__mute,
.px--ls .px__body__up,
.px--ls .px__body__down,
.px--ls .px__body__right {
    box-shadow: inset 5px 0 5px -3px rgba(0, 0, 0, 0.5),
    inset -5px 0 5px -3px rgba(0, 0, 0, 0.5);
    transform: translate(-50%, 0);
}

.px--ls .px__body__right {
    background-color: #f4f6f6;
}

.px__body__mute {
    top: 14.7%;
    left: -0.7%;
    width: 0.7%;
    height: 4%;
    border-radius: 1px 0 0 1px;
}

.px--ls .px__body__mute {
    top: auto;
    left: 14.7%;
    bottom: -0.7%;
    width: 4%;
    height: 0.7%;
    border-radius: 0 0 1px 1px;
}

.px__body__up,
.px__body__down {
    left: -1%;
    width: 1%;
    height: 7.5%;
    border-radius: 2px 0 0 2px;
}

.px--ls .px__body__up,
.px--ls .px__body__down {
    bottom: -1%;
    width: 7.5%;
    height: 1%;
    border-radius: 0 0 2px 2px;
}

.px__body__up {
    top: 25%;
}

.px--ls .px__body__up {
    top: auto;
    left: 25%;
}

.px__body__down {
    top: 34%;
}

.px--ls .px__body__down {
    top: auto;
    left: 34%;
}

.px__body__right {
    top: 25%;
    right: -1%;
    width: 1%;
    height: 7.5%;
    border-radius: 0 2px 2px 0;
}

.px--ls .px__body__right {
    top: -1%;
    right: auto;
    left: 25%;
    width: 7.5%;
    height: 1%;
    border-radius: 2px 2px 0 0;
}

.px__screen {
    position: relative;
    z-index: 1;
}

.px__screen__ {
    position: relative;
    padding-bottom: 218%;
    background-color: #888;
    border-radius: 10%/5%;
    box-shadow: 0 0 10px #000;
}

.px--ls .px__screen__ {
    padding-bottom: 46%;
    border-radius: 5%/10%;
}

.px__screen__frame {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    border-radius: inherit;
    background-size: cover;
    background-position: center center;
}

.px__screen__frame > .fa {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 5em;
    transform: translate(-50%, -50%);
}

.textlogo {
    font-size: 20px;
    line-height: 30px;
    font-weight: 500;
    color: #333;
    margin: 15px 0;
}

/* swiper  Slider*/
.swiper-container {
    padding: 0;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

@media screen and (max-width: 768px) {
    .swiper-container {
        height: 500px;
    }
}

.swiper-slide {
    width: 100%;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.swiper-slide:after {
    content: "";
    /*background-image: linear-gradient(0deg, black, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1));*/
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    z-index: 1;
    opacity: 0.3;
}

.swiper-slide:before {
    content: "";
    /*background-color: rgba(69, 69, 78, 0.2);*/
    /*background-image: linear-gradient(180deg, rgba(255, 234, 213, 0.3), rgba(241, 244, 255, 0.3));*/
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    z-index: 1;
}

/* swiper arrows */
.swiper-button-prev,
.swiper-button-next {
    width: 50px;
    height: 50px;
    background-image: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-button-prev {
    left: 30px;
}

.swiper-button-next {
    right: 30px;
}

.swiper-button-prev span,
.swiper-button-next span {
    width: 10px;
    height: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    position: absolute;
    border: solid 2px white;
    border-left: 0;
    border-bottom: 0;
    transition: all 0.3s ease;
}

.swiper-button-prev span {
    transform: rotate(-135deg);
    left: 50%;
}

.swiper-button-next span {
    transform: rotate(45deg);
    right: 50%;
}

.swiper-button-prev span:after,
.swiper-button-next span:after {
    content: "";
    position: absolute;
    background-color: white;
    width: 0px;
    height: 2px;
    transition: all 0.3s ease;
    transform: rotate(-45deg);
}

.swiper-button-prev:hover span {
    left: 30%;
}

.swiper-button-next:hover span {
    right: 30%;
}

.swiper-button-prev:hover span:after,
.swiper-button-next:hover span:after {
    width: calc(20px - 4px);
}

/* swiper arrows mobile */
@media screen and (max-width: 768px) {
    .swiper-button-prev {
        left: 0px;
    }

    .swiper-button-next {
        right: 0px;
    }

    .swiper-button-prev:hover span {
        left: 50%;
    }

    .swiper-button-next:hover span {
        right: 50%;
    }

    .swiper-button-prev:hover span:after,
    .swiper-button-next:hover span:after {
        display: none;
    }
}

/* swiper pagination */
.swiper-pagination {
    height: 40px;
}

.swiper-pagination-bullet {
    background-color: transparent;
    border: solid 1px white;
    opacity: 1;
    transition: all 0.3s ease-in-out;
}

.swiper-pagination-bullet:hover {
    background-color: white;
}

.swiper-pagination-bullet-active {
    width: 20px;
    border-radius: 50px;
    transition: all 0.3s ease-in-out;
    left: 0;
    background-color: transparent;
    border: solid 1px white;
}

/* text content */
.slide-text {
    text-align: center;
    color: white;
    opacity: 1;
    z-index: 2;
    font-family: "IBM Plex Sans", sans-serif;
    width: 80%;
    max-width: 500px;
}

.slide-text h1 {
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 30px;
    letter-spacing: 0.03em;
}

.slide-text p {
    font-size: 16px;
    font-family: "IBM Plex Mono", monospace;
}

/* text mobile */
@media screen and (max-width: 768px) {
    .slide-text {
        width: 60%;
    }

    .slide-text h1 {
        font-size: 20px;
        letter-spacing: 0.02em;
    }

    .slide-text p {
        font-size: 14px;
    }
}


@media screen and (max-width: 768px) {
    .slide-text .btn:hover::after {
        left: 0px;
        top: 0px;
        background-color: rgba(255, 255, 255, 0.1);
    }
}

button:focus {
    outline: 0;
}

.bg-gradient1 span,
.bg-gradient1:before {
    /*background: #fa7e29;
    background: linear-gradient(180deg, #fa7e29 0%, #f6682f 80%, #f6682f 100%);*/
    background: #ffffff;
    border: 1px solid;
}
.bg-gradient2 span,
.bg-gradient2:before {
    background: #ffffff;
    border: 1px solid;
    /*background: #DC1C13;
    background: linear-gradient(180deg, #f01c13 0%, #e21b13 80%, #f0260c 100%);*/
}
/* fancy Button */
.fancy-button {
    display: inline-block;
    font-weight: 500;
    font-size: 15px;
    color: #000;
    /*letter-spacing: 0.07em;*/
    text-transform: uppercase;
    line-height: 24px;
    position: relative;
}

.fancy-button:before {
    content: "";
    display: inline-block;
    height: 10px;
    position: absolute;
    bottom: -1px;
    left: 10px;
    right: 10px;
    z-index: -1;
    border-radius: 2em;
    filter: blur(14px) brightness(0.9);
    transform-style: preserve-3d;
    transition: all 0.3s ease-out;
}
.fancy-button i {
    margin-top: -2px;
    font-size: 1.265em;
    vertical-align: middle;
}
.fancy-button span {
    display: inline-block;
    padding: 5px 8px;
    color: #000000;
    border-radius: 10px;
    position: relative;
    z-index: 2;
    will-change: transform, filter;
    transform-style: preserve-3d;
    transition: all 0.3s ease-out;
}
.fancy-button:hover span {
    filter: brightness(0.9) contrast(1.2);
    transform: scale(0.96);
}
.fancy-button:hover:before {
    bottom: 3px;
    filter: blur(6px) brightness(0.8);
}
.fancy-button:active span {
    filter: brightness(0.75) contrast(1.7);
}
.fancy-button.pop-onhover span {
    border-radius: 4px;
}
.fancy-button.pop-onhover:before {
    opacity: 0;
    bottom: 10px;
}
.fancy-button.pop-onhover:hover:before {
    bottom: -7px;
    opacity: 1;
    filter: blur(16px);
}
.fancy-button.pop-onhover:hover span {
    transform: scale(1);
}
.fancy-button.pop-onhover:hover:active span {
    filter: brightness(1) contrast(1);
    transform: scale(1);
    transition: all 0.2s ease-out;
}
.fancy-button.pop-onhover:hover:active:before {
    bottom: 0;
    filter: blur(5px) brightness(0.85);
    transition: all 0.2s ease-out;
}

.nav > li > a {
    position: relative;
    display: block;
    padding: 16px 10px !important
}
