@import url(https://fonts.googleapis.com/css?family=Raleway:200,300,400,500,600,700);

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background:#232323;
  font-family: 'Raleway',sans-serif;
  text-align: center;
}

/* Global
================*/
.logo {
  max-height: 70px;
}

.container {
  width: 90%;
  overflow: hidden;
  margin: 0 auto;
}
/* Header
================*/
header {
  position: absolute;
  left: 0;
  right: 0;
  margin-top: 1em;
  color: #a7a7a7;
}

header .logo {
  position: absolute;
  left: 2.5em;
  top: -.5em;
  float: left;
}

nav {
  position: absolute;
  right: 3em;
}

nav ul {
  margin: 0;
  left: 0;
  list-style: none;
}

nav li {
  display: inline-block;
  margin: 1em;
}

nav a {
  text-decoration: none;
  position: relative;
  color: #a7a7a7;
  z-index: 1;
}
/* Nav a:hover*/
/* A1:Hover*/
nav .a1:before {
  content: '';
  width: 100px;
  height: 30px;
  position: absolute;
  border-left: 2px solid #ff0000;
  transform: skewX(-20deg);
  top: -5.5px;
  left: -10px;
  transition: all 400ms;
  z-index: -1;
}

nav .a1:hover:before {
  border-left: 83px solid #ff0000;
}
/* A2:Hover*/
nav .a2:before {
  content: '';
  width: 100px;
  height: 30px;
  position: absolute;
  border-left: 2px solid #ffb000;
  transform: skewX(-20deg);
  top: -5.5px;
  left: -10px;
  transition: all 400ms;
  z-index: -1;
}

nav .a2:hover:before {
  border-left: 78px solid #ffb000;
}
/* A3:Hover*/
nav .a3:before {
  content: '';
  width: 100px;
  height: 30px;
  position: absolute;
  border-left: 2px solid #f2ff00;
  transform: skewX(-20deg);
  top: -5.5px;
  left: -10px;
  transition: all 400ms;
  z-index: -1;
}

nav .a3:hover:before {
  border-left: 93px solid #f2ff00;
}
/* A4:Hover*/
nav .a4:before {
  content: '';
  width: 47px;
  height: 30px;
  position: absolute;
  border-left: 2px solid #adff00;
  transform: skewX(-20deg);
  top: -5.5px;
  left: -10px;
  transition: all 400ms;
  z-index: -1;
}

nav .a4:hover:before {
  border-left: 78px solid #adff00;
}

@media (max-width:720px) {
  header .logo {
    position: absolute;
    left: 40%;
    right: 0em;
  }

  nav {
    position: absolute;
    top: 5em;
    right: 0;
    left: 0;
  }
}

@media (max-width:500px) {
  nav {
    font-size: .8em;
  }
  nav .a1:before {
    content: '';
    width: 100px;
    height: 20px;
    position: absolute;
    border-left: 2px solid #ff0000;
    transform: skewX(-20deg);
    top: -3.5px;
    left: -10px;
    transition: all 400ms;
    z-index: -1;
  }

  nav .a1:hover:before {
    border-left: 73px solid #ff0000;
  }
  /* A2:Hover*/
  nav .a2:before {
    content: '';
    width: 100px;
    height: 20px;
    position: absolute;
    border-left: 2px solid #ffb000;
    transform: skewX(-20deg);
    top: -3.5px;
    left: -10px;
    transition: all 400ms;
    z-index: -1;
  }

  nav .a2:hover:before {
    border-left: 68px solid #ffb000;
  }
  /* A3:Hover*/
  nav .a3:before {
    content: '';
    width: 100px;
    height: 20px;
    position: absolute;
    border-left: 2px solid #f2ff00;
    transform: skewX(-20deg);
    top: -3.5px;
    left: -10px;
    transition: all 400ms;
    z-index: -1;
  }

  nav .a3:hover:before {
    border-left: 83px solid #f2ff00;
  }
  /* A4:Hover*/
  nav .a4:before {
    content: '';
    width: 100px;
    height: 20px;
    position: absolute;
    border-left: 2px solid #adff00;
    transform: skewX(-20deg);
    top: -3.5px;
    left: -10px;
    transition: all 400ms;
    z-index: -1;
  }

  nav .a4:hover:before {
    border-left: 68px solid #adff00;
  }
}
/* Home-hero
================*/
.home-hero {
  background-image: url('../images_x/pattern2.jpeg');
  background-position: center;
  background-size: cover;
  height: 100vh;
  color: #a2a2a2;
}

.title {
  display: none;
}

.hh1,
.hh2,
.hh3 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2em;
  background: #171616;
  box-shadow: 0 3px 20px 0 #0f0f0f;
}

.hh1,
.hh2,
.hh3 {
  border-left: 2px solid #adff00;
  border-right: 2px solid #adff00;
}

.home-hero span {
  color: #adff00;
  font-weight: 400;
}

.home-hero {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.home-hero .block {
  width: 200px;
  height: 200px;
  background:#a2a2a2;
  transition: all 400ms;
}

.block:hover {
  transform: scale(1.1) translateY(-5px);
}

.ilogger12 {
  max-height: 200px;
  transition: all 400ms;
}

.ilogger12:hover {
  transform: scale(1.1) translateY(-5px);
}

.ikey30 {
  max-height: 200px;
  transition: all 400ms;
  transform: scale(1.3) translateY(-5px);
}

.ikey30:hover {
  transform: scale(1.5) translateY(-10px);
}

@media (max-width:500px) {
  .hh1,
  .hh2,
  .hh3 {
    display: none
  }

  .title {
    display: block;
  }
}

@media (min-height:850px) {
  .home-hero {
    padding: 17em 0em;
  }
}
