*,
*::before,
*::after {
  	box-sizing: border-box;
	margin: 0;
	padding: 0; 
}

body {
  	font-family: Arial, Helvetica, sans-serif;
}

h1,h2,h5 {
  	text-align : center;
	line-height: 1.2;
}

img {
  	max-width: 100%;
}

header {
  	 background: #333;
	   padding-top: 15px; 
}

header h1 {
	color: whitesmoke;
}

nav ul {
	display: flex;
	flex-direction: row;
	justify-content: space-evenly;
	padding-top: 10px;
	padding-bottom: 10px;
}	

nav li {
	 list-style: none; 
}

nav li a {
	color: white;
	text-decoration: none;
}

nav li a:hover {
	color: skyblue;
	cursor: pointer;
}

main {
	padding-top: 30px;
	padding-bottom: 30px;
  	background: whitesmoke; 
}	

.container {
  	background: white;
  	max-width: 80%;
  	height: auto; 
  	margin: 0 auto ; 
  	padding: 20px; 
}

.container-lg {
	min-height: 60vh;
  	text-align: center;
}
	
.container-lg  p {
	margin-top: 30px;
	margin-bottom: 30px;
 }
  
 .container-lg  h3 {
	background: skyblue;
	padding: 10px 0;
}

 footer {
  	width: 100%;
	background: #333;
  	color: whitesmoke;	
  	text-align:center;
  	padding: 2em;
  	line-height: 2em;
}

.gallery {
  	max-width: 1024px;
	min-height: 400px;
	display: flex;
	background: #fff;
	padding: 10px;
	margin: 20px auto;;
	border-radius: 10px;
	justify-content: center; /* main axis - horizontal in our case */
	align-items: start;      /* cross axis - vertical*/
	flex-wrap: wrap;
}

.gallery-item {
  	/* background: #ccc; */
	margin: 10px;
	display: flex;
	flex-direction: column; /* image and title in single column */
	justify-content: start; /* top of column */
	align-items: center;
	border: 1px solid #fff;
}

.gallery-item p {
  	/* background: #eee; */
	/* height: 18px;  */
	/* border-radius: 10px; */
	font-size: 12px;
	font-weight: bold;
	color: #000;
	padding: 0 10px;
	/* display: flex; */
	/* justify-content: center; */
	/* align-items: center;      */
}

/* .gallery-item:hover { */
	/* border: 1px solid navy; */
/* } */

.gallery-item .thumb:hover {
  	transition: 200ms ease-in-out;
	transform: scale(1.05);
}

.buynow {
	background: white;
	color: black;
	font-size: 12px;
	font-weight: bold;
	text-transform: uppercase;
	border-radius: 5px;
	border: 1px solid black;
	padding: 3px 10px 2px; 	
	margin-top: 5px;
}

.buynow:hover {
	background: skyblue;
	cursor: pointer;
}	

.cart {
	width: 100%;
	border: none;
	text-align: center;
	margin-top: 30px;
    margin-bottom: 30px;
}

.cart th {
	background-color: silver;
}

.cart .border-bottom {
	padding-top: 5px;
    padding-bottom: 5px;
	border-bottom: 1px solid black;
}