#reference {
    height: 100%;
    filter: blur(3px);
}

#camera {
    /* position: fixed; */
    /* top: 50%;
	 left: 50%;
	 transform: translate(-50%, -50%);
	 -webkit-transform: translate(-50%, -50%);
	 -ms-transform: translate(-50%, -50%); */
    opacity: 1;
}

#camera .curve1 {
    transform: translate(50px, -350px) skew(-10deg, -20deg);
    -webkit-transform: translate(50px, -350px) skew(-10deg, -20deg);
    -ms-transform: translate(50px, -350px) skew(-10deg, -20deg);
    width: 60px;
    height: 20px;
    border-radius: 0 0 50% 0;
    box-shadow: 10px 10px 0 0 #35353d;
}

#camera .curve2 {
    transform: translate(300px, -370px) skew(10deg, 20deg) scale(-1, 1);
    -webkit-transform: translate(300px, -370px) skew(10deg, 20deg) scale(-1, 1);
    -ms-transform: translate(300px, -370px) skew(10deg, 20deg) scale(-1, 1);
    width: 60px;
    height: 20px;
    border-radius: 0 0 50% 0;
    box-shadow: 10px 10px 0 0 #35353d;
}

#camera .dial {
    transform: translate(330px, -330px);
    -webkit-transform: translate(330px, -330px);
    -ms-transform: translate(330px, -330px);
    width: 80px;
    height: 30px;
    border-radius: 5px;
    background: #30333a;
    box-shadow: inset -5px 1px 7px 4px rgba(0, 0, 0, 0.2);
}

#camera .buttons .main-buttons {
    transform: translate(330px, -30px);
    -webkit-transform: translate(330px, -30px);
    -ms-transform: translate(330px, -30px);
    width: 90px;
    height: 90px;
    background: #505261;
    border-radius: 100%;
    overflow: hidden;
    box-shadow: inset -5px 1px 7px 4px rgba(0, 0, 0, 0.2), 3px 1px 7px 2px rgba(0, 0, 0, 0.2);
}

#camera .buttons .main-buttons:after {
    content: '';
    position: absolute;
    transform: rotateZ(45deg);
    -webkit-transform: rotateZ(45deg);
    -ms-transform: rotateZ(45deg);
    top: 40px;
    left: -5px;
    width: 100px;
    height: 10px;
    background: #35353d;
}

#camera .buttons .main-buttons:before {
    content: '';
    position: absolute;
    transform: rotateZ(45deg);
    -webkit-transform: rotateZ(45deg);
    -ms-transform: rotateZ(45deg);
    left: 40px;
    top: -5px;
    width: 10px;
    height: 100px;
    background: #35353d;
}

#camera .buttons .central-button {
    transform: translate(350px, -99px);
    -webkit-transform: translate(350px, -99px);
    -ms-transform: translate(350px, -99px);
    width: 30px;
    height: 30px;
    background: #505261;
    border: 10px solid #35353d;
    border-radius: 100%;
    box-shadow: inset -5px 1px 7px 1px rgba(0, 0, 0, 0.2);
}

#camera .buttons .zoom-in {
    transform: translate(410px, -320px);
    -webkit-transform: translate(410px, -320px);
    -ms-transform: translate(410px, -320px);
    width: 30px;
    height: 30px;
    background: #505261;
    border-radius: 100%;
    box-shadow: inset -5px 1px 7px 1px rgba(0, 0, 0, 0.2), 3px 1px 7px 2px rgba(0, 0, 0, 0.2);
}

#camera .buttons .zoom-out {
    transform: translate(450px, -335px);
    -webkit-transform: translate(450px, -335px);
    -ms-transform: translate(450px, -335px);
    width: 30px;
    height: 30px;
    background: #505261;
    border-radius: 100%;
    box-shadow: inset -5px 1px 7px 1px rgba(0, 0, 0, 0.2), 3px 1px 7px 2px rgba(0, 0, 0, 0.2);
}

#camera .body {
    width: 500px;
    height: 300px;
    background: #35353d;
    border-radius: 20% 20% 40px 40px;
    box-shadow: inset -5px -10px 7px 4px rgba(0, 0, 0, 0.1);
}

#camera .body .screen-area {
    transform: translate(40px, 70px);
    -webkit-transform: translate(40px, 70px);
    -ms-transform: translate(40px, 70px);
    width: 260px;
    height: 200px;
    background: #191c21;
    border-radius: 15px;
    box-shadow: 0 0px 7px 4px rgba(0, 0, 0, 0.25);
}

