/*******************************
General
*******************************/
body {
    font-family: 'Mandali', sans-serif;
    color: #333f3e;
    margin: 5% 10% 5% 10%;
    background-color: #ffffff;
}

h1, h2 {
    font-family: 'Varela Round', sans-serif;
    color: #0bb789;
    clear: both;
}

h1 {
    font-size: 2.5em;
}

h2 {
    font-size: 2em;
    padding-top: 2em;
    margin-bottom: 1em;
    margin-top: 0;
}

h3 {
    font-size: 2em;
}

.notlive {
  font-size: 1.5em;
}

a {
    color: #333f3e;
    text-decoration: none;
    font-size: 1.5em;
}

a:hover, a:focus {
  color: #0bb789;
  text-decoration: none;
}

p {
  margin-top: 1em;
  font-size: 1.25em;
}

li {
    list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  border: 5px solid #333f3e;
  border-radius: 5px;
}

.subsection {
  padding: 0 3%;
  margin: 0;
}

.sectionDescription {
  color: #333f3e;
}

footer {
  display: inline;
  clear: both;
}

footer p {
  text-align: center;
  clear: both;
}

/*******************************
Header
*******************************/
#hello {
  padding-top: 1em;
}

#logo {
  border: 0;
}

#logoText {
  font-size: 3.5em;
  width: 100%;
  text-align: center;
  margin-top: 0;
}

/*******************************
Skills
*******************************/
.table {
  width: 100%;
  margin-left: 1.5%;
}

.skills .tr p {
  padding: 0 1.25% 0 3%;
  width: 45.75%;
  display: table-cell;
}

.skills .tr div {
  width: 50%;
  display: table-cell;
  vertical-align: inherit;
}

.tr {
  float: left;
  display: inline;
}

/*******************************
Honors & Awards
*******************************/
.year {
  margin-bottom: 0;
}

/*******************************
Projects
*******************************/
div.gallery img {
  width: 100%;
  height: auto;
  opacity: 1;
  display: block;
  transition: .5s ease;
}

.gallery {
  background-image: url(../img/viewMore.png); 
  background-size: 100%;
  opacity: 1;
}

.gallery:hover img {
  opacity: 0.1;
}

.responsive {
  margin: 0 1%;
  float: left;
  width: 23%;
}
.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

@media only screen and (max-width: 700px) {
    .responsive {
      width: 46%;
      margin: 1% 2%;
    }
    .responsive:nth-child(3) {
      clear: left;
    }
}

@media only screen and (max-width: 500px) {
    .responsive {
      width: 100%;
      clear: both;
    }
}


/*******************************
Social Icons
*******************************/
#social {
  position: relative;
  font-size: 1em;
  display: block;
  clear: both;
  padding: 75px;
}

#social li {
  margin: 0;
  padding: 0;
  list-style: none;
  position: absolute;
  left: 0;
  background-image: url('../img/socialsprite.png');
  width: 43px;
  display: inline-block;
  clear: both;
}

#emailtext, #phonetext, #linkedintext {
  width: 15em;
  margin-left: 50px;
}
 
#email {
  top: 0;
  height: 43px;
  background-position: 0 0;
}

#phone {
  top: 2.875em;
  height: 43px;
  background-position: -43px 0;
}

#linkedin {
  top: 5.750em;
  height: 43px;
  background-position: -86px 0;
}

#email:hover {
  background-position: 0 -43px;
}

#phone:hover {
  background-position: -43px -43px;
}

#linkedin:hover {
  background-position: -86px -43px;
}

/*******************************
Projects
*******************************/

#websites {
  padding-top: 0em;
}

.projectpic {
  width:100%;
  height: auto;
  padding: 0;
}

#websiteDiv, #researchDiv {
  width: 100%;
}

.projecttext p {
  margin: 0;
  word-break: break-word;
}

.projecttext h3 {
  margin-bottom: 0.25em;
}

.projecttext {
  margin-bottom: 3em;
  padding-left: 3%;
}
