body {
    background-color: black;
    /*background-image: url(../images/robot.jpg);
    background-attachment: fixed;
    background-position: calc( 50% + 50px ) 50%;
    background-size: cover;
    background-repeat: no-repeat;*/
    font-family: Sommet, sans-serif;
    color: #7de8e5;
    text-shadow: 0 0 10px rgba(125, 232, 229, 0.9), 0 0 5px rgba(125, 232, 229, 0.3);
    transition: all 0.5s linear;
    margin: 0;
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

.text-underline {
    text-decoration: underline;
}

ul {
    list-style-type: none;
}

.gradients {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-attachment: fixed;
    background-position: calc( 50% + 50px ) 50%;
    background-size: cover;
    background-repeat: no-repeat;
}

.gradients div.loading::after {
	content: "";
	width: 100%;
	height: 100%;
	position: absolute;
	left: calc(50% + 45px);
	top: 50%;
	transform: translate(-50%,-50%);
    background-size: 50px 50px;
	background: url("../images/loading.gif") no-repeat scroll center center; /*, radial-gradient(circle, black 7px, transparent 80%) */;
	opacity: 1;
	filter: brightness(0.8) sepia() hue-rotate(135deg) saturate(1.5);
}


.gradients div.loading img {
    opacity: 0;
}

.gradients .background-robot {
    background-image: url(../images/robot_small.jpg);
    z-index: 1;
}

.gradients .background-cyborg {
    background-image: url(../images/male_small.jpg);
    z-index: 2;
}

.gradients .background-companion {
    background-image: url(../images/female_small.jpg);
    z-index: 3;
}

.gradients .background-complete {
    background-image: url(../images/complete_small.jpg);
    z-index: 1;
}

.gradients .background-robot, .gradients .background-companion, .gradients .background-cyborg, .gradients .background-complete {
    background-attachment: fixed;
    background-position: calc( 50% + 50px ) 50%;
    background-size: auto 100%;
    background-repeat: no-repeat;
    opacity: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.5s linear;
    position: absolute;
    top: 0;
    left: 0;
}

.gradients img {
    width: auto;
    height: 100%;
    transform: translateX(-50%);
    position: relative;
    left: calc( 50% + 50px );
}

.robot .background-robot, .cyborg .background-cyborg, .companion .background-companion, .complete .background-complete {
    opacity: 1;
}

.gradients:after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(0deg, black 0, transparent max(10%,150px), transparent 80%, black 100%), linear-gradient(90deg, black 5%, transparent max(20%, 300px), transparent 80%, black 100%);
    z-index: 5;
}

@media(max-width:576px) {
    .gradients:after {
        background: linear-gradient(0deg, black 0, transparent max(10%,150px), transparent 80%, black 100%), linear-gradient(90deg, black 0%, transparent 20%, transparent 80%, black 100%);
    }
    .gradients div {
        background-position: center center !important;
    }
    .gradients img {
        left: 50%;
    }
    .gradients div.loading::after {
        left: 50%;
    }

}

.glow {
    color: #7de8e5;
}

.glow-sm {
    text-shadow: 0 0 10px rgba(125, 232, 229, 0.9), 0 0 5px rgba(125, 232, 229, 0.3);
}
.glow-md {
    text-shadow: 0 0 20px #7de8e5, 0 0 10px #7de8e5;
}
.glow-lg {
    text-shadow: 0 0 42px rgba(125, 232, 229, 0.5), 0 0 10px rgba(125, 232, 229, 0.3);
}

.brand {
    position: fixed;
    top: 0;
    left: 0;
    width: 100px;
    margin: 50px;
    font-family: Utopia, Sommet, sans-serif;
    font-size: 100px;
    text-align: center;
    line-height: 85px;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1200;
}

@media(max-width:576px) {
    .brand {
        width: calc(100% - 100px) !important;
    }
}

.slogan {
    font-family: Sommet, sans-serif;
    text-transform: none;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.4;
    letter-spacing: 0.15em;
    padding-top: 70px;
    padding-bottom: 50px;
    width: 50px;
    cursor: default;
}

@media(max-width:992px) {
    .brand {
        margin-left: 25px;
        font-size: 80px;
        line-height: 65px;
        padding-bottom: 100px;
    }
}


@media(max-width:768px) {
    .brand {
        font-size: 60px;
        line-height: 45px;
        padding-bottom: 150px;
        width: 40px;
        margin-left: 5px;
    }
}

@media(max-width:576px) {
    .brand {
        margin-left: 0px;
        font-size: 50px;
        line-height: 10px;
        padding-bottom: 300px;
        width: 100%;
        padding-top: 50px;
        transform: none !important;
        flex-direction: row;
        align-items: left;
        justify-content: left;
        top: 0 !important;
        left: 30px !important;
        padding: 0;
        margin-top: 20px;
        white-space: nowrap;
    }
    .slogan {
        font-size: 12px;
        line-height: 10px;
        width: 80px;
        padding: 0;
        padding-left: 50px;
        padding-top: 10px;
        white-space: wrap;
    }
}

