@import url('https://fonts.googleapis.com/css?family=Montserrat:400,800');

* {
	box-sizing: border-box;
}

body {
    background: linear-gradient(rgba(0,0,0,0.4),rgba(0, 0, 0, 0.4)),url('../img/pic.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  	display: flex;
  	justify-content: center;
  	align-items: center;
  	flex-direction: column;
  	font-family: 'Montserrat', sans-serif;
  	height: 100vh;
}

footer {
    background-color: #222;
    color: #fff;
    font-size: 14px;
    bottom: 0;
    position: fixed;
    left: 0;
    right: 0;
    text-align: center;
}

footer p {
    margin: 10px 0;
}

.hero{
  height: 100%;
  width: 100%;
  background-position: center;
  background-size: cover;
  position: absolute;
}

.form-box {
  width: 440px;
  height: 500px;
  position: relative;
  margin: 10px auto;
  background: #fff;
  padding: 5px;
  overflow: hidden;
  box-shadow: 0 0 20px 9px rgba(0, 0, 0, 0.5);
  border-radius: 10px;
}

.button-box {
  width: 200px;
  margin: 35px auto;
  position: relative;
  box-shadow: 0 0 20px 9px #ff61241f;
  border-radius: 30px;
}

.toggle-btn {
  padding: 10px 25px;
  cursor: pointer;
  background: transparent;
  border: 0;
  outline: none;
  position: relative;
}

#btn {
  position: absolute;
	cursor: pointer;
  left: 0;
  top: 0;
  width: 110px;
  height: 100%;
  background: linear-gradient(to right, #ff105f, #ffad06);
  border-radius: 30px;
  transition: .5s;
}

.social-icons {
  margin: 10px auto;
  text-align: center;
}

.social-icons img {
  margin: 0 12px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  box-shadow: 0 0 20px 0 #7f7f7f3d;
  cursor: pointer;
  transform: rotateY(-360deg);
  transition: 1s;
}

.social-icons img:hover {
  transform: rotateY(180deg);
  transition: 1.5s;
}

.input-group {
  top: 180px;
  position: absolute;
  width: 280px;
  transition: .5s;
}

.input-field {
  width: 100%;
  padding: 10px 0;
  margin: 5px 0;
  border-right: 0;
  border-left: 0;
  border-top: 0;
  border-bottom: 1px solid #999;
  outline: none;
  background: transparent;
}

.overlay-container {
	background: #FF416C;
	background: -webkit-linear-gradient(to right, #FF4B2B, #FF416C);
	background: linear-gradient(to right, #FF4B2B, #FF416C);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: 0 0;
	position: absolute;
	top: -80%;
	width: 100%;
	text-align: center;
	padding: 10px 10px;
	overflow: hidden;
  transform: rotateY(-360deg);
  transition: 1s;
	border-radius: 10px;
}

.overlay span {
	font-size: 14px;
	font-weight: bold;
	color: #000;
}

.overlay-panel {
  margin: 35px auto;
	position: absolute;
	top: 0;
	width: 50%;
}

.overlay-container:hover {
	transform: rotateY(180deg);
  transition: 1.5s;
}

.submit-btn {
  width: 85%;
  padding: 10px 30px;
  cursor: pointer;
  display: block;
  margin: 10px auto;
  background: linear-gradient(to right, #ff105f, #ffad06);
  border: 0;
  outline: none;
  border-radius: 30px;
}

#login {
  left: 80px;
  margin-top: 40px;
}

#register {
  margin-top: 40px;
}

@media (max-width: 765px) {
  .form-box {
    height: 460px;
    width: 90%;
    margin-top: 30px;
    margin-left: 20px;
    margin-right: 10px;
  }

  #login {
    left: 30px;
  }

  footer{
    height: 17%;
  }

	body {
		height: 110vh;
	}

	.social-icons {
	  margin-bottom: 25px;
	}
}

#register {
  left: 500px;
}

#firebaseui-auth-container {
	justify-content: top;
	align-items: center;
	margin: 0 5px;
	height: 20px;
	width: 100%;
	top: 0;
  visibility: visible;
}

 h1 {
    font-size: 24px;
    color: yellow;
    text-align: center;
    margin: 5px;
}

.name-label {
    color: yellow;
    text-decoration: none;
    font-weight: bold;
}

.fa-heart {
  color: red;
}

@media (max-width: 765px) {
  h1 {
      font-size: 16px;
  }
}

span {
	font-size: 12px;
}
