body, html { 
	font-family: Verdana, Arial, sans-serif;
	height: 100%;
	margin: 0px auto;
	padding: 0px auto;
	background-color: #500778;
	max-width: 95%;
}

/* Header */
.logo {
	width: 200px;
}
.hdr {
	background: linear-gradient(0.25turn, white 30%, #500778);
	background-color: white;
	border: 2px solid #500778;
	display: flex;
	padding: 8px;
}
.hdrnav {
	display: flex;
	align-self: flex-end;
	margin-left:auto;
	transform: scale(0.9, 0.9);
}
.icons {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	grid-column-gap:5vw;
	}

.intro {
	font-size: 16px;
	font-weight:bold;
	font-style: italic;
	color:#D0D0Ce;
	margin-left: auto;
	align-self: flex-start;
}
.container {
	background: linear-gradient(0.25turn, white, #D0D0CE);
	border: 2px solid #500778;
	margin-top: -2px;
	display:flex;
	padding: 10px;
}

/* Showcase */
.projects-container {
	background: linear-gradient(0.25turn, white, #D0D0CE);
	border: 2px solid #500778;
	margin-top: -2px;
	display:block;
	padding: 10px;
	align-items:center;
	justify-content: center;
}
table, th, td {
	border: 1px solid #500778;
	border-collapse: collapse;
	font-size: .7rem;
	padding: 8px;
	vertical-align: top;
}
th {
	background-color: #500778;
	color: #D0D0CE;
	font-size: larger;
}
tr:nth-child(odd) {
	background-color: #f2f2f2;
}
.pic1 {
	border-radius: 0px;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
}
.card {
	background-color: #fff;
	color: #500778;
	border-radius: 10px;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
	padding: 8px;
	margin-left: auto;
	width: 50%;
	font-size: 15px;
	text-align: justify;
  }
  .card1 {
	background-color: #fff;
	color: #500778;
	border-radius: 10px;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
	padding: 8px;
	width: 100%;
	font-size: 15px;
	text-align: justify;
}
  .card2 {
	background-color: #fff;
	color: #500778;
	border-radius: 10px;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
	padding: 8px;
	margin-top: 10px;
	max-width: 100%;
	font-size: 15px;
	text-align: left;
  }
.list {
	text-align: left;
  }
.showcase .card .h2 {
	color: #500778;
}
.form-control {
	width:95%;
	padding:8px;
	margin-bottom: 10px;
	border: 1px solid #500778;
}
.submit {
	background-color: #D0D0CE;
	width: 100%;
	border: none;
	border-radius: 0;
	border-left: 4px solid #500778;
	font-weight: bold;
	color: #500778;
	cursor: pointer;
}
form .submit-btn :hover {
	background-color: #500778;
	border-left: 4px solid #D0D0CE;
	color: #D0D0CE;
}

/* Showcase2 */
.showcase2 .card {
	background-color: #fff;
	border-radius: 5px;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
	padding: 8px;
	width: 200px;
	font-family: Arial;
	font-weight: bold;
	font-size: 15px;
	text-align: center;
}
.card_pic {
	margin: 10px 10px;
}
.cardTitle {
	font-size: 15px;
	text-decoration: none;
	margin: auto;
}
button {
	background: #D0D0Ce;
	color: #500778;
	border-color: #500778;
	border-width: 1px;
	border-radius: 25px;
	padding: 8px 40px;
	cursor: pointer;
	font-weight: bold;
}
.box {
	display: block;
	width: auto;
	height: auto;
	margin: 0px 22px 0px 22px;
	padding: 8px;
	border-left: 4px solid #500778;
	background:#D0D0CE;
	text-align: center;
}
a:hover {
	transform: rotate(370deg) scale(110%);
	transition-duration:150ms;
}
.showcase2 a:hover {
	transform: rotate(5deg) scale(110%);
	transition-duration:150ms;
}
h1 { 
	font-size: 25px;
	font-family: Arial;
}
h2 {
	text-align: center;
	padding-right: 5%;
	padding-top: 20px;
}
h3 {
	text-align: center;
	font-style: italic;
}
nav {
	font-weight: bold;
}
	nav ul { list-style-type: none;
			 text-align: center;
			 font-size: 1.25em;
			 margin: 5px;
			 padding: 0; }
	nav li { display: inline; }
	nav a { text-decoration: none;
			color: #500778;
			padding-left: 10px;
			padding-right: 10px; }

footer { bottom: 0px;
			top: 5px;
			 width: 100%;
			 text-align: center;
			 font-style: italic;
			 font-size: .80em;
			 color: #D0D0CE;
}
.footnav { font-style: normal;
			font-size: 1em;
			color: #D0D0CE;
}
.ftnav a:hover {
	background-color: #D0D0CE;
	color: #500778;
}

/* media view */
@media only screen and (max-width:800px)
{
	#hdr, #container
	{
		display: block;
		float: center;
		align-items: center;
		justify-content: center;
		text-align: center;
		width: 80vw;
	}
	.hdrnav {
		justify-content: center;
	}
	.intro {
		color: #500778;
	}
	.card {
		margin: auto;
	}
	.showcase .card {
		width: fit-content;
		margin-top: 8px;
	}
	.showcase .card1 {
		padding:0;
	}
	.showcase2 .card {
		margin-top: 10px;
	}
	.pic1 {
		transform: scale(0.75, 0.75);
	}
}
