body {
	margin: 0;
	background-color: #fafafa;
}

main {
	margin-left: 30px;
	margin-right: 30px;
}

a:link {
	color: black;
	background-color: transparent;
	text-decoration: none;	
}

a:visited {
	color: black;
	background-color: transparent;
	text-decoration: none;	
}

a:hover {
	color: black;
	background-color: transparent;
	text-decoration: underline;
}

a:active {
	color: black;
	background-color: transparent;
	text-decoration: none;	
}

.header-container {
	display: flex;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	background-color: white;
	padding: 20px 32px;
	width: 100%;
	flex-direction: row;
	font-family: sans-serif;
	z-index: 1;
}

.header-container > div {
	padding: 10px;
	font-size: 20px;
}

.header-shadow {
	filter: drop-shadow(0 0 0.65rem gray);
}

.drop-shadow {
	filter: drop-shadow(0 0 0.8rem darkgray);
}

.categories {
	background-color: #fafafa;
	box-sizing: border-box;
	padding: 10px;
	margin: auto;
	width: 740px;
	overflow: auto;
	margin-top: 83px;
}

@media screen and (max-width: 740px) {
	.categories {
		background-color: #fafafa;
		box-sizing: border-box;
		padding: 10px;
		margin: auto;
		width: 100%;
		overflow: auto;
		margin-top: 83px;
	}
}

.category {
	padding: 20px;
	float: left;
}

@media screen and (max-width: 740px) {
	.category {
		float: none;
		height: 120px;
	}
}

.box1 {
	float: left;
	width: 140px;
	height: 250px;
	border-radius: 8px;
	padding: 10px;
	background: white;
	box-sizing: border-box;
}

@media screen and (max-width: 740px) {
	.box1 {
		width: 100%;
		height: 150px;
		box-sizing: border-box;
	}
}

.categoryImg {
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-top: 30px;
	transition-duration: 0.2s;
}

@media screen and (max-width: 740px) {
	.categoryImg {
		margin-top: 5px;
	}
}

.categoryImg:hover {
	transform: translateY(-10px);
	transition-timing-function: ease-in-out;
}

.categoryText {
	font-family: Helvetica;
	font-size: 20px;
	font-weight: 600;
	text-align: center;
	margin-top: 40px;
}

@media screen and (max-width: 740px) {
	.categoryText {
		margin-top: auto;
	}
}

.product-header {
	margin-top: 83px;
	width: 100%;
	padding: 5px;
	content: "";
	clear: both;
	display: table;
	background: white;
	overflow: auto;
}

.product-header-img {
	float: right;
	padding: 50px;
}

@media screen and (max-width: 800px) {
	.product-header-img {
		width: 100%;
		float: center;
		padding: 0px;
		margin-left: auto;
		margin-right: auto;
	}
}

.product-header-details {
	margin-left: 10px;
}

.box2 {
	float: left;
	display: inline-block;
	background: lightgray;
	width: 40px;
	height: 30px;
	padding: 10px;
	margin-left: 10px;
	margin-right: 10px;
}

.box3 {
	display: inline-block;
	background: gray;
	width: 110px;
	height: 40px;
	border-radius: 8px;
	padding: 10px;
	margin-left: 10px;
	margin-right: 10px;
}

.features {
	margin-top: 50px;
	display: inline-block;
	width: 100%;
	padding: 5px;
	background: black;
}

.features-header {
	padding: 5px;
	margin-left: 10px;
	font-family: sans-serif;
	font-size: 30px;
	color: white;
}

.features-text {
	margin-left: 20px;
	margin-right: 20px;
	font-size: 17px;
}

table, th, td {
	margin-bottom: 100px;
	padding: 20px;
	border: 3px solid black;
	border-collapse: collapse;
}

table {
	width: 100%;
}

.modal {
	display: none;
	position: fixed;
	z-index: 2;
	padding-top: 100px;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgb(0,0,0);
	background-color: rgba(0,0,0,0.7);
}

.modal-content {
	position: relative;
	background-color: #fefefe;
	margin: auto;
	padding: 0;
	border: 1px solid #888;
	width: 80%;
	box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
	-webkit-animation-name: animatetop;
	-webkit-animation-duration: 0.4s;
	animation-name: animatetop;
	animation-duration: 0.4s;
}

.modal-header {
	padding: 2px 16px;
	background-color: #184d47;
	color: white;
}

.modal-body {padding: 2px 16px;}

.modal-footer {
	padding: 2px 16px;
	background-color: white;
	color: black;
}

@-webkit-keyframes animatetop {
  from {top:-300px; opacity:0} 
  to {top:0; opacity:1}
}

@keyframes animatetop {
	from {top: -300px; opacity: 0}
	to {top: 0; opacity: 1}
}

.close {
	color: white;
	float: right;
	font-size: 28px;
	font-weight: bold;
}

.close:hover,
.close:focus {
	color: black;
	text-decoration: none;
	cursor: pointer;
}
