@import url('https://fonts.googleapis.com/css2?family=Inria+Sans&family=Lexend&family=Playfair+Display&family=Style+Script&display=swap');

* {
	box-sizing: border-box;
}

::selection {
  background: #2c3863;
  color: #FFF;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 15px;
}

::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 15px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

body {
	background-color: floralwhite;
}

a:link {
	color: blue;
	text-decoration: underline;
}

a:visited {
	color: blue;
	text-decoration: underline;
}

a:hover {
	color: blue;
	text-decoration: underline;
}

a:active {
	color: blue;
	text-decoration: underline;
}

#header {
	background-image: url(Images/medical_supplies.jpg);
	background-size: cover;
	background-position: center;
	width: 100%;
	height: 200%;
}

#header h1 {
	font-family: 'Inria Sans', sans-serif;
	font-size: 50px;
	color: ghostwhite;
}

#header h5 {
	font-family: 'Inria Sans', sans-serif;
	font-size: 25px;
	color: white;
}

#footer {
	background-color: #000038;
	margin-top: 245px;
	font-family: 'Inria Sans', sans-serif;
	color: ghostwhite;
}

#links {
	display: flex;
	flex-direction: row;
}

#links a:link {
	color: white;
	font-size: 15px;
	text-decoration: none;
	padding-right: 10px;
}

#links a:visited {
	color: white;
	text-decoration: none;
}

#links a:active {
	color: white;
	text-decoration: underline;
}

#links a:hover {
	color: white;
	text-decoration: underline;
}

#navmenu {
	background-color: #2c3863;
	color: white;
	font-family: sans-serif;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: row;
}

#navmenu a:link {
	color: white;
	padding-right: 1px;
	padding: 1px;
	margin: 1%;
	text-decoration: none;
}

#navmenu a:visited {
	color: white;
	padding: 1px;
	text-decoration: none;
}

#navmenu a:hover {
	color: lightgray;
	border: 1px solid white;
	padding: 1px;
	text-decoration: none;
}

#navmenu a:active {
	color: lightgray;
	border: 1px solid white;
	padding: 1px;
	text-decoration: none;
}

#shopping-cart {
	width: 300px;
	background-color: antiquewhite;
	border: ghostwhite;
	padding: 3px;
	position: absolute;
	right: 0;
	opacity: 0;
}

#log-container {
	width: 90%;
	float: left;
	margin-right: auto;
	margin-left: auto;
}

#topic-container {
	width: 90%;
	max-width: 1000px;
	margin-right: auto;
	margin-left: auto;
}

#topic-container:after {
	content: "";
	display: table;
	clear: both;
}

#about img{
	float: left;
	padding-right: 15px;
}

#contact a:link {
	color: blue;
	text-decoration: none;
}

#contact a:visited {
	color: blue;
	text-decoration: none;
}

#contact a:hover {
	color: blue;
	text-decoration: underline;
}

#contact a:active {
	color: blue;
	text-decoration: underline;
}

#gallery {
	width: 90%;
	max-width: 1000px;
	margin-right: auto;
	margin-left: auto;
}

#gallery:after {
	content: "";
	display: table;
	clear: both;
}

#thumbnails {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
}

#thumbnails img{
	width: 10%;
	margin: 1%;
	font-family: 'Playfair Display', serif;
	color: white;
	font-size: 15px;
	text-align: center;
}

#thumb1 {
	border: 3px solid #2c3863;
}

#main-image-container {
	width: 85%;
	margin-left: auto;
	margin-right: auto;
  text-align: center;
  font-size: 25px;
}

.container h3{
	font-family: 'Style Script', cursive;
}

.product {
	width: 20.5%;
	float: left;
	margin: 1%;
	border: 1px solid #2c3863;
	background-color: #2c3863;
	font-family: 'Playfair Display', serif;
	color: white;
	font-size: 15px;
	text-align: center;
}

.product img {
	width: 90%;
	height: 95%;
	padding-top: 5px;
}

.product h5 {
	font-weight: normal;
	font-size: 20px;
}

.btn-outline-details{
	color: cornflowerblue;
	background-color: white;
	border-color: cornflowerblue;
}

.btn-outline-details:hover {
	color: white;
	background-color: royalblue;
	border-color: royalblue;
}

.btn-sales {
	color: white;
	background-color: #2E5090;
	border-color: #2E5090;
}

.btn-sales:hover {
	color: white;
	background-color: #2c3863;
	border-color: #2c3863;
}

.btn-sign {
	color: white;
	background-color: blue;
	border-color: blue;
}

.log {
  border-radius: 5px;
  background-color: #f2f2f2;
  padding: 20px;
  width: 50%;
  margin-left: auto;
  margin-right: auto;
}

.log input[type=text], select {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.log input[type=email], select {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.log button {
	width: 100%;
  background-color: teal;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.log button:hover {
	color: white;
  background-color: #005F69;
}

@media(max-width: 768px) {
	#header h1{
		font-size: 40px;
	}

	#header h3{
		font-size: 20px;
	}

	#footer {
		margin-top: 200px;
		font-size: 15px;
	}

	#navmenu {
		font-size: 10px;
		flex-direction: column;
		align-items: center;
		padding-bottom: 1px;
		margin-bottom: 15%;
	}

	#topic-container {
		width: 50%;
	}

	.product {
		width: 45%;
		font-size: 10px;
	}

	.product h5 {
		font-size: 15px;
	}
}
/*color theme: white, blue (hover border)*/