@import url("palette.css");
@import url('https://fonts.googleapis.com/css2?family=Short+Stack&display=swap');

@font-face {
  font-family: "Goodbye Midnight";
  src: url('../fonts/goodbye-midnight/Goodbye Midnight.otf');
}

body {
	display: flex;
	justify-content: center;
}

body *{
	font-family: 'Short Stack', cursive;
}

header{
	position: absolute;
}

.row{
	position: relative;
	display: flex;
	flex-direction: row;
}

.column{
	position: relative;
	display: flex;
	flex-direction: column;
}

.container{
	position: relative;
	padding: 20px;
	gap: 10px;
}

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

.hidden{
	display: none !important;
}

.invisible{
	visibility: hidden !important;
}

.transparent{
	opacity: 0 !important;
}

.no-padding{
	padding: 0px !important;
}

.v-centered{
	margin-top: auto;
	margin-bottom: auto;
}

.h-centered{
	margin-left: auto;
	margin-right: auto;
}

.centered{
	margin: auto;
}

.app-container{
	position: relative;
	display: flex;
	justify-content: flex-start;
	width: 100vw;
	height: 100vh;
	flex-direction: column;
	margin-top: 0px;
	background: #F2EEE7;
	color: #474744;
}

.app-container:has(.app-headers nav.app-header){
	gap: 10px;
}

body.admin-bar .app-container{
	height: calc(100vh - 32px);
}

