html,
body {
    overflow-x: hidden;
}

.orange {
    color: #EF7526;
}

.font-weight-bold {
    font-weight: 600;
}

.font-weight-black {
    font-weight: 700;
}

.navbar-brand img {
    max-height: 145px;
}

.up-title {
    font-weight: 600;
    letter-spacing: 2px;
    color: #EF7526;
}

.hero {
    background-color: #000;
    background-image: url('img/keenan-constance-VTLcvV6UVaI-unsplash.jpg')!important;
    background-size: cover;
    background-attachment: fixed;
}

.hero:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    z-index: 5;
    width: 100%;
    height: 100%;
    display: block;
    background-color: rgba(0, 0, 0, 0.6);
}

.z {
    z-index: 9;
    position: relative;
}

section {
    position: relative;
}

.btn {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 16px;
}

@media (min-width: 768px) {
    .pt-md-5 {
        padding-top: 8rem !important;
    }

    .pb--md-5 {
        padding-bottom: 8rem !important;
    }

    .pt-md-7 {
        padding-top: 12rem !important;
    }

    .pb-md-7 {
        padding-bottom: 12rem !important;
    }

    .pb-md-6 {
        padding-bottom: 10rem !important;
    }

    .pt-md-6 {
        padding-top: 10rem !important;
    }
}

.chip-1 {
    max-height: 300px;
    position: absolute;
    right: -150px;
    bottom: -170px;
    overflow: hidden;
    z-index: 9;
}

.chip {
    max-height: 300px;
    position: absolute;
    left: -150px;
    bottom: -150px;
    z-index: 5;
    overflow: hidden;
}

.section-table {
    background: rgb(255,255,255, 0.0);
    background: linear-gradient(180deg, rgba(255,255,255,0) 50%, rgba(0,0,0,1) 100%);
}

.poker-table {
    display: block;

    /* background-color: #185B2A;
  padding-top: 150px;
    padding-bottom: 150px;
     border: 40px solid; */
    border-radius: 70%;
    min-height: 500px;
    max-width: 850px;
    margin: 0 auto;
    position: relative;
}

.cards {
    width: auto;
    position: relative;
}

.cards img {
    width: 100%;
    max-height: 300px;
    display: block;
}

.section-device {
    background-image: url('img/michal-parzuchowski-bRqsXcEcKFw-unsplash.jpg');
    background-size: cover;
    position: relative;
    background-attachment: fixed;
}

.footer {
    /* background-image: url('img/michal-parzuchowski-bRqsXcEcKFw-unsplash.jpg'); */
    border-top: 1px solid #111;
    background-size: cover;
    position: relative;
    background-attachment: fixed;
}

.section-device:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    z-index: 5;
    width: 100%;
    height: 100%;
    display: block;
    background: rgb(0,0,0);
    background: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.6558998599439776) 50%, rgba(0,0,0,1) 100%);
}

.hero-games:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: block;
    background: rgb(0,0,0);
    background: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.1558998599439776) 50%, rgba(0,0,0,1) 100%);
}

.section-games {
    background-image: url('img/pk-table.jpeg');
    border-top: 0px solid #111;
    background-size: cover;
    position: relative;
    background-attachment: fixed;
}

.section-games:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: block;
    background: rgb(0,0,0);
    background: linear-gradient(180deg, rgba(0,0,0,1) 30%, rgba(0,0,0,0.8) 50%, rgba(0,0,0,1) 100%);
}

.svg-logos {
    max-height: 40px;
    fill: #333;
}

.footer .svg-logos {
    max-height: 24px;
    margin-left: 12px;
}

svg.devices {
    fill: #fff;
}

.section-device .container,
.footer .container {
    position: relative;
    z-index: 9;
}

.scene {
    display: inline-block;
    width: 100%;
    height: 100%;

    /* border: 1px solid #CCC; */
    /* margin: 40px 0; */
    /* perspective: 300px; */
}

.card-p {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
    transform-style: preserve-3d;
    transform-origin: center right;
    transition: transform 1s;
}

.card-p img {
    max-height: 300px;
    width: auto;
}

.card-p.is-flipped {
    transform: translateX(-100%) rotateY(-180deg);
}

.card__face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
}

.card__face--front {
}

.card__face--back {
    /* background: slateblue; */
    transform: rotateY(180deg);
}

.deck {
    animation: extend  2s linear;
    width: 100%;
    left: -100px;
    position: absolute;
}

@keyframes extend {
    0% {
        width: 10%;
    }

    100% {
        width: 100%;
    }
}

.game {
    width: 100%;
    height: 400px;

    /* border:1px solid #fff; */
    border-radius: 40px;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    color: #fff;
    text-shadow: 1px 1px 0px #fff, 5px 5px 0px #000;
    font-weight: 600;
    font-size: 24px;
    padding: 24px;
    background: #ef76266d;

    /* box-shadow: 0 8px 32px 0 rgba(150, 150, 151, 0.37); */
    backdrop-filter: blur( 1px );
    -webkit-backdrop-filter: blur( 1px );
    position: relative;

    /* border: 1px solid rgba( 255, 255, 255, 0.18 ); */
}

/* .game:after {
    content:'';
        background-image: url('img/card.svg');
      background-size: contain;
      position: absolute;
      background-repeat:no-repeat;
     width: 90%;
    height: 90%;
    margin: 0 auto;
    background-position: bottom;
    border:1px solid #fff;
    border-radius:30px;
} */
.splide__list .splide__slide :after {
    content: '';
    background-size: contain;
    position: absolute;
    background-repeat: no-repeat;
    width: 90%;
    height: 90%;
    margin: 0 auto;
    background-position: bottom;
    border: 1px solid #fff;
    border-radius: 30px;
    z-index: -9;
}

.splide__list .splide__slide:nth-child(1n) :after {
    background-image: url('img/card.svg');
}

.splide__list .splide__slide:nth-child(2n) :after {
    background-image: url('img/card2.svg');
}

.splide__list .splide__slide:nth-child(3n) :after {
    background-image: url('img/card3.svg');
}

.splide__list .splide__slide:nth-child(4n) :after {
    background-image: url('img/card4.svg');
}

.splide__slide,
.pg-node-id-9,
.pg-main-cs-176 {
    margin: 0 2%;
}

.game-item {
    padding-bottom: 70px;
}

.gi-title {
    border: 1px solid #fff;
    border-right: 0px;
    color: #fff;
    padding: 30px;
    width: 100%;
    background-color: #000;
    z-index: 9;
    position: relative;
    border-left: 6px solid #EF7526;
}

.gi-desc {
    border: 1px solid #fff;
    border-bottom: 6px solid #fff;
    border-right: 6px solid #fff;
    padding: 30px;
    color: #fff;
    width: 100%;
    position: relative;
    margin-left: -1px;
    z-index: 1;
    min-height: 220px;
}

@media (max-width: 768px) {
    .navbar-brand img {
        max-height: 80px;
    }

    .chip,
    .chip-1 {
        max-height: 200px;
    }

    .p-card-1,
    .p-card-2 {
        max-height: 200px;
        position: relative!important;
        z-index: 9;
    }

    .card-p img {
        max-height: 190px!important;
    }

    .poker-table {
        min-height: 400px!important;
        max-width: 250px;
    }

    .deck {
        left: -65px;
    }

    .gi-title {
        border-right: 6px solid #EF7526!important;
        border-left: 6px solid #EF7526;
    }
}