@media(max-width:478px) {
    .slogan {
        display: none;
    }
    .brand {
        padding-top: 10px;
    }
}

@media(max-width:336px) {
    .brand {
        font-size: 40px;
    }
}

@font-face {
	font-family: 'Utopia';
	src: url("../fonts/utopian.ttf");
	src: url("../fonts/utopian.ttf") format("truetype");
}

@font-face {
	font-family: 'GenShin';
	src: url("../fonts/gen_shin.ttf");
	src: url("../fonts/gen_shin.ttf") format("truetype");
}

@font-face {
	font-family: 'Futura';
	src: url("../fonts/futura.ttf");
	src: url("../fonts/futura.ttf") format("truetype");
}

@font-face {
	font-family: 'Sommet';
	src: url("../fonts/sommet.ttf");
	src: url("../fonts/sommet.ttf") format("truetype");
	font-weight: normal;
}
@font-face {
	font-family: 'Sommet';
	src: url("../fonts/sommetbold.ttf");
	src: url("../fonts/sommetbold.ttf") format("truetype");
	font-weight: bold;
}


@-webkit-keyframes flicker {
	0% {
		text-shadow: 0 0 20px #7de8e5, 0 0 10px #7de8e5;
	}
    30% {
		text-shadow: 0 0 20px #7de8e5, 0 0 2px #7de8e5;
	}
    50% {
		text-shadow: 0 0 35px #7de8e5, 0 0 15px #7de8e5;
	}
    75% {
		text-shadow: 0 0 20px #7de8e5, 0 0 2px #7de8e5;
	}
	100% {
        text-shadow: 0 0 35px #7de8e5, 0 0 15px #7de8e5;
	}
}

@keyframes flicker {
	0% {
		text-shadow: 0 0 20px #7de8e5, 0 0 10px #7de8e5;
	}
    30% {
		text-shadow: 0 0 20px #7de8e5, 0 0 2px #7de8e5;
	}
    50% {
		text-shadow: 0 0 35px #7de8e5, 0 0 15px #7de8e5;
	}
    75% {
		text-shadow: 0 0 20px #7de8e5, 0 0 2px #7de8e5;
	}
	100% {
        text-shadow: 0 0 35px #7de8e5, 0 0 15px #7de8e5;
	}
}

@-webkit-keyframes flicker-block {
	0% {
		box-shadow: 0 0 20px #7de8e5, 0 0 10px #7de8e5;
	}
    30% {
		box-shadow: 0 0 20px #7de8e5, 0 0 2px #7de8e5;
	}
    50% {
		box-shadow: 0 0 35px #7de8e5, 0 0 15px #7de8e5;
	}
    75% {
		box-shadow: 0 0 20px #7de8e5, 0 0 2px #7de8e5;
	}
	100% {
        box-shadow: 0 0 32px rgba(125, 232, 229, 0.7), 0 0 10px rgba(125, 232, 229, 0.3);
	}
}

@keyframes flicker-block {
	0% {
		box-shadow: 0 0 20px #7de8e5, 0 0 10px #7de8e5;
	}
    30% {
		box-shadow: 0 0 20px #7de8e5, 0 0 2px #7de8e5;
	}
    50% {
		box-shadow: 0 0 35px #7de8e5, 0 0 15px #7de8e5;
	}
    75% {
		box-shadow: 0 0 20px #7de8e5, 0 0 2px #7de8e5;
	}
	100% {
        box-shadow: 0 0 32px rgba(125, 232, 229, 0.7), 0 0 10px rgba(125, 232, 229, 0.3);
	}
}

@-webkit-keyframes blink {
    0% {
		opacity: 0;
	}
    40% {
		opacity: 0;
	}
    41% {
		opacity: 1;
	}
    80% {
        opacity: 0.3;
    }
    100% {
		opacity: 1;
	}
}

@keyframes blink {
	0% {
		opacity: 0;
	}
    40% {
		opacity: 0;
	}
    41% {
		opacity: 1;
	}
    80% {
        opacity: 0.3;
    }
    100% {
		opacity: 1;
	}
}

@-webkit-keyframes blink-link {
    0% {
		opacity: 1;
	}
    40% {
        opacity: 0.3;
    }
    100% {
		opacity: 1;
	}
}

@keyframes blink-link {
	0% {
		opacity: 1;
	}
    40% {
		opacity: 0.3;
    }
    100% {
		opacity: 1;
	}
}

