/*shared*/
header, footer, main a{
	background-color: #1e202b;
}
header, main, main a, footer, footer a{
	color: #e6e8f7;
}
header, main, footer{
	display: flex;
}
header, main{
	justify-content: center;
}
header, footer{
	width: 100%;
	padding: 10px 0;
}
main, footer{
	flex-direction: column; 
}

/*header*/
header{
	font: 40px 'Anton', sans-serif; 
	letter-spacing: 1.6px;
	min-height: 15vh;
	align-items: center;
	position: sticky;
	top: 0;
}

/*main*/
main{
	font: 1.5rem 'Roboto', sans-serif;
	font-weight: bold;
	min-height: 85vh;
	padding: 0 25px;
	gap: 25px;
	line-height: 80px;
	letter-spacing: 0.05rem;
	background-position: center;
	background-size: cover;
}
main a{  
	padding: 5px 10px;
	margin-right: 10px;
}
main .second-line{
	text-align: right;
}
div{
	margin: 20px auto;
}

/*footer*/
footer{
	font: 16px 'Roboto', sans-serif;
	gap: 5px;
	text-align: center;
}

/*enable hidden link effect if not using a touchscreen */
@media (pointer: fine){
	main a{
		color: #1e202b;
		text-decoration: none;
	}
	main a:hover{
		color: #e6e8f7;
	}
}

/*adjust font sizes*/
@media only screen and (min-width: 300px){
	header{
		font-size: 48px;
	}
	main{
		font-size: 2.3rem;
	}
	footer{
		font-size: 20px;
	}
}
@media only screen and (min-width: 500px){
	header{
		font-size: 75px;
	}
	main{
		font-size: 3.5rem;
		line-height: 108px;
	}
}

/*change layout when > 700px*/
@media only screen and (min-width: 700px){
	footer{
		flex-direction: row;
		justify-content: center;
		align-items: center;
		gap: 30px;
	}
}