#camera .body .screen-area .screen {
    transform: translate(10px, 10px);
    -webkit-transform: translate(10px, 10px);
    -ms-transform: translate(10px, 10px);
    width: 240px;
    height: 180px;
    background: url("https://source.unsplash.com/random/240x180");
    background-size: 100%;
    border-radius: 2px;
}

#camera .lens {
    transform: translate(100px, 0px);
    -webkit-transform: translate(100px, 0px);
    -ms-transform: translate(100px, 0px);
    width: 140px;
    height: 0px;
    background: transparent;
    border-radius: 60px 60px 0px 0px;
    border-bottom: 80px solid #35353d;
    border-left: 35px solid transparent;
    border-right: 35px solid transparent;
}

#camera .lens .viewfinder {
    position: relative;
    transform: translate(-10px, 34px);
    -webkit-transform: translate(-10px, 34px);
    -ms-transform: translate(-10px, 34px);
    width: 150px;
    height: 92px;
    background: #545761;
    border-radius: 40px 40px 0px 0px;
    box-shadow: 0 7px 7px 0 rgba(0, 0, 0, 0.5), inset -5px 2px 7px 2px rgba(0, 0, 0, 0.2);
    z-index: 4;
}

#camera .lens .viewfinder .viewfinder-inner {
    transform: translate(15px, 15px);
    -webkit-transform: translate(15px, 15px);
    -ms-transform: translate(15px, 15px);
    width: 120px;
    height: 77px;
    background: #5b5d69;
    border-radius: 20px 20px 0px 0px;
    box-shadow: inset 0px 2px 7px 2px rgba(0, 0, 0, 0.2);
}

#camera .lens .viewfinder .viewfinder-inner .viewfinder-eye {
    transform: translate(15px, 8px);
    -webkit-transform: translate(15px, 8px);
    -ms-transform: translate(15px, 8px);
    width: 70px;
    height: 45px;
    background: #595c65;
    border-radius: 0px;
    border-top: inset 10px rgba(0, 0, 0, 0.2);
    border-left: inset 10px rgba(0, 0, 0, 0.1);
    border-right: inset 10px rgba(0, 0, 0, 0.3);
    border-bottom: inset 10px rgba(0, 0, 0, 0.05);
}

#camera .lens .viewfinder .viewfinder-inner .viewfinder-eye .viewfinder-eye-glass {
    transform: translate(-4px, -4px);
    -webkit-transform: translate(-4px, -4px);
    -ms-transform: translate(-4px, -4px);
    width: 75px;
    height: 54px;
    background: #545761;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: inset 0px 2px 7px 4px rgba(0, 0, 0, 0.2);
}

#camera .lens .viewfinder .viewfinder-inner .viewfinder-eye .viewfinder-eye-glass .viewfinder-eye-lens {
    transform: translate(10px, 5px);
    -webkit-transform: translate(10px, 5px);
    -ms-transform: translate(10px, 5px);
    width: 59px;
    height: 44px;
    background: #272d32;
    border-radius: 100%;
}

#camera .lens .viewfinder-dial {
    transform: translate(120px, -70px);
    -webkit-transform: translate(120px, -70px);
    -ms-transform: translate(120px, -70px);
    width: 30px;
    height: 30px;
    background: #121318;
    border-radius: 100%;
    z-index: 3;
    box-shadow: 0 3px 7px 0 rgba(0, 0, 0, 0.5);
}

#camera .lens .viewfinder-attach {
    position: relative;
    transform: translate(25px, -100px);
    -webkit-transform: translate(25px, -100px);
    -ms-transform: translate(25px, -100px);
    width: 90px;
    height: 20px;
    background: #7e818e;
    border-radius: 40px;
    z-index: 4;
    box-shadow: 0 3px 7px 0 rgba(0, 0, 0, 0.5), inset 0px 4px 7px 0px rgba(0, 0, 0, 0.2);
}

#camera.hide {
    opacity: 0;
}

#reference.show {
    opacity: 1;
}

.wrapper {
    width: 90vw;
    max-width: 500px;
    margin: 5vw auto;
    position: relative;
    height: auto;
    min-height: 300px;
    background: url('https://subtlepatterns.com/patterns/dark_leather.png');
    z-index: -15;
    border: 2px dashed grey;
    box-shadow: 0 0 0 3vw #111111;
    border-radius: 4vw;
    padding: 4vw 0;
}

figure {
    width: 60vw;
    max-width: 270px;
    height: auto;
    min-height: 150px;
    position: relative;
    background: white;
    padding: 3vw;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    margin: 2vw auto;
}

.click {
    width: 100%;
    height: auto;
    border: 1px solid grey;
    aspect-ratio: 4/3;
    object-fit: cover;
}

