:root{
	--card-w: 20vw;
	--card-h: calc(var(--card-w) * 1.269);
	--font-nav: "P22_Art_Nouveau_Bistro";
	--buttons-height: 10vh;
	--menu-font-size: 1.9em;

	--theme-button-width: 5vw;

	--col-blue: #5A8BFF;
	--col-yellow: #F3E363;
	--col-icon: #8B873D;
	--col-grey-bg: #B5B2B2;
/*	--col-grey-bg: black;*/

	--question-width: 60%;
	--question-f-s: 1.3em;
}

*{
	box-sizing: border-box;
	font-family: "RemusVariableVF";
}

html, body{
	font-size: 18px;
	margin: 0;
}
html{
/*	overflow: hidden;*/
}
body{
	
/*	transform-origin: 'center center';*/
}

@font-face{
	font-family: "P22_Art_Nouveau_Bistro";
  	src: url("fonts/P22_Art_Nouveau_Bistro.otf") format("opentype"),
}

@font-face{
	font-family: "RemusVariableVF";
  	src: url("fonts/RemusVariableVF.woff") format("woff"),
}

.helper{
	position: fixed;
	left: 0;
	top: 0;
	width: 100vw;
	height: 100vh;
	background-image: url("../img/screen2.png");
	background-size: 100% auto;
	z-index: -1;
	opacity: 0.3;
	display: none;
}
.upperMenu{
	z-index: 10;
	position: absolute;
	width: 100%;
}
.upperMenu a{
	color: var(--col-yellow);
	text-decoration: none;
	font-family: var(--font-nav);
	text-transform: uppercase;
	font-size: var(--menu-font-size);
}
.upperMenu a.activeMenu{
/*	text-decoration: underline;*/
}
.upperMenu a:hover{
/*	text-decoration: underline;*/
}

.upperMenu .back-home{
	width: 6vw;
    position: fixed;
    top: 7vh;
    left: 4vw;
}

.upperMenu .themeTitle{
	position: fixed;
    left: 11vw;
    top: 9vh;
    font-size: 2.8em;
    font-family: var(--font-nav);
    text-transform: uppercase;
    color: var(--col-yellow);
}

.card{
	width: var(--card-w);
	height: var(--card-h);
/*	border: 1px solid black;*/

/*	border-radius: 15px;*/
	position: absolute;
	transition: 0.5s transform;
	background: var(--col-grey-bg);
/*	overflow: hidden;*/
/*	opacity: 0.5;*/
	
}
.card:not(.card_placed){
	transform: perspective(400px) rotateY(-180.9deg)
}

.parent{

	display: grid;
    grid-template-columns: 1fr 2fr;
    height: 100vh;
}

/*.parent{
	display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}*/

.place{
/*	border: 1px dashed grey;*/
}

.dec{
	overflow: visible;
	padding: 10px;
	width: var(--card-w);
	height: var(--card-h);
}
.dec{
	/*transition: 0.5s transform;
	transform: scale(1.0) translate(0px, 0px);*/
}
.dec, .layout{
	display: block;
}
.cardCenter{
	border: 5px solid blue;
}
.placeCenter{
	border: 5px solid black;
}
.cardCenter,.placeCenter{
	
	position: absolute;
	z-index: 10;
}

.formation{
    grid-column-start: 2;
    grid-row-start: 1;
    display: grid;
}
.layout{
	grid-column-start: 2;
    grid-row-start: 1;
}

.card .front{
	background: var(--col-blue);
	overflow: hidden;
}

.card .front .cardText{
	text-align: center;
	width: 100%;
	height: 100%;
	overflow: scroll;
	padding: 5px;
	font-size: 1.1em;
}

.card_hor img, .card_hor video{
	transform: rotate(-90deg) scale(1.265);
}

.cardAudio{
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}