@keyframes fadeOutText {
	70% {
		color: inherit;
        min-height: 50px;
        padding: 15px 15px;
	}
    100% {
		color: transparent;
        min-height: 1px;
        padding: 0 15px;
	}
}

.button {
    border-radius: 0;
    padding: 8px 20px 12px 20px;
    border: 0;
    font-family: Utopia, Sommet, sans-serif;
    text-transform: lowercase;
    font-weight: bold;
    font-size: 22px;
    margin-top: -50px;
    margin-bottom: 30px;
    letter-spacing: 0.15em;
    margin-right: 30px;
    display: inline-block;
    transition: all 0.5s linear;
    white-space: nowrap;
    cursor: pointer;
}

@media(max-width:992px) {
    .button {
        font-size: 18px;
    }
}

@media(max-width:376px) {
    .button {
        font-size: 14px;
        padding-left: 10px;
        padding-right: 10px;
    }
    .modal-body p {
        font-size: 16px !important;
        padding-right: 10px;
    }
}


.button:hover {
    animation: flicker-block 1s linear infinite;
}

.button-primary {
    background: #7de8e5;
    color: black;
    border: 3px solid #7de8e5;
    box-shadow: 0 0 32px rgba(125, 232, 229, 0.5), 0 0 10px rgba(125, 232, 229, 0.3);
}

.button-outline {
    background: transparent;
    color: #7de8e5;
    border: 3px solid #7de8e5;
    box-shadow: 0 0 32px rgba(125, 232, 229, 0.5), 0 0 10px rgba(125, 232, 229, 0.3);
}

.button-bare {
    background: transparent;
    color: #7de8e5;
    padding: 0;
    margin: 0;
    margin-left: -20px;
    font-family: Sommet, sans-serif;
    cursor: pointer;
}

@media(max-width:376px) {
    #button-interprete {
        margin-left: -30px;
    }
}

.button-bare:hover {
    animation-name: flicker;
}


.modal-body::-webkit-scrollbar-track, textarea::-webkit-scrollbar-track {
	border-radius: 0;
    border: 0px;
    background: rgba(125, 232, 229, 0.1);
}

.modal-body::-webkit-scrollbar-thumb, textarea::-webkit-scrollbar-thumb {
	border-radius: 0px;
    background: #7de8e5;
    box-shadow: 0 0 32px rgba(125, 232, 229, 0.5), 0 0 10px rgba(125, 232, 229, 0.3);
}

.modal-body::-webkit-scrollbar, textarea::-webkit-scrollbar {
	width: 15px;
}


@media(min-width:1475px) {
    .modal-header {
        padding-left: 70px;
        padding-right: 50px;
    }
    .modal-gallery {
        padding-right: 70px;
        padding-left: 40px;
    }
    .modal-body div:first-child {
        padding-top: 40px;
    }
}

.lg-toolbar span, .lg-toolbar a, .lg-toolbar div, #lg-counter {
    display: none;
}

.lg-toolbar {
    background: transparent !important;
}

.lg-toolbar .lg-close {
    display: block;
}

.lg-toolbar .lg-close::after {
        content: "\2715";
        font-family: Utopia, Sommet, sans-serif;
        color: #7de8e5;
        font-weight: bold;
        border-radius: 50%;
        border: 3px solid #7de8e5;
        font-size: 25px;
        line-height: 20px;
        width: 25px;
        height: 25px;
        display: block;
        background: rgba(0, 0, 0, 0.75);
        box-shadow: 0 0 15px black;
}

.word-by-word span {
    transition: clip-path 0.3s linear;
    display: inline-block;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    position: relative;
}

.word-by-word .to-type {
    /*opacity: 0;*/
    display: none;
}

.word-by-word .current {
    display: inline-block;
    opacity: 1;
    color: transparent;
    text-shadow: none;
    animation: blink 0.4s infinite;
    clip-path: polygon(0 0, 10% 0, 10% 100%, 0 100%);
}
.word-by-word span.current::before {
    opacity: 1;
    content: "..";
    color: #7de8e5;
    animation: blink 0.3s linear;
    position: absolute;
    top: 0;
    left: 0;
}



.word-by-word p {
    transition: opacity 0.5s linear;
}

.modal-body p {
    font-size: 17px;
}

.profile, .spread {
    /*display: flex;*/
    /*flex-direction: column;*/
    /*align-items: center;*/
    /*flex-basis: 30%;*/
    /*margin: 0;
    justify-content: flex-end;*/
    text-align: center;
}

.spread { 
    /*justify-content: flex-end;*/
}

.profile img, .profile-image {
    height: 150px;
    border-radius: 50%;
    box-shadow: 0 0 32px rgba(0, 0, 0, 0.3);
}

.spread img {
    width: 200px;
}

.profile p, .spread p {
    margin: 25px 15px 40px 30px;
    max-width: 180px;
    min-width: 150px;
    min-height: 100px;
    text-align: left;
}

