/*!
 *    FileName:  index.css
 *      Author:  Johann Olivares
 *        Date:  09/29/20
 *
 * Description: selectors for formatting the index file for E-Fit website
 *
 * Table of Contents:
 * 1.0 General Format
 * 2.0 Navigation
 * 3.0 Banner
 * 4.0 Product Slider
 * 5.0 Product Listings
 * 6.0 Filter Form
 * 7.0 Footer
 *
 */

/*General fromat styles*/
* {
    box-sizing: border-box;
    padding: 0px;
    margin: 0px;
}
html, body {
	position: relative;
	padding: 0;
	margin: 0;
	font-family: 'Poppins', sans-serif;
	scroll-behavior: smooth;
}
h1, h2, h3, p, a, li {
	font-family: 'Poppins', sans-serif;
}
h1, h1, h3, p {
	margin: 0;
}
h1 {
    font-size: 45px;
    font-weight: 600;
}
h2 {
    font-size: 30px;
    font-weight: 600;
}
button {
	font: 100px;
	font-weight: bold;
	color: white;
    background-color: grey;
	border: none;
	border-radius: 1px;
	padding: 10px;
}
.cta, .cta_alt {
    text-decoration: none;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: #000;
    display: block;
    background: #fff;
    border-radius: 500px;
    border: 2px solid #ccc;
    padding: 12px 30px;
}
.cta_alt {
    background: #000;
    border: 2px solid #000;
    color: #fff;
}
a {
    color: #000;
    text-decoration: none;
}
.container {
    max-width: 1600px;
    margin: auto;
    width: 100%;
    padding: 50px 25px;
}
label {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}
@media(max-width: 767px) {
    h1 {
        font-size: 35px;
    }
    h2 {
        font-size: 25px;
    }
    .cta, .cta_alt {
        font-size: 15px;
    }
}
/*End of general format styles*/

/*Navigation Bar Styles*/
#store-logo {
	margin: auto;
	margin-left: 0;
}
#store-logo img {
    height: 22px;
    filter: invert(1);
}
#discount-header {
    background: #eee;
    padding: 15px;
    max-width: unset;
}
#discount-header p {
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
}
.nav-wrapper {
    background: #fff;
	/*box-shadow: 10px 0 10px 0 rgba(0, 0, 0, 0.2);*/
	padding: 12px 25px;
	position: sticky;
	top: 0px;
	z-index: 100;
	border-bottom: 1px solid #ccc;
}
.nav-bar {
	display: grid;
	grid-template-columns: 20% 60% 10% 10%;
	font-size: 20px;
	padding: 0px;
}
.product-menu {
    display: flex;
    gap: 50px;
    text-decoration: none;
    text-align: center;
    margin: auto;
    padding: 0px;
    font-size: 15px;
}
.product-menu li, .icon-menu li {
    display: inline-block;
    margin-top: auto;
    margin-bottom: auto;
}
.links {
	text-decoration: none;
	text-align: center;
	color: #000;
	font-weight: 600;
}
.search-wrapper {
    margin: auto;
    display: flex;
    background: #eee;
    border-radius: 500px;
    padding: 6px 10px 6px 15px;
}
#search-field {
	border: none;
	background: transparent;
	font-size:  15px;
	font-weight: 600;
	width: 125px;
}
#search-field::-webkit-input-placeholder { /* Chrome, Safari */
  color: #999;
  font-weight: 600;
}

#search-field::-moz-placeholder { /* Firefox */
  color: #999;
  font-weight: 600;
}

#search-field:-ms-input-placeholder { /* IE 10+ */
  color: #999;
  font-weight: 600;
}

#search-field::placeholder { /* Standard */
  color: #999;
  font-weight: 600;
}
#search-field:focus-visible {
    outline: none;
}
#search-btn {
    border-radius: 500px;
    background: #000;
    padding: 7px;
}
#search-btn i  {
	color: #fff;
}
.icon-menu {
    display: flex;
    gap: 30px;
    text-decoration: none;
    text-align: center;
    margin-left: auto;
    margin-right: 0px;
}
.icon-menu i {
    color: #000;
    margin: auto;
    font-size: 22px;
}
.search-icon {
    display: none !important;
}
.cart_btn {
    position: relative;    
}
#cart_qty {
    background: red;
    border-radius: 500px;
    color: #fff;
    font-size: 10px;
    position: absolute;
    top: -10px;
    right: -15px;
    padding: 3px;
    aspect-ratio: 1 / 1;
    height: 20px;
    width: 20px;
}
@media(max-width: 1024px) {
    #store-logo img {
        height: 35px;
    }
    .product-menu {
        font-size: 18px;
    }
    .search-wrapper {
        display: none;
    }
    .icon-menu i {
        color: #000;
        margin: auto;
        font-size: 25px;
        margin-right: 0px;
    }
    .search-icon {
        display: block !important;
    }

}
@media(max-width: 767px) {
    .nav-wrapper {
    	padding: 10px 15px;
    }
    .nav-bar {
    	grid-template-columns: 50% 50%;
    	margin: auto;
    }
    .product-menu {
        display: none;
    }
    .icon-menu i {
        font-size: 21px;
        margin: auto;
        margin-right: 0px;
    }
    #store-logo img {
        height: 25px;
    }
}
/*Navigation Bar Styles End*/


