@import url('https://fonts.googleapis.com/css?family=Raleway');
@import url('https://fonts.googleapis.com/css?family=Open+Sans');

body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  margin: 0;
  background-color: #1a1a1a;
}

.wrapper {
  display: flex;
  flex-direction: column;
}

/* 1. This container holds the stage area */
.animated-block {
  position: relative;
  width: 200px;
  height: 350px;
  margin: 0 auto; /* This centers the stage itself */
}

/* 2. This places the wrench on top */
#wrench {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%); /* Centers the wrench perfectly */
  width: 80px;
  height: auto;
}

/* 3. This places the nut directly under the wrench jaw */
#nut {
  position: absolute;
  top: 105px; /* Pushes the nut down into the grip position */
  left: 50%;
  transform: translateX(-50%); /* Centers the nut perfectly */
  width: 40px;
  height: auto;
}



.main-header {
  display: block;
  max-width: 300px;
  margin-bottom: 60px;
  font: 30px 'Raleway', sans-serif;
  color: #4d4d4d;
  text-align: center;
  text-transform: uppercase;
}

.main-link {
  font: 24px 'Open Sans', sans-serif;
  color: #fff;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}


