* {
    box-sizing: border-box;
}

.group:after {
    display: table;
    content: " ";
    clear: both;
}

body{
	padding: 0;
	font-family: "Roboto";
	background: #999;
	margin: 8em 0;
}

.content, p {
	margin: 0;
    padding: 0 0 10px 0;
}

.header {
    text-align: center;
}

.header h1 {
    color: #f7f7f7;
    font-size: 3em;
    padding: 1em 0;
    font-family: "News Cycle";
    font-weight: 600;
    text-transform: uppercase;
    text-shadow: 1px 2px 2px rgb(254,87,87);
}

a {
    color: #fe5757;
}

a:hover {
    text-decoration: none;
    color: #444;
}

a:visited {
    text-decoration: none;
    color: #fe5757;
}

.span {
    background: #f7f7f7;
    padding: 15px;
    margin-bottom: 10%;
}

h2 {
    color: #444;
    font-size: 1.5em;
    text-transform: uppercase;
    margin-bottom: 1.5em;
    font-family: "News Cycle";
    font-weight: 600;
}

.profile img {
    width: 75%;
    border-radius: 50%;
    margin: 15% 0 15% 12.5%;
}

h3 {
    color:#666; 
    font-size: 1.2em;
    margin-bottom: 0.5em;
    font-weight: 600;
}

.content {
    color:#898989; 
    font-size: 13px;
    line-height: 1.9em;
}

ul{
    margin-left: -15px;
}

.profile, .readings, .exercises, .projects, .connect {
    margin-top: 1.3em;
}

.readings .content, .exercises .content, .projects .content, .connect .content {
    padding-bottom: 30px;
}

.icon {
    display: block;
    margin: 0 auto;
    max-width: 100px;
    border-radius: 10px;
    border: 1px solid #999;
}

.ath {
    border-radius: 10px;
    border: 1px solid #999;
}

.readings img, .exercises img, .projects img, .connect img {
    width:100%;
}

.postdate p{
    border-top: 1px solid #eee;
    padding: 10px 0;
    color:#898989;
    font-size: 0.9em;
    font-style: italic;
}

div .connect .content .social {
    text-align: center;
}

.social a {
  background: #fe5757;
  color: #f7f7f7;
  display: inline-block;
  text-align: center;
  width: 40px;
  margin: 2px 3px;
  padding: 8px 0;
  -webkit-transition: all .5s;
  -moz-transition: all .5s;
  transition: all .5s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

.social a:hover{
  background-color: #444;
}

/*-- responsive-design starts-here --*/

@media screen and (max-width: 1440px) {
}
@media screen and (max-width: 1366px) {
}
@media screen and (max-width: 1280px) {
}
@media screen and (max-width: 1080px) {
	.spanfirst, .spansecond, .spanthird, .spanfourth {
		padding-right: 5px;
	}
	.span_1_by_4, .profile, .readings, .exercises, .projects, .connect {
		margin-top: 1em;
	}
	.postdate p {
		font-size: 0.8em;
	}
}
@media screen and (max-width: 991px) {
	.spanfirst, .spansecond, .spanthird, .spanfourth {
		width: 50%;
		float: left;
        margin-bottom: 2%;
	}
	.profile img {
		width: 60%;
		margin: 10% 0 15% 20%;
	}
}
@media screen and (max-width: 900px) {
	.profile img {
		width: 60%;
		margin: 10% 0 15% 20%;
	}
}
@media screen and (max-width: 800px) {
	body {
		margin: 6em 0;
	}
}
@media screen and (max-width: 768px) {
	.header h1 {
		font-size: 2.6em;
        margin: 0 4px;
	}
}
@media screen and (max-width: 640px) {
}
@media screen and (max-width: 600px) {
}
@media screen and (max-width: 480px) {
	.spanfirst, .spansecond, .spanthird, .spanfourth {
		width: 100%;
	}
}
@media screen and (max-width: 320px) {
	.logo img {
		width: 45%;
	}
	.header {
		padding: 1.2em 0;
		margin-top: 2em;
	}
	body {
		margin: 4em 0;
	}
	.header h1 {
		font-size: 2.3em;
	}
}