/*Banner Image Styles*/
#banner {
	background: url("../img/banner3.png");
	min-height: 700px;
    background-position: 50% 40%;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    box-shadow: inset 400px 0 450px 0 rgba(0, 0, 0, 0.5);
    display: flex;
}
#banner h1{
	font-size: 4.5rem;
	font-weight: 900 !important;
	line-height: 70px;
	color: white;
	text-shadow: 0 0 10px black;
	margin-bottom: 20px;
	text-align: left;
	text-transform: uppercase;
}
#banner p {
    font-size: 18px;
    color: #fff;
    text-align: left;
    text-shadow: 0 0 10px black;
    max-width: 420px;
    margin-bottom: 50px;
}
#shopBtn {
    display: flex;
	text-align: left;
	gap: 15px;
}
@media(max-width: 1024px) {
    #banner {
        min-height: 450px;
        box-shadow: inset 400px 0 450px 0 rgba(0, 0, 0, 0.5);
    }
    #banner h1{
    	font-size: 5rem;
    	font-weight: 900 !important;
    	line-height: 65px;
    	color: white;
    	text-shadow: 0 0 10px black;
    	margin-bottom: 20px;
    	text-align: left;
    	text-transform: uppercase;
    }
    #banner p {
        font-size: 19px;
        color: #fff;
        text-align: left;
        text-shadow: 0 0 10px black;
        max-width: 420px;
        margin-bottom: 50px;
    }
}
@media(max-width: 767px) {
    #banner {
    	height: 40%;
        background-position: 40% 40%;
        box-shadow: inset 150px 0 400px 0 rgba(0, 0, 0, 0.5);
        background-size: 700px;
    }
    #banner h1{
    	font-size: 2.5rem;
    	line-height: 35px;
    }
    #banner p {
        font-size: 15px;
        max-width: 225px;
        margin-bottom: 50px;
    }
}
/*End of Banner Image Styles*/


/*Product Slider*/
.product-slider {
	display: -webkit-inline-box;
	overflow-x: scroll;
	overflow-y: hidden;
	padding: 25px 0px;
	width: 100%;
}
.product-slider .product-item {
    width: 24.2%;
    margin-right: 15px;
}
.item-details {
    font-size: 15px;
    padding: 0;
    margin: 0;
}
.product-slider .name {
    text-align: left;
}
.product-slider .price {
    font-weight: bold;
    text-align: left;
}
.product-slider img {
    height: auto;
    width: 100%;
    object-fit: cover;
    aspect-ratio: 10 / 12;
}
.product-slider::-webkit-scrollbar {
  height: 8px;
}
.product-slider::-webkit-scrollbar-track {
  border-radius: 500px;
}
.product-slider::-webkit-scrollbar-thumb {
  background-color: #000;
  border-radius: 500px;
}
@media(max-width: 1024px) {
    .product-slider .product-item {
        width: 33%;
    }
}
@media(max-width: 767px) {
    .product-slider .product-item {
        width: 50%;
    }
    .item-details {
        font-size: 13px;
    }
}
/*End of Product Slider*/


/*Product Grid Styles*/
.product-grid {
	 display: grid;
	 grid-template-columns: repeat(4, 1fr);
	 grid-gap: 15px;
	 padding:  25px 0;
}
.image {
    height: auto;
    width: 100%;
    object-fit: cover;
    aspect-ratio: 10 / 12;
}
.item-details {
	text-align: left;
	position: relative;
	padding-top: 5px;
}
.product-grid .item-details {
    display: block;
}
.product-grid .name {
    text-align: left;
	font-size: 15px;
	margin-bottom: 5px;
} 
.product-grid .price {
	font-size: 15px;
	text-align: left;
	font-weight: bold;
}
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 767px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        margin-bottom: 50px;
    }
    .product-grid .name {
    	font-size: 13px;
    } 
    .product-grid .price {
    	font-size: 12px;
    }
}
/*End of Product Grid Styles*/


/*Footer Styles*/
#footer {
	position: relative;
    bottom: 0;
    width: 100%;
	color: #fff;
	background-color: #000;
	margin: 0;
	padding: 0;
}
#footer #store-logo {
    filter: invert(1);
    display: inline-block;
    margin-bottom: 10px;
}
#footer ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
}
#footer li {
	display: inline;
	list-style-type: none;
	text-decoration: none;
	color: #fff;
}
#footer a, #footer p {
    color: #fff;
    font-size: 15px;
    margin: auto;
}
#footer a {
    text-align: left;
}
#footer p {
    width: 100%;
    text-align: left;
}
#footer-container {
    display: flex;
    gap: 10px;
    justify-content: space-between;
}
.media-menu {
    display: flex;
    justify-content: flex-end;
    padding: 0;
    margin: 0px;
    margin-bottom: 15px;
    flex-direction: row !important;
    gap: 35px !important;
}
@media(max-width: 1024px) {
}
@media(max-width: 767px) {
    #footer-container {
        flex-direction: column;
    }
    .media-menu {
        justify-content: start;
    }
    #footer-credits {
        padding-top: 0;
    }
}
/*End of Footer Styles*/