body {
    max-width: 480px;
    margin: auto !important;
    background-color: #03152B !important;
    background-image: url("../images/tarot_background.png");
    background-size: auto;
    background-position: top center;
    background-attachment: fixed;
    top: 0;
    background-repeat: no-repeat;
}

.full-container {
    width: 100%;
    height: 100%;
    position: absolute;
    overflow: hidden;
    max-width: 480px;
}

.full-container-scrollable {
    width: 100%;
    height: 100%;
    min-height: 860px;
    max-width: 480px;
    background-color: rgba(0, 0, 0, 0.2);
}

.full-container-scrollable.lattan,
.full-container.lattan {
    background-color: white;
}

/* .full-container {
    width: 100%;
    display: flex;
    flex-direction: row;
    height: 500px;
    position: relative;
    background-color: red;
    padding: 0 2.5%;
} */

.tarot-back {
    object-fit: cover;
    width: 100%;
    aspect-ratio: 188/327;
}

.card-cover {
    width: 100%;
    height: 320px;
    background-color: #250e3d;
    bottom: -500px;
    position: absolute;
    z-index: 20;
}

.full-container .card2 {
    width: 40%;
    height: fit-content;
    position: absolute;
    bottom: 40%;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

.full-container .card2 img {
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}

.full-container .card2.card-sec-row {
    bottom: 30%;
}

.full-container .card2:nth-child(1) {
    margin-left: 0%;
}

.full-container .card2:nth-child(2) {
    margin-left: 6%;
}

.full-container .card2:nth-child(3) {
    margin-left: 12%;
}

.full-container .card2:nth-child(4) {
    margin-left: 18%;
}

.full-container .card2:nth-child(5) {
    margin-left: 24%;
}

.full-container .card2:nth-child(6) {
    margin-left: 30%;
}

.full-container .card2:nth-child(7) {
    margin-left: 36%;
}

.full-container .card2:nth-child(8) {
    margin-left: 42%;
}

.full-container .card2:nth-child(9) {
    margin-left: 48%;
}

.full-container .card2:nth-child(10) {
    margin-left: 54%;
}

.full-container .card2:nth-child(11) {
    margin-left: 60%;
}

.full-container .card2:nth-child(12) {
    margin-left: 0%;
    z-index: 12;
}

.full-container .card2:nth-child(13) {
    margin-left: 6%;
    z-index: 11;
}

.full-container .card2:nth-child(14) {
    margin-left: 12%;
    z-index: 10;
}

.full-container .card2:nth-child(15) {
    margin-left: 18%;
    z-index: 9;
}

.full-container .card2:nth-child(16) {
    margin-left: 24%;
    z-index: 8;
}

.full-container .card2:nth-child(17) {
    margin-left: 30%;
    z-index: 7;
}

.full-container .card2:nth-child(18) {
    margin-left: 36%;
    z-index: 6;
}

.full-container .card2:nth-child(19) {
    margin-left: 42%;
    z-index: 5;
}

.full-container .card2:nth-child(20) {
    margin-left: 48%;
    z-index: 4;
}

.full-container .card2:nth-child(21) {
    margin-left: 54%;
    z-index: 3;
}

.full-container .card2:nth-child(22) {
    margin-left: 60%;
    z-index: 2;
}

.name-container {
    width: 100%;
    text-align: center;
    color: white;
    margin-top: 20%;
    display: none;
    transition: 1s ease;
    -webkit-transition: 1s ease;
    -moz-transition: 1s ease;
    -ms-transition: 1s ease;
    -o-transition: 1s ease;
}

.button-container {
    display: none;
    transition: 1s ease;
    -webkit-transition: 1s ease;
    -moz-transition: 1s ease;
    -ms-transition: 1s ease;
    -o-transition: 1s ease;
    position: absolute;
    bottom: 10vh;
    width: 100%;
}

.red {
    position: absolute;
    top: 15%;
    left: 50%;
    margin-left: 0 !important;
    transform: translate(-50%, -50%);
    transition: 1s ease;
    transition-property: top;
    color: red;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    @keyframes: rise;
}

@keyframes rise {
    0% {
        width: 200px;
        height: 200px;
    }

    100% {
        width: 150px;
        height: 150px;
    }
}

.full-container .card2.hide-cards {
    bottom: -1000px;
    transition: 1s ease;
    -webkit-transition: 1s ease;
    -moz-transition: 1s ease;
    -ms-transition: 1s ease;
    -o-transition: 1s ease;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 1s;
    transform-style: preserve-3d;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    -webkit-transition: transform 1s;
    -moz-transition: transform 1s;
    -ms-transition: transform 1s;
    -o-transition: transform 1s;
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.flip-card-front {
    background-color: #bbb;
    color: black;
}

.flip-card-back {
    background-color: #2980b9;
    color: white;
    transform: rotateY(180deg);
}

.mobile-nav {
    height: 60px;
    width: 100%;
    max-width: 480px;
    display: flex;
    align-items: center;
    /* padding: 0 20px; */
    position: fixed;
    overflow: hidden;
    z-index: 100;
}

.mobile-nav * {
    margin-bottom: 0;
}

.mobile-nav span {
    line-height: unset;
}

.lattan .mobile-nav {
    background-color: #3092d4;
    box-shadow: 0px 0px 5px grey;
}

.mobile-nav a {
    text-decoration: none;
    color: white !important;
    margin-left: 20px;
    z-index: 2;
}

.mobile-nav h4 {
    width: 100%;
    position: absolute;
    text-align: center;
}

.image-section {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.image-section img {
    width: 100px;
}

.result-section {
    padding: 0 20px;
}

.result-section h5 {
    color: #bbb;
}

.content-section {
    margin-top: 60px;
    padding-bottom: 60px;
}

.search-section {
    padding: 20px 20px 10px 20px;
    position: fixed;
    background-color: white;
    width: 100%;
    max-width: 480px;
    z-index: 5;
}

.result-section-lattan {
    padding-top: 120px;
    padding-bottom: 120px;
    /* padding: 0 20px; */
    padding-left: 20px;
    padding-right: 20px;
    overflow-x: hidden;
    overflow-y: scroll;
}

.result-list {
    width: 100%;
    height: auto;
    color: #666666;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.result-list p {
    margin-bottom: 0;
}

.result-list span {
    color: #bbb;
}

.result-section-lattan-result {
    padding: 20px;
}

.preloader, .submitloader {
    width: 100vw;
    height: 100vh;
    position: absolute;
    background-color: white;
    top: 0;
    max-width: 480px;
    z-index: 200;
    display: flex;
    justify-content: center;
    align-items: center;
}

.submitloader {
    display: none;
    background-color: rgba(0, 0, 0, 0.5);
}

.submitloader.show {
    display: flex;
}

.pic-holder {
    text-align: center;
    position: relative;
    border-radius: 50%;
    width: 150px;
    height: 150px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.pic-holder .pic {
    height: 100%;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
}

.pic-holder .upload-file-block,
.pic-holder .upload-loader {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(90, 92, 105, 0.7);
    color: #f8f9fc;
    font-size: 12px;
    font-weight: 600;
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.pic-holder .upload-file-block {
    cursor: pointer;
}

.pic-holder:hover .upload-file-block,
.uploadProfileInput:focus~.upload-file-block {
    opacity: 1;
}

.pic-holder.uploadInProgress .upload-file-block {
    display: none;
}

.pic-holder.uploadInProgress .upload-loader {
    opacity: 1;
}

/* Snackbar css */
.snackbar {
    visibility: hidden;
    min-width: 250px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 1;
    left: 50%;
    bottom: 30px;
    font-size: 14px;
    transform: translateX(-50%);
}

.snackbar.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@-webkit-keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

#voucher .card-body ul {
    list-style-type: none;
    padding-left: 0;
}

.result-section-lattan-result .card {
    box-shadow: unset;
    background-color: transparent;
}

.result-section-lattan-result .card .card-header {
    border-bottom: 0;
}