article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block;}
audio,canvas,video{display:inline-block;}
audio:not([controls]){display:none;height:0;}[hidden]{display:none;}
/* html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;}
body{margin:0;}

a:focus{color:var(--clr2)}
a:active,a:hover{outline:0;}
abbr[title]{border-bottom:1px dotted;}
b,strong{font-weight:bold;}
dfn{font-style:italic;}
hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0;}
mark{background:#ff0;color:#000;}
code,kbd,pre,samp{font-family:monospace,serif;font-size:1rem;}
pre{white-space:pre-wrap;}
q{quotes:"\201C" "\201D" "\2018" "\2019";}
small{font-size:80%;}
sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline;}
sup{top:-0.5rem;}
sub{bottom:-0.25rem;}img{border:0;} */
svg:not(:root){overflow:hidden;}
/* figure{margin:0;}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35rem 0.625rem 0.75rem;}
legend{border:0;padding:0;}
button,input,select,textarea{font-family:inherit;font-size:100%;margin:0;}
button,input{line-height:normal;}button,select{text-transform:none;}
button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer;}
button[disabled],html input[disabled]{cursor:default;}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0;}
input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box;}
input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none;}
button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0;}
textarea{overflow:auto;vertical-align:top;}
table{border-collapse:collapse;border-spacing:0;} */
*,
*::after,
*::before {
	box-sizing: border-box;
}

/* html {
	background:transparent;
} */

body {
	
	--grid-columns:2;
	--color-btn-hover: var(--clr2);
	--color-details-title: var(--clr1);
	--details-bg-up: var(--clr6);
	--details-bg-down: var(--clr3);
	--color-product-title:var(--clr3);
	font-family: var(--fontf1);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x:hidden;
	overflow-y:scroll;
}

a {
	text-decoration: none;
	color: var(--clr1);
	outline: none;
}

a:hover,
a:focus {
	color: var(--clr2);
	outline: none;
}

button:focus {
	outline: none;
}

/* Page Loader */
.js .loading::before,
.js .loading::after {
	content: '';
	position: relative;
	z-index: 12700;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%; 
	overflow:hidden;
}

.js .loading::after {
	
	animation: loaderAnim 1s linear infinite alternate forwards;
}

@keyframes loaderAnim {
	to {
		opacity: 1;
	}
}

.hidden {
	position: absolute;
	overflow-x: hidden;
	overflow-y: hidden;
	width: 0;
	height: 0;
	pointer-events: none;
}

/* Icons */
.icon {
	display: block;
	width: 1.5rem;
	height: 1.5rem;
	margin: 3rem;
	fill: currentColor;
}

main {
	position: relative;
	width: 100%;
	height:auto;
	overflow-x: hidden;
	overflow-y: hidden;
}

.content {
	position: relative;
	display: block;
	overflow-x: hidden;
	overflow-y: hidden;
}

.grid {
	padding-left:8.5%; 
	margin: 18.5%;
	position: relative;
	width: 100%;
	height:auto;
	max-width: 1440px;
	display: grid;
	grid-template-columns: repeat(var(--grid-columns), 1fr);
}

.grid__item {
	padding: 5rem;
	margin: 1rem;
}

.grid__item:nth-child(odd) .product {
	/* padding: 1rem; */
	margin: 1rem;
}

.product {
	height: 40.75rem;
	position: relative;
	cursor: pointer;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}

.product__bg {
	max-height: 40.75rem;
	max-width: 40rem;
	height: 40.75rem;
	width: 40rem;
	margin:2rem;
	border: solid 6px #f6f6f6;
	position: relative;
	opacity:0.4;
	border-radius: 600px;
	filter:var(--fShdw);
}

.product__img {
	max-height: 20rem;
	margin: 1rem;
	display: block;
	position: absolute;
	top: -2vh;
	left:80%;
	pointer-events: none;
	transform: translate3d(-50%,0,0);
	filter:var(--fShdw2);
}

.product__title {
	position: relative;
	vertical-align:top;
	padding:1.5rem;
	margin: -25.5rem 5rem -5rem 5rem;
	width: 80%;
	color: #fff;
	font-weight: 200;
	font-size:22pt;
}

