* {
  margin: 0;
  padding: 0;
  text-align: center;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: antialiased;
  -o-font-smoothing: antialiased;
  font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

#sketch-holder {
  z-index: -1000;
}

.g-recaptcha {
  -webkit-transform: scale(0.95);
  -moz-transform: scale(0.95);
  -ms-transform: scale(0.95);
  -o-transform: scale(0.95);
  transform: scale(0.95);
  -webkit-transform-origin: 0 0;
  -moz-transform-origin: 0 0;
  -ms-transform-origin: 0 0;
  -o-transform-origin: 0 0;
  transform-origin: 0 0;
  z-index: -1;
}

.back {
  float: left;
  margin-left: 10%;
}

.back-inner {
  position: fixed;
  top: 0;
  bottom: 0;
  margin: auto;
  height: auto;
  -webkit-transform-origin: 0 50%;
  -moz-transform-origin: 0 50%;
  -ms-transform-origin: 0 50%;
  -o-transform-origin: 0 50%;
  transform-origin: 0 50%;
  -webkit-transform: rotate(-90deg) translate(-50%, 50%);
  -moz-transform: rotate(-90deg) translate(-50%, 50%);
  -ms-transform: rotate(-90deg) translate(-50%, 50%);
  -o-transform: rotate(-90deg) translate(-50%, 50%);
  transform: rotate(-90deg) translate(-50%, 50%);
}

a {
  color: #2F3379;
  text-decoration: none;
  letter-spacing: 3px;
}

h1 {
  padding-bottom: 20px;
  color: #2F3379;
}

body {
  font-family: 'cn', Helvetica, Arial, sans-serif;
  font-size: 75%;
  line-height: 30px;
  color: #00B4C8;
}

#dot {
  width: 8px;
  height: 8px;
  background-color: #F04304;
  position: relative;
  top: 20px;
}

.error {
  color: #F04304;
}

.container {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translate(0, -50%);
}

.inline {
  display: inline-block;
  float: left;
}

#contact input[type="text"], #contact input[type="email"], #contact textarea, #contact button[type="submit"] {
  font: "cn", Helvetica, Arial, sans-serif;
}

#contact {
  margin: 0 auto;
  position: relative;
  max-width: 30%;
  width: 100%;
  padding: 25px;
}

fieldset {
  border: medium none !important;
  margin: 0 0 10px;
  min-width: 100%;
  padding: 0;
  width: 100%;
}

#contact input[type="text"], #contact input[type="email"], #contact textarea {
  font-family: 'cn', serif;
  width: 100%;
  border: 1px solid #00B4C8;
  color: #2F3379;
  background: #FFF;
  margin: 0 0 5px;
  padding: 10px;
}

#contact input[type="text"]:hover, #contact input[type="email"]:hover, #contact textarea:hover {
  -webkit-transition: border-color 0.3s ease-in-out;
  -moz-transition: border-color 0.3s ease-in-out;
  transition: border-color 0.3s ease-in-out;
  border: 1px solid #2F3379;
}

#contact textarea {
  height: 100px;
  max-width: 100%;
  resize: none;
}

#contact button[type="submit"] {
  padding: 0 3%;
  position: absolute;
  transform: translate(-50%, 0);
  cursor: pointer;
  width: auto;
  border: none;
  background-color: #F04304;
  color: #2F3379;
  letter-spacing: 3px;
  /*-- animation --*/
  -webkit-transition: padding 250ms ease-in;
  -webkit-backface-visibility: hidden;
  -ms-transition: padding 250ms ease-in;
  -moz-transition: padding 250ms ease-in;
  transition: padding 250ms ease-in;
}

#contact button[type="submit"]:hover {
  color: #fff;
  padding: 0% 12%;
  /*-- animation --*/
  -webkit-transition: padding 250ms ease-in;
  -webkit-backface-visibility: hidden;
  -ms-transition: padding 250ms ease-in;
  -moz-transition: padding 250ms ease-in;
  transition: padding 250ms ease-in;
}

#contact button[type="submit"]:active {
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
}

#contact input:focus, #contact textarea:focus {
  outline: 0;
  border: 1px solid #FEE992;
}

::-webkit-input-placeholder {
  color: #00B4C8;
}

:-moz-placeholder {
  color: #00B4C8;
}

::-moz-placeholder {
  color: #00B4C8;
}

:-ms-input-placeholder {
  color: #00B4C8;
}

/* mobile version */

@media only screen and (max-width: 768px) {
  #contact {
    max-width: 80%;
    width: 100%;
    height: 100%;
  }
  .back {
    margin-left: 5%;
  }
}
