:root {
	--response-width: 420px;
}

html,
body,
#full-cat {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	overflow-x: hidden;
	/* otherwise the animation makes a mess */
}

body {
	font-family: 'Roboto Slab', serif;
	color: white;
	font-size: 18px;
	background: #000;
}

#full-cat {
	width: 100%;
	height: 100vh;
	background-image: url("i/clairvoyant-cat-1600.jpg");
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	overflow-y: scroll;
	position: absolute;
	top: 0;
	left: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
legend,
label {
	font-family: 'IM Fell English SC', serif;
}

input,
.patrick,
legend,
label,
input[type="submit"] {
	font-family: 'Patrick Hand', cursive;
}

h1,
h2,
h3 {
	color: #eadcb5;
	background: -webkit-linear-gradient(#eadcb5, #2f2518);
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

h1 {
	font-size: 2em;
	text-align: center;
	margin: 0.67em 0.33em;

}

.container {
	display: flex;
	flex-direction: column;
	height: 100%;
}

#full-cat h1 {
	flex: 0 0 auto;
	text-align: center;
	padding: 9px 54px;
	box-sizing: border-box;
}

#content {
	display: flex;
	flex: 1;
	/* Grow to fill the remaining space */
	position: relative;
}

#left,
#right {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 50%;
	padding: 50px 0;
}

#cards-mobile,
#cards-desktop {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
	padding-top: 120px;
	padding-bottom: 18px;
	perspective: 1000px;
}

#cards-desktop {
	position: absolute;
	bottom: 0;
}

.cards-7 {
	justify-content: center !important;
}

.card-desktop,
.card-mobile {
	height: auto;
	transform: rotate(-180deg) scale(5) translate3d(0, -50px, -50px) rotateX(-90deg) rotateY(0deg);
	transition: transform 0.5s ease;
}

.card-desktop {
	width: 125px;
	margin-top: -150px;
}

.card-mobile {
	width: 100px;
	margin-top: -100px;
}

.cards-2 img {
	max-width: calc(100% / 2);
}

.cards-3 img,
.cards-5 img,
.cards-6 img {
	max-width: calc(100% / 3 - 9px);
}

.cards-4 img,
.cards-7 img {
	max-width: calc(100% / 4);
}

.cards-2> :nth-child(n+3),
.cards-3> :nth-child(n+4),
.cards-4> :nth-child(n+5),
.cards-5> :nth-child(n+6),
.cards-6> :nth-child(n+7) {
	display: none;
}

.cards_container {
	width: 390px;
	position: relative;
}

#cards_container_desktop {
	position: fixed;
	bottom: 45px;
	left: 50%;
	height: 210px;
	z-index: 999;
}

#cards_container_mobile {
	display: none;
	transform: scale(0.9);
	height: 240px;
}

#cards_container_mobile.n_cards_7,
#cards_container_mobile.n_cards_6,
#cards_container_mobile.n_cards_5 {
	transform: scale(0.75);
	margin-top: 150px;
}

.cards_container img {
	width: 125px;
	height: auto;
	position: absolute;
	top: 100px;
	left: 50%;
	transform: rotate(-180deg) scale(0.5) skew(30deg);
	opacity: 0;
	transition: all 0.5s;
}

form,
form>div,
fieldset {
	display: flex;
	flex-direction: column;
}

form {
	font-size: 18px;
	width: 94%;
	max-width: var(--response-width);
}

fieldset {
	min-width: 320px;
	align-items: center;
	border-radius: 9px;
	position: relative;
}

legend,
.aligncenter {
	text-align: center
}

.gender-buttons {
	list-style-type: none;
	margin: 18px 0;
	padding: 0;
	display: flex;
	flex-direction: row;
	width: 100%;
	justify-content: center;
}

.gender-buttons li {
	margin: 0;
	width: 33%;
	height: 40px;
	position: relative;
}

.gender-buttons li+li {
	margin-left: 9px
}

.gender-buttons label {
	font-size: 18px;
}

.gender-buttons label,
.gender-buttons input {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}

.gender-buttons input[type="radio"] {
	opacity: 0.011;
	z-index: 100;
}

.gender-buttons input[type="radio"]:checked+label {
	background: #0d0b04;
	color: #eadcb5;
	border: 1px solid #eadcb5;
}

.gender-buttons label,
#menu-container li,
button,
input[type="submit"] {
	padding: 4.5px;
	margin: 0;
	border: 1px solid #0d0b04;
	cursor: pointer;
	z-index: 90;
	border-radius: 9px;
	text-align: center;
	background: #eadcb5;
	color: #0d0b04;
}

.gender-buttons li:hover label,
input[type="submit"]:hover,
#menu-container li:hover {
	box-shadow: 0 0 18px #eadcb5;
	transition: all 0.25s cubic-bezier(0.25, 0.5, 1, 1.5);
}

form label {
	margin: 9px 0 0;
	font-size: smaller;
	color: #eadcb5;
}

form hr {
	width: 100%;
	border: 0;
	display: block;
	border-bottom: 1px dotted;
	height: 0px;
	margin: 18px;
}

textarea {
	width: 96%;
	padding: 2%;
	height: 100px;
	margin: 9px;
	border-radius: 9px;
	background: #eadcb5;
}

.terms-checkbox {
	font-size: 18px;
	padding-left: 25px;
	position: relative;
}

#terms {
	position: absolute;
	left: 0;
	top: 3px;
}

