@import url("https://fonts.googleapis.com/css2?family=Khula:wght@300;400;600;700;800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");

:root {
	--btn-color: #fdfdfd; /* button color*/
	--btn-bg: #101010; /* button bg color*/

	--primary-text-color: #1d1b1b;
}

html {
	scroll-behavior: smooth;
	font-family: "Roboto", sans-serif;
}

header {
	background-color: #fff;
	color: #000;
}

header > .collapsable-header {
	display: flex;
	gap: 1rem;
	width: 100%;
	background-color: inherit;
	place-content: center;
	overflow: hidden;
	transition: width 0.3s ease;
}

.animated-collapse {
	transition: width 0.3s ease;
}

.header-links {
	display: flex;
	align-items: center;
	min-width: fit-content;
	border-radius: 10px;
	padding: 5px 10px;
	color: #444444;
	transition: background-color 0.5s, color 0.5s;
}

.header-links:hover {
	color: #000000;

	/* color: #fff; */
	/* background-color: #000; */
}

.black-text {
	color: #000;
}

.white-text {
	color: #fff;
}

.primary-text-color {
	color: var(--primary-text-color);
}

.opacity-0 {
	opacity: 0 !important;
}

.opacity-100 {
	opacity: 100 !important;
}

.btn {
	padding: 10px 15px;
	width: max-content;
	border-radius: 10px;
	color: var(--btn-color);
	background-color: var(--btn-bg);
	justify-content: center;
	align-items: center;
	display: flex;
	cursor: pointer;
}

.btn:hover {
}

.btn:disabled {
	cursor: default;
}

.input {
	padding: 10px;
	background-color: transparent;
	border-radius: 10px;
	/* outline: none; */
	min-width: 100px;
	border: 2px solid #818080;
	transition: border 0.3s;
}

.input:active,
.input:focus,
.input:focus-within {
	/* border-bottom: 2px solid #0e0a92 !important; */
	border: 2px solid #0c0c0c;
}

.input-error {
	border-bottom: 3px solid #ff1e1e;
}

.input-error:focus-within {
	border-bottom: 3px solid #fd0101;
}

.error-container {
	/* container used to display errors */
	border: 3px solid #f5c6cb;
	background-color: #f8d7da;
	color: #932504;
	width: 100%;
	max-width: 450px;
	border-radius: 5px;
	min-height: 50px;
	padding: 5px 10px;
}

.error-container ul {
	list-style: decimal;
}

.error-container li {
	margin-left: 10px;
}

.error-container li > ul {
	list-style: circle;
}

.message-container {
	/* container used to display message */
	border: 3px solid #c6e1f5;
	background-color: #d7edf8;
	color: #043893;
	width: 100%;
	max-width: 450px;
	border-radius: 5px;
	min-height: 50px;
	padding: 5px 10px;
}

.spinner {
	width: 25px;
	height: 25px;
	border: 4px solid #0000001a;
	border-left-color: #d8d8d8;
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

.footer-link {
	color: #0d0d0d;
	transition: color 0.3s;
}

.footer-link:hover {
	color: #483cf4;
}

.review-container {
	position: relative;
	max-width: 600px;
	margin: auto;
}

.review-card {
	box-shadow: 0px 2px 4px #757474a0;
	border-radius: 15px;
	/* width: 200px; */
	/* height: 550px; */
	padding: 10px;
}

/* --------- collapsible div ---------- */
/* Style for the collapsible content such as faq commonly known as: accordion */

.faq {
	background-color: #f7f7f7;
	color: #000000;
	/* border: 1px solid #000; */
	border-radius: 10px;
}

.faq-accordion {
	background-color: inherit;
	color: #000000;
	cursor: pointer;
	padding: 15px 18px;
	width: 100%;
	border: none;
	text-align: left;
	outline: none;
	transition: height 0.4s;
}

.faq .content {
	padding: 0px 18px;
	color: #232323;
	height: max-content;
	overflow: hidden;
	background-color: transparent;
	text-align: justify;
	max-height: 0px;
	transition: max-height 0.4s, padding 0.4s;
}

.faq-accordion .active,
.faq-accordion:hover {
	/* background-color: #2e2c2c; */
}

@media not all and (min-width: 1024px) {
	header .collapsable-header {
		position: fixed;
		right: 0px;
		flex-direction: column;
		opacity: 0;
		height: 100vh;
		min-height: 100vh;
		height: 100dvh;
		width: 0vw;
		justify-content: space-between;
		padding: 5px;
		padding-top: 5%;
		padding-bottom: 5%;
		place-items: end;
		background-color: #ffffff;
		color: #000000;
		overflow-y: auto;
		box-shadow: 2px 0px 3px #000;
	}

	.header-links {
		color: black;
	}
}