.app-background{
	position: absolute;
	display: flex;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.app-foreground{
	position: relative;
	display: flex;
	width: fit-content;
	height: fit-content;
	flex-direction: column;
	order: 1;
	z-index: 10;
}

.app-headers{
  position: relative;
  display: flex;
  width: fit-content;
  height: fit-content;
}

nav.app-header{
	opacity: 0;
	transition: all 1s;
}

nav.app-header.active{
	opacity: 1;
}

button.blocked:hover{
	background-color: initial;
}

button .state-fill{
	position: absolute;
	display: flex;
	width: 100%;
	height: 100%;
	align-items: center;
	justify-content: center;
}

button .state-fill span{
	font-family: 'icomoon';
}

button:has(.state-fill.success){
	background-color: #7DCE82;
}

button.blocked:has(.state-fill.success):hover{
	background-color: #7DCE82;
}

button .state-fill.success span:before{
	content: "\e907";
	color: #FFFFFF;
}

button:has(.state-fill.error){
	background-color: #F45B69;
}

button.blocked:has(.state-fill.error):hover{
	background-color: #F45B69;
}

button .state-fill.error span:before{
	content: "\e908";
	color: #FFFFFF;
}

.tab-block{
	position: relative;
	display: flex;
	width: fit-content;
	height: fit-content;
}

.tab-block.row{
	flex-direction: row;
}

.tab-block.column{
	flex-direction: column;
}

.tab-block form{
	border: none !important;
}

.tab-block .tab-links-container{
	position: relative;
	display: flex;
	gap: 5px;
	align-items: center;
}

.tab-block.column > .tab-links-container{
	flex-direction: row;
	margin-bottom: -4.5px;
	padding-right: 20px;
}

.tab-block.row > .tab-links-container{
	flex-direction: column;
	margin-right: -4.5px;
	padding-bottom: 20px;
	align-items: end;
}

.tab-block button.tab-link{
	position: relative;
	font-size: 1em !important;
	background-color: #E7E2D8;
}

.tab-block.column > .tab-links-container button.tab-link{
	border-bottom: none !important;
	padding-bottom: 10px;
}

.tab-block.row > .tab-links-container button.tab-link{
	border-right: none !important;
	padding-right: 10px;
}

.tab-block button.tab-link.selected{
	z-index: 5;
	background-color: #F2EEE7;
}

.tab-block button.tab-adding{
	  padding: 0;
    height: 25px;
    width: 25px;
}

.tab-block.row button.tab-adding{
		margin-right: 10px;
}

.tab-block .tab-content-container{
	position: relative;
	display: flex;
	width: 100%;
}

.tab-block .tab-content{
	position: relative;
	display: none;
	flex-direction: column;
	width: 100%;
}

.tab-block .tab-content.selected{
	display: flex;
}

.tab-block .submit-btn-wrapper{
	margin-top: auto;
}

.app-screens{
	position: relative;
	display: flex;
	justify-content: center;
	width: 100%;
	height: 100%;
	overflow: hidden;
	order: 2;
}

.app-screens-caroussel{
	position: absolute;
	display: flex;
	width: 100%;
	height: 100%;
	flex-wrap: wrap;
	margin: 0px;
}

.app-screens-caroussel.animated{
	transition: all 0.5s ease;
}

.app-screens-caroussel.column{
	flex-direction: column;
	height: 200%;
	top: 0%;
}

.app-screens-caroussel.column-reverse{
	flex-direction: column-reverse;
	height: 200%;
	top: -100%;
}

.app-screens-caroussel.row{
	flex-direction: row;
	width: 200%;
	left: 0%;
}

.app-screens-caroussel.row-reverse{
	flex-direction: row-reverse;
	width: 200%;
	left: -100%;
}

.app-screen{
	position: absolute;
	display: flex;
	width: 100%;
	height: 100%;
	opacity: 0;
	margin: 0px;
	overflow: hidden;
	z-index: -1;
	transition: all 1s;
}

.app-screen.undisplayed{
	display: none;
	transition: none;
}

.app-screen.active,
.app-screen.transitioning{
	opacity: 1;
	z-index: initial;
}

.app-screen.discarded{
	border-radius: 5px;
	left: 0px;
  top: 0px;
  transition: all 0.5s, transform 1s;
	transform: scale(0.95) rotate(1deg);
	box-shadow: 0px 0px 15px -10px rgba(71, 71, 68, 1);
	z-index: 5;
}

.app-screens-caroussel.column .app-screen,
.app-screens-caroussel.column-reverse .app-screen{
	position: relative;
	height: 50%;
}

.app-screens-caroussel.row .app-screen,
.app-screens-caroussel.row-reverse .app-screen{
	position: relative;
	width: 50%;
}

.app-screen-content{
	position: relative;
	display: flex;
	width: 100%;
	height: 100%;
	margin-block-start: 0;
}

.app-screen-content .background-container{
	position: absolute;
	display: flex;
	width: 100%;
	height: 100%;
	background: #F2EEE7;
}

.qf-blobs-container{
	position: absolute;
	display: flex;
	width: 100%;
	height: 100%;
}

.qf-blob-nucleus{
	position: absolute;
	display: flex;
	width: 1px;
	height: 1px;
	align-items: center;
	justify-content: center;
}

.qf-blob-nucleus.pos-1{
	top: 40px;
	left: 40px;
}

.qf-blob-nucleus.pos-2{
	top: 0px;
	left: 50vw;
}

.qf-blob-nucleus.pos-3{
	top: 0px;
	left: 100vw;
}

.qf-blob-nucleus.pos-4{
	top: 50vh;
	left: 100vw;
}

.qf-blob-nucleus.pos-5{
	top: 100vh;
	left: 100vw;
}

.qf-blob-nucleus.pos-6{
	top: 100vh;
	left: 0px;
}

.qf-blob-wrapper{
	position: absolute;
	display: flex;
}

.qf-blob-wrapper.sq-s{
	width: 70px;
	height: 70px;
}

.qf-blob-wrapper.sq-m{
	width: 200px;
	height: 200px;
}

.qf-blob-wrapper.sq-l{
	width: 350px;
	height: 350px;
}

.qf-blob-wrapper.sq-s .qf-blob,
.qf-blob-wrapper.sq-m .qf-blob,
.qf-blob-wrapper.sq-l .qf-blob{
	border-radius: 18% 82% 48% 52% / 39% 67% 33% 61%;
}

.qf-blob-wrapper.lng-s{
	width: 50px;
	height: 90px;
}

.qf-blob-wrapper.lng-m{
	width: 90px;
	height: 300px;
}

.qf-blob-wrapper.lng-l{
	width: 150px;
	height: 400px;
}

.qf-blob-wrapper.lng-s .qf-blob,
.qf-blob-wrapper.lng-m .qf-blob,
.qf-blob-wrapper.lng-l .qf-blob{
	border-radius: 67% 33% / 71% 56% 44% 29%;
}

.qf-blob-wrapper.wd-s{
	width: 90px;
	height: 50px;
}

.qf-blob-wrapper.wd-m{
	width: 300px;
	height: 90px;
}

.qf-blob-wrapper.wd-l{
	width: 400px;
	height: 150px;
}

.qf-blob-wrapper.wd-s .qf-blob,
.qf-blob-wrapper.wd-m .qf-blob,
.qf-blob-wrapper.wd-l .qf-blob{
	border-radius: 41% 59% 55% 45% / 28% 64% 36% 72%;
}

.qf-blob{
	position: relative;
	display: flex;
	transition: all 2.5s;
}

.qf-doodles-container{
	position: absolute;
	display: flex;
	width: 100%;
	height: 100%;
}

.qf-doodle-nucleus{
	position: absolute;
	display: flex;
	width: 1px;
	height: 1px;
	align-items: center;
	justify-content: center;
}

.qf-doodle-nucleus.pos-1{
	top: 10px;
	left: 20px;
	align-items: flex-start;
	justify-content: flex-start;
}

.qf-doodle-nucleus.pos-2{
	top: 10px;
	left: 50vw;
	align-items: flex-start;
	justify-content: center;
}

.qf-doodle-nucleus.pos-3{
	top: 10px;
	left: 100vw;
	align-items: flex-start;
	justify-content: flex-end;
}

.qf-doodle-nucleus.pos-4{
	top: 50vh;
	left: 100vw;
	align-items: flex-start;
	justify-content: flex-end;
}

.qf-doodle-nucleus.pos-5{
	top: 100vh;
	left: 100vw;
	align-items: flex-end;
	justify-content: flex-end;
}

.qf-doodle-nucleus.pos-6{
	top: 100vh;
	left: 0px;
	align-items: flex-end;
	justify-content: flex-start;
}

.qf-doodle-wrapper{
	position: absolute;
	display: flex;
}

.qf-doodle-wrapper.s-size{
	width: 70px;
	height: auto;
}

.qf-doodle-wrapper.m-size{
	width: 150px;
	height: auto;
}

.qf-doodle-wrapper.l-size{
	width: 250px;
	height: auto;
}

.qf-doodle{
	position: relative;
	display: flex;
	width: 100%;
	animation: tilt-shaking 2s infinite;
}

.qf-doodle-nucleus.pos-1 .qf-doodle{
	animation-delay: 1s;
}

.qf-doodle-nucleus.pos-2 .qf-doodle{
	animation-delay: 0s;
}

.qf-doodle-nucleus.pos-3 .qf-doodle{
	animation-delay: 0.5s;
}

.qf-doodle-nucleus.pos-4 .qf-doodle{
	animation-delay: 1.5s;
}

.qf-doodle-nucleus.pos-5 .qf-doodle{
	animation-delay: 0.7s;
}

.qf-doodle-nucleus.pos-6 .qf-doodle{
	animation-delay: 1.2s;
}

.content-container{
	position: relative;
	display: flex;
	width: 100%;
	height: 100%;
	flex-direction: column;
	justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 0px 50px 50px 50px;
}

.qf-logo-wrapper{
	position: relative;
	display: flex;
	width: 350px;
	height: 350px;
	margin: auto;
	align-items: center;
	justify-content: center;
}

.qf-logo-wrapper img{
	width: 100%;
}

@keyframes tilt-shaking{
	0% { transform: rotate(0deg); }
	25% { transform: rotate(5deg); }
	50% { transform: rotate(0eg); }
	75% { transform: rotate(-5deg); }
	100% { transform: rotate(0deg); }
}

body.home .eu-cookies-bar-cookies-bar-wrap{
	font-size: 12px;
}

body.home .eu-cookies-bar-cookies-settings-call-container.eu-cookies-bar-cookies-settings-call-position-right {
    right: 50px;
}

body.home .pn-wrapper{
	border: solid;
	border-style: solid;
  border-width: 8px 8px 8px 8px;
  border-image: url(../images/doodlecss/button.svg) 10 10 10 10 stretch stretch;
  background: #FFFFFF;
  box-shadow: none;
  color: #474744;
  padding: 10px;
  min-height: 50px;
  margin: 50px;
  right: 0;
  left: auto;
}

body.home .pn-wrapper .pn-txt-wrap{
	color: #474744 !important;	
}

body.home .pn-wrapper .btn.act{
	color: #456990;
}

form{
	position: relative;
	display: flex;
	height: fit-content;
	width:fit-content;
	flex-direction: column;
	gap: 10px;
}

form .form-group{
	position: relative;
	display: flex;
	height: fit-content;
	gap: 10px;
}

form .form-element{
	position: relative;
	display: flex;
	flex-direction: column;
}

form .form-element:has(button.submit-button){
	align-items: flex-end;
}

form .form-element:has(input[type=checkbox]){
	flex-direction: row;
	gap: 5px;
}

form .form-element:has(.hint){
	flex-direction: row;
	gap: 5px;
}

form .form-element input{
	width: 100%;
}

form button:active{
	background: #474744;
	color: #F2EEE7;
}
