html, body{
  margin: 0;
  padding: 0;
  background: url(../../img/bgimg.jpg);
  background-size: cover;
}
.login-row,.login-left,.login-right{
    height: 100vh;
    /* overflow-y: hidden; */
    
}
.login-right{
  /* padding: 10px 30px 10px 20px; */
  position: relative;
  /* background: url(../../img/bg_1.jpg); */
}
.login-left, .login-right{
  width: 50vw;
}
.container-right{
  height: 100%;
  width: 100%;
  /* background: #000; */
  border-top-left-radius: 30px ;
  border-bottom-right-radius: 30px ;
}
.login-row{
  display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    overflow: hidden;

}
.rotate-slider{
  margin: 2em auto;
  height: 210px;
  margin-left: 216px;
  /* overflow: hidden; */
  width: 320px;
}
.rotate-slider ul.slides{
  height: 100%;
  margin: 0;
  overflow: hidden;
  padding: 0;
  position: relative;
    top: 0;
    left: 50%;
  -ms-transform-origin: center center;
  transform-origin: center center;
  width: 100%;
}
.rotate-slider ul.slides.animate{
  -webkit-transition: all 0.75s ease-in-out;
  transition: all 0.75s ease-in-out;
}
.rotate-slider ul.slides li{
  background-position: center;
  background-size: cover;
  display: block;
  color: #fff;
  list-style: none;
  position: absolute;
    top: 0;
    left: 50%;
  text-align: center;
  -ms-transform-origin: bottom center;
  transform-origin: bottom center;
  width: 100%;
}
.rotate-slider ul.slides li:nth-of-type(1){background: #573b8a;}
.rotate-slider ul.slides li:nth-of-type(2){background: url(../../img/crash-test-g63cb957ba_1920.jpg);background-size: cover;}
.rotate-slider ul.slides li:nth-of-type(3){background: #573b8a}
.rotate-slider ul.slides li:nth-of-type(4){background: url('../../img/home-insurance-g8b10eeeca_1920.jpg');background-size: cover;}
.rotate-slider ul.slides li:nth-of-type(5){background: #573b8a}
.rotate-slider ul.slides li:nth-of-type(6){background: url(../../img/pexels-leeloo-thefirst-7163950.jpg);background-size: cover;}
.rotate-slider ul.slides li .inner{
  box-sizing: border-box;
  padding: 2em;
  height: 100%;
  width: 100%;
}

.main{
	width: 450px;
	height: 500px;
	background: red;
	overflow: hidden;
	background: url("https://doc-08-2c-docs.googleusercontent.com/docs/securesc/68c90smiglihng9534mvqmq1946dmis5/fo0picsp1nhiucmc0l25s29respgpr4j/1631524275000/03522360960922298374/03522360960922298374/1Sx0jhdpEpnNIydS4rnN4kHSJtU1EyWka?e=view&authuser=0&nonce=gcrocepgbb17m&user=03522360960922298374&hash=tfhgbs86ka6divo3llbvp93mg4csvb38") no-repeat center/ cover;
	border-radius: 10px;
	box-shadow: 5px 20px 50px #000;
  z-index: 99;
}
#chk{
	display: none;
}
.signup{
	position: relative;
	width:100%;
	height: 100%;
}
label{
	color: #fff;
	font-size: 2.3em;
	justify-content: center;
	display: flex;
	margin: 10px;
  margin-bottom: 45px;
	font-weight: bold;
	cursor: pointer;
	transition: .5s ease-in-out;
}
input{
	width: 60%;
	height: 20px;
	background: #e0dede;
	justify-content: center;
	display: flex;
	margin: 20px auto;
	padding: 15px;
	border: none;
	outline: none;
	border-radius: 5px;
}
button{
  width: 69%;
	height: 40px;
	margin: 10px auto;
	justify-content: center;
	display: block;
	color: #fff;
	background: #573b8a;
	font-size: 1em;
	font-weight: bold;
	margin-top: 20px;
	outline: none;
	border: none;
	border-radius: 5px;
	transition: .2s ease-in;
	cursor: pointer;
  padding-top: 20px;
  padding-bottom: 30px;
}
button:hover{
	background: #6d44b8;
}
.login{
	height: 380px;
    background: #eee;
    /* border-radius: 60% / 10%; */
    border-bottom-left-radius: 30%;
    border-bottom-right-radius: 30%;
    /* transform: translateY(0px); */
    transition: .8s ease-in-out;
    padding-top: 50px;
}
.login label{
	color: #573b8a;
	/* transform: scale(.6); */
}

#chk:checked ~ .login{
	transform: translateY(-500px);
}
#chk:checked ~ .login label{
	transform: scale(1);	
}
#chk:checked ~ .signup label{
	transform: scale(.6);
}
.login-left{
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 992px) {
  .login-row{
    display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      overflow: hidden;
  
  }
  .main{
    position: absolute;
    top:100px;
    margin-left: 10px;
    margin-right: 10px;
    width: 370px;
  }
}