@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap');
*{
  margin: 0;
  padding: 0;
  outline: none;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}
body{
  height: 100vh;
  width: 100%;
  background-image: url(../images/hero-bg.jpg);
}
.show-btn{
  background: #fff;
  padding: 10px 20px;
  font-size: 20px;
  font-weight: 500;
  color: #3498db;
  cursor: pointer;
  box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
}
.show-btn,
.container,
.container1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

input[type="checkbox"]{
  display: none;
}
.container {
  display: block;
  background: #fff;
  width: 400px;
  height: 630px;
  padding: 30px;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
  border-radius: 20px;
}

.container1 {
  display: block;
  background: #fff;
  width: 400px;
  height: 350px;
  padding: 30px;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
  border-radius: 20px;
}

#show:checked ~ .container,
#show:checked ~ .container1 {
  display: block;
}
.container .close-btn,
.container1 .close-btn{
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 18px;
  cursor: pointer;
}
.container .close-btn:hover,
.container1 .close-btn:hover {
  color: #3498db;
}
.container .text,
.container1 .text {
  font-size: 35px;
  font-weight: 600;
  text-align: center;
}
.container form,
.container1 form {
  margin-top: -20px;
}
.container form .data,
.container1 form .data{
  height: 45px;
  width: 100%;
  margin: 30px 0;
}
form .data label{
  font-size: 15px;
}
form .data input{
  height: 80%;
  width: 100%;
  padding-left: 10px;
  font-size: 15px;
  border: 1px solid silver;
  border-radius: 10px;
}
form .data input:focus{
  border-color: #3498db;
  border-bottom-width: 2px;
}
form .button{
  margin: 0 auto;
  height: 100%;
  width: 100%;
  border-radius: 15px;
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
  display: inline-block;
}
form .button .inner{
  height: 100%;
  width: 300%;
  position: absolute;
  left: -100%;
  z-index: -1;
  background: -webkit-linear-gradient(right, #F092DD, #9E92F0, #F092DD, #9E92F0);
  transition: all 0.4s;
}
form .button:hover .inner{
  left: 0;
}
form .button button{
  height: 45px;
  width: 100%;
  background: none;
  border: none;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
}
form .signup-link{
  text-align: center;
  font-weight: 500;
}
form .signup-link a{
  color: #3498db;
  text-decoration: none;
}
form .signup-link a:hover{
  color: #9f01ea;
}

form .signin-link{
  text-align: center;
  font-weight: 500;
}
form .signin-link a{
  color: #3498db;
  text-decoration: none;
}
form .signin-link a:hover{
  color: #9f01ea;
}