
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,800');

* {
	box-sizing: border-box;
}

body {
	background: #f6f5f7;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	font-family: 'Montserrat', sans-serif;
	height: 100vh;
	/* margin: -20px 0 50px; */
}

h1 {
	font-weight: bold;
	margin: 0;
	font-size: 2vw;
}

h2 {
	text-align: center;
}

p {
	font-size: 1vw;
	font-weight: 100;
	line-height: 2vw;
	letter-spacing: 0.05vw;
	margin: 2vw 0 3vw;
}

span {
	font-size: 1vw;
}

a {
	color: #333;
	font-size: 1vw;
	text-decoration: none;
	margin: 1vw 0;
}

button {
	border-radius: 2vw;
	border: 1px solid #FF4B2B;
	background-color: #FF4B2B;
	color: #FFFFFF;
	font-size: 12px;
	font-weight: bold;
	padding: 12px 45px;
	letter-spacing: 1px;
	text-transform: uppercase;
	transition: transform 80ms ease-in;
}

button:active {
	transform: scale(0.95);
}

button:focus {
	outline: none;
}

button.ghost {
	background-color: transparent;
	border-color: #FFFFFF;
}

form {
	background-color: #FFFFFF;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	padding: 0 50px;
	height: 100%;
	text-align: center;
}

input {
	background-color: #eee;
	border: none;
	padding: 12px 15px;
	margin: 8px 0;
	width: 100%;
}

.container {
	background-color: #fff;
	border-radius: 10px;
  	box-shadow: 0 14px 28px rgba(0,0,0,0.25), 
			0 10px 10px rgba(0,0,0,0.22);
	position: relative;
	overflow: hidden;
	width: 90%;
	max-width: 100%;
	min-height: 90%;
}

.form-container {
	position: absolute;
	top: 0;
	height: 100%;
	transition: all 0.6s ease-in-out;
	left: 0;
	width: 85%;
	z-index: 1;
	overflow: hidden;
}

.container.right-panel-active .sign-in-container {
	transform: translateX(100%);
}

.container.right-panel-active .sign-up-container {
	transform: translateX(100%);
	opacity: 1;
	z-index: 5;
	animation: show 0.6s;
}

@keyframes show {
	0%, 49.99% {
		opacity: 0;
		z-index: 1;
	}
	
	50%, 100% {
		opacity: 1;
		z-index: 5;
	}
}

.overlay-container {
	position: absolute;
	top: 0;
	left: 85%;
	width: 15%;
	height: 100%;
	overflow: hidden;
	transition: transform 0.6s ease-in-out;
	z-index: 100;
	background: #FF416C;
	background: -webkit-linear-gradient(to right, #d69c7a, #9b5034);
	background: linear-gradient(to right, #d69c7a, #9b5034);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: 0 0;
	color: #FFFFFF;
	transform: translateX(0);
	transition: transform 0.6s ease-in-out;
}

.container.right-panel-active .overlay-container{
	transform: translateX(-100%);
}

.container.right-panel-active .overlay {
  	transform: translateX(50%);
}

.overlay-panel {
	display: flex;
	flex-direction: column;
	text-align: center;
	transform: translateX(0);
	transition: transform 0.6s ease-in-out;
	align-items: center; 
	justify-content: center;
	height: 100%;
}
.overlay-panel a{
	color: white;
	font-size: 1.5vw;
	align-items: center;
}
.overlay-panel a:hover{
	border-bottom: 1px solid #fff;
}
.overlay-left {
	transform: translateX(-20%);
}

.container.right-panel-active .overlay-left {
	transform: translateX(0);
}

.overlay-right {
	right: 0;
	transform: translateX(0);
}

.container.right-panel-active .overlay-right {
	transform: translateX(20%);
}

.social-container {
	margin: 20px 0;
}

.social-container a {
	border: 1px solid #DDDDDD;
	border-radius: 50%;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	margin: 0 5px;
	height: 40px;
	width: 40px;
}
.code{
	text-align: center;
	height: 100%;
}
.code img{
	height: 70%;
}
.code p{
	margin: 0;
	color: #f7d8b7;
	font-size: 0.8vw;
	line-height: 1vw;
}
#banner{
	position: absolute;
	z-index: 2;
}

#square{
	position: absolute;
	top: 13%;
	right: 4%;
	z-index: 3;
}

