@import url('https://fonts.googleapis.com/css2?family-Poppins:wght@300:400;500;600;700;800;900&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
body{
    align-items: center;
    display: flex;
    justify-content: center;
    flex-direction: column;
    background: #1f242d;
    min-height: 100%;
    margin: 12.5%;
}
a{
    color: #fff;
    text-decoration: none;
}
.navbar{
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    padding: 15px 9%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    visibility: hidden;
    opacity: 0;
    animation: show-content 1.0s linear forwards;
    animation-delay: 1.0s;
}

.navbar .logo{
    font-size: 30px;
    font-weight: 700;
    color: #fff;
}

.navbar ul{
    display: flex;
}
.navbar ul li{
    list-style: none;
    margin-left: 35px;
}
.navbar ul li a{
    font-size: 20px;
    font-weight: 500;
    transition: .5s;
    color: #fff;
}

.navbar ul li:hover a,
.navbar ul li.active a{
    color: #7cf03d;
}

.container{
    display: flex;
    flex-direction: column;
    position: relative;
    width: 786px;
    max-width: 100;
    min-height: 480px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.95),
                0 10px 10px rgba(0, 0, 0, 0.95);

                z-index: 100;
                visibility: hidden;
                opacity: 0;
                animation: show-content 1.0s linear forwards;
                animation-delay: 1.0;
}
@keyframes show-content{
    100%{
        visibility: visible;
        opacity: 1;
    }
}
.sign-up, .sign-in{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    transition: all 0.6s ease-in-out;
}

.sign-up{
    width: 50%;
    opacity: 0;
    z-index: 1;
}
.sign-in{
    width: 50%;
    z-index: 2;
}
form{
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 50px;
    height: 100%;
    text-align: center;
}
h1{
    font-weight: bold;
    margin: 0;
}
p{
    font-size: 14px;
    font-weight: 100;
    line-height: 20px;
    letter-spacing: 0.5px;
    margin: 15px 0 20px;
}

input{
    background: #eee;
    padding: 12px 15px;
    margin :8px 15px;
    width: 100%;
    border-radius: 5px;
    border:none;
    outline: none;
}
a{
    color: #333;
    font-size: 14px;
    text-decoration: none;
    margin: 15px 0;
}
button{
    display: inline-block;
    padding: 10px 30px;
    background: #7cf03d;
    border: 2px solid #7cf03d;
    border-radius: 40px;
    box-shadow: 0 0 10px #7cf03d;
    font-size: 16px;
    color: #1f242d;
    font-weight: 600;
    transition: .5s;
    cursor: pointer;
}
button:hover{
    transform: scale(0.90);
    /* background: transparent; */
    color: #1f242d;
    box-shadow: none;
}

#signIn, #signUp{
    background-color: transparent;
    border: 2px solid #1f242d;
}
.container.right-panel-active .sign-in{
    transform: translateX(100%);
}
.container.right-panel-active .sign-up{
    transform: translateX(100%);
    opacity: 1;
    z-index: 5;
}
.overlay-container{
    position: absolute;
    top: 0;
    left: 50%;
    width: 50%;
    height: 100%;
    overflow: hidden;
    transition: transform 0.6s ease-in-out;
    z-index: 100;
}
.container.right-panel-active .overlay-container{
    transform: translateX(-100%);
}
.overlay{
    position: relative;
    color: #1f242d;
    background: #7cf03d;
    left: -100%;
    height: 100%;
    width: 200%;
    background: linear-gradient(to right, #7cf03d, #7cf03d);
    transform: translate(0);
    transition: transform 0.6s ease-in-out;
}
.container.right-panel-active .overlay{
    transform: translateX(50%);
}
.overlay-left, .overlay-right{
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    text-align: center;
    top:0;
    height: 100%;
    width: 50%;
    transform: translateX(0);
    transition: transform 0.6s ease-in-out;
}
.overlay-left{
    transform: translateX(-20%);
}
.overlay-right{
    right: 0;
    transform: translateX(0);
}
.container.right-panel-active .overlay-left{
    transform: translateX(0);
}
.container.right-panel-active .overlay-right{
    transform: translateX(20%);
}
.social-container{
    margin: 20px 0;
}
.social-container a{
    display: inline-flex;
    padding: 8px;
    border: 2px solid #7cf03d;
    border-radius: 50%;
    font-size: 20px;
    color: #7cf03d;
    margin: 0 8px;
    transition: .5s;
}
.social-container a:hover{
    background: #7cf03d;
    color: #1f242d;
    box-shadow: 0 0 10px #7cf03d;
}
.back-button{
    width: 100%;
    text-align: left;
}
.back-button a{
    display: inline-flex;
    padding: 6px;
    border: 2px solid #7cf03d;
    background: #7cf03d;
    border-radius: 50%;
    font-size: 20px;
    color: #1f242d;
    margin: -20px;
    transition: .5s;
}
.back-button a:hover{
    transform: scale(0.90);
    box-shadow: none;
}
.back-button-overlay{
    position: absolute;
    top:20px;
    left:30px;
}
.back-button-overlay a{
    display: inline-flex;
    padding: 6px;
    border: 2px solid #1f242d;
    border-radius: 50%;
    font-size: 20px;
    color: #1f242d;
    transition: .5s;
}
.back-button-overlay a:hover{
    transform: scale(0.90);
    box-shadow: none;
}

/* bars animation start */
/* .bars-animation{
    position: absolute;
    width: 100%;
    height: 100%; 
    display: flex;
    z-index: -1;
}
.bars-animation .bar{
    width: 100%;
    height: 100%;
    background: #1f242d;
    transform: translateY(-100%);
    animation: show-bars .5s ease-in-out forwards;
    animation-delay: calc(.1s * var(--i));
}

@keyframes show-bars{
    100%{
        transform: translateY(0%);
    }
} */
/* bars animation end */

