*{
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    text-decoration: none;
}

body{
    background-image: url("images/bg.jpg");
    background-position: bottom;
    height: 100vh;
    background-size: cover;
    background-repeat: no-repeat;
}

nav{
    display: flex;
    justify-content: space-between;
    background: transparent;
    align-items: center;
}

h1{
  padding-left: 35px;
  font-size: 40px;
  color: white;
  transition:color 1s;

}

.links{
    padding: 40px;
}

.links a,
button{
    margin: 0px 20px;
    position: relative;
    font-size: 20px;
    color: white;
}

button{
    color: black;
}

/*nav a:hover::before{
    content: '';
    position: absolute;
    height: 8%;
    width: 100%;
    background-color: white;
    bottom: -30%;
}*/

button{
    background: transparent;
    outline: none;
    border: none;
    cursor: pointer;
    color: white;
    border-radius: 8px;
    transition: background-color 1s;
}

#login{
    height: 50px;
    width: 80px;
}

#register{
    height: 50px;
    width: 100px;
}

button:hover{
    border: 2px solid whitesmoke;
    background-color: white;
    color: black;
}

.main{
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/*input{
    display: block;
}*/

.registration{
    display: block; 
    justify-content: center;
    align-items: center;
    /*flex-direction: column;*/
    height: 550px;
    width: 400px;
    border: 2px solid whitesmoke;
    border-radius: 8px;
    backdrop-filter: blur(20px);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) scale(0)
    translateX(800px);
    transition: 1s;
}

.active_register .registration{
    transform: translateX(-50%) scale(1);
}

input[type="email"],input[type="password"],input[type="text"],input[type="text"],               
input[type="text"],input[type="text"]{
    width: 300px;
    height: 40px;
    background: transparent;
    outline: none;
    border: none;
    border-bottom: 2px solid black;
    caret-color: red;
    margin: 16px;
    font-size: 17px;
    color: whitesmoke;
}

input::placeholder{
    color: whitesmoke;
}

.terms{
   margin: 16px 0px; 
}

input[type="submit"]{
    width: 300px;
    height: 40px;
    font-size: 17px;
    outline: none;
    border-radius: 8px;
    border: none;
    margin: 8px 0px;
}

h2{
    font-size: 30px;
    text-align: center;
}

.login{
    height: 370px;
    width: 400px;
    border: 2px solid whitesmoke;
    border-radius: 8px;
    backdrop-filter: blur(20px);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    /*position: absolute;*/
    transform: scale(0) translateX(-800px);
    /*transition: 1s;*/

}

.active_login .login{
    transform: scale(1);
}

/*.Remember{
    display: flex;
    justify-content: space-between;
    margin: 16px 0;
}*/

.main a{
    color: black;
    font-weight: bold;
}

.content {
    width: 100%;
    height: auto;
    position: center;
    margin: 0 auto;
    text-align: center;
}
.position {
    color: whitesmoke;
    float:left;
    padding-left:50px;
}



