body {
  font-family: 'Open Sans', sans-serif;
  font-weight: 200;
}

header {
  float: right;
  padding: 2vw;
  text-align: center;
}

header img {
  width: 25vw;
}

.inside {
  display: inline-block;
  font-size: 3vw;
  color: #59e;
  transform: translateY(-1.18vw) translateX(-0.5vw);
}

.main {
  clear: both;
  padding-top: 5vh;

  text-align: center;
}

.grid-container {
  text-align: center;
}

.grid-item {
  display: inline-block;

  /*
  Safari only
  font-size: max(3vw, 24px);
  */

  font-size: 3vw;

  text-align: center;
  transition: transform .2s ease-in-out;
  margin: 1.5vw;
  text-transform: lowercase;
}

.img-box {
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 50%;

  width: 22vw;
  height: 22vw;

  background-color: #eee;

  /*
  Safari only
  width: max(22vw, 180px);
  height: max(22vw, 180px);
  */
}

#git {
  margin-top: 13%;
  width: 80%;
}

#drone {
  width: 101%;
}

#pgadmin {
  margin-top: 17%;
  width: 66%;
}

.inner-item {
  margin-top: 1vw;
}

.grid-item:hover {
  transform: scale(1.05);
}

.techs {
  margin-top: 9vh;
  font-size: 4vw;
}

.techs i {
  margin: 0.5vw;
}

a {
  text-decoration: none;
  color: #333;
}

.techs a {
    color: #ccc;
}

.techs a:hover {
    color: #666;
}

footer {
  position: fixed;
  bottom: 7px;
  right: 13px;
  text-align: right;
  font-size: 11px;
  filter: grayscale();
  cursor: default;
}

footer:hover {
  filter: none;
}


@media (max-width: 900px) {

  header {
    float: none;
    width: 300px;
    margin: 5vh auto;
  }

  .main {
    padding-top: 0;
  }

  header img {
    width: 200px;
  }

  .inside {
    display: inline-block;
    font-size: 24px;
    color: #59e;
    transform: translateY(-9px);
    padding-left: 10px;
    padding-right: 5px;
  }

  .grid-item {
    font-size: 24px;
  }

  .img-box {
    width: 150px;
    height: 150px;
  }

  .techs {
    font-size: 30px;

    margin-top: 4vh;
    margin-bottom: 16vh;
  }

  footer {
    display: none;
  }

}
