@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

*:not(i){
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif!important;
    font-weight: 700!important;
}

h1{
    font-size: 18px!important;
}

body{
    background-color: #f0f2f5;
    background: linear-gradient(to right, #e2e2e2, #c9d6ff);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-height: 90vh;
    padding: 10px 0;
}

.container{
    background-color: #fff;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.35);
    position: relative;
    overflow: hidden;
    width: 768px;
    max-width: 100%;
    min-height: 620px;
}

.container.otherauth{
    width: 620px;
    max-width: 100%;
    min-height: 480px;
}

.container p{
    font-size: 12px;
    line-height: 20px;
    letter-spacing: 0.3px;
    margin: 5px 0;
}

.container span{
    font-size: 12px;
}

.container a{
    color: #333;
    font-size: 13px;
    text-decoration: none;
    margin: 10px 0 5px 0;
}

.container button{
    background-color:#285e74;
    color: #fff;
    font-size: 10px;
    padding: 8px 35px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: 10px;
    cursor: pointer;
}

.container button.hidden{
    background-color: transparent;
    border-color: #fff;
}

.container form{
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 20px;
    height: 75%;
}

.container input,
.container select {
background-color: #eee;
border: none;
margin: 5px 0 0 0;
padding: 8px 12px;
font-size: 12px;
border-radius: 8px;
width: 100%;
outline: none;
}
.container select {
cursor: pointer;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
background-color: #eee; /* grey background */
}

.form-container{
    position: absolute;
    top: 0;
    height: 100%;
    transition: all 0.6s ease-in-out;
}

.sign-in{
    left: 0;
    width: 100%;
    z-index: 2;
}

.container.active .sign-in{
    transform: translateX(200%);
}

.sign-up{
    left: 0;
    width: 100%;
    opacity: 0;
    z-index: 1;
    padding-top: 190px;
}

.container.active .sign-up{
    /* transform: translateX(-200%); */
    opacity: 1;
    z-index: 5;
    animation: move 0.6s;
}

@keyframes move{
    0%, 49.99%{
        opacity: 0;
        z-index: 1;
    }
    50%, 100%{
        opacity: 1;
        z-index: 5;
    }
}

.social-icons{
    margin: 20px 0;
}

.social-icons a{
    border: 1px solid #ccc;
    border-radius: 20%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin: 0 3px;
    width: 40px;
    height: 40px;
}

.toggle-container{
    position: absolute;
    top: 520px;
    left: 0%;
    width: 100%;
    height: 100px;
    overflow: hidden;
    transition: all 0.6s ease-in-out;
    /* border-radius: 150px 0 0 100px; */
    z-index: 1000;
}

.container.active .toggle-container{
    transform: translateY(-520px);
    /* border-radius: 0 150px 100px 0; */
}

@media (min-width: 1024px) {
    /* Desktop-specific styles go here */

    body{
        background-color: #f0f2f5;
        background: linear-gradient(to right, #e2e2e2, #c9d6ff);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        min-height: 100vh;
        padding: 15px 0;
    }

    h1{
        font-size: 32px!important;
    }

    .container{
        background-color: #fff;
        border-radius: 30px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.35);
        position: relative;
        overflow: hidden;
        width: 768px;
        max-width: 100%;
        min-height: 660px;
    }

    .container p{
        font-size: 14px;
        margin: 20px 0;
    }

    .container button{
        font-size: 10px;
        padding: 8px 35px;
        border-radius: 8px;
        cursor: pointer;
    }

    .container form{
        padding: 0 40px;
        height: 100%;
    }

    .container input,
    .container select {
    margin: 5px 0;
    padding: 8px 12px;
    font-size: 12px;
    border-radius: 8px;
    }

    .sign-in{
        width: 50%;
    }

    .sign-up{
        padding-top: 0px;
        left: 0;
        width: 50%;
        opacity: 0;
        z-index: 1;
    }

    .container.active .sign-up{
        transform: translateX(100%);
    }
    
    .toggle-container{
        top: 0;
        left: 50%;
        width: 50%;
        height: 100%;
        border-radius: 150px 0 0 100px;
    }

    .container.active .toggle-container{
        transform: translateX(-100%);
        border-radius: 0 150px 100px 0;
    }

}

.toggle{
    background-color: #285e74;
    height: 100%;
     background-color: #285e74;
    background-image: #285e74;
    color: #fff;
    position: relative;
    left: -100%;
    height: 100%;
    width: 200%;
    transform: translateX(0);
    transition: all 0.6s ease-in-out;
}

.container.active .toggle{
    transform: translateX(50%);
}

.toggle-panel{
    position: absolute;
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 30px;
    text-align: center;
    top: 0;
    transform: translateX(0);
    transition: all 0.6s ease-in-out;
}

.toggle-left{
    transform: translateX(-200%);
}

.container.active .toggle-left{
    transform: translateX(0);
}

.toggle-right{
    right: 0;
    transform: translateX(0);
}

.container.active .toggle-right{
    transform: translateX(200%);
}

#username{
    width: 300px;
}

.password-container {
    position: relative;
}

.password-container input {
    width: 300px;
    padding-right: 40px;
}

.password-container .eye-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}




