/* apply a natural box layout model to all elements */
* {
   -moz-box-sizing: border-box;
   -webkit-box-sizing: border-box;
   box-sizing: border-box;
}

/* reset rules */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
   margin: 0;
   padding: 0;
   border: 0;
   font-size: 100%;
   font: inherit;
   vertical-align: baseline;
}

@font-face {
	font-family: 'PTSansNarrow';
	src: url('PTSansNarrow-Regular.ttf'); /* IE9 Compat Modes */
	src: url('PTSansNarrow-Regular.ttf') format('embedded-opentype'), /* IE6-IE8 */
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
   display: block;
}

html {
   /*background-image: linear-gradient(#8AA1FA, #0931CA, #0931CA);*/
   	background-color: #008bf0;
	background-image: -webkit-gradient(radial, 50% 50%,0,50% 50%,200, from(rgb(41, 51, 255)),to(rgb(0, 139, 240)));
	background-image: -webkit-radial-gradient(50% 50%, rgb(0, 139, 240), rgb(41, 51, 255));
	background-image: -moz-radial-gradient(50% 50%, rgb(0, 139, 240), rgb(41, 51, 255));
	background-image: -o-radial-gradient(50% 50%, rgb(0, 139, 240), rgb(41, 51, 255));
	background-image: -ms-radial-gradient(50% 50%, rgb(0, 139, 240), rgb(41, 51, 255));
	background-image: radial-gradient(50% 50%, rgb(0, 139, 240), rgb(41, 51, 255));
}

body {
   line-height: 1;
   max-width: 1000px;
   margin: 0 auto;
   font-family: 'PTSansNarrow', sans-serif;
   display:flex;
   flex-direction:column
}


/*   NAVIGATION STYLES   */

.nav {
	background: white;
	height: 75px;
	margin: 0px 30px 0px 30px;
	border-radius: 0px 0px 5px 5px;
}

.nav #logo {
	float: left;
	margin-left: 10px;
}

.nav ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	overflow: hidden;
}

.nav li {
	float: right;
	padding: 15px;
	margin: 0px 10px 0px 0px;
}

.nav li a {
	display: block;
	padding: 10px;
	text-decoration: none; 
	font-size: 25px;
	color: black;
	border-bottom: 1px solid transparent;
}

.nav li a:hover {
	color: blue;
	border-bottom-color: blue;
	border-radius: 0px;
	transition: all ease-in-out 1s;
}


/*   H1 STYLES ACROSS ALL PAGES  */


.home h1,
.about h1,
.contact h1, 
.software h1,
.grad_portfolios h1, 
.projects h1,
.cyber h1,
.webpage2019 h1,
.webpage2020 h1,
.webpage2022 h1,
.misc h1 {
	color: white;
	text-align: center;
	float: center;
	margin-top: 80px;
	margin-bottom: 30px;
	font-size: 50px;
	word-spacing: 10px;
}


/*   HR STYLES ACROSS ALL PAGES  */


.home > hr.new1, 
.about > hr.new1,
.contact > hr.new1, 
.software > hr.new1,
.grad_portfolios > hr.new1, 
.projects  > hr.new1,
.cyber  > hr.new1,
.webpage2019 > hr.new1,
.webpage2020 > hr.new1,
.webpage2022 > hr.new1,
.misc > hr.new1 {
	width: 70%;
	border-top: 2px solid black;
	margin-bottom: 40px;
}


/*  HOME/INDEX SPECIFIC STYLES   */

.home h1:hover {
	color: black;
	transition: all ease-in-out 0.8s;
}

.flip-box {
	background-color: transparent;
	width: 250px;
	height: 355px;
	perspective: 1000px;
	padding: 5px;
	margin: 35px 40px 70px 35px;
	float: left;
	opacity: 95%;
}

.flip-box-inner {
	position: relative;
	width: 100%;
	height: 100%;
	text-align: center;
	transition: transform 0.8s;
	transform-style: preserve-3d;
	display: inline-block;
}

.flip-box:hover .flip-box-inner {
	transform: rotateY(180deg);
}

.flip-box-front, .flip-box-back {
	position: absolute;
	width: 100%;
	height: 100%;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	border-radius: 5px;
}

.flip-box-front {
	background-color: white;
	color: black;
	border: 1.5px dotted #2635ff;
}

.flip-box-front img {
	margin: 70px 0px 5px 0px;
}

.flip-box-front h2 {
	margin: 5px 5px 5px 5px;
	font-size: 25px;
	line-height: 1.3;
}

