@import url('https://fonts.googleapis.com/css2?family=Lobster&family=Mohave&family=Prompt:wght@300;400;700&display=swap');

* {
  box-sizing: border-box;
}

body {
	margin: 0 auto;
	color: #f9f9f9;
	background: linear-gradient(-45deg, #1b0fd3, #ef643c, #ef0286, #6b078d);
	background-size:400% 400%;
	animation: gradient 10s ease infinite;
}

.page-wrapper {
	width: 85%;
	margin-left: 5rem;
}

/* HOMEPAGE */

header {
	margin-top: 3rem;
  	display: flex;
 	align-items: center;
  	justify-content: space-between;
}

#empty2 {
	display: flex;
  	align-items: flex-end;
}

#empty1 {
	background-image: url("../images/icon.png");
	background-repeat: no-repeat;
	width: 6rem;
	height: 5.7rem;
}

#logo {
	font-family: "Mohave", Helvetica, Sans-serif;
	font-weight: 400;
	font-size: 2rem;
	text-transform: uppercase;
	margin-top: 0;
}

#logo a:hover {
  color: #334495;
}

ul, a {
	list-style: none;
	text-decoration: none;
	color: #f9f9f9;
	padding: 0;
}

li {
	margin-bottom: 2.5rem;
}

aside article {
	display: flex;
	align-items: center;

}

aside article li {
	float: left;
	margin: 0;	
}

aside h1, aside a  {
	font-family: "Prompt", Helvetica, Sans-serif;
	font-weight: 300;
	text-transform: uppercase;
	font-size: 1rem;
}

aside a {
	text-transform: capitalize;
	display: block;
	padding: 0 0.4rem 0 0.4rem;
}

aside a:hover, aside a:hover:visited {
	color: #334495;
	font-weight: 400;
}

.courses {
	margin-top: 6rem;
	display: flex;
	justify-content: space-between;
	grid-gap: 1rem;
}

.single-course, .content article {
	background-color: #334495;
	border: dashed #f9f9f9;
	width: 20rem;
	text-align: center;
	border-radius: 0 1rem 0 1rem;
}

.single-course:hover, .single-course:visited, .content article:hover, .content article:visited {
	background-color: #f9f9f9;
	border: dashed #334495;
	color: #334495;
	transition: .5s;
}

.single-course h1, .content header h1, .content article h1 {
	font-family: "Lobster", Sans-serif;
	font-weight: 300;
	font-size: 1.6rem;
	text-transform: lowercase;
}

span {
	font-family: "Prompt", Sans-serif;
	font-size: 0.85rem;
	text-transform: uppercase;
}

.single-course h2, .content header strong {
	font-family: "Prompt", Sans-serif;
	font-weight: 300;
	font-size: 1.3rem;
	text-transform: capitalize;
}

.single-course a, .content article a {
	font-family: "Prompt", Sans-serif;
	font-weight: 700;
	font-size: 0.754rem;
	text-transform: uppercase;
	background-color: #D46A49;
	padding: 0.6rem 1.5rem;
	border-radius: 0 0.7rem 0 0.7rem;
	text-align: center;
}



/* HANDOUTS PAGE */

.content {
	display: flex;
	grid-gap: 7rem;
	margin-top: 5rem;
}

.content header{
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	margin: 0;
}

.content article ul {
	margin-top: 2rem;
}

.course-nav li:hover, .content article a:hover, .single-course a:hover, .page404 .content a:hover, a[onclick]:hover {
	background-color: #334495;
	transition: .3s;
}

.course-nav li, .page404 .content a {
	font-family: "Prompt", Sans-serif;
	font-weight: 700;
	font-size: 0.754rem;
	text-transform: uppercase;
	background-color: #f9f9f9;
	padding: 0.6rem 1.5rem;
	border-radius: 0 0.7rem 0 0.7rem;
	text-align: center;
}

.course-nav a, .page404 .content a {
	color: #D46A49;
}

.course-nav a:hover, .page404 .content a:hover {
	color: #f9f9f9;
}