figure:first-child,
figure:nth-child(2),
figure:nth-child(3) {
    transform: none;
    z-index: auto;
    top: auto;
    right: auto;
    left: auto;
    margin: 2vw auto;
}



/* img{
  width:270px;
  height:200px;
  border:1px solid grey;
} */

figcaption {
    padding-top: 5px;
    font-family: 'Allura', cursive;
    font-size: 2em;
}

.lens {
    height: 100px;
    width: 100px;
    margin: 9px;
    border-radius: 50%;
    border: 1px solid black;
    background:
        radial-gradient(#68554F, #241822, #68554F);
    box-shadow: inset 0 -10px 5px black, inset 0 10px 5px #68453F;
    position: Relative;
}

.lens:before {
    display: block;
    content: "";
    height: 10px;
    width: 10px;
    border: 1px solid rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 10px 10px rgba(0, 0, 0, 0.5),
        0 0 10px 15px rgba(0, 0, 0, 0.2),
        inset 0 -3px 2px rgba(0, 0, 0, 0.4),
        inset 0 1px 1px rgba(255, 255, 255, 0.05),
        -20px 10px 2px 10px rgba(255, 255, 255, 0.2);
    position: absolute;
    margin: 45px;
    border-radius: 50%;

}

.lens:after {
    display: block;
    content: "";
    position: absolute;
    height: 50px;
    width: 50px;
    border-radius: 50%;
    margin: 25px;
    border-bottom: 5px solid rgba(255, 255, 255, 0.05);
    /*box-shadow: 0 1px 5px rgba(255,255,255,0.05);*/

}

.outerlens {
    width: 120px;
    height: 120px;
    border: 1px solid #222;
    border-radius: 50%;
    box-shadow: inset 0 15px 10px rgba(0, 0, 0, 0.9),
        inset 0 -15px 20px rgba(255, 255, 255, 0.4);
    background: black;
    margin: 9px;
}

.outerouter {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: black;
    box-shadow: inset 0 -15px 20px rgba(255, 255, 255, 0.4),
        0 0 0px 50px #1A1E1F;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    position: relative;
    margin: 70px;
}

.outerouter:before {
    width: 240px;
    height: 240px;
    position: absolute;
    border-radius: 50%;
    display: block;
    content: "";
    margin: -51px;
    border: 2px solid #222;
    box-shadow: inset 0 -40px 50px rgba(255, 255, 255, 0.2);
}

.outerouter:after {
    width: 249px;
    height: 249px;
    position: absolute;
    border-radius: 50%;
    display: block;
    content: "";
    border: 2px solid #222;
    margin: -196px -56px;
    z-index: -10;
    background: linear-gradient(#333, #52595B);
    box-shadow: 0 0 0 15px rgba(0, 0, 0, 0.8);
}

.lenscontainer {
    border: 3px solid #eee;
    height: 280px;
    width: 280px;
    border-radius: 50%;
    margin: 30px auto;
    box-shadow: 0 0 1px 1px black,
        inset 0 0 1px 1px black,
        inset 0 13px 7px rgba(255, 255, 255, 0.9),
        inset 0 -10px 10px rgba(0, 0, 0, 0.3),
        0 0 10px 10px rgba(0, 0, 0, 0.5);
    z-index: 10;
    position: absolute;
    bottom: 0;
    right: 30px;
    background: black;
}

.book-wrapper {
    position: relative;
    margin: 2% auto;
    width: 100%;
    max-width: 670px;
    overflow: visible;
    padding: 40px 0 16px;
}

.book-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 1024 / 744;
    perspective: 2200px;
    -webkit-perspective: 2200px;
}

.book-wrapper .book-cover {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.book-wrapper .book-cover img {
    filter: drop-shadow(15px 5px 5px #494338);
    width: 100%;
    height: 100%;
    display: block;
    object-fit: fill;
}

.pages-container {
    position: absolute;
    top: 0;
    left: 0;
    overflow: visible;
    z-index: 2;
    box-sizing: border-box;
}

.book-wrapper .pages {
    width: 100% !important;
    height: 100% !important;
    max-width: 100%;
    max-height: 100%;
    overflow: visible !important;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    box-sizing: border-box;
}

.testimonial-flipbook .row,
.testimonial-flipbook .col-lg-6 {
    overflow: visible;
}


.pages [class^="page-num-"] {
    background-color: #e8dcc8;
    background-image: url("https://img00.deviantart.net/cbb9/i/2005/258/c/4/paper_texture_v5_by_bashcorpo.jpg");
    background-size: cover;
    background-position: center;
    position: relative;
    box-sizing: border-box;
}


.pages-content {
    text-align: center;
    position: absolute;
    width: 100%;
    height: 100%;
    display: table;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5% 3.5%;
    box-sizing: border-box;
}

.content-inner {
    text-align: center;
    /* display: table-cell; */
    vertical-align: middle;
}


.book-wrapper {
    user-select: none;
}

.page-num-7 .pages-content {
    padding: 3% 4%;
    overflow: visible;
}

.book-last-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    height: 100%;
    min-height: 0;
}

.book-last-page__sign {
    display: block;
    width: auto;
    max-width: 58%;
    max-height: 22%;
    height: auto;
    object-fit: contain;
    margin: 2% auto 0;
    flex-shrink: 0;
}

.book-last-page h5 {
    margin: 0;
    flex-shrink: 0;
}

.book-last-page__photo {
    display: block;
    width: auto;
    max-width: 72%;
    max-height: 55%;
    height: auto;
    object-fit: contain;
    margin: 0 auto 2%;
    flex-shrink: 0;
}


.page-num-1 .pages-background {
    background: linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1)), url(https://openclipart.org/image/2400px/svg_to_png/242093/Vintage-Floral-Texture-Background.png);
    background-size: cover;
    opacity: 0.2;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

.line-title {
    position: relative;
    width: 100%;
    max-width: 400px;
}

/******* Middle section CSS Start ******/
/* -------- Landing page ------- */
/* .game-section {
        padding: 60px 50px;
    } */

.game-section .owl-stage {
    margin: 15px 0;
    display: flex;
    display: -webkit-flex;
}

.game-section .item {
    margin: 0 15px 60px;
    width: 320px;
    height: 400px;
    display: flex;
    display: -webkit-flex;
    align-items: flex-end;
    -webkit-align-items: flex-end;
    background: #343434 no-repeat center center / cover;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
    cursor: pointer;
}

.game-section .item.active {
    width: 500px;
    box-shadow: 12px 40px 40px rgba(0, 0, 0, 0.25);
    -webkit-box-shadow: 12px 40px 40px rgba(0, 0, 0, 0.25);
}

.game-section .item:after {
    content: "";
    display: block;
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 1));
}

