@import url("https://fonts.googleapis.com/css2?family=Montserrat&display=swap");
@font-face {
	font-family: 'GillSans';
	src: url("/fonts/GillSansMT.ttf") format("truetype");
}

html {
	font-size: 62.5%;
	box-sizing: border-box;
}

body, #root {
	height: 100vh;
	margin: 0;
	background: linear-gradient(to bottom right, #999999, #808080);
	background-size: cover;
	background-position: center;
}

body, input, select, text-area, button {
	font-size: 1.6rem;
	font-family: GillSans, Montserrat, Helvetica, Arial, sans-serif;
}

a {
	text-decoration: none;
}

a:hover {
	color: #ff8000;
}

.grid-container {
	display: grid;
	grid-template-areas: "header"
	"main"
	"footer";
	grid-template-rows: auto 1fr auto;
	grid-template-columns: 1fr;
	height: 100%;
}

.background-container {
	background-image: linear-gradient(to top left, rgb(220, 220, 220), rgb(150, 150, 150));
	background-size: cover;
	margin: 0;
	padding: 0;
}

header { 
	grid-area: header;
	background-color: rgba(0, 0, 0, 0.5);
	color: #ffffff;
	display: flex;
	justify-content: space-around;
	align-items: center;
	padding: 0.5rem;
	flex-wrap: wrap;
}

header a {
	color: #ffffff;
	text-decoration: none;
}

.headerLogo {
	flex-grow: 1;
	font-size: 200%;
	align-items: center;
	font-weight: 900;
	font: GillSans;
}

.headerBanner {
	width: 100%;
	color: #f0c040;
	text-align: center;
}

.headerLogo img {
	max-width: 100%;
	height: auto;
	max-height: 80px;
}

.headerLinks {
	display: flex;
	justify-content: flex-end;
	flex-grow: 1;
}

.headerLinks a {
	padding: 0em 0.5em;
}

main {
	grid-area: main;
	overflow: scroll;
}

footer {
	grid-area: footer;
	background-color: black;
	color: #ffffff;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	font-size: smaller;
	padding-top: 2px;
	opacity: 0.5;
}

footer p {
	margin-top: 5px;
	margin-bottom: 0;
	font-size: x-small;

}

.content {
	display: flex;
	flex-wrap: wrap;
}

.main{
	flex: 3 60rem;
}

.sidebar{
	flex: 1 20rem;
}


/* products */

.shopfront {
	display: flex;
	justify-content: space-around;
	align-items: center;
}

.products{
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0;
	margin: 0;
	list-style-type: none;
	flex-wrap: wrap;
}

.products li {
	flex: 0 1 29rem;
	padding: 1rem;
	margin-bottom: 2rem;
}

.product p {
	margin: 0.5;
}

.product {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
}

.product img {
	max-height: 175px;
	max-width: 175px;
	height: 100%;
	max-width: 100%;
	object-fit: contain;
}
/* Was originally 37 */

