html, body {
    font-family: 'Khula', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    margin: 0;
    padding: 0;
    background: no-repeat;
    /* background-color: #333; */
    /* background-image: url('big_background.jpg'); */
    background-size: cover;
    overflow-x: hidden;
    color: #222;
}

h1 {
    margin: 0;
    margin-top: 20px;
}

h3, h5 {
    margin: 0;
    margin-top: 5px;
}

h1, h2, h3, h4, h5 {
    padding: 0;
    white-space: nowrap;
}

.clear { clear:both; }

.bio {
  padding: 20px 0;
  width: 80%;
  margin-left: 10%;
  max-width: 1500px;
}

.bio p {
  padding: 5px 20px;
}

.email-image {
  margin-left: -131px;
  left: 50%;
  position: relative;
}

.float-left {
    float:left;
}

.profile-image {
    padding: 50px;
    background-image: url('me.jpg');
    background-size: 100px;
    float:left;
    margin: 0px 20px 0 20px;
    display:inline-block;
    border-radius: 50%;
    border: 5px solid #222;
}

.language {
  float: right;
  list-style: none;
  padding-right: 20px;
}
.language li {
  float: left;
  padding: 5px;
}

.hook {
    text-align: center;
    padding: 20px;
    font-weight: bold;
}

.projects-header {
  display: flex;
}
.projects-icon {
  width: 35px;
  height: 35px;
  padding: 15px;
  padding-right: 20px;
  margin-top: 5;
}

.projects {
    color: #222;
    width: 100%;
}

.projects h3 {
    width: 100%;
    text-align: left;
    padding: 20px;
}

.projects > ul {
    background-color: white;
    /* max-height: 0px; */
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin: 0;
    padding: 0;
    border-top: 1px solid #222;
    overflow-y: hidden;
}

.projects > ul > li {
    flex: 1;
    padding: 20px 0 10px 0;
    cursor: pointer;
    min-width: 300px;
}

.projects > ul > li > a > * {
    float:left;
    text-decoration: none;
    color: #222;
}

.projects > ul > li > a > h4 {
    margin-left: 20px;
}
.projects > ul > li:nth-child(even) {
    background-color: #eee;
}

.project-desc {
    width: 100%;
    display: block;
    padding: 0 20px;
    box-sizing: border-box;
}

.project-image {
    padding: 20px;
    background-image: url('art.jpg');
    background-size: 40px;
    float:left;
    margin: 0px 0 0 20px;
    display:inline-block;
    border-radius: 50%;
    border: 3px solid #222;
    filter: grayscale(100%);
    transition: filter .2s;
}
.projects > ul > li:hover .project-image,
.projects > ul a:active .project-image {
    filter: none;
}

.project-image.means {
    background-image: url('means.jpg');
}
.project-image.marvin {
    background-image: url('marvin.jpg');
}
.project-image.infection {
    background-image: url('infection.jpg');
}
.project-image.latin-squares {
    background-image: url('project-images/latin-square.png');
}
.project-image.hsu-the-game {
    background-image: url('project-images/hsu-the-game.png');
}
.project-image.shop-local {
    background-image: url('project-images/shop-local.png');
}
.project-image.adlez {
    background-image: url('project-images/adlez.png');
}
.project-image.windcross {
    background-image: url('project-images/windcross.png');
}
.project-image.nqaxw {
    background-image: url('project-images/nqaxw.png');
}
.project-image.bee-deployed {
    background-image: url('project-images/bee.png');
    background-size: 20px;
    background-position: 10px 10px;
    background-repeat: no-repeat;
}

.contact {
    background: #222;
    border: 1px solid #222;
    padding:15px;
    border-radius: 4px;
    color: white;
    cursor: pointer;
}
.cursor {
    margin-bottom: -1px;
    height: 14px;
    width: 7px;
    background-color: black;
    display: inline-block;
    animation: flash 2s infinite;
    animation-delay: .5s;
}

ul.tech {
    display: block;
    margin: 0 20px;
    padding: 0;
    clear:both;
}

ul.tech > li {
    border-radius: 5px;
    padding: 5px;
    font-size: 12px;
    margin-right: 5px;
    height: 12px;
    line-height: 15px;
    border: 1px solid gray;
    display: inline-block;
}

ul.tech > li:last-child {
    margin-right: 0;
}

@media (max-width: 2391px) {
    body {
        /* background-image: url('medium_background.jpg'); */
    }
}
@media (max-width: 1300px) {
    body {
        /* background-image: url('small_background.jpg'); */
    }
}
@media (max-width: 700px) {
    .bio {
      margin-left: 0;
      width: 100%;
    }
}