.profile p {
    min-height: 120px;
}

.spread p {
    margin: 25px 0px 40px 30px;
}

.profile .button, .spread .button {
    margin-right: 0;
}

.profile .button {
    min-width: 180px;
}

@media(max-width:576px) {
    .profile .button {
        min-width: 100px;
    }

}

.body-profile, .body-spread {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-content: center;
}

@media(min-width:1400px) {
    .body-profile, .body-spread {
        height: inherit;
    }

}

.body-spread {
    align-items: flex-end;
}

.body-profile div:first-child, .body-spread div:first-child {
    padding-top: 10px;
}

/*
.modal-dialog.modal-tabs {
    flex-direction: column;
}

.tab-hidden .modal-header {
    width: 100%;
    padding-top: 10px;
    padding-bottom: 15px;
    text-align: left;
    font-size: 30px;
}
.tab-hidden .modal-header div {
    padding-bottom: 0px;
}

.modal-content.tab-hidden {
    margin-top:-60px;
    height: 60px;
}*/

.hide {
    display: none !important;
}

.modal-header span:last-child {
    margin-bottom: 0 !important;
}
.modal-header span:first-child {
    margin-top: 0 !important;
}

.modal-header .hidden {
    display: inline-block;
    overflow: hidden;
    height: 38px;
    margin-bottom: 20px;
    margin-top: 20px;
}

@media(max-width:576px) {
    .modal-header .hidden {
        height: 28px;
    }
}

.modal-header .hidden:before {
    content: "\203A ";
}

.modal-header .header-spread.hidden:before {
 content: "1 ";
}
.modal-header .header-question.hidden:before {
    content: "2 ";
}
.modal-header .header-shuffle.hidden:before {
    content: "3 ";
}
.modal-header .header-interprete.hidden:before {
    content: "4 ";
}

a.choose-spread:focus, a.choose-spread:active, li a.skin:focus, li a.skin:active, .blinking {
    animation: blink-link 1s infinite !important;
}

.choose-spread .button::after {
    content: 'Choose';
}

.choose-spread .button.selected::after {
    content: 'Proceed';
}

.modal-body h2 {
    text-transform: uppercase;
    margin-top: 23px;
    letter-spacing: 0.15em;
    font-weight: 100;
}

@media(max-width:576px) {
    .modal-body h2 {
        margin-top: 10px;
    }

}

textarea {
    font-family: 'Sommet', sans-serif;
    background: radial-gradient(rgba(125, 232, 229, 0.3) 0%, rgba(0,0,0,0.3) 80%);
    border: 1px solid #7de8e5;
    box-shadow: 0 0 10px rgba(125, 232, 229, 0.3), 0 0 5px rgba(125, 232, 229, 0.1), inset 0 0 10px rgba(125, 232, 229, 0.3), inset 0 0 5px rgba(125, 232, 229, 0.1);
    color: #7de8e5;
    width:90%; 
    min-height: 100px;
    max-height: 300px;
    resize:vertical;
    text-align: left;
    padding: 15px;
    font-size: 16px;
    margin-top: 10px;
    margin-bottom: 30px;
    display: block;
}

@media(max-width:476px) {
    textarea {
        width: 85%;
    }
}

.error {
    border-color: rgba(214,125,246,1);
    box-shadow: 0 0 10px rgba(205, 150, 255, 0.6), 0 0 5px rgba(205, 150, 255, 0.1), inset 0 0 10px rgba(205, 150, 255, 0.6), inset 0 0 5px rgba(205, 150, 255, 0.1);
    color: rgba(214,125,246,1);
    background: radial-gradient(rgba(205, 150, 255, 0.3) 0%, rgba(0,0,0,0.3) 80%);
}

textarea:focus {
    outline: 0;
}

.mt-0 { margin-top: 0;}
.mt-00 { margin-top: 0 !important;}
.mb-0 { margin-bottom: 0;}
.mb-00 { margin-bottom: 0 !important;}
.mt-05 { margin-top: 5px;}
.mb-05 { margin-bottom: 5px;}
.mt-1 { margin-top: 10px;}
.mb-1 { margin-bottom: 10px;}
.mt-15 { margin-top: 15px}
.mb-15 { margin-bottom: 15px;}

.spread-question {
    position: relative;
    padding-left: 25px;
    padding-right: 30px;
    display: block;
    letter-spacing: 0.05em;
}

.spread-question:before,.spread-question:after {
    font-size: 60px;
    width: 22px;
    height: 15px;
    position: absolute;
    line-height: 15px;
    top:1px;
}
.spread-question:before {
    content: "\2039";
    left:0px;
}
.spread-question:after {
    content: "\203A";
    right: 8px;
}

