html {
}
html, body {
  margin: 0;
  padding: 0;
}
html, body, .front, .back {
  min-height: 100%;
  height: 100%;
}
body {
  background-image: url('//sptsw.neocities.org/circuit_board.jpg');
  -webkit-perspective: 1000;
  -moz-perspective: 1000;
  -webkit-transform-origin: 50% 50%;
  -moz-transform-origin: 50% 50%;
  -webkit-transform-style: preserve-3d;
  -moz-tranform-style: preserve-3d;
}
body.flipping {
  -webkit-transition: 2s;  
  -moz-transition: 2s;
}
body.flip {
  -webkit-transform: rotateY(180deg);
  -moz-transform: rotateY(180deg);
}
.front, .back {        
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
}
.front {
  z-index: 2;
}
body.flip .front {
  z-index: 1;
}
.back {
  background-image: url("//sptsw.neocities.org/webring_stars.gif");
  color: #ccc;
  overflow: hidden;
  z-index: 1;
  -webkit-transform: rotateY(-180deg);
  -moz-tranform: rotateY(-180deg);
}
body.flip .back {
  z-index: 2;
  overflow: auto;
}
  .back h2 {
    text-shadow: 4px 2px 0 #603311;
    text-align: center;
    font-size: 2.4em;
  }
  .back > div {
    margin: 20px auto;
    text-align: center;
  }
  .back table {
    margin: auto;
  }

.flip-page {
  position: absolute;
  right:0;
  top:0;
  z-index: 4;
}
.flip-page img {
  height: 40px;
}

.flip-page img:hover {
  cursor: pointer;
}

.webring {
  margin: 100px auto 40px !important;
  background-color: #666;
  width: 400px;
  border-spacing: 4px;
  border-bottom: url('//sptsw.neocities.org/guestbook.gif');
}
  .webring td {
    height: 70px;
    text-align: center;
  }
  .webring .logo {
    background-image: url("//sptsw.neocities.org/trees.png");
    vertical-align: top;
    font-size: 20pt;
    color: #603311;
    padding-top: 10px;
    text-shadow: 1px 1px #ccc;
  }
  .webring .content td {
    width: 40px;
    height: 20px;
    background-color: #603311;
    text-align: left;
  }

.hr {
  height: 62px;
  background-image: url('//sptsw.neocities.org/guestbook.gif');
  background-position: -25px;
  margin-bottom: 40px;
}

.guestbook {
  margin-top: 100px;
  font-size: 1.2em;
}
.guestbook form {
  margin: 40px auto 0;
  padding: 0 40px 40px;
  height: 400px;
  width: 540px;
}
.guestbook form label {
  margin-bottom: 4px;
  display: block;
  font-size: 1.4em;
  text-shadow: 2px 1px 0 #603311;
}
.guestbook form input {
  padding: 6px;
}
.guestbook form div, .guestbook form > input {
  margin: 40px;
}
.guestbook form div input {
  width: 440px;
  border: 4px solid #603311;
}
.guestbook form div + div input {
  height: 180px;
}
.guestbook form div + div {
  margin-bottom: 20px;
}
.guestbook form > input {
  background-color: green;
  color: white;
  float: right;
  height: 24px;
  margin: 0 40px 54px;
  padding: 0;
  width: 60px;
}
.guestbook > div {
  margin: 16px auto 100px;
  width: 800px;
  text-align: right;
}
.guestbook > div span {
  margin: 0 20px;
  text-decoration: underline;
  color: black;
  cursor: pointer;
}
.guestbook > div span.active {
  color: #ccc;
}

#messages {
  clear: both;
  background-color: #603311;
  margin: auto;
  width: 800px;
}
#messages .name {
  width: 100px;
}
#messages td {
  padding: 8px 12px;
}
#messages .message {
  padding: 12px 20px;
  vertical-align: top;
}