@import "nav.css";
@import "footer.css";

.hero-section{
	width: 100%;
	min-height: 520px;
	background-image: url('../assets/header.png');
	background-size: cover;
	display: flex;
	justify-content: center;
	align-items: center;
}

.hero-section .logo{
	font-size: 70px;
	color: #fff;
	margin-left: 22px;
	font-weight: 600;
}

.hero-section .sub-heading{
	margin-top: 10px;
	text-align: center;
	color: #fff;
	text-transform: capitalize;
	font-size: 20px;
	font-weight: 300;
}

/* product */

.product{
	position: relative;
	overflow: hidden;
	padding: 20px 0;
}

.product-category{
	padding: 0 10vw;
	font-size: 30px;
	font-weight: 500;
	margin-bottom: 40px;
	text-transform: capitalize;
}

.product-container{
	padding: 0 10vw;
	display: flex;
	overflow-x: auto;
	scroll-behavior: smooth;
}

.product-container::-webkit-scrollbar{
	display: none;
}

.product-card{
	flex: 0 0 auto;
	width: 250px;
	height: 450px;
	margin-right: 40px;
}

.product-image{
	position: relative;
	width: 200px;
	height: 250px;
	overflow: hidden;
}

.product-thumb{
	width: 200px;
	height: 250px;
	object-fit: cover;
}

.discount-tag{
	position: absolute;
	background: #fff;
	padding: 5px;
	border-radius: 5px;
	color: red;
	right: 10px;
	top: 10px;
	text-transform: capitalize;
}

.card-btn{
	position: absolute;
	bottom: 10px;
	left: 50%;
	transform: translateX(-50%);
	width: 90%;
	height: 30px;
	text-transform: capitalize;
	border: none;
	outline: none;
	background: #fff;
	border-radius: 5px;
	transition: 0.5s;
	cursor: pointer;
	opacity: 0;
}

.product-card:hover .card-btn{
	opacity: 1;
}

.card-btn:hover{
	background: #ff8c00;
	color: #fff;
}

.product-info{
	width: 100%;
	height: 100px;
	padding-top: 10px;
}

.product-brand{
	text-transform: uppercase;
	font-size: 22px;
}

.product-short-des{
	width: 100%;
	height: 20px;
	line-height: 20px;
	overflow: hidden;
	opacity: 0.7;
	text-transform: capitalize;
	margin: 5px 0;
}

.price{
	font-weight: 900;
	font-size: 28px;
}

.actual-price{
	margin-left: 20px;
	opacity: 0.6;
	text-decoration: line-through;
}

.pre-btn, .nxt-btn{
	border: none;
	width: 10vw;
	height: 100%;
	position: absolute;
	top: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #fff 100%);
	z-index: 8;
}

.pre-btn{
	transform: rotate(180deg);
}

.nxt-btn{
	right: 0;
}

.pre-btn img, .nxt-btn img{
	width: 30px;
	opacity: 0.2;
}

.pre-btn:hover img, .nxt-btn:hover img{
	opacity: 1;
}

/* collections */

.collection-container{
	width: 100%;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-gap: 10px;
}

.collection{
	position: relative;
}

.collection img{
	width: 460px;
	height: 310px;
	object-fit: cover;
}

.collection p{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	color: #fff;
	font-size: 45px;
	text-transform: capitalize;
}

@media (min-width: 30em) and (max-width: 600px) {
  body {
    background-color: purple;
  }
}
































