@font-face {
	font-family: "IRANSansX";
	src: url("/assets/fonts/IRANSansXThin.woff2") format("woff2");
	font-weight: 100;
	font-style: normal;
}

@font-face {
	font-family: "IRANSansX";
	src: url("/assets/fonts/IRANSansXUltraLight.woff2") format("woff2");
	font-weight: 200;
	font-style: normal;
}

@font-face {
	font-family: "IRANSansX";
	src: url("/assets/fonts/IRANSansXLight.woff2") format("woff2");
	font-weight: 300;
	font-style: normal;
}

@font-face {
	font-family: "IRANSansX";
	src: url("/assets/fonts/IRANSansXRegular.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: "IRANSansX";
	src: url("/assets/fonts/IRANSansXMedium.woff2") format("woff2");
	font-weight: 500;
	font-style: normal;
}

@font-face {
	font-family: "IRANSansX";
	src: url("/assets/fonts/IRANSansXDemiBold.woff2") format("woff2");
	font-weight: 600;
	font-style: normal;
}

@font-face {
	font-family: "IRANSansX";
	src: url("/assets/fonts/IRANSansXBold.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
}

@font-face {
	font-family: "IRANSansX";
	src: url("/assets/fonts/IRANSansXExtraBold.woff2") format("woff2");
	font-weight: 800;
	font-style: normal;
}

@font-face {
	font-family: "IRANSansX";
	src: url("/assets/fonts/IRANSansXBlack.woff2") format("woff2");
	font-weight: 900;
	font-style: normal;
}

@font-face {
	font-family: "digital-7.mono";
	src: url(/assets/fonts/digital-7.mono.woff2) format("woff2");
}

:root {
	--color-white: #ffffff;
	--color-black: #000000;
	--color-gold: #b69659;
	--color-olive: #797764;
	--color-dark-brown: #493c24;
	--color-dark-gray: #49473c;
	--color-light-gold: #edc475;
	--color-beige: #c5c1a1;
	--gradient: linear-gradient(90deg,
			rgba(135, 112, 70, 0) 0%,
			#877046 62.66%);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	direction: rtl;
	font-family: var(--font-primary);
	text-align: right;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-family: "IRANSansX", "Tahoma", "Vazir", "Samim", "Shabnam", "B Nazanin",
		"B Yekan", Arial, sans-serif;
}

.container {
	background-color: var(--color-black);
	color: var(--color-white);
	display: grid;
	grid-template-areas:
		"cad clock"
		"price tether";
	grid-template-columns: 1.1fr 0.9fr;
	grid-template-rows: 1.1fr 0.9fr;
	gap: 2.5rem;
	padding: 2.5rem;
	height: 100vh;
}

.PriceSection {
	background: var(--gradient);
	background-color: var(--color-gold);
	border: 0.2rem solid var(--color-light-gold);
	border-radius: 1.5rem;
	box-shadow: 0px 0px 20px 0px #b69659, 0px 0px 32px 0px #b69659,
		0px 0px 12px 0px #b69659, 0px 0px 4px 0px #b69659,
		0px 0px 2px 0px #b69659, 0px 0px 1px 0px #b69659;
	display: flex;
	flex-direction: column;
	padding: 2.5rem;
	justify-content: space-between;
}

.canadian {
	background-image: url(/assets/images/CanadaFlag.gif);
	position: relative;
	background-position: left top;
	background-clip: border-box;
	background-size: cover;
	background-blend-mode: lighten;
	overflow: hidden;

}

.canadian *:not(.backgroud__overlay) {
	z-index: 2;
}

.backgroud__overlay {
	background: var(--gradient);
	opacity: 0.99;
	position: absolute;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
	z-index: 1;
}

.PriceSection__card {
	display: flex;
	justify-content: space-between;
	gap: 1.25rem;
}

.price--wrapper,
.tether--wrapper {
	display: flex;
	gap: 0.75rem;
	align-items: center;
}

.price__item__title {
	color: var(--color-white, #fff);
	font-size: 1.85rem;
	font-weight: 700;
	margin: 0;
}

.price__itemPrice--wrapper {
	display: flex;
	flex-direction: row;
	gap: 0.75rem;
	align-items: center;
	height: 4rem;
	width: 18rem;
	padding: 1rem 2rem;
	border-radius: 0.75rem;
	background: #2b2b2b;
	justify-content: end;
}

.price__itemPrice {
	font-size: 3rem;
	font-weight: 700;
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: "Inter", serif;

}



.bullet {
	color: white;
	font-family: 'Montserrat';
	font-weight: 500;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #ffffff;
	display: flex;
	align-items: center;
	position: absolute;
	top: 0;
	left: 0;

}

.online.bullet {
	background: #61fa01;
}

.offline.bullet {
	background: #ff0000;
}

.online.bullet:before,
.online.bullet:after {
	background-color: #a6ff00;
}

.offline.bullet:before,
.offline.bullet:after {
	background-color: #ff4848;
}

.bullet:before,
.bullet:after {
	content: "";
	width: 12px;
	height: 12px;
	border-radius: 25px;
	background-color: #ffffff;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
	transform-origin: center center;
	animation: pulse 2s linear infinite;

}

.bullet:after {
	animation-delay: 1s;
}


@keyframes pulse {
	0% {
		opacity: 0;
	}

	50% {
		opacity: 0.3;
	}

	70% {
		opacity: 0.2;
	}

	100% {
		transform: scale(3.5);
		opacity: 0;
	}
}

.rial {
	font-size: 1.25rem;
	font-weight: 600;
	margin: 0;
}

.international {
	border: 3px solid var(--color-beige);
	background: var(--color-olive);
	box-shadow: 0px 0px 20px 0px #797764, 0px 0px 32px 0px #797764,
		0px 0px 12px 0px #797764, 0px 0px 4px 0px #797764,
		0px 0px 2px 0px #797764, 0px 0px 1px 0px #797764;
}

.price__icon {
	width: 3rem;
	height: 3rem;
}

.timeCard {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4rem;
	text-align: center;
	position: relative;
}

.logo {
	width: 31.25rem;
	height: 12.83388rem;
}

.clocks {
	display: flex;
	flex-direction: row;
	gap: 5rem;
}

.clock--wrapper {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.location {
	text-align: center;
	font-family: Inter;
	font-size: 1.85rem;
	font-weight: 700;
	margin: 0;
}

.time {
	font-size: 4rem;
	margin: 0;
	font-family: "digital-7.mono";
	text-align: left;
}

.cryptoCurrency {
	display: flex;
	padding: 2rem 2.5rem 2.5rem 2.5rem;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	border-radius: 1.5rem;
	border: 3px solid var(--color-beige);
	background: var(--color-olive);
	box-shadow: 0px 0px 20px 0px #797764, 0px 0px 32px 0px #797764,
		0px 0px 12px 0px #797764, 0px 0px 4px 0px #797764,
		0px 0px 2px 0px #797764, 0px 0px 1px 0px #797764;
}

.tether {
	display: flex;
	gap: 6rem;
}

.tether--wrapper {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.tether__title {
	text-align: center;
	font-size: 1.85rem;
	font-weight: 700;
	margin: 0;
}

.tether__price--wrapper {}

.tether__price {}


@keyframes flicker-border {

	10%,
	18%,
	22%,
	25%,
	53%,
	57%,
	100% {
		box-shadow:
			0px 0px 17px px var(--color-light-gold),
			0px 0px 12px px var(--color-light-gold),
			0px 0px 12px px var(--color-light-gold),
			0px 0px 19px px var(--color-light-gold),
			0px 0px 13px px var(--color-light-gold),
			0px 0px 17px px var(--color-light-gold),
			0px 0px 27px px var(--color-light-gold),
			0px 0px 17px px var(--color-light-gold);
		border-color: var(--color-light-gold);
	}

}

.neon-border {
	animation: flicker-border 5s infinite alternate;

}





@keyframes logo-pulse {

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

	50% {
		transform: scale(1.03);
	}
}

.logo {
	animation: logo-spin 10s linear infinite, logo-pulse 3s ease-in-out infinite;
	transition: transform 0.3s;
}