body{
    background-color: #111;
    width: 100%;
    margin: 0;
    position: relative;
    height: auto;
    min-height: 100%;
    overflow-x: hidden;
    font-family: 'Cairo', sans-serif;
}
img {
  position: fixed;
  top: 0;
  left: 0;
  min-width: 100%;
  max-height: 105%;
  background-size: cover;
  z-index: -1; 
}
:root{
    font-family: "cairo";
    font-weight: 900;
    font-size: 30px;
    --maincolor:rgb(53, 139, 238);
    color: white;
}
*{
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
html {
     scroll-behavior: smooth;
     min-height: 100vh;
}
#flip{
  display: none;
}
.switch {
  position: relative;
  display: inline-block;
  top: 20px;
  left: 0%;
  width: 60px;
  height: 34px;
}
.switch::before{
  content: "";
  position: absolute;
  top: -10px;
  left: -130px;
  width: 330px;
  height: 60px;
  border-radius: 20px;
  background-color: #1111116b;
}
.switch .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
}
.switch .slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
}
#flip:checked + .switch .slider {
  background-color: #2196F3;
}
#flip:checked + .switch .slider:before {
  transform: translateX(26px);
}
.switch .slider.round {
  border-radius: 34px;
}
.switch .slider.round:before {
  border-radius: 50%;
}
.top_conyiner{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background-color: transparent;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 50px;
}
.switch .signin{
    position: absolute;
    left: -110px;
    top: 50%;
    transform: translateY(-50%);
}
.switch .signup{
    position: absolute;
    right: -120px;
    top: 50%;
    transform: translateY(-50%);
}
#flip:not(:checked) + .switch .signin {
  color: #10aeff;
}
#flip:checked + .switch .signup {
  color: #ff006f;
}
.card {
  perspective: 1000px;
  width: 600px;
  height: 600px;
  position: relative;
  top: 0%;
  left: 50%;                     
  transform: translate(-50% , 15%);   
  transform-style: preserve-3d;
  transition: 1s;
}
.card-inner{
  width: 100%;
  height: 100%;
  transition: 1s;
  transform-style: preserve-3d;
  position: absolute;
}
.signin_content,
.signup_content{
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 30px;
  backface-visibility: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}
.signin_content {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
  z-index: 1;
}
.signup_content {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
  z-index: 1;
  transform: rotateY(180deg);
}
.form_sign{
    width: 600px;
    height: 800px;
    background-color: #11111156;
    border-radius: 30px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50% , -50%);
}
@keyframes back_ani {
    0%{transform: rotateZ(0deg) scale(1.5)}
    100%{transform: rotateZ(180deg) scale(1.5)}
}
#flip:checked ~ .card {
    transform: rotateY(180deg) translate(50% , 15%) ;
}
.all_face{
    z-index: 1;
    position: absolute;
    top: 20px;
}
.all_face .title{
     text-align: center;
     font-size: 50px;
     color:#10aeff;
}
.mail_input{
    margin-top: 50px;
    width: 400px;
    height: 60px;
    position: relative;
}
.mail_input i {
    position: absolute;
    right: 30px;
    top: 40px;
    color: #ffffff;
    font-size: 20px;
}
.all_face input[name="email"]{
    width: 390px;
    height: 60px;
    background-color: transparent;
    border: .5px white solid;
    color: white;
    font-size: 20px;
    font-weight: 500;
    border-radius: 50px;
    padding: 10px;
    padding-left: 20px;
    padding-right: 60px;
    margin-top: 20px;
    display: block;
    position: absolute;
    outline: 0;
    transition: .5s;
    overflow: hidden;
    text-overflow: ellipsis;
}
.all_face input[name="password"]{
    width: 390px;
    height: 60px;
    background-color: transparent;
    border: .5px white solid;
    color: white;
    font-size: 20px;
    font-weight: 500;
    border-radius: 50px;
    padding: 10px;
    padding-left: 20px;
    padding-right: 60px;
    margin-top: 20px;
    display: block;
    position: absolute;
    outline: 0;
    transition: .5s;
    overflow: hidden;
    text-overflow: ellipsis;
}
.all_face input[name="email"]:focus{
    padding-left: 30px;
}
.all_face input[name="password"]:focus{
    padding-left: 30px;
}
.all_face .rem{
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    font-weight: 500;
    position: absolute;
    top: 350px;
}
.all_face input{
  width: 15px;
  position: relative;
  border-radius: 50%;
}
.all_face input::after{
  width: 170px;
  content: "remember me";
  font-size: 20px;
  font-weight: 500;
  color: white;
  left: 20px;
  position: absolute;
}
.all_face a{
  text-decoration: none;
  color: white;
  cursor: pointer;
}
.all_face button{
  width: 200px;
  height: 60px;
  position: absolute;
  margin-top: 180px;
  left: 50%;
  transform: translateX(-50%);
  border: 2px white solid;
  border-radius: 50px;
  font-size: 20px;
  font-weight: 500;
  background-color: transparent;
  color: white;
}
.all_face button:hover{
  border: 2px #10aeff solid;
  background-color: #10aeff;
  box-shadow: 0px 0px 10px #10aeff;
}
/*  */
.all_back{
    z-index: 1;
    position: absolute;
    top: 20px;
    font-size: 50px;
    text-align: center;
    color: #ff006f;
}
.all_back input[name="email"]{
    width: 390px;
    height: 60px;
    background-color: transparent;
    border: .5px white solid;
    color: white;
    font-size: 20px;
    font-weight: 500;
    border-radius: 50px;
    padding: 10px;
    padding-left: 20px;
    padding-right: 60px;
    margin-top: 20px;
    display: block;
    position: absolute;
    outline: 0;
    transition: .5s;
    overflow: hidden;
    text-overflow: ellipsis;
}
.all_back input[name="password"]{
    width: 390px;
    height: 60px;
    background-color: transparent;
    border: .5px white solid;
    color: white;
    font-size: 20px;
    font-weight: 500;
    border-radius: 50px;
    padding: 10px;
    padding-left: 20px;
    padding-right: 60px;
    margin-top: 20px;
    display: block;
    position: absolute;
    outline: 0;
    transition: .5s;
    overflow: hidden;
    text-overflow: ellipsis;
}
.all_back input[name="email"]:focus{
    padding-left: 30px;
}
.all_back input[name="password"]:focus{
    padding-left: 30px;
}
.all_back input[name="username"]{
    width: 390px;
    height: 60px;
    background-color: transparent;
    border: .5px white solid;
    color: white;
    font-size: 20px;
    font-weight: 500;
    border-radius: 50px;
    padding: 10px;
    padding-left: 20px;
    padding-right: 60px;
    margin-top: 20px;
    display: block;
    position: absolute;
    outline: 0;
    transition: .5s;
    overflow: hidden;
    text-overflow: ellipsis;
}
.all_back input[name="username"]:focus{
    padding-left: 30px;
}
.all_back button{
  width: 200px;
  height: 60px;
  position: absolute;
  margin-top: 80px;
  left: 50%;
  transform: translateX(-50%);
  border: 2px white solid;
  border-radius: 50px;
  font-size: 20px;
  font-weight: 500;
  background-color: transparent;
  color: white;
}
.all_back button:hover{
  border: 2px #ff006f solid;
  background-color: #ff006f;
  box-shadow: 0px 0px 10px #ff006f;
}