:root {
	--img-ratio: 1.5;
	--s: 1;
}
.rolling-text{
	line-height: 15px;
}
body.art-auction .large-image-option-start {
	display: none;
}
body.projects .grid__item-caption {
	position: static !important;
	transform: none !important;
}
body.art-auction {
	background: linear-gradient(90deg, #29339B, #23d5ab, #FFD23F, #B81365);
	background-size: 400% 400%;
	-webkit-animation: gradient 15s ease infinite;
	animation: gradient 15s ease infinite;
}
body.projects {
	background: linear-gradient(90deg, #29339B, #23d5ab)!important;
}

body.art-auction .header--sticky.sticky {
	background-color: transparent;
	box-shadow: none;
}

body.art-auction .header--sticky.sticky .header-wrapper .header-right .nav-area.drop-down-rts .navbar-nav-1 li a {
	color: #fff;
}

body.art-auction .header--sticky.sticky .header-wrapper .header-right .action-area .menu-btn .rts-offcanvas-wrapper .container-menu .action-menu .open-event .burger svg line {
	color: #fff;
}

body.art-auction .rts-footer-area-one.rts-section-gapTop {
	background-color: transparent !important;
}

body.art-auction .art-auction-section {
	margin-top: 200px;
	margin-left: 140px;
	margin-right: 140px;
	border-bottom: 1px solid #fff;
}

body.art-auction .art-auction-section .grid {
	margin-bottom: 200px;
}

body.art-auction .copyright-area.text-center p a {
	color: #fff;
}


@-webkit-keyframes gradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

@keyframes gradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

body {
	margin: 0;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	width: 100%;
	overflow-x: hidden;
	height: auto !important;
    display: block !important;
	overflow-y: auto !important;
	/* background: linear-gradient(to bottom, #0F2027, #203A43, #2C5364, #1ccd745a, #025c1d); */
	background-size: 100%;
	background-repeat: no-repeat;
}
body:before{
	content:'';
	position: fixed;
	top: 0;
	bottom: 0;
	width: 100%;
	z-index: -1;
	background: linear-gradient(to right bottom, rgba(0, 0, 0, 0.4), rgba(255, 255, 255, 0.2) 75%);
}

.demo-2 {
	--color-text: #ffffff;
    --color-bg: #750300;
    --color-link: #e9807e;
    --color-link-hover: #fff;
    --color-title: #ffc982;
    --color-year: #ffffff;
}

.demo-3 {
	--s: 4;

	--color-text: #f9e7ea;
    --color-bg: #000000;
    --color-link: #6e98e0;
    --color-link-hover: #f9e7ea;
    --color-title: #d29fbe;
    --color-year: #6177b7;
}

.demo-4 {
	--img-ratio: 1;
	--s: 2;

	--color-text: #000000;
    --color-bg: #85827a;
    --color-link: #c7bea7;
    --color-link-hover: #000;
    --color-title: #000000;
    --color-year: #b9b3af;
}

/* Page Loader */
.js .loading::before,
.js .loading::after {
	content: '';
	position: fixed;
	z-index: 1000;
}

.js .loading::before {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--color-bg);
}

.js .loading::after {
	top: 50%;
	left: 50%;
	width: 60px;
	height: 60px;
	margin: -30px 0 0 -30px;
	opacity: 0.4;
	background: var(--color-link);
	animation: loaderAnim 0.7s linear infinite alternate forwards;

}

@keyframes loaderAnim {
	to {
		opacity: 1;
		transform: scale3d(0.7,0.7,1);
	}
}

a {
	text-decoration: none;
	color: var(--color-link);
	outline: none;
	cursor: pointer;
}

a:hover {
	color: var(--color-link-hover);
	outline: none;
}

/* Better focus styles from https://developer.mozilla.org/en-US/docs/Web/CSS/:focus-visible */
a:focus {
	/* Provide a fallback style for browsers
	 that don't support :focus-visible */
	outline: none;
}

a:focus-visible {
	/* Draw a very noticeable focus style for
	 keyboard-focus on browsers that do support
	 :focus-visible */
	outline: 2px solid red;
}

.unbutton {
	background: none;
	border: 0;
	padding: 0;
	margin: 0;
	font: inherit;
	cursor: pointer;
}

.unbutton:focus {
	outline: none;
}

.frame {
	position: relative;
	padding: 2rem 3rem;
	display: grid;
	min-height: 400px;
	width: 100%;
	grid-template-columns: auto auto 1fr 1fr;
	grid-template-areas: 'prev back ... sponsor' 'title title title title' 'demos demos demos demos' ;
	grid-row-gap: 1rem;
	grid-column-gap: 2rem;
	pointer-events: none;
	justify-items: start;
}

.frame a {
	pointer-events: auto;
}

.frame__title {
	grid-area: title;
	font-size: clamp(1.5rem, 10vw,5rem);
	margin: 0;
	font-weight: 300;
	max-width: 600px;
	line-height: 1.2;
}

.frame__back {
	grid-area: back;
	justify-self: start;
}

.frame__prev {
	grid-area: prev;
	justify-self: start;
}

.frame__demos {
	grid-area: demos;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	align-self: start;
	flex-wrap: wrap;
}

.frame__demos-item:not(:first-child) {
	width: 2rem;
	display: block;
	flex: none;
	border-radius: 10px;
	aspect-ratio: 1;
	display: grid;
	place-items: center;
}

span.frame__demos-item:not(:first-child) {
	border-color: #fff;
}

.grid {
	width: 100%;
	grid-template-columns: 100%;
	grid-auto-rows: auto;
	display: grid;
	grid-gap: 4rem;
	position: relative;
	margin: 10vh auto 50vh;
}

.grid__item {
    position: relative;
    margin: 0;
}

.grid__item-img {
	position: relative;
	overflow: hidden;
	display: grid;
	place-items: center;
	width: 100%;
	height: auto;
	aspect-ratio: var(--img-ratio);
}

.grid__item-img-inner {
	width: 100%;
	height: 100%;
	background-position: 50%;
	background-size: cover;
	position: relative;
}

.grid__item-caption {
	position: absolute;
	padding: 0.5rem;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}

.grid__item-caption h3 {
	font-weight: bold;
	color: white;
	font-size: inherit;
	margin: 0;
}

.grid__item-caption span {
	font-weight: bold;
	color: white;
}

.outro {
	display: grid;
	place-items: center;
	margin: 40vh 0;
}

.outro__title {
	font-weight: 300;
	font-size: clamp(1.5rem,10vw,2rem);
}

.card-wrap {
	margin-top: 5vh;
	display: grid;
	grid-gap: 2rem;
	grid-auto-flow: row;
	grid-template-columns: 250px;
	text-align: center;
}

.card__image {
	display: block;
	border-radius: 7px;
	background-size: cover;
	background-position: 50% 50%;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	filter: contrast(0.95);
}

.card__title {
	font-weight: 300;
}

.credits {
	font-size: 1.5rem;
	text-align: center;
	margin: 50vh auto 0;
	padding-bottom: 50vh;
}

@media screen and (min-width: 53em) {
	.card-wrap {
		grid-template-columns: repeat(2,300px);
	}
.projects .grid {
		grid-template-columns: repeat(4,1fr);
	}
	.grid {
		grid-template-columns: repeat(8,1fr);
	}

	.grid__item {
	    grid-column: var(--c) / span var(--s);
	    grid-row: var(--r);
	}
}
