/* login  css  start */
body{ 
  background-image: url("images/web.jpg"); 
  background-color: white;
  align-items: center;
  min-height: 100vh;
  justify-content: center;
}
.container{
  position: relative;
  margin-top: 130px;
  margin-bottom: 50px;
  width: 750px;
  height: 450px;
  border-radius: 30px;
  box-shadow: 0 0 30px rgba(22, 16, 16, 0.2);
  margin-left: 20%;
  /* margin-top: 6%; */
  text-align: center;
  overflow: hidden;
}
.form-box{
  position: absolute;
  display: flex;
  right: 0;
  width: 50%;
  height: 100%;
  background-color: #fff; 
  align-items: center;
  text-align: center;
  z-index: 2;
  transition: .4s ease-in-out .2s;
}
.container.active .form-box {
  right: 50%;
}
.form-box.register{
  visibility: hidden;
}
.container.active .form-box.register {
  visibility: visible;
}

.container h1{
  
  font-size: 36px;
  margin: -5px 0;
}
.input-box{
  position: relative;
  margin: 20px;
}
.input-box input{
  width: 70%;
  border-radius: 25px;
  border: none;
  outline: none;
  padding: 10px 50px 13px 14px;
  font-size: 20px;
  font-weight: 500;
  color: #888;
}
.input-box input::placeholder{
  color: #888;
  font-weight: 400;
}
.input-box i{
  position: absolute;
  right: 15px;
  top: 25%;
  transform: translate(-50%);
  font-size: 20px;
  color: #888;
}
.forgot-link{
  margin: -15px 40px 40px 40px ;
  display: flex;
  justify-content: space-between;
}
.forgot-link a{
  text-decoration: none;
}
.forgot-link a:hover{
  text-decoration: underline;
}
.btn{
  width: 70%;
  border-radius: 20px;
  padding: 10px;
  font-size: 15px;
  font-family: sans-serif;   
  border: none;
  box-shadow: 0 5px 5px #787979;
  cursor: pointer;
  background: #2f7c90;
  color: white;
}
.btn:hover{
  background: rgb(235, 197, 101);
  color: #000;
}
.social-icons a{
  display: inline-flex;
  padding: 10px;
  border: 3px solid #2f7c90;
  border-radius: 40px;
  text-decoration: none;
  font-size: 24px;
  color: #2f7c90;
  margin: 0 8px;
  background-color: #ffffff;
}
.social-icons a:hover{
  background-color: #021424;
}
.toggle-box{
  position: absolute;
  width: 100%;
  height: 450px;
  background-color: #fff;
}
.toggle-box::before{
  content: '';
  position: absolute;
  z-index: 2;
  width: 300%;
  height: 100%;
  left: -250%;
  background-color: #2f7c90; 
  border-radius: 150px;
  transition: .8s ease-in-out;
}
.container.active .toggle-box::before{
  left: 50%;
}
.toggle-pannel{
  position: absolute;
  width: 50%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 2;
}
.toggle-pannel.toggle-left{
  left: 0;
  transition: 1.2s;
}
.container.active .toggle-pannel.toggle-left{
  left: -50%;
  transition: .4s;
}
.toggle-pannel.toggle-right{
  right: -50%;
  transition: .4s;
}
.container.active .toggle-pannel.toggle-right{
  right: 0;
  transition: 1.2s;
}
.btn-register{
  width: 160px;
  height: 46px;
  background: transparent;
  box-shadow: none;
  border: 2px solid #fff;
  border-radius: 13px;
  cursor: pointer;
}
.btn-Login{
  width: 160px;
  height: 46px;
  background: transparent;
  box-shadow: none;
  border: 2px solid #fff;
  border-radius: 13px;
  cursor: pointer;
}
/* login  css  end */

/* pop over div css start */
.captcha-btn {
  padding: 10px 20px;
  background-color: #4CAF50;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 16px;
  margin: 20px;
}

/* Hidden popover container */
.popover {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color:rgb(241, 233, 233);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 30px;
  border-radius: 5px;
  width: 300px;
}

.g-recaptcha{
  margin-left: 20px;
  margin-top: 0;
  margin-bottom: 5px;
  size: 0.5;
}

@media screen and (max-width: 768px) {
 .container {
  width: 90%;
  margin: auto;
  margin-top: 130px;
 }
 .form-box{
  width: 70%;
 }

 .toggle-pannel{
  width: 30%;
 }
 .toggle-pannel h1,p{
  display: none;
 }
 .toggle-box::before{
  left: -270%;
 }
 .container.active .toggle-box::before{
  left: 70%;
 }
 .btn-register{
  rotate: 90deg;
  color: white;
  font-weight: bold;
 }
 .btn-Login{
  rotate: 270deg;
  color: white;
  font-weight: bold;
 }
 .container.active .form-box {
  right: 30%;
}
}
