
* {
	box-sizing: border-box;
}

html {
	position: absolute;
	width: 100%;
	max-width: 100%;
	height: 100%;
	overflow-x: clip;
	overscroll-behavior: none;
	scroll-behavior: smooth;
}

@media (max-width: 780px) {

	html:has(body.admin-bar) {
		margin-top: 46px !important;
	}
}

body {
	position: absolute;
	padding-top: 69px;
	width: 100%;
	max-width: 100%;
	height: 100%;
	overflow-x: clip;
	background: #05061e !important;
	overscroll-behavior: none;
}

iframe {
	border: none;
}

/* General Styles */

* {
	scroll-margin: 77px;
}

body.admin-bar * {
	scroll-margin: 109px;
}

@media (max-width: 1300px) {

	* {
		scroll-margin: 85px;
	}

	body.admin-bar * {
		scroll-margin: 117px;
	}
}

@media (max-width: 990px) {

	* {
		scroll-margin: 152px;
	}

	body.admin-bar * {
		scroll-margin: 184px;
	}
}

@media (max-width: 780px) {

	* {
		scroll-margin: 152px;
	}

	body.admin-bar * {
		scroll-margin: 198px;
	}
}

@media (max-width: 768px) {

	* {
		scroll-margin: 132px;
	}

	body.admin-bar * {
		scroll-margin: 178px;
	}
}

@media (max-width: 576px) {

	* {
		scroll-margin: 106px;
	}

	body.admin-bar * {
		scroll-margin: 152px;
	}
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin-top: 0;
}

mark {
	background-color: unset;
	color: unset;
}

ol li:not(:last-child) {
	margin-bottom: 10px;
}

body:not(.wp-admin, .editor-styles-wrapper, .block-editor-iframe__body) .wp-site-blocks button:not(.components-button, .block-editor-button, .browse-games-btn, .copy-btn),
.wp-block button:not(.components-button, .block-editor-button) {
	border: none;
	border-radius: 4px;
	padding: 17px 20px;
	background-color: var(--wp--preset--color--mitchcactus-background);
	color: #fff;
	font-family: var(--wp--preset--font-family--noto-sans);
	font-size: 15px;
	font-weight: 500;
	line-height: 1;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
}

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

.flex-column,
.flex-col {
	display: flex;
	flex-direction: column;
}

.wp-site-blocks {
	padding: 0;
}

.has-global-padding {
	padding-top: var(--wp--style--root--padding-top);
	padding-right: var(--wp--style--root--padding-right);
	padding-bottom: var(--wp--style--root--padding-bottom);
	padding-left: var(--wp--style--root--padding-left);
}

.is-layout-constrained>.has-global-padding,
.is-layout-constrained>.wp-block-cover>.has-global-padding {
	padding-top: 0;
	padding-bottom: 0;
}

