@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body{
    background-color: #c9d6ff;
    background: linear-gradient(to right, #e2e2e2, #c9d6ff);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 100vh;
}

.container{
	background: #fff url("../img/1.svg") no-repeat;
	/* background: #fff url("../img/iStock-953443738.jpg") no-repeat; */
	/* background: #fff url("../img/background.jpeg") no-repeat; */
	background-position: left;
	background-size: contain;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.35);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    min-height: 100%;
}

.container p{
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.3px;
    margin: 20px 0;
}

.container span{
    font-size: 12px;
}

.container a{
    color: #333;
    font-size: 13px;
    text-decoration: none;
    margin: 15px 0 10px;
}

.container button{
    background-color: #094670;
    color: #fff;
    font-size: 12px;
    padding: 10px 45px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: 10px;
    cursor: pointer;
}

.container button.btn-hidden{
    background-color: transparent;
    border-color: #fff;
}

.container form{
	background-color: rgba(250, 250, 250, 0.8);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.35);
    border: 1px solid #ccc;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    margin-top: 50%;
    height: 40%;
    width: 90%;
}

.container input{
    background-color: #eee;
    border: none;
    margin: 8px 0;
    padding: 10px 15px;
    font-size: 13px;
    border-radius: 8px;
    width: 100%;
    outline: none;
}

.form-container{
    position: absolute;
    top: 0;
    color: #f1592a;
    height: 100%;
    transition: all 0.6s ease-in-out;
}

.container.active .sign-in{
    opacity: 1;
    transform: translateX(0);
}

.sign-in{
    left: 25%;
    width: 30%;
    opacity: 0;
    z-index: 2;
    justify-content: center;
	display: flex;
    transform: translateX(100%);
}

.container.active .sign-up{	
    left: 0;
    width: 50%;
    opacity: 0;
    z-index: 1;
    transform: translateX(0);
}

.sign-up{
	/* background: #488dbf url("../img/iStock-482487015.jpg") center no-repeat; */
	background-color: #488dbf;
	background-size: 80%;
    left: 40%;
    width: 30%;
    opacity: 1;
    z-index: 5;
    height: 100%;
    align-content: center;
	display: inherit;
    transform: translateX(100%);
    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: 0;
    left: 70%;
    width: 70%;
    height: 100%;
    overflow: hidden;
    transition: all 0.6s ease-in-out;
    transform: translateX(-100%);
    /* border-radius: 0 150px 100px 0; */
    z-index: 1000;
}

.container.active .toggle-container{
    left: 80%;
    width: 20%;
    transform: translateX(0);
    /* border-radius: 150px 0 0 100px; */
}

.toggle{
	background: #3a3a3a url("../img/2.svg") left no-repeat;
	/* background: url("../img/iStock-1566680995.jpg") left no-repeat; */
	/* background: url("../img/background.jpeg") left no-repeat; */
    height: 100%;
    color: #fff;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.35);
    left: -100%;
    height: 100%;
    width: 200%;
    transform: translateX(50%);
}

.container.active .toggle{
	left: 0;
    /* background: linear-gradient(0deg, #043873, #192039); */
    transform: translateX(0);
}

.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;
}

.container.active .toggle-left{
    transform: translateX(-200%);
}

.toggle-left{
    transform: translateX(0);
}

.container.active .toggle-right{
    transform: translateX(-100%);
}

.toggle-right{
    right: 0;
    transform: translateX(200%);
}

.bounce2 {
  animation: bounce2 2s ease infinite;
}
@keyframes bounce2 {
	0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
	40% {transform: translateY(-30px);}
	60% {transform: translateY(-15px);}
}

.logo{
    opacity: 1;
	position: fixed; 
	top: 30px; 
	left: 30px;
    transition: all 0.6s ease-in-out;
}

.container.active .in{
	/* left: 55%; */
    transition: all 0.6s ease-in-out;
}

.powerby{
	color: #f9f9fa;
	bottom: 20px;
	right: 30px;
	position: fixed;
	z-index: 99;
    transition: all 0.6s ease-in-out;
}

.container.active .powerby{
    right: 21%;
    transition: all 0.6s ease-in-out;
}