.note {
    letter-spacing: 0.15em;
    font-size: 14px !important;
    max-width: 500px;
    margin-right: 25px;
}

.body-interprete .note {
    max-width: 460px;
}


/* card animations */

.table {    
    display: flex;
    justify-content: center;
    align-items: center;
}

.tarot-table {
	position: relative;
    min-height: 216px;
    min-width: 300px;
    margin-right: 25px;
}

.card, .card.drawn::after {
	width: 125px;
	height: 216px;
	background: url("../images/deck/cover.jpg");
    background-position: center center;
    background-repeat: no-repeat;
	border-radius: 6px;
	position: absolute;
	transform: translateY(0);
    padding: 0 !important;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    animation-delay: -3s;
    transition: all 0.4s linear;
    background-size: cover;
}

.card.drawn::after {
    content: "";
    left: 0;
    top: 0;
    box-shadow: unset;
    z-index: 2;
    animation: flip-cover 1s linear forwards;
}

.card.drawn {
    animation: flip-card 1s linear;
}

.card.drawn.deg90 {
    animation: flip-card-90deg 1s linear;
}

.card.drawn.flip:before {
    content: "";
    width: inherit;
    height: inherit;
    position: absolute;
    top:0;
    left: 0;
    background: inherit;
    transform: rotate(180deg) !important;
    border-radius: 6px;
}

.card.drawn:nth-child(2),.card.drawn:nth-child(2)::after { animation-delay: 0.3s; }
.card.drawn:nth-child(3),.card.drawn:nth-child(3)::after { animation-delay: 0.6s; }
.card.drawn:nth-child(4),.card.drawn:nth-child(4)::after { animation-delay: 0.9s; }
.card.drawn:nth-child(5),.card.drawn:nth-child(5)::after { animation-delay: 1.2s; }
.card.drawn:nth-child(6),.card.drawn:nth-child(6)::after { animation-delay: 1.5s; }
.card.drawn:nth-child(7),.card.drawn:nth-child(7)::after { animation-delay: 1.8s; }
.card.drawn:nth-child(8),.card.drawn:nth-child(8)::after { animation-delay: 2.1s; }
.card.drawn:nth-child(9),.card.drawn:nth-child(9)::after { animation-delay: 2.4s; }
.card.drawn:nth-child(10),.card.drawn:nth-child(10)::after { animation-delay: 2.7s; }

.card.drawn.deg90 {
    transform: rotate(-90deg);
}

.card.drawn::before {
    /*content: "";*/
    z-index: 1;
    background: inherit;
    animation: flip-card 0.5s linear forwards;
}

.love.complete .card.drawn:hover {
    transform: scale(2.25) !important;
    z-index: 5;
}

.detailed.complete .card.drawn:hover {
    transform: scale(2.57) !important;
    z-index: 5;
}

.basic.complete .card.drawn:hover {
    transform: scale(1.8) !important;
    z-index: 5;
}

.binary.complete .card.drawn:hover {
    transform: scale(1.8) !important;
    z-index: 5;
}

.love.complete .card.drawn.flip:hover {
    transform: rotate(180deg) scale(2.25) !important;
    z-index: 5;
}

.detailed.complete .card.drawn.flip:hover {
    transform: rotate(180deg) scale(2.57) !important;
    z-index: 5;
}

.basic.complete .card.drawn.flip:hover {
    transform: rotate(180deg) scale(1.8) !important;
    z-index: 5;
}

.binary.complete .card.drawn.flip:hover {
    transform: rotate(180deg) scale(1.8) !important;
    z-index: 5;
}

.card.one {
	left: calc(50%  - 63px);
	top: 0;
	z-index: 2;
}

.tarot-table.shuffle .card.one {
    animation: onTop 4s ease infinite;
    }

.card.two {
	left: calc( 50% + 10px - 63px);
	top: 10px;
	z-index: 1;
}

.tarot-table.shuffle .card.two {
    animation: onMiddle 4s ease infinite;
    }

.card.three {
	left:  calc( 50% + 20px - 63px);
	top: 20px;
	z-index: 0;
}

.tarot-table.shuffle .card.three {
    animation: onBottom 4s ease infinite;
    }

