@keyframes vibrate {
  from { transform: rotate(-5deg); }
  50% { transform: rotate(5deg); }
  to { transform: rotate(-5deg); }
}
@-moz-keyframes vibrate {
  from { -moz-transform: rotate(-5deg); }
  50% { -moz-transform: rotate(5deg); }
  to { -moz-transform: rotate(-5deg); }
}
@-webkit-keyframes vibrate {
  from { -webkit-transform: rotate(-5deg); }
  50% { -webkit-transform: rotate(5deg); }
  to { -webkit-transform: rotate(-5deg); }
}

body {
  background-color: #f0f7f0;
  font: large Bookman,serif;
}

a {
  text-decoration: none;
}

div.cc {
  background-image: url(../images/opaque.png);
  position: absolute;
  bottom: 0;
  right: 0;
  border-top: 2px solid white;
  border-left: 2px solid white;
  width: 250px;
  border-radius: 8px 0 3px 0;
  box-shadow: 0 0 8px white;
}
div.cc p {
  margin: 0.5em 1em;
  color: #bbb;
  font-style: italic;
}
div.cc a {
  color: #ddd;
  text-decoration: none;
  white-space: nowrap;
}
div.cc a:hover {
  color: white;
}

div.box {
  width: 960px;
  height: 580px;
  box-shadow: 2px 2px 10px black;
  border: 1px solid black;
  border-radius: 8px;
  overflow: hidden;
  margin: auto;
  margin-top: 1em;
}

div.content {
  position: relative;
  top: -3px;
  left: -3px;
  background-color: white;
  background-image: url(../images/wood.jpg);
}

h1 {
  font-size: 200px;
  color: gray;
  position: absolute;
  right: 25px;
  top: 110px;
  animation: vibrate 60s infinite;
  -moz-animation: vibrate 60s infinite;
  -webkit-animation: vibrate 60s infinite;
}

div.links {
  margin: 2em;
}
div.links a {
  display: block;
  width: 152px;
  margin-bottom: 1em;
}
div.links img {
  border: 1px solid black;
  border-top-color: gray;
  border-left-color: gray;
  box-shadow: 1px 1px 2px black;
  opacity: 0.6;

  transition: box-shadow 0.25s;
  -moz-transition: box-shadow 0.25s;
  -webkit-transition: box-shadow 0.25s;
  -o-transition: box-shadow 0.25s;
  transition: opacity 0.25s;
  -moz-transition: opacity 0.25s;
  -webkit-transition: opacity 0.25s;
  -o-transition: opacity 0.25s;
}
div.links img:active {
  box-shadow: 0px 0px 10px white;
}
div.links a:hover img {
  border-top-color: silver;
  border-left-color: silver;
  box-shadow: 2px 2px 5px black;
  opacity: 1.0;
}

#mugshot {
  border: none;
  height: 0;
  overflow: hidden;

  transition: height 0.75s ease-out;
  -moz-transition: height 0.75s ease-out;
  -webkit-transition: height 0.75s ease-out;
  -o-transition: height 0.75s ease-out;

  background-image: url(../images/me.jpg);
  border-radius: 8px 0 0 0;
}
div.cc:hover #mugshot {
  height: 250px;
  border-bottom: 1px solid black;
}


div.links div {
  position: relative;
  margin-bottom: -2em;
  left: 200px;
  top: -75px;
  width: 0;
  overflow: hidden;
  transition: width 1s ease-out;
  -moz-transition: width 1s ease-out;
  -webkit-transition: width 1s ease-out;
  -o-transition: width 1s ease-out;
}

div.links a:hover div {
  width: 400px;
}

div.links span {
  background-image: url(../images/opaque.png);
  color: white;
  font-size: xx-large;
  padding: 0.5em;
  white-space: nowrap;
  border-radius: 50px;
}