.game-section .item-desc {
    padding: 0 24px 12px;
    color: #fff;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transform: translateY(calc(100% - 70px));
    -webkit-transform: translateY(calc(100% - 70px));
    transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
}

.game-section .item.active .item-desc {
    transform: none;
    -webkit-transform: none;
}

.game-section .item-desc p {
    opacity: 0;
    -webkit-transform: translateY(32px);
    transform: translateY(32px);
    transition: all 0.4s ease-in-out 0.2s;
    -webkit-transition: all 0.4s ease-in-out 0.2s;
}

.game-section .item.active .item-desc p {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
}

.game-section .owl-theme.custom-carousel .owl-dots {
    margin-top: -20px;
    position: relative;
    z-index: 5;
}

@media (min-width: 992px) and (max-width: 1199px) {
    .game-section {
        padding: 50px 30px;
    }

    .game-section .item {
        margin: 0 12px 60px;
        width: 260px;
        height: 360px;
    }

    .game-section .item.active {
        width: 400px;
    }

    .game-section .item-desc {
        transform: translateY(calc(100% - 70px));
        -webkit-transform: translateY(calc(100% - 70px));
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .line-title {
        width: 330px;
    }

    /* -------- Landing page ------- */
    .game-section {
        padding: 50px 30px 40px;
    }

    .game-section .item {
        margin: 0 12px 60px;
        width: 240px;
        height: 330px;
    }

    .game-section .item.active {
        width: 360px;
    }

    .game-section .item-desc {
        transform: translateY(calc(100% - 70px));
        -webkit-transform: translateY(calc(100% - 70px));
    }
}

@media (max-width: 767px) {
    .line-title {
        width: 250px;
    }

    /* -------- Landing page ------- */
    .game-section {
        padding: 30px 15px 20px;
    }

    .game-section .item {
        margin: 0 10px 40px;
        width: 200px;
        height: 280px;
    }

    .game-section .item.active {
        width: 270px;
        box-shadow: 6px 10px 10px rgba(0, 0, 0, 0.25);
        -webkit-box-shadow: 6px 10px 10px rgba(0, 0, 0, 0.25);
    }

    .game-section .item-desc {
        padding: 0 14px 5px;
        transform: translateY(calc(100% - 70px));
        -webkit-transform: translateY(calc(100% - 70px));
    }
}

@media (min-width: 1200px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 1320px;
    }
}