/* STUDENTS PAGE */

.content.students > header {
	position: fixed;
}

.students #empty4 {
	display: flex;
	flex-wrap: wrap;
	margin-left: 12rem;
}

.students article {
	margin: 0 0 2rem 3rem;
	padding: 0 1.6rem;
}

.students #empty4 article header h2, .students #empty4 section h2 {
	font-family: "Prompt", Sans-serif;
	font-weight: 300;
	font-size: 1rem;
	text-transform: uppercase;
	margin-bottom: 0;
}

.students #empty4 article header h1 {
	font-family: "Lobster", Sans-serif;
	font-weight: 300;
	font-size: 1.5rem;
	text-transform: lowercase;
	margin-top: 0;
}

.students #empty4 section h2 {
	margin-top: 2rem;
	text-align: start;
	text-transform: capitalize;
}

.students section ol {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	grid-gap: 2rem;
	padding: 0;
}

/* SUBMISSION LANDING PAGE */

#empty5 {
	text-align: center;
}

#empty5 h1 {
	font-family: "Prompt", Sans-serif;
	font-weight: 700;
	font-size: 7rem;
	text-transform: uppercase;
	margin-bottom: 0;
	letter-spacing: .7rem;
	animation-name: textcolor;
  	animation-duration: 4s;
	animation-iteration-count: infinite;
	animation-timing-function: ease;
}

a[onclick] {
	font-family: "Prompt", Sans-serif;
	font-weight: 700;
	font-size: 0.754rem;
	text-transform: uppercase;
	background-color: #D46A49;
	padding: 0.6rem 1.5rem;
	border-radius: 0 0.7rem 0 0.7rem;
}

/* 404 ERROR PAGE */

.page404 .content {
	display: block;
	text-align: center;
}

.page404 .content a {
	margin-right: 1rem;
}

@keyframes gradient {
	0% {background-position: 0% 50%;}
	50% {background-position: 100% 50%;}
	100% {background-position: 0% 50%;}
}


@keyframes textcolor {
  from {color: #f9f9f9;}
  to {color: #334495;}
}


/* MOBILE RESPONSIVE DESIGN */
@media screen and (max-width: 480px){

/* HOMEPAGE */
	.page-wrapper {
		width: 100%;
		margin: 0;
	}

	header {
		flex-direction: column;
	}

	aside article {
		flex-direction: column;
	}

/* HANDOUT PAGE */

	.courses {
		margin-top: 0;
		flex-direction: column;
		align-items: center;
	}

	.content {
		flex-direction: column;
		align-items: center;
	}

	.content header {
		align-items: center;
		margin-bottom: -5rem;
	}

	#empty3 {
		text-align: center;
	}


	/* STUDENT PAGE */
	.content.students > header {
		position: relative;
		align-items: center;
		text-align: center;
		margin-bottom: 0;
	}

	.students article {
		margin-left: 1.7rem;;
	}

	.content.students article header {
		margin-bottom: 1rem;
	}

	.students #empty4 {
		margin: 0;
	}

	.students #empty4 section h2 {
		text-align: center;
	}

	.students section ol {
		padding-left: 2rem;
	}

	.content.students #empty4 article:first-child {
		margin-top: -5rem;
	}

/* SUBMISSION LANDING PAGE */

	.content header h1 {
		text-align: center;;
	}

#empty5 h1 {
	font-size: 2rem;
	text-transform: uppercase;
	margin-bottom: 3rem;
}
}

/* IPAD RESPONSIVE DESIGN */
@media screen and (min-width: 481px) and (max-width: 768px) {
	/* HOMEPAGE */

	.page-wrapper {
		width: 90%;
		margin: 0 2rem 0 2rem;
	}

	.courses {
		flex-wrap: wrap;
	}

	.content article {
		margin-left: -3rem;
	}

	.content.students header {
		margin-right: 3rem;
	}

	.content.content.students article {
		margin:0;
	}

	#empty5 {
		margin-left: -5rem;
	}
}