::selection {
  background: #dfe3eb;
  color: #fff;
}

::-moz-selection {
  background: #dfe3eb;
  color: #fff;
}

* {
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
  border: none;
  outline: none;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: rgba(178, 158, 152, 0.25);
}

*, *:before, *:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  color: #444;
  font-family: 'Open Sans', Arial, sans-serif;
  /*font-family: 'Helvetica Neue Light', 'Helvetica Neue', Helvetica, Arial, sans-serif;*/
  font-weight: 300;
  
  /*background: #fffdfa;*/
  background-color: rgb(248, 248, 248);
  
  /*height: 100%;*/
  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: antialiased;
  -ms-font-smoothing: antialiased;
  -o-font-smoothing: antialiased;
  font-smoothing: antialiased;
}

.inside {
  max-width: 960px;
  margin: 0 auto;
}

header, footer, section, menu, figure {
  display: block;
}

ul, menu {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

a {
  text-decoration: none;
  transition: color .25s ease-out;
  -webkit-transition: color .25s ease-out;
  -moz-transition: color .25s ease-out;
  color: rgba(0, 0, 0, 0.4);
}

a:hover, a:active, a:visited {
  color: #22282f;
}

header {
  padding: 60px 0 0;
}

header h1 {
  float: left;
  /*height: 160px;
  width: 282px;*/
  /*text-indent: -99999px;*/
  /*background: transparent url(../images/logo-mini.png) no-repeat left top;*/
}

header h1 a {
  font: 600 20px "Open Sans", Arial, sans-serif;
  color: rgba(0, 0, 0, 0.4);
}

header h1 img {
  vertical-align: middle;
  margin: 0 10px 0 0;
}

header nav:after, header nav:before {
  content: "";
  display: table;
}

header nav:after {
  clear: both;
}

header nav {
}

header nav ul {
  float: right;
}

header nav ul li {
  display: inline-block;
  margin: 0 0 0 60px;
}

header nav ul li a {
  color: rgba(0, 0, 0, 0.4);
  font: 400 16px/60px "Open Sans", Arial, sans-serif;
}

article {
  padding: 65px 0 65px;
}

section {
  padding: 65px 0 65px;
}

section.tagline h2 {
  font: 300 36px/54px "Open Sans", Arial, sans-serif;
  max-width: 600px;
}

section p {
  margin: 0 2em 1em;
}

.wide-bg {
  width: 100%;
  height: auto;
  display: block;
  float: left;
  background-color: #dfe3eb;
}

section.projects ul li {
  float: left;
  width: 300px;
  height: 175px;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  border-radius: 3px;
  margin: 0 20px 64px 0;
}

section.projects ul li a {
  position: absolute;
  width: 300px;
  height: 175px;
  z-index: 10;
  color: rgba(0, 0, 0, 0.4);
}

section.projects ul li a:hover, section.projects ul li a:active {
  color: #22282f;
}

section.projects ul li a h3 {
  font: 400 16px/24px "Open Sans", Arial, sans-serif;
  margin-top: 175px;
  text-align: center;
}

section.projects ul li.project-ivpn {
  background-image: url(../images/projects/ivpn.png);
}

section.projects ul li.project-vmwdemo {
  background-image: url(../images/projects/vmwdemo.png);
}

section.projects ul li.project-cloudplay {
  background-image: url(../images/projects/cloudplay.png);
}

section.projects ul li.project-dialoggs {
  background-image: url(../images/projects/dialoggs.png);
}

section.projects ul li.project-pictos {
  background-image: url(../images/projects/pictos.png), url(../images/projects/pictos-bg.png);
  background-repeat: no-repeat, repeat;
  background-position: 50% 50%, 0 0, 0 0;
}

section.projects ul li.project-openvpn {
  background-image: url(../images/projects/openvpn.png);
}

section.projects ul li.project-businessvpn {
  background-image: url(../images/projects/businessvpn.png);
}

section.contact {
  width: 100%;
  height: 120px;
  clear: both;
  display: table;
  padding: 0;
}

h1 {
  font-weight: 400;
  font-size: 30px;
}

h2 {
  font-weight: 400;
  font-size: 25px;
}

h3 {
  font-weight: 400;
  font-size: 20px;
}

p {
  line-height: 1.4em;
  font-size: 20px;
}

section.contact h3 {
  display: table-cell;
  vertical-align: middle;
}

footer {
  clear: both;
  width: 100%;
  height: 120px;
  
  /*background-color: #ff6633;*/
  background-color: #22282f;
  color: rgb(248, 248, 248);
  
}

footer p {
  font-size: 14px;
  line-height: 120px;
  font-weight: 400;
}

footer a {
  color: #cccbc8;
}

footer a:hover {
  color: #6b7383;
}

@media screen and (max-width: 600px) {
  header {
    padding: 0px 0 0;
  }

  header nav ul {
    float: none;
  }
  
  section {
    padding: 24px;
  }
  
  section.tagline h2 {
    text-align: center;
    width: auto;
  }
  
  section.projects {
    width: 300px;
    padding: 64px 0 0;
  }
  
  section.projects ul {
    float: none;
    width: 100%;
    margin: 0 auto;
  }
  
  section.projects ul li {
    float: none;
  }
  
  section.contact {
    padding: 24px;
  }

  footer {
    height: auto;
    padding: 0 24px;
    font: 400 14px/30px "Open Sans", Arial, sans-serif;
  }
}