.no-vertical-padding {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

.no-horizontal-padding {
	padding-right: 0 !important;
	padding-left: 0 !important;
}

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

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

.small-padding-top {
	padding-top: 50px !important;
}

.small-padding-bottom {
	padding-bottom: 50px !important;
}

.medium-padding-top {
	padding-top: 100px !important;
}

.medium-padding-bottom {
	padding-bottom: 100px !important;
}

.large-padding-top {
	padding-top: 150px !important;
}

.large-padding-bottom {
	padding-bottom: 150px !important;
}

.x-large-padding-top {
	padding-top: 200px !important;
}

.x-large-padding-bottom {
	padding-bottom: 200px !important;
}

.narrow-width {
	margin: auto;
	max-width: 700px !important;
}

.wp-site-blocks,
.is-root-container {
	container-type: inline-size;
}

.has-global-padding,
.wp-site-blocks>* {
	margin-top: 0 !important;
}

.wp-site-blocks>.wp-block-cover,
.is-root-container>.wp-block-cover,
.wp-block-post-content>.wp-block-cover {
	margin: 0;
	padding: 0 !important;
}

.is-layout-constrained .alignfull {
	margin-right: calc(50% - 50cqi);
	margin-left: calc(50% - 50cqi);
	width: 100cqi;
	max-width: none;
}

.block-editor-rich-text__editable {
	cursor: text;
}

.wp-block-columns.wp-block-columns-is-layout-flex {
	gap: 50px;
}

.mitchcactus-page-title {
	margin-bottom: 80px;
	font-weight: 900;
	font-style: normal;
}

.mitchcactus-page-subtitle {
	padding-bottom: 40px;
	font-weight: 900;
	font-style: normal;
}

.faded-gradient-bg::after,
.faded-gradient-bottom-bg::after {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 0;
	background-position: top;
	background-size: contain;
	background-repeat: no-repeat;
	content: "";
}

.faded-gradient-bg::after {
	background-image: linear-gradient(to bottom,
			#05061e3c,
			#05061e min(80vh, 80%) 100%);
}

.faded-gradient-bg>*,
.faded-gradient-bottom-bg>* {
	position: relative;
	z-index: 2;
}

.faded-gradient-bottom-bg::after {
	background-image: linear-gradient(to bottom,
			#05061e00 min(75vh, 85%),
			#05061e min(85vh, 95%) 100%);
}

.text-gradient {
	background: linear-gradient(90deg, #554ff6, #3cb8ff);
	-webkit-background-clip: text;
	paint-order: stroke fill;
	-webkit-text-fill-color: transparent;
	-webkit-text-stroke: 2px #ffff;
}

@media (max-width: 1024px) {

	body {
		--wp--style--root--padding-top: 50px;
		--wp--style--root--padding-right: 40px;
		--wp--style--root--padding-bottom: 50px;
		--wp--style--root--padding-left: 40px;
		--wp--preset--spacing--20: 20px;
		--wp--preset--spacing--30: 30px;
		--wp--preset--spacing--40: 40px;
		--wp--preset--spacing--50: 50px;
		--wp--preset--spacing--60: 60px;
		--wp--preset--spacing--70: 70px;
		--wp--preset--spacing--80: 80px;
		font-size: 16px;
	}

	h1 {
		font-size: 38px;
	}

	h2 {
		font-size: 32px;
	}

	h3 {
		font-size: 26px;
	}

	h4 {
		font-size: 22px;
	}

	h5 {
		font-size: 20px;
	}

	h6 {
		font-size: 18px;
	}

	.has-global-padding {
		padding: var(--wp--custom--padding-tablet);
	}

	.wp-block-columns.wp-block-columns-is-layout-flex {
		gap: 30px;
	}

	.hide-tablet {
		display: none;
	}
}

@media (max-width: 767px) {

	body {
		--wp--style--root--padding-top: 35px;
		--wp--style--root--padding-right: 20px;
		--wp--style--root--padding-bottom: 35px;
		--wp--style--root--padding-left: 20px;
		--wp--preset--spacing--20: 15px;
		--wp--preset--spacing--30: 20px;
		--wp--preset--spacing--40: 25px;
		--wp--preset--spacing--50: 30px;
		--wp--preset--spacing--60: 35px;
		--wp--preset--spacing--70: 40px;
		--wp--preset--spacing--80: 45px;
		padding-top: 152px;
		font-size: 15px;
	}

	h1 {
		font-size: 30px;
	}

	h2 {
		font-size: 24px;
	}

	h3 {
		font-size: 20px;
	}

	h4 {
		font-size: 18px;
	}

	h5 {
		font-size: 16px;
	}

	h6 {
		font-size: 15px;
	}

	.has-global-padding {
		padding: var(--wp--custom--padding-mobile);
	}

	.small-padding-top {
		padding-top: 35px !important;
	}

	.small-padding-bottom {
		padding-bottom: 35px !important;
	}

	.medium-padding-top {
		padding-top: 75px !important;
	}

	.medium-padding-bottom {
		padding-bottom: 75px !important;
	}

	.large-padding-top {
		padding-top: 100px !important;
	}

	.large-padding-bottom {
		padding-bottom: 100px !important;
	}

	.x-large-padding-top {
		padding-top: 150px !important;
	}

	.x-large-padding-bottom {
		padding-bottom: 150px !important;
	}

	.wp-block-columns.wp-block-columns-is-layout-flex {
		gap: 20px;
	}

	.background-gradient {
		padding: 5px 10px !important;
		font-size: 20px !important;
	}

	.home-page-top-cover .text-gradient {
		-webkit-text-stroke: 1px #ffff !important;
	}

	.mitchcactus-page-title {
		margin-bottom: 40px;
	}

	.mitchcactus-page-subtitle {
		padding-bottom: 20px;
		font-size: 20px;
	}

	.faded-gradient-bg::after {
		background-image: linear-gradient(to bottom, #05061e50, #05061e 200px);
	}

	.faded-gradient-bottom-bg::after {
		background-image: linear-gradient(to bottom,
				#05061e00 150px,
				#05061e 200px);
	}

	.text-gradient {
		-webkit-text-stroke: 1px #ffff;
	}
}

/* Header */
header {
	z-index: 999;
}

header.wp-block-template-part {
	position: relative;
	position: fixed;
	top: 0;
	z-index: 2222;
	padding: 0 50px;
	width: 100%;
	background-color: #070825;
}

body.admin-bar header.wp-block-template-part {
	top: 32px;
}

header.wp-block-template-part>.wp-block-group {
	position: relative;
	z-index: 2;
}

header.wp-block-template-part>.wp-block-group.mobile-search {
	position: relative;
	z-index: 99999;
}

header.wp-block-template-part::before,
header.wp-block-template-part::after {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	background-size: contain;
	background-repeat: no-repeat;
	content: "";
}

header.wp-block-template-part::before {
	background-image: url("../images/header-bg-left.svg");
	background-position: left;
}

header.wp-block-template-part::after {
	background-image: url("../images/header-bg-right.svg");
	background-position: right;
}

.site-header {
	position: relative;
	z-index: 1;
	margin: auto;
	padding-top: 12px;
	padding-bottom: 12px;
	max-width: var(--wp--style--global--content-size);
}

.site-header .wp-block-mitchcactus-account {
	margin-left: auto;
}

.site-header .header-link a {
	text-decoration: none;
}

@media (max-width: 1200px) {

	.site-header .header-link a {
		display: none;
	}

	header.wp-block-template-part>.wp-block-group {
		z-index: 999999;
	}
}

@media (max-width: 780px) {

	body.admin-bar header.wp-block-template-part {
		top: 46px;
	}
}

/* Restored global header/search mobile layout rules from the split theme stylesheet. */
@media (max-width: 991px) {

	body:not(.admin-bar) {
		padding-top: 130px;
	}

	body.admin-bar {
		padding-top: 135px;
	}

	.site-header {
		flex-wrap: wrap !important;
	}

	.search-browse-container {
		width: 100%;
		max-width: 100%;
	}

	.site-header .search-browse-container:not(.mobile-search) {
		display: none !important;
	}

	.mobile-search {
		display: flex !important;
		order: 2;
		padding: 10px 15px;
		width: 100%;
	}

	.mobile-search .search-browse-inline {
		width: 100%;
	}

	.mobile-search .search-container {
		flex: 1;
	}

	.mobile-search .search-input {
		width: 100%;
		font-family: "Chakra Petch", Inter, "Segoe UI", Helvetica, Arial, sans-serif;
		font-size: 16px;
	}

	.mobile-search .browse-games-btn {
		padding: 13px 16px;
		font-family: "Chakra Petch", Inter, "Segoe UI", Helvetica, Arial, sans-serif;
		font-size: 12px;
	}

	.site-header .wp-block-site-logo {
		max-width: 80px;
	}
}

@media (max-width: 768px) {

	header.wp-block-template-part {
		padding: 0;
	}

	.browse-dropdown.show,
	.search-suggestions.show {
		margin: 0;
		border-radius: 0;
	}

	.browse-games-btn {
		border-radius: 0;
	}

	.mobile-search {
		padding: 0;
	}

	.search-input,
	.search-browse-inline {
		border-radius: 0;
	}
}

@media (max-width: 576px) {

	body:not(.admin-bar) {
		padding-top: 103px;
	}

	body.admin-bar {
		padding-top: 90px;
	}

	.site-header {
		padding: 8px 10px !important;
		height: 53.6px;
	}

	.mobile-search .search-input {
		padding: 10px 10px 10px 45px;
		font-family: "Chakra Petch", Inter, "Segoe UI", Helvetica, Arial, sans-serif;
		font-size: 16px;
	}

	.mobile-search .browse-games-btn {
		font-family: "Chakra Petch", Inter, "Segoe UI", Helvetica, Arial, sans-serif;
		font-size: 12px;
	}

	.site-header .wp-block-site-logo {
		max-width: 60px;
	}

	.browse-games-btn {
		padding: 8px 12px;
		font-family: "Chakra Petch", Inter, "Segoe UI", Helvetica, Arial, sans-serif;
		font-size: 12px;
	}
}

@media (max-width: 570px) {

	header.wp-block-template-part {
		padding: 0;
	}

	.site-header {
		justify-content: space-between;
		position: relative;
	}

	.site-header .wp-block-mitchcactus-header-menu {
		margin-left: unset;
	}

	/* .site-header .wp-block-site-logo {
		position: absolute;
		top: 10px;
		left: 50%;
		transform: translateX(-50%);
	} */

	.site-header .wp-block-site-logo img {
		width: 100%;
		height: auto;
	}

	.site-header .wp-block-mitchcactus-account {
		margin-left: unset;
	}
}

/* Footer */
footer {
	background-image: url("/wp-content/themes/mitchcactus/assets/images/footer-bg.webp");
	background-size: cover;
	background-repeat: no-repeat;
}

.mitchcactus-footer {
	margin-right: auto;
	margin-left: auto;
	padding-bottom: 0;
	max-width: var(--wp--style--global--content-size);
}

.mitchcactus-footer a {
	color: #cdcdd2;
	text-decoration: none !important;
}

.mitchcactus-footer .footer-social-media-icons .wp-block-image {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	border-radius: 10%;
	width: 45px;
	height: 45px;
	background-color: #1b203f;
}

.mitchcactus-footer .footer-registered {
	margin-top: 20px !important;
	padding: 0;
	height: 70px;
	background-color: #121635;
	backdrop-filter: blur(20px);
}

.mitchcactus-footer .footer-menus {
	flex-wrap: wrap;
	margin-top: 40px;
}

@media (max-width: 767px) {

	.mitchcactus-footer .footer-registered {
		flex-wrap: wrap;
		padding: 15px;
		height: 170px;
	}

	.mitchcactus-footer .footer-social-media-icons .wp-block-image {
		width: 40px;
		height: 40px;
	}
}