.product__subtitle {
	position: relative;
	top:32.5vh;
	left:0.5vw;
	padding:1.15%;
	color: var(--clr1);
	font-size: 1.55rem;
	margin-top: -23.5rem;
	margin-left: 3.5rem;
	background:var(--clr53);
	border: solid 4px #f6f6f6;
	border-radius:60px ;
	max-height: 10rem;
	max-width: 10rem;
	height: 10rem;
	width: 10rem;
	filter:var(--fShdw2);
	text-align:center;

}

.product:hover .product__subtitle {
	color: var(--clr2);
}

.product__description,
.product__price {
	opacity: 0;
	position: absolute;
}

.details {
	position: fixed;
	width: 100%;
	height: 150%;
	top: 1vh;
	bottom:1vh;
	left: 0;
	padding: 40vh 10vh 10vh 10vw;
	z-index: 12706;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	pointer-events: none;
	scrollbar-color:light;
}

.details--open {
	pointer-events: auto;
}

.details > * {
	position: relative;
	opacity: 0;
}

.details__bg {
	width: 100%;
	position: fixed;
	left: 0;
}

.details__bg--up {
	top: 0;
	height: 100vh;
	background: var(--details-bg-up);
	
}

.details__bg--down {
	top: 40vh;
	height: 60vh;
	background: var(--details-bg-down);
}

.details__img {
	position: absolute;
	top: 26vh;
	right: 2vw;
	height: 30vh;
	filter:var(--fShdw2);
}

.details__bg,
.details__img {
	transform-origin: 0 0;
}

.details__title {
	margin:-15rem;
	font-size: 7rem;
	color: var(--color-details-title);
	
	
}

.details__subtitle {
	margin-top: 17.5vh;
	margin-left:-8vw;
	letter-spacing: 2px;
	font-size: 3rem;
	color: var(--color-details-subtitle);

}

.details__description {
	top: -20.5vh;
	line-height: 1.5;
	font-weight: bold;
	max-width:70%;
	margin: 25rem 0 0 0;
	color: var(--color-details-desc);
	overflow-x: hidden;
	overflow-y: scroll;
}
/* 
.details__price {
	font-size: 3rem;
	font-weight: bold;
	color: var(--color-price);
} */


/* 
.details__addtocart:hover {
	background: var(--color-btn-hover);
} */

.details__close {
	position: absolute;
	top: 2vh;
	right: 0;
	border: 0;
	background:url(../../../assets/Icons/angle-double-left-red.svg);
	background-repeat: no-repeat;
	background-size: 3rem;
	margin: 2rem;
	cursor: pointer;
	/* font-size: 0.65rem; */
	color: #fff;
	overflow:hidden;
	
}




/* .details__deco {
	width: 7rem;
	height: 20px;
	background-position: 50% 97%;
	background-size: 150%;
}
 */
/* Related demos */
/* .content--related {
	padding: 8rem 5vw;
	font-weight: bold;
	text-align: center;
	background: #000;
	color: #f0f0f0;
}

.content--related a:hover {
	color: #fff;
}

.content--related h2 {
	font-size: 1.25rem;
}

.content--related .demos {
	padding-bottom: 3rem;
}

.media-item {
	display: inline-block;
	padding: 1rem;
	vertical-align: top;
	transition: color 0.3s;
}

.media-item__img {
	max-width: 100%;
	opacity: 0.8;
	transition: opacity 0.3s;
}

.media-item:hover .media-item__img,
.media-item:focus .media-item__img {
	opacity: 1;
}

.media-item__title {
	font-size: 1rem;
	margin: 0;
	padding: 0.5rem;
} */

@media screen and (max-width: 900px) {
	.grid {
		padding: 0 1vw;
	}
	.grid__item {
		padding: 0 2vw;
	}
	.product__bg {
		height: 10rem;
	}
	.product__img {
		max-height: 19rem;
	}
	.product__title {
		font-size: 1.25rem;
	}
	.product__subtitle {
		font-size: 0.75rem;
	}
	.details {
		padding: 30vh 0 5vh 10vw;
	}
	.details__bg--down {
		top: 30vh;
		height: 70vh;
	}
	.details__title {
		font-size: 2rem;
	}
	.details__subtitle {
		font-size: 1rem;
	}
	/* .details__price {
		font-size: 1.5rem;
	} */
	.details__description {
		max-width: 70%;
		font-size: 0.85rem;
		margin: 1rem 0 0 0;
	}
	/* .details__deco {
		height: 7px;
		width: 4rem;
	} */
	.details__img {
		right: -12vh;
	}
	
	
}