.flip-box-back h2 {
	margin: 20px;
	font-size: 20px;
}

.flip-box-back {
	background-image: linear-gradient(#0CA2BE, #333DFF);
	color: white;
	transform: rotateY(180deg);
	border: 1.5px dotted white;
}

.flip-box-back li {
	text-decoration: none;
	color: black;
	transition: all ease-in-out 0.8s;
	list-style-type: none;
}

.flip-box-back p {
	font-size: 20px;
	padding: 10px;
	padding-top: 80px;
}

.flip-box-back p > a {
	color: white;
}

.flip-box-back p > a:hover {
	color: blue;
	transition: 0.3s;
}

/*   ABOUT STYLES   */

div#about {
	margin: 50px 0px 80px 0px;
	padding: 30px;
	background-color: white;
	opacity: 90%;
	border: 1.0px dotted black;
	font-size: 25px;
	line-height: 1.3;
	word-spacing: 1.3;
}

div#about p {
	padding: 10px;
}

/*   CONTACT STYLES   */

.contact div#questions {
	margin: 60px 0px 60px 0px;
	padding: 30px;
	background-color: white;
	opacity: 90%;
	border: 1.0px dotted black;
	font-size: 25px;
	line-height: 1.8;
	word-spacing: 1.3;
}

.contact p {
	text-align: center;
	margin-bottom: 20px;
}

.contact div#form {
	margin: 0px 0px 0px 200px;
	font-size: 25px;
	font-weight: bold;
}

/*       FORM STYLES      */

input[type=text], select, textarea {
    width: 49%; 
    padding: 10px;
    border: 1px dashed #ccc; 
    border-radius: 4px; 
    box-sizing: border-box; 
    margin-top: 10px;
	margin-right: 90%;
    resize: vertical;
}

