main.checkout
{
	margin: auto;
	height: 60vh;
	width: 90vw;
	background: hsl(160 10% 20% / .3);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	border-radius: 25px;
	overflow: auto;
	position: relative;
}



main.checkout > section
{
	display: flex;
	flex-flow: column nowrap;
	justify-content: space-between;
	align-items: center;
	overflow: auto;
}

main.checkout header
{
	font-size: inherit;
	color: inherit;
}

.shopping-cart-summary
{
	display: flex;
	flex-flow: column wrap;
	background: hsl(160 100% 50% / .1);
	margin: clamp(1.3em, 1vh + .5em, 2em) auto;
	padding: clamp(1.3em, 1vh + .5em, 2em);
	width: 50%;
	height: auto;
	font-size: clamp(.5em, 3vh + .25em, 1.5em);
	color: inherit;
	border: 2px solid hsl(160 100% 30% /1);
	border-radius:25px;
	box-shadow: 5px 5px 5px hsl(160 100% 30% / 1);
}

.cart-line-item
{
	display: flex;
	justify-content: space-between;
	font-size: inherit;
	line-height: clamp(2em, 2vh + .38em, 3em);
	font-weight: 300;
}

.grand-total
{
	font-size:2rem;
	font-weight: 300;
}

main.checkout button
{
	position: absolute;
	bottom: 3em;
	padding: .75rem;
	background: hsl(233 94% 50% / 1);
	border: 1px solid hsl(233 94% 50% / 1);
	box-shadow: 2px 2px 3px 3px hsl(233 94% 20% / 1);
	border-radius: 25px;
	transition: box-shadow 1s, background 1s;
}

main.checkout button:hover
{
	background: hsl(133 64% 50% / 1);
	border: 1px solid hsl(233 94% 50% / 1);
	box-shadow: 20px 20px 3px 3px hsl(233 94% 20% / 1);
}

main.checkout button a
{
	display: block;
	padding: .75rem;
	line-height: 1.6em;
	font-size: 1.5em;
	color: white;
	font-weight: 500;
	transition: font-size 1s;
}

main.checkout button:hover a
{
	line-height: 1.6em;
	font-size: 3em;
	font-weight: 700;
}



.pgtitle
{
	top: 125px;
	height: 150px;
	width: 100%;
	font-weight: 1200;
}

legend
{
	text-align: center;
	font-size: 2rem;
	text-transform: uppercase;
}

customer-form
{

	top: 100px;
	left: 100px;
	text-align: left;
	width: 30vw;
	height: 70vh;
	margin: 2px;
	display: block;
	background: rgba(255, 255, 255, 1);
	padding: 0 50px;
	box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
	position: fixed;
	overflow: auto;
	z-index: 20;

}

.close-customer
{
	cursor: pointer;
	height: 15px;
	width: 15px;
	color: red;
}

.customer-submit-btn
{ 
	margin: auto;
	height: 35px;
	width: 125px;
	cursor: pointer;
	background: var(--btn-bg);
	transition: var(--transitions);
	border-radius: var(--button-radius);
	text-transform: uppercase;
	display: none;
}

.customer-submit-btn:hover
{
	background: radial-gradient(red 20%, blue 40%, green 50%);
	color: #fff;
	font-size: 2.5em;
	text-decoration: overline;
	cursor: pointer;
}

input[type=reset]
{
	display: none;
}

ship-method
{
	 width: 80vw;
	 margin: 10rem;
	 display: flex;
	 align-items: center;
	 background: rgba(8,246,186,100);
	 color: black;
	 border: 2px solid rgba(8,246,186,100);
	 border-radius:25px;
}
/*	----------------------- End Checkout Screen		----------------------------	*/

@media (max-width: 650px)
{

	main.checkout
	{
		margin: auto;
		height: 100vh;
		width: 100vw;
		overflow: auto;
		justify-content: space-around;
	}


	main.checkout > section
	{
		display: flex;
		flex-flow: column nowrap;
		justify-content: space-around;
		align-items: center;
		padding-bottom: 20%;
		overflow: auto;
	}

	main.checkout header
	{
		font-size: inherit;
		color: inherit;
	}

	.shopping-cart-summary
	{
		display: grid;
		width: 100%;
		height: 100%;
		font-size: 1.5em;
		margin-bottom: .5em;
	}

	.cart-line-item
	{
		display: flex;
		justify-content: space-between;
		font-size: inherit;
		line-height: clamp(2em, 2vh + .38em, 3em);
		font-weight: 300;
	}

	
	main.checkout button
	{
		bottom: 20%;
		width: 80%;
		height: auto;
	}

	main.checkout button a
	{
		padding: .25rem;
		line-height: 1.6em;
		font-size: 1.3em;
		font-weight: 300;
	}

	
}