.audioIcon{
	max-width: 50%;
    height: fit-content !important;
    margin-bottom: 10px;
}
.card .front img, .card .front video{
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.card .back{
	background-size: cover;
	background-position: center;
}

.card .back, .card .front{
	transition: 0.5s transform, 0.2s opacity;
	backface-visibility: hidden;
/*	border-radius: 15px;	*/
	/*-webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.15);
	-moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.15);
	box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.15);*/
	
}
.card.card_placed{
	cursor: pointer;
}
.card.card_placed .back:hover, .card.card_placed .front:hover{
	-webkit-box-shadow: 0px 0px 15px 0px var(--col-yellow);
	-moz-box-shadow: 0px 0px 15px 0px var(--col-yellow);
	box-shadow: 0px 0px 15px 0px var(--col-yellow);
}
.card.card_placed.card_turned .front{
	transform:  perspective(400px) rotateY(-0.9deg);
}
.card .back:not(.card.card_placed.card_turned .back){
	transform:  perspective(400px) rotateY(0.9deg);
}
.card .front:not(.card.card_placed.card_turned .front){
	transform:  perspective(400px) rotateY(180.9deg);
}
.card.card_placed.card_turned .back{
	transform:  perspective(400px) rotateY(-180.9deg);
}

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

.buttons{
	padding: 10px;
	position: fixed;
/*	display: none;*/
	bottom: 0;
	z-index: 100;
}

.zoomed{
	-webkit-box-shadow: 0px 0px 15px 0px var(--col-yellow) !important;
	-moz-box-shadow: 0px 0px 15px 0px var(--col-yellow) !important;
	box-shadow: 0px 0px 15px 0px var(--col-yellow) !important;
}

.card .front{
	opacity: 1;
/*	transition: 0.2s opacity;*/
}

.zooming .card_turned .front:not(.zoomedCard .front){
	opacity: 0.1;
}

body .zoom_button{
	display: none;
}

body.zooming .zoom_button{
	opacity: 1;
	display: block;
}
body.zooming .result, body.zooming .back-home, body.zooming .ThemeTitle{
	opacity: 0;
}

h1,h2,h3,h4{
	font-weight: normal;
/*	text-transform: uppercase;*/
}

.upperMenu{
	display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    font-size: 1.1em;
}

.enterQuestion{
	display: grid;
	grid-template-columns: 2fr 4fr 1fr;
}

.receivedQuestion{
	display: flex;
}

.rotate-h{
/*	transition: 0.1s transform;*/
	cursor: pointer;
}

.rotate-h:hover{
	-webkit-filter: drop-shadow( 3px 3px 2px rgba(0, 0, 0, .7));
  	filter: drop-shadow( 3px 3px 2px rgba(0, 0, 0, .7));
}
svg{
	/*-webkit-filter: drop-shadow( 3px 3px 2px rgba(0, 0, 0, .3));
  	filter: drop-shadow( 3px 3px 2px rgba(0, 0, 0, .3));*/
}
.enterQuestion, .receivedQuestion{
	flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 9vh;
    padding: 0.6em;
    z-index: 11;
    position: absolute;
    width: 100%;

}

.receivedQuestion{
	pointer-events: none;
}

.receivedQuestion p{
	margin: 0;
    font-size: var(--question-f-s);
    color: var(--col-yellow);
    /* font-family: var(--font-nav); */
    font-size: 1.2em;
}

.cards-bg{
	position: fixed;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    transition: 0.5s transform, 0.5s filter;
    filter: blur(0px);
/*    background: var(--col-grey-bg);*/

}

.bg{
	background: var(--col-grey-bg);
	position: fixed;
	z-index: -1;
	width: 100%;
	height: 100vh;
	left: 0px;
	top: 0px;
}

.cards-bg svg g path{
	fill: var(--col-blue);
}

.zooming .cards-bg{
	filter: blur(5px);
}

form{
	display: flex;
    margin: 0;
    height: 100%;
    width: var(--question-width);
    color: var(--col-icon);
    border-radius: 25px;
    overflow: hidden;
    border: 3px solid;
    grid-column-start: 2;
    width: 100%;
}

form div, form input{
	height: 100%;
	width: 100%;
}
form input{
/*	border-radius: 25px;*/
	padding: 20px;
	font-size: var(--question-f-s);
	border: none !important;
	background: var(--col-grey-bg);
}

form input:focus, form input::selection{
	background: var(--col-grey-bg);
	border: none !important;
}

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus,
input:-internal-autofill-selected, 
input:focus::placeholder,
form:-webkit-autofill,
form:-webkit-autofill:hover, 
form:-webkit-autofill:focus,
form:-internal-autofill-selected, 
form:focus::placeholder {
	background: var(--col-grey-bg);
	border: none !important;
	box-shadow: none !important;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 1000px var(--col-grey-bg) inset !important;
/*  font-size: var(--menu-font-size);*/
  border-color: var(--col-grey-bg);
}

.revealAll{
	display: none;
	position: fixed;
    right: 2vw;
    top: 5vh;
}

.result{
	display: flex;
    flex-direction: column;
    align-items: center;
    height: 20vh;
}

.themes-overlay{
	position: fixed;
	z-index: 11;
	width: 100%;
	height: 100vh;
	display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.themes-overlay #arch{
	width: 98vw;
    top: 23px;
    position: fixed;

}

.themes-overlay #arch{
	fill: var(--col-blue);
}