input[type=submit] {
    background-color: rgb(0, 0, 77);
    color: white;
    padding: 12px 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

input[type=submit]:hover {
    background-color: rgb(51, 153, 255);
	transition: 0.8s ease;
}

input[type=reset] {
    background-color: rgb(0, 0, 77);
    color: white;
    padding: 12px 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

input[type=reset]:hover {
    background-color: rgb(51, 153, 255);
	transition: 0.8s ease;
}

textarea[placeholder="Write something.."],
input[placeholder="Your phone number.."],
input[placeholder="Your e-mail.."],
input[placeholder="Your full name.."],
option[value="Option 1"],
option[value="Option 2"],
option[value="Option 3"],
option[value="Other"],
select[id="option"]      {
	font-size: 15px;
}


/*   COMPUTER SOFTWARE PAGE STYLES   */

/* Both polaroid style blocks here are also used on Miscellenous page */
/* Creates polaroid themed picture holder that directs to stated directory on card */
div.polaroid {
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	text-align: center;
	background-color: white;
	width: 325px;
	perspective: 1000px;
	padding: 5px;
	margin: 40px 35px 80px 100px;
	float: left;
	opacity: 90%;
}

/* Changes text color on hover */
div.polaroid:hover {
	box-shadow: 0px 10px 50px white;
	transition: all ease-in-out 0.3s;
}

/* Polaroid text color change */
.software a {
	color: black;
}

/* Polaroid text color hover */
.software a:hover {
	color: blue;
}

/* Container for polaroid text */
div.container {
	padding: 10px;
	font-size: 30px;
}


/*   GRADUATE PORTFOLIO STYLES   */

.grad_portfolios div.portfolios {
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	text-align: center;
	background-color: white;
	border-radius: 5px;
	width: 600px;
	height: 380px;
	padding: 5px;
	margin: 30px 35px 80px 200px;
	float: left;
	opacity: 90%;
}

.grad_portfolios div.portfolios img {
	border-radius: 5px 5px 0px 0px;
	padding-top: 8px;
}

.grad_portfolios h3 {
	font-size: 40px;
	padding: 20px;
	margin-left: 260px;
}

.grad_portfolios h4 {
	font-size: 40px;
	padding: 40px;
}

/* Navbar container */
.gradyears {
  overflow: hidden;
  background-color: #ffffff;
  margin: 5px 0px 0px 20px;
  padding: 0px 20px 0px 0px;
}

/* Links inside the navbar */
.gradyears a {
  float: left;
  color: black;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  float: left;
  padding: 5px;
  margin: 0px 0px 0px 0px;
}

/* The dropdown container */
.dropdown {
  float: left;
  overflow: hidden;
}

/* Dropdown button */
.dropdown .dropbtn {
  font-size: 25px;
  border: none;
  outline: none;
  color: black;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit; /* Important for vertical align on mobile phones */
  margin: 0; /* Important for vertical align on mobile phones */
}

/* Add a grey background color to navbar links on hover */
.gradyears a:hover, .dropdown:hover .dropbtn {
  background-color: #f9f9f9;
  transition: 0.3s;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
  font-size: 20px;
}

/* Add a grey background color to dropdown links on hover */
.dropdown-content a:hover {
  background-color: #ddd;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

.grad_portfolios h3 {
	font-size: 40px;
	padding: 20px;
	margin-left: 260px;
}

.grad_portfolios h4 {
	font-size: 40px;
	padding: 40px;
}


/*   STUDENT PROJECTS   */

.projects div.classprojects {
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	text-align: center;
	background-color: white;
	border-radius: 5px;
	width: 600px;
	height: 380px;
	padding: 5px;
	bottom: 200px;
	margin: 20px 35px 80px 200px;
	float: left;
	opacity: 90%;
}

.projects div.classprojects img {
	border-radius: 5px 5px 0px 0px;
	padding-top: 8px;
}

.projects h3 {
	font-size: 40px;
	padding: 20px;
	margin-left: 260px;
}

.projects h4 {
	font-size: 40px;
	padding: 40px;
}

/* Navbar container */
.gradyears {
  overflow: hidden;
  background-color: #ffffff;
  margin: 5px 0px 0px 20px;
  padding: 0px 20px 0px 0px;
}

/* Links inside the navbar */
.gradyears a {
  float: left;
  color: black;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  float: left;
  padding: 5px;
  margin: 0px 0px 0px 0px;
}

/* The dropdown container */
.dropdown {
  float: left;
  overflow: hidden;
}

/* Dropdown button */
.dropdown .dropbtn {
  font-size: 25px;
  border: none;
  outline: none;
  color: black;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit; /* Important for vertical align on mobile phones */
  margin: 0; /* Important for vertical align on mobile phones */
}

/* Add a grey background color to navbar links on hover */
.gradyears a:hover, .dropdown:hover .dropbtn {
  background-color: #f9f9f9;
  transition: 0.3s;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
  font-size: 20px;
}

/* Add a grey background color to dropdown links on hover */
.dropdown-content a:hover {
  background-color: #ddd;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

.projects h3 {
	font-size: 40px;
	padding: 20px;
	margin-left: 260px;
}

.projects h4 {
	font-size: 40px;
	padding: 40px;
}


/*   WEB PAGE DESIGN   */

.webpage2019 li,
.webpage2020 li, 
.webpage2022 li {
	padding: 5px;
	margin: 50px 50px 0px 140px;
	float: left;
	font-size: 25px;
	list-style-type: none;
}

.webpage2019 a,
.webpage2020 a, 
.webpage2022 a {
	color: white;
	text-decoration: none;
}

.webpage2019 a:hover,
.webpage2020:hover, 
.webpage2022:hover {
	color: grey;
	transition: 0.3s;
}

.webpage2019 ul,
.webpage2020 ul,
.webpage2022 ul {
	margin-bottom: 770px;
}


/*   MISCELLANEOUS STYLES   */

/* Creates polaroid themed picture holder that directs to stated directory on card */
.misc div.polaroid {
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	text-align: center;
	background-color: white;
	width: 260px;
	perspective: 1000px;
	padding: 5px;
	margin: 20px 0px 100px 55px;
	float: left;
	opacity: 90%;
}

/* Changes text color on hover */
.misc div.polaroid:hover {
	box-shadow: 0px 10px 50px white;
	transition: all ease-in-out 0.3s;
}

/* Container for polaroid text */
.misc div.container {
	padding: 10px;
	font-size: 30px;
}
/* Polaroid text color change */
.misc a {
	color: black;
}

/* Polaroid text color hover */
.misc a:hover {
	color: blue;
}


/*   FOOTER STYLES   */

footer {
    margin-top:auto;
    background-color: white;
	border-radius: 5px 5px 0px 0px;
}



.footer footer {
	position: absolute;
	width: 60%;
	margin: 5px 5px -250px 30px;

	padding: 20px;
	bottom: 0;

}

.footer address {
	font-size: 15px;
	text-align: center;
	line-height: 1.3;
	padding-top: 20px;
	padding-bottom: 20px;
}