@keyframes onTop {
  6.25% {
    transform: translateX(50px);
    z-index: 2;
    left:  calc( 50% + 10px - 63px);
    top: 10px;
  }
  12.5% {
    transform: translateX(0);
    z-index: 0;
    left:  calc( 50% + 20px - 63px);
    top: 20px;
  }
  50% {
    transform: translateX(0);
    z-index: 0;
    left:  calc( 50% + 20px - 63px);
    top: 20px;
  }
  62.5% {
    transform: translateX(0);
    z-index: 1;
    left:  calc( 50% + 10px - 63px);
    top: 10px;
  }
  87.5% {
    transform: translateX(0);
    z-index: 1;
    left:  calc( 50% + 10px - 63px);
    top: 10px;
  }
  100% {
    transform: translateX(0);
    z-index: 2;
    left:  calc(50%  - 63px);
    top: 0;
  }
}
@keyframes onMiddle {
  12.5% {
    transform: translateX(0);
    z-index: 1;
    left:  calc(50%  - 63px);
    top: 0;
  }
  50% {
    transform: translateX(0);
    z-index: 2;
    left:  calc(50%  - 63px);
    top: 0;
  }
  56.25% {
    transform: translateX(50px);
    z-index: 2;
    left:  calc( 50% + 10px - 63px);
    top: 10px;
  }
  62.5% {
    transform: translateX(0);
    z-index: 0;
    left:  calc( 50% + 20px - 63px);
    top: 20px;
  }
  87.5% {
    transform: translateX(0);
    z-index: 0;
    left:  calc( 50% + 20px - 63px);
    top: 20px;
  }
  100% {
    transform: translateX(0);
    z-index: 1;
    left:  calc( 50% + 10px - 63px);
    top: 10px;
  }
}
@keyframes onBottom {
  12.5% {
    transform: translateX(0);
    z-index: 0;
    left:  calc( 50% + 10px - 63px);
    top: 10px;
  }
  50% {
    transform: translateX(0);
    z-index: 1;
    left:  calc( 50% + 10px - 63px);
    top: 10px;
  }
  62.5% {
    transform: translateX(0);
    z-index: 1;
    left:  calc(50%  - 63px);
    top: 0;
  }
  87.5% {
    transform: translateX(0);
    z-index: 2;
    left:  calc(50%  - 63px);
    top: 0;
  }
  93.75% {
    transform: translateX(50px);
    z-index: 2;
    left:  calc( 50% + 10px - 63px);
    top: 10px;
  }
  100% {
    transform: translateY(0);
    z-index: 0;
    left:  calc( 50% + 20px - 63px);
    top: 20px;
  }
}


@-webkit-keyframes flip-cover {
    0% {
        opacity: 1;
	}
    50% {
        opacity: 1;
	}
    51% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

@keyframes flip-cover {
    0% {
        opacity: 1;
	}
    50% {
        opacity: 1;
	}
    51% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

@-webkit-keyframes flip-card {
    0% {
        transform: scaleX(1);
	}
    50% {
        transform: scaleX(0.01);
	}
    51% {
        transform: scaleX(0.01);
	}
    100% {
        transform: scaleX(1)
    }
}

@keyframes flip-card {
    0% {
        transform: scaleX(1);
	}
    50% {
        transform: scaleX(0.01);
	}
    51% {
        transform: scaleX(0.01);
	}
    100% {
        transform: scaleX(1)
    }
}

@-webkit-keyframes flip-card-90deg {
    0% {
        transform: scaleX(1) rotate(-90deg);
	}
    50% {
        transform: scaleX(0.01) rotate(-90deg);
	}
    51% {
        transform: scaleX(0.01) rotate(-90deg);
	}
    100% {
        transform: scaleX(1) rotate(-90deg);
    }
}

@keyframes flip-card-90deg {
    0% {
        transform: scaleX(1) rotate(-90deg);
	}
    50% {
        transform: scaleX(0.01) rotate(-90deg);
	}
    51% {
        transform: scaleX(0.01) rotate(-90deg);
	}
    100% {
        transform: scaleX(1) rotate(-90deg);
    }
}


.basic {
    width: 378px;height:205px;
}
.binary {
    margin:0px 0 0px 10px;
    width: 280px;height:205px;
}
.love {
    width: 378px;
    height:615px;
    margin:-85px 0 -45px -30px;
    transform: scale(0.8);
}
.detailed {
    width: 567px;
    height:820px;
    margin:-150px 0 -110px -90px;
    transform: scale(0.69);
}

@media(max-width:468px) {
    .basic {
        transform: scale(0.8);
        margin-right: 20px;
    }
    .binary {
        transform: scale(0.8);
        margin-right: 20px;
    }
    .love {
        transform: scale(0.68);
        margin-right: 0px;
        margin-top: -100px;
        margin-bottom: -60px;
    }
    .detailed {
        transform: scale(0.55);
        margin-right: -50px;
        margin-top: -200px;
        margin-bottom: -160px;
    }
}

.spread-answer {
    margin: -30px 0px -10px 0px;
    min-height: 100px;
    letter-spacing: 0.05em;
    line-height: 1.1;
}

.loading p {
    display: none;
}

/*
.loading {
    position: relative;
    min-height: 200px;
} 

.loading:after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: calc(-50% + 75px);
    background: url(../images/preloader_black.gif), radial-gradient(circle, black 0%, transparent 30%);
    background-repeat: no-repeat;
    background-position: center center;
    background-blend-mode: screen;
    filter: brightness(0.8) sepia() hue-rotate(135deg) saturate(1.5);
    display: none;

}*/
.body-interprete, .body-shuffle, .body-question {
    max-width: 850px;
}

.body-deck {
    justify-content: flex-start;
}

.body-deck p {
    max-width: 850px;
}

.body-deck img {
    width: 100%;
    max-width: 850px;
    box-sizing: border-box;
    padding-right: 20px;
    margin-top: 30px;
}

.body-deck form {
    display: flex;
    flex-wrap: wrap;
}

.body-deck div.form-input {
    padding-top: 0 !important;
}

.loading #interpretation, .denied #interpretation, .loading #no-access {
    display: none;
}

.denied #no-access {
    display: block;
}

