@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap');


/* Schrift*/
*{
    margin: 0;
    padding: 0;
    font-family: 'poppins',sans-serif;
    
}
/*popups*/
.modal {
	position: fixed!important;
	top: 73%!important;
	left: 50%!important;
	transform: translate(-50%, -50%)!important;
	color: whitesmoke;
	border: 2px solid rgb(255, 255, 255)!important;
    border-radius: 20px!important;
	padding: 20px!important;
	z-index: 1000!important;
  }

/* Hintergrund etc*/
section{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100%;
    background-image: url("images/background.jpg");
}

/* Überschrift Login-- Sign up*/
h2{
    font-size: 2em;
    color: white;
    text-align: center;
}

/* PW-Email-Strich*/
.inputbox{
    position: relative;
    margin: 30px 0;
    width: 310px;
    border-bottom: 2px solid white;
}

#test{
    left:40px !important;
}

 /* E-Mail, Passwort, Name*/
.inputbox label{
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    color: white;
    font-size: 1em;
    pointer-events: none;
    transition: .5s;
}
input:focus ~ label,
input:valid ~ label{
top: -5px;
color: #7380ec;
}

/* CSS code to style autofilled input boxes*/
input.autofilled {
  background-color: #f60a0a;
  color: #0bd41f;
  }

/* inputbox */
.inputbox input {
    width: 100%;
    height: 20px !important;
    margin-top: 0.5rem;
    background: transparent;
    border: none;
    outline: none;
    font-size: 1em;
    color: white !important;
    
}
/* Icons*/
.inputbox ion-icon{
    position: absolute;
    right: 8px;
    color: white;
    font-size: 1.2em;
    top: 20px;
}

/* Eingeloggt bleiben--AGB´s*/
.forget{
    margin: -15px 0 15px ;
    font-size: 0.9rem;
    color: white;
    display: flex;
    justify-content: center;  
}

.forget label input{
    margin-right: 3px; 
}

/* Passwort vergessen*/
.forget label a{
    color: white;
    text-decoration: none;
}
.forget label a:hover{
    text-decoration: underline;
}

/* Login-- Sign up Button */
.btn{
    width: 100%;
    height: 40px;
    border-radius: 40px;
    background: #7380ec;
    color: white;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    transition: all 300ms ease;
    padding: 10px;
}

/* Hover */
.btn:hover {
    background-color: purple ;
    color: white;
}

button.btn[disabled] {
    background-color: rgb(41, 41, 41)!important;
    color: gray!important;
    cursor: not-allowed!important;
  }
  
/* Kein Account */
.register{
    font-size: .9em;
    color: white;
    text-align: center;
    margin: 25px 0 10px;
}

/* Regestrieren */
.register p a{
    text-decoration: none;
    color:white;
    font-weight: 600;
}
.register p a:hover{
    text-decoration: underline;   
}
.container .logreg-box {
    overflow: hidden;
    width: 100%;
    height: 100%;
    transition: all 300ms ease;
}

/* Login-box */
.logreg-box .form-box-login {
    position: relative;
    width: 400px;
    height: 450px;
    background: transparent;
    border: 2px solid white;
    border-radius: 20px;
    border-radius: 20px;
    backdrop-filter: blur(15px);
    display: flex;
    justify-content: center;
    align-items: center;
}
  
/* Signup-Box*/
.logreg-box .form-box-register {
    position: relative;
    width: 400px;
    height: 450px;
    background: transparent;
    border: 2px solid white;
    border-radius: 20px;
    backdrop-filter: blur(15px);
    display: flex;
    justify-content: center;
    align-items: center;
}
/* Login-box 
  .form-box-login {
    transform: translateX(0);
  }
  
  .form-box-register {
    transform: translateX(100%);
  }
  
  .container.active .form-box-login {
    transform: translateX(100%);
    transition: transform 300ms ease;
    display: flex;

  }
  
  .container.active .form-box-register {
    transform: translateX(0);
    transition: transform 300ms ease;
    display: none;

  }

   