#back{
	position: absolute;
	bottom: 0;
	z-index: 1;
}
#contactCN{
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: 2;
}

.moduleIntro, .price p, .email p{
	line-height: 1vw;
	margin: 0.3vw 0 0.5vw;
}

.title{
	color: #f4e8b6;
	position: absolute;
	left: 5%;
	top: 5%;
	z-index: 3;
}

.price{
	position: absolute;
	left: 5%;
	top: 17%;
	z-index: 3;
	background-color: #a63629;
	padding: 0.3vw 3vw;
}

.price p{
	color: #f4e8b6;
	font-size: 1.8vw;
	line-height: 2vw;
}

.inro{
	z-index: 3;
	position: absolute;
	width: 95%;
	left: 2.5%;
	top: 40%;
}

.inro p{
	color: #661818;
}


.subTitle{
	width: 60%;
	font-size: 1.5vw;
	color: #f4e8b6;
	padding: 0.5vw;
	margin: 0.3vw 0 1vw;
	background-color: #a63629;
}

.moduleName{
	font-weight: bold;
	margin: 0.5vw 0 0.4vw;
}

.contact{
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: 3;
	width: 100%;
	height: 10%;
	display: flex;
	align-items:center;
}

.bayelogo{
	height: 100%;
	background-color: #9b5034;
}
.mochilogo{
	float: left;
	width: 15%;
	height: 100%;
	background-color: #d69c7a;
}
.email{
	background-color: #9b5034;
	color: #f7d8b7;
}
.emailInfo{
	display: flex;
	align-items: center;
	margin-bottom: 0.5rem;
}
.emailInfo p{
	flex: 2;
}
#enemail{
	display: flex;
	flex-direction: column;
}

.fa{
	margin-right: 0.3vw;
}
.fa-mobile{
	margin-left: 0.6vw;
}

.overlay-panel h1{
	margin-bottom: 1vw;
}
.overlay-panel p{
	bottom: 29%;
	margin: 0;
}

.save{
	position: absolute;
	font-size: 0.5vw;
	bottom: 1%;
	right: 4%;
	z-index: 999;
}

.language{
	position: absolute;
	font-size: 1vw;
	top: 1%;
	right: 2%;
	z-index: 999;
}
#code{
	width: 70%;
}
.enter a{
	color: white;
	font-size: 2vw;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	line-height: 4vw;
	margin: 0;
	padding-top: 35%;
}
.enter a i{
	margin-left: 1vw;
}
.enter{
	width: 100%;
    height: 90%;
    position: absolute;
    bottom: 0;
    /* border-top: 1px solid white; */
}
.contactRight{
	display: none;
}

@media screen and (max-width:450px){
	.overlay-container {
	    top: 60%;
	    left: 5%;
	    width: 90%;
	    height: 38%;
	}
	.form-container {
		position: absolute;
		top: 3%;
		height: 57%;
		left: 5%;
		width: 90%;
	}
	.title h1{
		font-size: 3vw;
	}
	.overlay-panel {
	    top: 8%;
		
	}
	.overlay-panel h2 {
		margin-top: 1vw;
	    margin-bottom: 1vw;
		font-size: 3vw;
	}
	.price i{
		display: none;
	}
	.price p {
	    font-size: 2.7vw;
	    line-height: 3vw;
	}
	.inro{
		width: 95%;
		left: 2.5%;
		bottom: 5%;
	}
	.inro p{
		font-size: 2.5vw;
		color: #661818;
		line-height: 2.8vw;
		margin: 0.3vw 0 0.5vw;
	}
	.subTitle{
		font-size: 2.5vw;
	}
	#code{
		width: 40%;
	}
	.contact{
		display: none;
	}
	.contactRight{
		display: block;
		position: absolute;
		bottom: 0;
		left: 0;
		z-index: 3;
		width: 100%;
		height: 20%;
	}
	#ready, .enter{
		display: none;
	}
	.language, .language a{
		font-size: 2.5vw;
	}
	.email p, .email span{
		font-size: 2.4vw;
		display: block;
		line-height: 3.1vw;
	}
	.bayelogo{
		width: 35%;
	}
	.email{
		width: 50%;
		display: flex;
		flex-direction: row;
		padding: 0.5% 3%;
	}
	.email i{
		display: none;
	}
	.overlay-panel a {
	    font-size: 3.5vw;
	}
	.save{
		display: none;
	}
}