.loading .center, .page-loader-body .center {
    display: flex;
}

.center {
    display: none;
    justify-content: flex-start;
    align-items: center;
    transform: scale(0.5) translateX(-50%);
    margin-top: -30px;
    /*margin-bottom: -50px;*/
  }


.center:after {
    content: "connecting...";
    animation: blink-link 2s infinite;
    font-size: 30px;
    text-shadow: none;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-left: 20px;
}

.page-loader-body .center {
    justify-content: center;
    transform: unset;
    margin: 0;
}

.page-loader-body .center:after {
    content: 'loading...';
    font-size: 20px;
    display: none;
}

@media(max-width:476px) {
    .center:after {
        margin-left: 0px;
        position: absolute;
        bottom: -20px;
        left: 5px;
    }
    .center {
        margin-bottom: 10px;
    }
}

.wave {
    width: 5px;
    height: 100px;
    background: #7de8e5;
    margin: 10px;
    animation: wave 1s linear infinite;
    border-radius: 20px;
  }
  .wave:nth-child(2) {
    animation-delay: -0.9s;
  }
  .wave:nth-child(3) {
    animation-delay: -0.8s;
  }
  .wave:nth-child(4) {
    animation-delay: -0.7s;
  }
  .wave:nth-child(5) {
    animation-delay: -0.6s;
  }
  .wave:nth-child(6) {
    animation-delay: -0.5s;
  }
  .wave:nth-child(7) {
    animation-delay: -0.4s;
  }
  .wave:nth-child(8) {
    animation-delay: -0.3s;
  }
  .wave:nth-child(9) {
    animation-delay: -0.2s;
  }
  .wave:nth-child(10) {
    animation-delay: -0.1s;
  }
  
  @keyframes wave {
    0% {
      transform: scale(0);
    }
    50% {
      transform: scale(1);
    }
    100% {
      transform: scale(0);
    }
  }

  .center-button {
    position: absolute;
    left: calc(50% + 50px);
    transform: translateX(-50%);
    top: 60%;
  }

  @media(max-width:576px) {
    .center-button {
        left: 50%;
    }
  }

  .center-button .button {
    margin: 0;
    padding: 3px 23px 8px;
    border-radius: 0px;
    font-size: 28px;
    border-width: 5px !important;
    background-color: rgba(0, 0, 0, 0.25);
    text-shadow: 0 0 15px rgba(0, 0, 0, 1), 0 0 5px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.05em;
}

.center-button .button:hover {
    animation: /*flicker 2s infinite, */flicker-block 2s infinite;
    background-color: rgba(0, 0, 0, 0.5);
}

@media(max-width:992px) {
    .center-button .button {
        font-size: 22px;

    }

}

  .center-button .button::before, .center-button .button::after {
    content: "";
    position: absolute;
    left:0;
    top: 39px;
    border-top: 4px solid #7de8e5;
    width: 98%;
    margin: 0 1%;
    display: block;
    display: none;
  }

  .center-button .button::after {
    top: 71px;
  }

  body.modal-open  #ask-ai, body:has(.modal.fade.in) #ask-a {
        opacity: 0;
}


.email-result.closed form, .email-result.success form {
    display: none;
}

.email-result .user-message, .email-result.success.closed .user-message {
    display: none;
}

.email-result.success::after, .email-result.success .user-message {
    /*content: "Mail sent!";*/
    min-height: 50px;
    justify-content: flex-start !important;
    /*animation: fadeOutText 2s linear forwards;*/
}

.email-result form, .email-result.success::after, .email-result.success .user-message {
    background: radial-gradient(rgba(125, 232, 229, 0.3) 0%, rgba(0,0,0,0.3) 80%);
    border: 1px solid #7de8e5;
    padding: 15px;
    margin-top: 0 !important;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    max-width: 600px;
}

.email-result form .form-input {
    padding: 10px 0;
}

