@charset "UTF-8";
/* CSS Document */

:root {
	--Orange: hsl(26, 100%, 55%);
	--Paleorange: hsl(25, 100%, 94%);
	--verydark: hsl(220, 13%, 13%);
	--Darkgrayish: hsl(219, 9%, 45%);
	--Grayish: hsl(220, 14%, 75%);
	--Lightgrayish: hsl(223, 64%, 98%);
	--White: hsl(0, 0%, 100%);
	}

/*========================UTILITY========================*/

main {
	font-size: 62.5%;
}

main p {
	font-size: 1.6rem;
}

main a {
	text-decoration: none;
}

.product-container {
	max-width: 1440px;
	width: 100%;
	margin: 0 auto;
	padding: 0 3rem;
}

body {
	font-family: Arial;
}

/*=============================================================*/
/*=====================Product Content=========================*/
/*=============================================================*/

#products {
	margin-top: 2rem;
	width: 100%;
}
	.product-container {
	max-width: 1440px;
	width: 100%;
	margin: 0 0 4rem 1rem;
	padding: 0 .5rem;
}

.product-wrapper {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 5em;
	width: 90%;
}

.product-img-wrapper{
	max-width: 800px;
	min-width: 390px;
}

@media (max-width: 1020px) {
	
	.product-container {
	max-width: 1440px;
	width: 100%;
	margin: 0 0 4rem 1rem;
	padding: 0 .5rem;
}
	.product-img-wrapper {
		max-width: 700px;
		min-width: 370px
	}
	.product-wrapper {
	display: block;
	justify-content: space-between;
	align-items: center;
	gap: 5em;
	width: 90%;
	}
	.product-content {
	max-width: 650px;
	margin: 0;
	}
}
/******END MEDIA QUERY*******/

.product-img img {
	display: block;
	object-fit: cover;
	width: 100%;
	border-radius: 10px;
	cursor: pointer;	
	margin-left: auto;
}

.img-small {
	display: flex;
	justify-content: space-between;
	margin-top: 3rem;
	width: 90%;
	margin-left: auto;
}
.img-small img {
	object-fit: cover;
	width: 30%;
}

.img-small img.active {
	border: 2px solid var(--Orange);
	opacity: 0.7;
}

.product-content {
	width: 100;
	margin: 0 auto;
}
.company-text {
	color: var(--Orange);
	text-transform: uppercase;
	font-weight: 600;
	letter-spacing: 2px;
	font-size: 1.2rem;
}

.product-content h2 {
	font-size: 4em;
	margin: 1rem 0;
	width: 60%;
}

.product-desc {
	width: 100%;
	margin: 1rem 0;
	font-size: 1.5rem;
	line-height: 1.56;
	color: var(--Darkgrayish);
}

.discount-price {
	display: flex;
	align-items: center;
}

.normal-price {
	font-size: 2.5rem;
	font-weight: 700;
}

.discount-price span {
	font-weight: normal;
	font-size: 1.5rem;
	background-color: #ffeee3;
	padding: 0 0.5rem;
	color: var(--Orange);
	font-weight: 700;
	margin-left: 1rem;
}

/*********GRID WALL***********/

.grid-product-container {
	display: flex;
	width: 100%;
	margin: 0 0 4rem;
	padding: 0 .5rem;
}

.grid-product-wrapper {
	display: block;
	margin: 0 5px;
	width: 100%;
	min-width: 150px;
}

/*.grid-product-img-wrapper {
		max-width: 800px;
		min-width: 150px
	}*/

.grid-product-content {
	display: block;
	width: 100%;
	margin: 0 auto;
}

.grid-product-content h2 {
	display: block;
	font-size: 1rem;
	text-align: center;
	width: 100%;
}

.grid-company-text {
	color: var(--Darkgrayish);
	text-transform: uppercase;
	font-weight: 600;
	letter-spacing: 2px;
	font-size: .75rem;
	text-align: center;
	margin-top: 1rem;
}

.grid-product-img img {
	display: block;
	width: 20rem;
	min-height: 175px;
	border-radius: 10px;
	cursor: pointer;	
}

.grid-discount-price {
	display: block;
	text-align: center;
}

.grid-normal-price {
	font-size: 1rem;
	font-weight: 700;
	margin: 1px 0 0 0;
	
}

.grid-discount-price span {
	font-weight: normal;
	font-size: 1.5rem;
	background-color: #ffeee3;
	padding: 0 0.5rem;
	color: var(--Orange);
	font-weight: 700;
	margin-left: 1rem;
}

@media (max-width: 600px) {
	.grid-product-container {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	margin: 0 0 4rem;
	padding: 0 1rem;
}
	.grid-product-wrapper {
	display: block;
	margin: 0 .4rem 1.5rem;
	width: 46%;
	min-width: 150px;
	}
	
	.grid-product-content {
	display: block;
	width: 100%;
	margin: 0 auto;
}

	.grid-company-text {
	color: var(--Darkgrayish);
	text-transform: uppercase;
	font-weight: 600;
	letter-spacing: 2px;
	font-size: .70rem;
	text-align: center;
	margin-top: 1rem;
}

}
/*RESOURCE VIDEO https://www.youtube.com/watch?v=ezeoQdbddJE*/