@import url('https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900');
@import url('https://fonts.googleapis.com/css?family=Roboto+Mono');

html, body {
  height: auto;
  width: 100%;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  --grey: #8B8A87;
  --grey-hover: #fff;
  --grey-dark: rgb(102, 102, 102);
  --grey-light: rgb(204, 204, 204);
  --font-primary: 'Roboto', sans-serif;
  --font-secondary: 'Roboto Mono', monospace;
  --color-primary: var(--grey);
  --color-hover: var(--grey-hover);
  font-size: 18px;
  background: #000;
	flex-direction: row;
	flex-wrap: wrap;
}

body {
  padding: 40px 7px;
  flex-direction: column;
}
.markdown-body {
	font-family: var(--font-primary);
	font-size: 18px;
}
.markdown-body code {
	font-family: var(--font-secondary);
}
.markdown-body a {
	color: var(--color-primary);
}

.soundcloud {
  width: 96%;
  max-width: 1000px;
  margin: 0 auto;
}

iframe {
	width: 100%;
  height: 166px:
}


section {
	display: flex;
	align-items: flex-start;
	flex-direction: column;
  text-align: left;
  margin: auto;
  widows: 100%;
}

.card {
  height: auto;
  min-width: 418px;
  flex: 1;
  background-color: #fff;
  border: 1px solid rgb(223, 225, 229);
  border-radius: 8px;
  padding: 23px 33px;
  display: inline-flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-direction: column;
  font-size: inherit;
  margin: 7px;
  color: #434a54;
  font-family: var(--font-primary);
  cursor: default;
  overflow: hidden;
}
.card-info {
  display: inline-flex;
  height: auto;
  width: 100%;
  align-items: flex-start;
  flex-direction: column;
}

.skills {
	flex-direction: row;
	flex-wrap: wrap;
}

.skill {
	padding: 13px 23px;
	min-width: auto;
	display: flex;
	justify-content: center;
	align-items: center;
	white-space: nowrap;
	font-weight: 500;
  overflow: visible;
}

.card p, .card h3 {
	width: 100%;
	text-align: left;
	margin: 20px 0;
  word-wrap: break-word;
}
.card h3 {
	color: #000;
	margin: 0;
	font-weight: 500;
	font-size: 1.4em;
}
.card h4 {
	margin: 0 0 10px;
}
.info {
	color: #666;
	margin: 0 !important;
}
.wide {
	width: 418px;
}
.hero {
	height: auto;
	box-sizing: border-box;
	padding-bottom: 0;
	color: #333;
}
.hero h1 {
	font-size: 2.5em;
	text-transform: uppercase;
	font-family: var(--font-primary);
	color: #fff;
	margin: 0 auto 20px;
}
.intro-description {
	font-size: 1.3em;
	font-family: var(--font-primary);
	max-width: 1000px;
	text-align: left;
	line-height: 1.4em;
	margin: auto;
	color: #fff;
	padding: 0 20px;
}

.red {
	color: #ED1C24;
	font-weight: bold;
}

.viewMore {
	display: none;
}

a {
	color: var(--grey-dark);
	font-weight: 500;
	font-size: inherit;
	transition: color .2s ease;
	outline: none;
	text-decoration: none;
}
a:hover {
	color: var(--grey-light);
}
ul {
	display: flex;
	align-items: center;
	padding: 0;
	margin: 16px auto;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
li {
	color: #fff;
	font-size: 1.5em;
	width: 50px;
	height: 50px;
	margin: 5px;
	display: flex;
	justify-content: center;
	align-items: center;
}
li:hover {
	color: var(--grey);
}
.card-wrapper {
	width: 100%;
	max-width: 1000px;
	float: left;
	display: flex;
	flex-wrap: wrap;
  flex: 1;
}
section h2 {
	margin: 0;
	margin: 30px;
	font-size: 2.2em;
	font-weight: 500;
	font-family: var(--font-primary);
	color: #fff;
}
.img-wrapper {
  display: flex;
  background-color: #fff;
  justify-content: center;
  align-items: center;
  padding: 10px;
  border-radius: 100%;
  border: 1px solid rgb(223, 225, 229);
  box-shadow: 0 0 6px rgba(0,21,64,.14),0 0 20px rgba(0,21,64,.05);
  margin: auto auto 20px;
}
.profile-pic {
  height: 150px;
  border-radius: 100%;
}
.intro-title {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.button {
	background-color: white;
  border: 2px solid white;
  border-radius: 10px;
  color: black;
  display: inline-block;
  font-family: var(--font-secondary);
  font-weight: 600;
  white-space: normal;
  margin: 10px auto;
  padding: 10px 15px;
  text-decoration: none;
  text-transform: uppercase;
}

.button:hover {
	background-color: black;
	color: white;
	border: 2px solid white;
}
/* Mobile sizes */
@media only screen and (max-device-width : 780px) and (orientation: portrait) {
	html, body {
		font-size: 40px;
    padding: 0;
	}
  body {
    padding: 80px 20px 40px;
  }

	.card-wrapper {
		display: flex;
	}
	.card {
    min-width: auto;
    flex-basis: 100%;
		margin: 10px 20px;
		padding: 43px 53px;
		border-radius: 24px;
		box-shadow: 0px 0px 6px 2px rgba(0,21,64,.14), 0 0 20px 7px rgba(0,21,64,.05);
	}
	.gray {
		margin-bottom: 10px;
	}
	.hero h1 {
		font-size: 2.7em;
	}
	.intro-description {
		font-size: 1.1em;
	}

	.skill {
		min-width: auto;
		margin: 7px;
		padding: 18px 28px;
  	border-radius: 8px;
    flex-basis: auto;
	}
	.skills {
		padding: 53px;
	}
  li {
    margin: 45px;
    font-size: 2em;
  }
  .img-wrapper {
    box-shadow: 0px 0px 6px 2px rgba(0,21,64,.14), 0 0 20px 7px rgba(0,21,64,.05);
    padding: 20px;
  }
  .profile-pic {
    height: 400px;
  }
}