.form-input input {
    background: #7de8e5;
    border: 3px solid #7de8e5;
    box-shadow: 0 0 32px rgba(125, 232, 229, 0.5), 0 0 10px rgba(125, 232, 229, 0.3);
    color: black;
    padding: 11px 10px 14px 10px !important;
    outline: 0 !important;
    font-size: 18px;
    font-family: Sommet, sans-serif;
    letter-spacing: 0.05em;
    min-width: 200px;
    margin-right: 15px;
}

.body-deck .form-input input {
    background: transparent;
    color: #7de8e5;
}

.body-deck .user-message {
    display: none;
    border: 1px solid #7de8e5;
    box-shadow: 0 0 32px rgba(125, 232, 229, 0.5), 0 0 10px rgba(125, 232, 229, 0.3);
    padding: 20px;
}

.body-deck form.success .form-input {
    display: none;
}
.body-deck form.success .user-message {
    display: block;
}

.has-error .form-validation {
    display: block;
    color: rgba(214,125,246,1);
    text-shadow: 0 0 10px rgba(214,125,246, 0.3);
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: -10px;
    height: 10px;
    white-space: nowrap;
    position: relative;
    top: 1px;
}

.has-error input {
    background-color: rgba(214,125,246,1);
    box-shadow: 0 0 32px rgba(214,125,246, 0.5), 0 0 10px rgba(214,125,246, 0.3);
    border-color: rgba(214,125,246,1);
}

@media(max-width:656px) {
    .form-input input {
        min-width: unset;
        width: 85%;
    }
    .has-error .form-validation {
        font-size: 9px;
    }
}

.email-result {
    display: inline-block;
}

.email-result:not(.closed) .button:hover {
    animation: none;
    /*cursor: default;*/
}

.go-back::before {
    content: '\f104 ';
    font-family: "FontAwesome";
    display: inline-block;
    padding-right: 10px;
    margin-left: -5px;
}

.payment-plans {
    display: flex;
}

.no-access {
    display: none;
}

.denied .no-access {
    display: block;
}

.no-access p {
    display: block;
    margin: 0;
    margin-top: 10px;
}

.payment-plan {
    width: 32%;
    padding: 20px 20px 20px 20px !important;
    position: relative;
    margin-right: 3px;
    margin-bottom: 3px;
    background: radial-gradient(rgba(0, 0, 0, 0.3) 30%, rgba(125, 232, 229, 0.3) 100%);
    border: 1px solid #7de8e5;
    box-shadow: 0 0 10px rgba(125, 232, 229, 0.3), 0 0 5px rgba(125, 232, 229, 0.1), inset 0 0 10px rgba(125, 232, 229, 0.3), inset 0 0 5px rgba(125, 232, 229, 0.1);
}

.payment-plan h2 {
    margin: 0;
    font-size: 30px;
    font-weight: bold;
    letter-spacing: 0.05em;
}

.selected:before {
    content: "\2713";
    position: absolute;
    display: block;
    width: 20px;
    left: 10px;
    font-weight: bold;
    display: none;
}

@media(max-width:1024px) {
    .payment-plans {
        flex-wrap: wrap;
        justify-content: center;
    }
    .payment-plan {
        min-width: 120px;
        min-height: 100px;
    }
}
@media(max-width:676px) { 
    .payment-plan {
        width: 100%;
    }

}
@media(max-width:446px) {
    .payment-plan {
        padding: 10px 10px 10px 10px !important;
    }
    .selected:before {
        left: 2px;
        font-size: 20px;
    }

}

.no-access form {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
}

.no-access input {
    background: transparent;
    color: #7de8e5;
}

.no-access .form-input.has-error input {
    color: rgba(214,125,246,1);
}

div.form-input {
    padding-top: 20px !important;
}

.lang {
    margin-left: 0px !important;
}

.lang-menu::before {
    content: "";
    width: 20px;
    height: 20px;
    background-size: cover;
    background-position: center center;
    display: block;
    border-radius: 50%;
    position: relative;
    top: 2px;
}

.lang-ua::before {
    background-image: url("../images/ua.svg");
}

.lang-en::before {
    background-image: url("../images/en.svg");
}

.lang-jp::before {
    background-image: url("../images/jp.svg");
}

@media(max-width:1180px) {
    .rd-navbar-static .lang .rd-navbar-dropdown {
        right: -20px !important;
        left: auto !important;
    }
}

.lang .rd-navbar-submenu-toggle::after {
    width: calc(100% - 18px);
    left: 0;
    right: 0;
    text-align: right;
}

li.lang.opened > .rd-navbar-submenu-toggle::after, li.lang.focus > .rd-navbar-submenu-toggle::after {
    transform: scaleY(-1) !important;
}

.body-deck p a {
    text-decoration: underline;
}
.body-deck p a:after {
    content: " \02192";
    display: inline-block;
    margin-left: 3px;
}

.header-step.hidden {
    cursor: pointer;
}