/* Lato Google Font */
@import url(https://fonts.googleapis.com/css?family=Lato:400,300,700);

/* Base styles */
html {
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
	background: #222c35 radial-gradient(ellipse at 50% 0%, #313f4c 0%, #222c35 50%);
	background-repeat: no-repeat, repeat, repeat;
  color: #efefef;
}

body {
  margin: 0;
  font: 15px/1 Lato, sans-serif;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-shadow: 0px -1px 1px #141414;
}

h1,
h2,
h3,
h4,
p,
ol,
ul {
  margin: 0;
  padding: 0;
}

main,
li {
  display: block;
}

h1,
h2,
h3,
h4 {
  font-size: inherit;
  font-weight: inherit;
}

strong {
  font-weight: bold;
}

a,
button {
  color: inherit;
  transition: .14s;
}

a {
  text-decoration: none;
}

a:hover {
	color: #4cc6ff;
}

button {
  overflow: visible;
  border: 0;
  font: inherit;
  -webkit-font-smoothing: inherit;
  letter-spacing: inherit;
  background: none;
  cursor: pointer;
}

::-moz-focus-inner {
  padding: 0;
  border: 0;
}

:focus {
  outline: 0;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
}

/* Page layout styles */
#container, #container-wide {
	text-align: center;
	margin: 0 auto 0;
	max-width: 500px;
}

#container-wide {
	max-width: 700px;
}

header#site-header {
	font-size: 50px;
	font-weight: 300;
	letter-spacing: -1px;
	max-width: 640px;
	margin: 30px auto;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
}

header#site-header img {
	margin-right: 15px;
	border-radius: 50%;
}

nav {
	margin: -10px auto 30px;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	max-width: 640px;
	border-bottom: 1px solid #405466;
	padding: 0 0 20px;
}

nav ul {
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
}

nav ul a, nav ul li.nav-current {
	padding: 10px 18px;
	border-radius: 10px;
	margin: 0 10px;
}

nav ul li.nav-current {
	background-color: rgba(0, 0, 0, 0.2);
	font-weight: 900;
}

nav ul a:hover {
	background-color: rgba(255, 255, 255, 0.1);
	color: #fff;
}

main {
	text-align: left;
	padding: 0 30px;
}

main section {
	margin-top: 30px;
}

main section h1 {
	color: #4cc6ff;
	font-size: 26px;
	font-weight: 300;
	margin-bottom: 15px;
}

main section p, main section ul li {
	line-height: 170%;
}

main section.social {
	text-align: center;
}

main section.social a {
	padding-inline: 5px;
}

main section.project,
main section.project-reverse,
main section.project-last,
main section.project-last-reverse {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	gap: 30px;
}

main section.project-reverse,
main section.project-last-reverse {
	flex-direction: row-reverse;
}

main section.project,
main section.project-reverse {
	border-bottom: 1px solid #405466;
	padding-bottom: 30px;
}

.project-image {
	width: 200px;
	align-self: center;
}

.project-image img {
	border-radius: 6px;
	box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px;
}

.project-info {
	flex: 1;
}

.project-info a {
	display: inline-block;
	background-color: #0081bd;
	color: white;
	font-weight: bold;
	padding: 10px 20px;
	border-radius: 20px;
	margin-top: 15px;
	text-shadow: none;
}

.project-info a:hover {
	background-color: #0094da;
}

footer {
	margin: 30px auto 0;
	font-size: 13px;
	color: #82a9cc;
	font-weight: 300;
	max-width: 640px;
	border-top: 1px solid #405466;
	padding: 30px 0;
}

/* Begin mobile styles */
@media only screen and (max-width: 550px) {
	html {
		background: #222c35 radial-gradient(circle at 50% 0%, #313f4c 0%, #222c35 50%);
		background-repeat: no-repeat, repeat, repeat;
	}
	
  header#site-header {
    font-size: 30px;
  }
  
  main {
    flex-direction: column;
  }
	
	main section.project,
	main section.project-reverse,
	main section.project-last,
	main section.project-last-reverse {
		flex-direction: column;
		align-items: stretch;
		gap: 30px;
	}
}