.product-price {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.product-price div,
.product-price button {
	text-align: center;
	flex: 1;
}

.product-price div {
	font-size: 2rem;
}

.button {
	padding: 1rem;
	border: 0.1rem #c0c0c0 solid;
	background-color: #f0f0f0;
	cursor: pointer;
}

.button:hover {
	border: 0.1rem #808080 solid;
}

.button.primary {
	background-color: #f0c040;
}

.navbar-logo img {
	padding-left: 10px;
	vertical-align: middle;
}

/* Filter */

.filter{
	display: flex;
	justify-content: space-around;
	padding: 1rem;
	margin: 1rem;
	border-bottom: 0.1rem #c0c0c0 solid;
}

.filter div {
	flex: 1;
}

/* index.css */

.cart {
	padding: 1rem;
	margin: 1rem;
	display: flex;
}

.cart-header {
	border-bottom: 0.1rem #c0c0c0 solid;
}

.cart-items {
	padding: 0;
	margin: 0;
	width: 100%;
	list-style-type: none;
}

.cart-items img {
	float: right;
	width: 5rem;
}

.cart-items li {
	display: flex;
	flex-direction: column;
	font-size: small;
	margin: 0;
	float: left;
	font-size: 2rem;
	height: 250px;
	padding-right: 2rem;
}

.cart-items p {
	padding: 0;
	margin: 0;
}

.cart-items li div {
	padding: 0.5rem;
}

.cart-items li div:last-child {
	flex: 1;
}

.cart-title img {
	float: left;
}

.cart-button {
	display: flex;
	align-items: right;
}

.right {
	text-align: right;
}

.total {
	display: flex;
	justify-content: space-between;
	width: 100%;
	align-items: center;
}

.total div, .total button{
	flex: 1;
}

.total div {
	font-size: 2rem;
}

/* Checkout */

.form {
	width: 100%;
}

.form-container {
	padding: 1rem;
	list-style-type: none;
	width: 100%;
}

.form-container li {
	display: flex;
	flex-direction: column;
	padding-top: 1rem;
	padding-bottom: 1rem;
}

input {
	padding: 1rem;
	border: 0.1rem #c0c0c0 solid;
}

/*product details */

.product-details {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	justify-content: space-around;
	align-items: flex-start;
	max-width: 100%;
	border-radius: 15px;
	background: linear-gradient(to bottom right, #A8A8A8, #9B9B9B);
}

.options input {
	padding: 0;
}

.option {
	margin: 2rem;
}

.option {
	height: auto;
	margin: 2rem;
}

.product-details-options {
	padding: 2rem;
	width: 100%;
	display: flex;
	flex-direction: row;
}

.carousel {
	display: block;
	padding: 0;
	height: auto;
	overflow :hidden;
}

.carousel img {
	padding: 0;
	max-height: 180px;
	max-width: 180px;
}

.product-details img {
	max-height: 100vh;
	max-width: 46rem;
	margin: 0 auto;
}

.product-details-description {
	width: 90%;
	padding: 2rem;
	flex: 1 1;
}

.close-modal {
	position: absolute;
	right: 3rem;
	top: 3rem;
	z-index: 1000;
}

@media only screen and (max-width: 1100px) {
	.product-details {
		flex-direction: row;
		justify-content: flex-start;
		overflow: scroll;
	}

	.product-details-options {
		flex-direction: column;
		padding-bottom: 0;
	}

	.option {
		margin: 1rem;
	}

	.product-details-description {
		padding-top: 0;
	}

	.carousel {
		width: 100%;
	}

	.carousel img {
		padding: 0;
		max-width: 100%;
	}
}

/* Order Details */

.order-details {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	height: 100%;
}

.order-details li {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.order-details li div {
	padding: 10px;
}

.order-details .items {
	text-align: right;
	padding: 0;
}

.success-message {
	color: green;
}

/* Orders */

.orders {
	width: 100%;
	padding: 10px;
}

tbody > tr:nth-child(odd){
	background-color: #f0f0f0
}

td {
	padding: 5px;
}

th {
	text-align: left;
}



/* Videos */

.video-container {
    display: flex;
	flex-direction: row;
	align-items: flex-start;
	justify-content: space-around;
	max-width: 100%;
}

.video-wrapper {
	aspect-ratio: 16 / 9;
	margin: 1rem;
	width: 100%;
	display: flex;
	justify-content: space-around;
}

.video-wrapper iframe {
	aspect-ratio: 16 / 9;
	padding: 0;
}

.video-menu-container {
	margin: 1rem;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	width: 25rem;
	border-style: solid;
	border-color: black;
	border-radius: 10px;
	height: auto;
	overflow: hidden;
}

@media only screen and (max-width: 1100px) {
	.video-wrapper {
		margin: 1rem;
		aspect-ratio: 16 / 9;
		max-width: 90%;
		width: 100%;
	}

	.video-container {
		flex-direction: column;
		justify-content: space-around;
	}

	.video-container iframe {
		max-width: 100%;
	}

	.video-menu-container {
		width: 100%;
		max-width: 90%;
		max-height: 50vh;
		overflow: scroll;
	}

}

.video-menu {
	padding: 1rem;
	flex-direction: column;
    color: black;
    text-align: left;
	background-color: white;
	max-width: 100%;
}

.active-video-menu {
	background-color: #C4C4C4;
	border-color: black;
	border-radius: 5px;
	padding: 1rem;
	flex-direction: column;
    color: black;
    text-align: left;
	font-weight: bold;
	max-width: 100%;
}

.video-player {
	padding: 1rem;	
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: space-around;
}

.video-menu .active {
    display: flex;
}

.video-sub-menu {
    display: flex;
	flex-direction: column;
	text-align: right;
	font-size: 80%;
	font-weight: normal;
	max-width: 100%;
}

/* Shop splash */

.splashContainer {
	display: flex;
	align-items: flex-start;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: space-around;
	align-items: center;
	width: 70%;
}

.splashContainer a {
	color: white;
}

.splashContainer a:hover {
	color: #ff8000;
}

.primarySplash {
	background: rgba(0, 0, 0, 0.5);
	color: white;
	border-radius: 5px;
	margin: 0.5rem;
	display: flex;
	flex-direction: column;
	padding: 1rem;
}

.primarySplash img {
	height: 150px;
}

.primarySplash h3 {
	margin: 0.25em 0em;
}

.secondarySplash {
	text-indent: 1em;
	display: flex;
	flex-direction: column;
}


/* Front page */

.background-image {
	padding-left: 1rem;
	padding-right: 1rem;
	background-image: url("workshop2.png");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	background-attachment: fixed;
}

.background-image p {
	text-align: center;
	vertical-align: middle;
	width: 75%;
	font-size: x-large;
}

@media only screen and (max-width: 1100px) {
	.header {
		justify-content: space-around;
	}
	
	.headerLogo {
		width: 100%;
	}

	.headerLinks {
		width: 100%;
		justify-content: space-around;
	}

	.filter {
		max-width: 100%;
		flex-wrap: wrap;
	}

	.cart {
		flex-wrap: wrap;
	}

	.splashContainer {
		width: 100%;
	}
}

.container {
	width: 100%;
	height: 100vh;
	/* CSS Smooth Scroll */
	overflow-y: scroll; 
	scroll-behavior: smooth;
	scroll-snap-type: y mandatory;
}

.frontpage {
	line-height: 1.6;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	height: 100%;
	scroll-snap-align: center;
	color: white;
	text-shadow:
		3px 3px 0 #000,
		-1px -1px 0 #000,  
		1px -1px 0 #000,
		-1px 1px 0 #000,
		1px 1px 0 #000;
/*	-webkit-text-stroke-width: 1px;
	-webkit-text-stroke-color: black;
	font-family: GillSans, Montserrat, Helvetica, Arial, sans-serif;
*/
}

.frontpage p {
	width: 60%;
	font-size: 2rem;
	font-weight: bold;
}

.frontpage h1 {
	font-size: 5rem;
	font-weight: bolder;
}

.home {
	background-image: url("/backgrounds/workshop.jpg");
	background-size: cover;
}

.about {
	background-image: url("/backgrounds/about.jpg");
	background-size: cover;
}

.masks {
	background-image: url("/backgrounds/masks.jpg");
	background-size: cover;
}

.costume {
	background-image: url("/backgrounds/costume.jpg");
	background-size: cover;
}

.monsters {
	background-image: url("/backgrounds/monster.jpg");
	background-size: cover;
}

.weapons {
	background-image: url("/backgrounds/weapons.jpg");
	background-size: cover;
}

.sfx {
	background-image: url("/backgrounds/sfx.jpg");
	background-size: cover;
}

.contact {
	background-image: url("/backgrounds/contact.jpg");
	background-size: cover;
}

.commissions {
	background-image: url("/backgrounds/commissions.jpg");
	background-size: cover;
}


@media only screen and (max-width: 1100px) {
	.home {
		background-image: url("/backgrounds/workshop-mobile.jpg");
		background-size: cover;
		background-position: center;
	}
	
	.about {
		background-image: url("/backgrounds/about-mobile.jpg");
		background-size: cover;
		background-position: center;
	}
	
	.masks {
		background-image: url("/backgrounds/masks-mobile.jpg");
		background-size: cover;
		background-position: center;
	}
	
	.costume {
		background-image: url("/backgrounds/costume-mobile.jpg");
		background-size: cover;
		background-position: center;
	}
	
	.monsters {
		background-image: url("/backgrounds/monster-mobile.png");
		background-size: cover;
		background-position: center;
	}
	
	.weapons {
		background-image: url("/backgrounds/weapons-mobile.png");
		background-size: cover;
		background-position: center;
	}
	
	.sfx {
		background-image: url("/backgrounds/sfx-mobile.jpg");
		background-size: cover;
		background-position: center;
	}

	.contact {
		background-image: url("/backgrounds/contact-mobile.jpg");
		background-size: cover;
		background-position: center;
	}
	
	.commissions {
		background-image: url("/backgrounds/commissions-mobile.jpg");
		background-size: cover;
		background-position: center;
	}
		
}

@media only screen and (min-width: 1500px) {
	.primarySplash img {
		height: 300px;
	}

	.cart {
		font-size: 2rem;
	}

}