.terms-checkbox a {
	color: #eadcb5;
	text-decoration: underline;
}

.terms-checkbox a:hover {
	text-decoration: none;
}

input[type="submit"] {
	padding: 5px 25px;
	margin: 9px;
	font-size: 18px;
	font-weight: bold;
}


.blackbox {
	height: auto;
	padding: 0 1em;
	box-sizing: border-box;
	background: rgba(0, 0, 0, 0.8);
	border-radius: 15px;
}

#the_cat_response_cont {
	position: absolute;
	z-index: 999;
	top: 0;
	width: 94%;
	max-width: var(--response-width);
	padding: 1em;
	background: rgba(0, 0, 0, 0.8);
	border-radius: 18px;
	box-sizing: border-box;
}

#the_cat_response p {
	padding: 1em 0;
	margin: 0;
}

p#animation3:before {
	content: "«";
}

p#animation3:after {
	content: "»";
}


button.chat {
	background: transparent;
	color: #eadcb5;
	border: 1px solid #eadcb5;
	padding: 9px;
	margin: 9px 0;
	position: relative;
	left: -9px;
	transition: all 0.25s ease-in-out;
	font-size: 18px;
}

button.chat+button.chat {
	margin-left: 9px;
}

button.chat:hover {
	background: #eadcb5;
	color: #000;
	border: 1px solid #000;
}

#give_a_kibble {
	padding: 9px 40px 9px 9px;
}

#give_a_kibble:after {
	position: absolute;
	top: 1px;
	right: 1px;
	content: "";
	background-image: url(i/kibble-35.png);
	width: 35px;
	height: 35px;
	animation: heartbeat 2s infinite;
}

/* Define the heartbeat animation */
@keyframes heartbeat {

	0%,
	100% {
		transform: scale(0.8);
	}

	10% {
		transform: scale(1);
	}

	20% {
		transform: scale(0.8);
	}

	30% {
		transform: scale(1);
	}

	40%,
	80% {
		transform: scale(0.8);
	}
}


button.back {
	position: absolute;
	top: -9px;
	left: 4.5px;
	width: 18px;
	height: 18px;
	font-size: 12px;
	font-weight: bold;
	line-height: 0;
}

#below {
	border-top: 5px solid #000;
	color: #aea587;
}

article {
	max-width: 800px;
	margin: 1.5em auto;
	padding: 1.5em;
	font-size: 1.5em;
	line-height: 1.4;
}

article ul {
	padding-inline-start: 1em;
}

.popup-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, .7);
	z-index: 99999;
}

.popup-content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 800px;
	max-width: 90%;
	max-height: 100%;
	box-sizing: border-box;
	background-color: #000;
	border-radius: 9px;
	padding: 18px;
	box-shadow: 0 0 4px 4px #eadcb5;
	z-index: 1001;
	color: #eadcb5;
	overflow-y: auto;
}

.popup-content h3 {
	text-align: center;
	font-size: 2em;
	background: -webkit-linear-gradient(#ffffff, #eadcb5);
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

button.contact-jonathan {
	margin: 18px auto;
	display: block;
	padding: 9px 18px;
	font-weight: bold;
}

.popup-close {
	position: absolute;
	right: 9px;
	top: 5px;
	font-size: 30px;
	cursor: pointer;
}

.warning {
	display: block;
	padding: 9px;
	border: 4px solid red;
	border-radius: 5px;
}

/* link styles */
a {
	color: #eadcb5;
	/* Default link color */
	text-decoration: none;
	/* Remove underline if needed */
}

a:visited {
	color: #b9a77a;
	/* Slightly darker color for visited links */
}

a:hover {
	color: #ffffff;
	/* Lighter color for hover */
	text-decoration: underline;
	/* Add underline on hover */
}

a:active {
	color: #2f2518;
	/* Contrasting color for active links */
}


header {
	position: fixed;
	top: 0;
	width: 100%;
	padding: 9px;
	z-index: 9999;
	box-sizing: border-box;
}

.menu-toggle button {
	background: none;
	border: none;
	font-size: 48px;
	color: #eadcb5;
	cursor: pointer;
}

.menu-toggle button:hover {
	color: #ffffff;
}

#menu-container {
	display: none;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	max-width: 360px;
	margin: 0 9px;
	padding: 0 9px;
	z-index: 999;
	box-shadow: 0 0 9px 9px #000;
	background: #000000;
	border-radius: 9px;
}

#menu-container ul {
	list-style: none;
	padding: 0;
	margin: 0;
	width: 100%;
}

#menu-container li {
	min-width: 120px;
	margin: 9px 0;
}

#menu-container li:hover {
	color: #eadcb5;
	background: #150d0a;
	border: 1px solid #eadcb5;
}

#menu-container li a {
	color: inherit;
	text-decoration: none;
	display: block;
	width: 100%;
	height: 100%;
	font-size: 18px;
}

#menu-container li a:hover {
	text-decoration: none;
}

#menu-container.open {
	display: flex;
}


.language-selector {
	display: flex;
	gap: 18px;
	padding: 10px;
	justify-content: center;
	align-items: center;
}

.flag-icon {
	width: 24px;
	height: 18px;
	cursor: pointer;
	transition: transform 0.2s ease-in-out;
	border-radius: 3px;
}

.flag-icon:hover {
	transform: scale(1.1);
}


/* solo home */


.q-example a {
	color: #eadcb5
}