@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;500;600;700;800;900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins' sans-serif;
}
body{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: url(main.jpg);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}
.wrapper{
    position: absolute;
    width: 400px;
    height: 500px;
    background-color: rgb(255, 255,255,.3);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 0 10px rgb(23, 22, 22);
    padding: 40px;
}
.form-wrapper{
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    transition: 1s ease-in-out;
}
.wrapper.active .form-wrapper.sign-in{
transform: scale(0) translate(-300px,500px);
}
.wrapper .form-wrapper.sign-up{
    position: absolute;
    top: 0;
    transform: scale(0) translate(200px,-500px);
}
.wrapper.active .form-wrapper.sign-up{
    transform: scale(1) translate(0,0);
    }
h2{
    margin-top: -5px;
    font-size: 30px; 
    color: rgb(0, 0, 0);
    text-align: center;
}
.input-group{
    position: relative;
    margin-top: 10px;
    border-bottom: 2px solid black;
}
.input-group label{
    position: absolute;
    top: 50%;
    left:5px;
    transform: translateY(-30%);
    font-size: 16px;
    color: white;
    pointer-events: none;
    transition: .5s;
}
.input-group input{
    width: 320px;
    height: 40px;
    font-size: 16px;
    color: white;
    padding: 0 5px;
    background: transparent;
    border: none;
    outline: none;
}
.input-group input:focus~label,
.input-group input:valid~label{
top: 0px;
}
.remember{
    margin: 23px 0 20px 5px;
}
input[type='checkbox']{
height:18px;
width: 18px;
}
.remember label{
    color: white;
    font-size: 16px;
}
span{
    margin-top: -1px;
    margin-left: 10px;
}
.remember label input{
    accent-color: #f4157e;
}
button{
    position: relative;
    width: 100%;
    height: 40px;
    background:  black;
    font-size: 16px;
    color: white;
    cursor: pointer;
    border-radius: 30px;
    border: none;
    outline: none;
}
.signUp-link{
    font-size: 14px;
    text-align: center;
    margin: 15px 0;
}
.signUp-link p{
    color:white
}
.signUp-link p a {
    color: #010101;
    text-decoration: none;
    font-weight: 500;
}
.signUp-link p a:hover{
    text-decoration: underline;
}
.social-platform{
    font-size: 14px;
    color: white;
    text-align: center;
}
.social-icons a{
    display: inline-block;
    width: 30px;
    height: 30px;
    background: transparent;
    border: 2px solid black;
    border-radius: 50%;
    text-align: center;
    line-height: 29px;
    margin: 15px 6px 0;
}
.social-icons a:hover{
    background: white;
}
.social-icons a i {
    color: white;
    font-size: 18px;
    transition: .3s;
}
.social-icons a:hover i{
    color: black;
}

@media only screen and (max-width:410px)
{
    .wrapper{
    position: absolute;
    width: 335px;
    height: 400px;
    background-color: rgb(255, 255,255,.3);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 0 10px rgb(23, 22, 22);
    padding: 37px;
    background-size: cover;
}
.input-group input{
    width: 224px;
    height: 40px;
    font-size: 16px;
    color: white;
    padding: 0 5px;
    background: transparent;
    border: none;
    outline: none;
}
}