.themes-buttons-nav{
	pointer-events: all !important;
	display: flex;
    width: 100%;
    height: 10vh;
    position: fixed;
    bottom: 0;
    align-items: center;
    justify-content: center;
}
.themes-buttons-nav .theme-button{
	width: var(--theme-button-width);
	height: 80%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.themes-buttons-nav .theme-button .button-group:not(.button-active .button-group){
	fill:none;
	
}

.button-active .button-group{
	fill: var(--col-icon);
}

.themes-buttons-nav .theme-button .button-group .st0{
	stroke: var(--col-icon);
}

.themes-buttons-nav .theme-button svg{
	width: 100%;
    height: 100%;
}

.themes{
	position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    background: var(--col-grey-bg);
/*    color: white;*/
}

.themes .theme-parent{
	width: 100%;
	height: 100vh;
	display: grid;
	scroll-snap-align: start;

}

.themes .theme{

/*	border: 1px solid;*/
/*	background: rgba(25,0,0,0.5);*/
    width: 100%;
/*    padding: 10px;*/
	margin-bottom: var(--buttons-height);
	margin-top: var(--buttons-height);
    text-align: center;
    color: black;
    text-decoration: none;
    display: flex;
    row-gap: 10px;
    align-items: flex-end;
    justify-content: center;
}

.themes .theme .theme-info{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	min-height: 50vh;
}

.themes .theme .theme-description{
	max-width: 40%;
	flex-grow: 1;

}

.theme-description p{
	font-size: 1.2em;
    margin-bottom: 25px !important;
/*    color: white;*/
    line-height: 1.3em;
}

.themes .theme h4{
	font-family: var(--font-nav);
	font-size: 6.5em;
	color: var(--col-blue);
}
.themes .theme h4, .themes .theme p{
	margin: 0;
}
.themes .theme:hover{
/*	background: #b9b9b9;*/
}

.selectTheme h2{
	text-align: center;
}

.card.zoomedCard{
/*	border: 10px solid red;*/

}

.card.zoomedCard .front{
	/*-webkit-box-shadow: 0px 0px 15px 0px rgba(0,0,255,0.75);
	-moz-box-shadow: 0px 0px 15px 0px rgba(0,0,255,0.75);
	box-shadow: 0px 0px 15px 0px rgba(0,0,255,0.75);*/

	-webkit-box-shadow: 0px 0px 15px 0px var(--col-yellow);
	-moz-box-shadow: 0px 0px 15px 0px var(--col-yellow);
	box-shadow: 0px 0px 15px 0px var(--col-yellow);
}

.suit-desc-cont{
	transition: 0.5s transform, 0.5s opacity;
	transform: translate(0px, var(--card-h));
    text-align: center;
    margin: 10px 0px 0px 0px;
    max-width: 100%;
    opacity: 0;
    color: var(--col-yellow);
}
.card_placed.card_turned .suit-desc-cont{
	opacity: 1;
}
.zoomedCard .suit-desc-cont{
	opacity: 1;
	transform: translate(0px, var(--card-h));
  
}

.zooming .suit-desc-cont:not(.zoomedCard .suit-desc-cont){
	opacity: 0.1;
}

.about-cont{
	padding: 10px;
    top: 10vh;
    position: absolute;
    display: grid;
    grid-template-columns: 2fr 1fr;
    color: var(--col-blue);
    column-gap: 2em;
}

.credits p, .about p{
	margin: 0;
	line-height: 1.3em;
	font-size: 1.25em;
}

.pos-descriptions{
	position: fixed;
    top: 0;
    width: 100%;
}

.cards-descriptions{
	position: fixed;
    bottom: 0;
    width: 28%;
    right: 0;
    
/*    padding: 10px;*/
    font-size: 0.8em;
    margin: 15px;
}

.card-description{
/*	background: white;
	padding: 10px;*/
}


.pos-description, .card-description{
	display: none;
	text-align: center;
	width: 100%;
}

.arcana-info{
	position: fixed;
    left: 6vw;
    width: 20vw;
    top: 9vw;
}

.card-info{
	position: fixed;
    top: 24vw;
    width: 20vw;
    right: 3vw;
}