/* THEME */

body{
	background: white;
	text-align: center;
}

#logo{
	color: #7e4544;
	font-family: 'Grand Hotel';
	font-size: 10em;
	margin-top: 1.5em;
}

#date{
	color: #7e4544;
	margin-top: -1em;
	font-family: "Quicksand";
	text-transform: uppercase;
	letter-spacing: 20px;
	margin-left: 2em;
}

.brown.btn-default {
	background-color: #7e4544;
 	height: 3.57rem;
  	border-radius: 2px;
  	background-clip: padding-box;
  	line-height: 2.57rem;
  	border: none;
  	color: #FFF;
  	text-align: center;
  	box-shadow: 0 2px 5px 0 rgba(0,0,0,.08),0 2px 10px 0 rgba(0,0,0,.12);
}

.brown.btn-default:hover, .brown.btn-default:focus {
	background-color: #895150;
	color: #FFF;
}

/* NAVIGATION */

input[type=checkbox] {
  position: absolute;
  opacity: 0;
  visibility: hidden;
}

#home, #signup, #signin {
	display: block;
	opacity: 1;	
	transition: opacity 1s ease-in-out;
}

#signup, #signin {
  opacity: 0; 
  height: 0;
  overflow: hidden;
}

#signup-checkbox:checked ~ #signup {
  opacity: 1;
  height: auto;
}

#signup-checkbox:checked ~ #home {
  opacity: 0; 
  height: 0;
}

#signin-checkbox:checked ~ #signin {
  opacity: 1;
  height: auto;
}

#signin-checkbox:checked ~ #home {
  opacity: 0; 
  height: 0;
}

.status-message {
	display: block;
	margin-bottom: 0.018em;
}

/* SIGN UP */

form {
	max-width: 550px;
	margin: 0 auto;	
	position: relative;
}

.nav-container {
	width: 41.81818181818181%;;
	display: inline-block;
	margin-top: 0.666666em;
}

.signup-prev, #beta-signup {
	display: inline-block;
}

.signup-prev {
	float: left;
	width: 43.47826086956522%;
	position: relative;
	margin: 0 auto;	
}

#beta-signup {
	width: 43.47826086956522%;
	float: right;	
}


#home label {
	width: 100px;
}

.input__label {
	margin-bottom: 0px;
}

#home label {
	margin: 0 10px;
}

#main-content {
	margin: 3% auto;
}

#signup-step2 {
	display: none;
}

/* INPUT STYLE */

.input {
	position: relative;
	z-index: 1;
	display: inline-block;
	margin: 1em;
	max-width: 200px;
	width: calc(100% - 2em);
	vertical-align: top;
}

.input__field {
	position: relative;
	display: block;
	float: right;
	padding: 0.8em;
	width: 60%;
	border: none;
	border-radius: 0;
	background: #f0f0f0;
	color: #aaa;
	font-weight: bold;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	-webkit-appearance: none; /* for box shadows to show on iOS */
}

.input__field:focus {
	outline: none;
}

.input__label {
	display: inline-block;
	float: right;
	padding: 0 1em;
	width: 40%;
	color: #6a7989;
	font-weight: bold;
	font-size: 70.25%;
	-webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.input__label-content {
	position: relative;
	display: block;
	padding: 1.6em 0;
	width: 100%;
}

/* Hoshi */
.input--hoshi {
	overflow: hidden;
}

.input__field--hoshi {
	margin-top: 1em;
	padding: 0.85em 0.15em;
	width: 100%;
	background: transparent;
	color: #595F6E;
}

.input__label--hoshi {
	position: absolute;
	bottom: 0;
	left: 0;
	padding: 0 0.25em;
	width: 100%;
	height: calc(100% - 1em);
	text-align: left;
	pointer-events: none;
}

.input__label-content--hoshi {
	position: absolute;
}

.input__label--hoshi::before,
.input__label--hoshi::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: calc(100% - 10px);
	border-bottom: 1px solid #B9C1CA;
}

.input__label--hoshi::after {
	margin-top: 2px;
	border-bottom: 4px solid red;
	transform: translate3d(-100%, 0, 0);
	transition: transform 0.3s;
}

.input__label--hoshi-color::after {
	border-color: #7e4544;
}

.input__field--hoshi:focus + .input__label--hoshi::after,
.input--filled .input__label--hoshi::after {
	transform: translate3d(0, 0, 0);
}

.input__field--hoshi:focus + .input__label--hoshi .input__label-content--hoshi,
.input--filled .input__label-content--hoshi {
	-webkit-animation: anim-1 0.3s forwards;
	animation: anim-1 0.3s forwards;
}

@-webkit-keyframes anim-1 {
	50% {
		opacity: 0;
		transform: translate3d(1em, 0, 0);
	}
	51% {
		opacity: 0;
		transform: translate3d(-1em, -40%, 0);
	}
	100% {
		opacity: 1;
		transform: translate3d(0, -40%, 0);
	}
}

@keyframes anim-1 {
	50% {
		opacity: 0;
		transform: translate3d(1em, 0, 0);
	}
	51% {
		opacity: 0;
		transform: translate3d(-1em, -40%, 0);
	}
	100% {
		opacity: 1;
		transform: translate3d(0, -40%, 0);
	}
}
