@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
* {
    box-sizing: border-box;
}

body {
    align-items: center;
    display: flex;
    justify-content: center;
    flex-direction: column;
    background-image: linear-gradient(to right,#003b2a, #005744db);
    font-family: 'Montserrat', sans-serif;
    min-height: 100%;
    margin: 2.5%;
}

.container{
    position: relative;
    width: 50vw;
    max-width: 100%;
    min-height: 600px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 
                0 10px 10px rgba(0,0,0,0.22);
    transition: all 0.3s ease;
}

.enlarged-container {
    position: relative;
    width: 50vw;
    max-width: 100%;
    min-height: 800px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 
                0 10px 10px rgba(0,0,0,0.22);
    transition: all 0.3s ease;
}

.sign-up, .sign-in{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    transition: all 0.6% 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;
}

h3{
    font-weight: bold;
    margin: 0;
}

p{
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: 0.5px;
    margin: 15px 0 20px;
}

.boxys{
    padding: 2%;
    transform: translateX(2%);
}

.checkbox {
    width: 15px !important;
    border-radius: 0.375rem;
    background-color: #1a202c;
    border-color: #d1d5db;
    color: #46e576;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.checkbox:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
    box-shadow: 0 0 0 2px rgba(99, 241, 217, 0.5);
}

.router {
    font-size: 0.875rem;
    color: #31363e;
    border-radius: 0.375rem;
}

.router:hover {
    color: #007548;
    text-decoration: underline;
}

.router:focus {
    text-decoration: underline;
    outline: none;
    box-shadow: 0 0 0 2px rgba(99, 241, 217, 0.5);
}

input{
    background-color: #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{
    color: #fff;
    background: #0d4b2c;
    font-size: 12px;
    font-weight: bold;
    padding: 12px 55px;
    margin: 20px;
    border-radius: 20px;
    border: 1px solid #179168;
    outline: none;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: transform 80ms ease-in;
    cursor: pointer;
}

button:active{
    transform: scale(0.9);
}

#signIn, #signUp{
    background-color: transparent;
    border: 2px solid #fff;
}

.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: #fff;
    background: #0e1b39;
    left: -100%;
    height: 100%;
    width: 200%;
    background: linear-gradient(to right, #003b2a, #005744db);
    transform: translateX(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 4rem;
    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{
    height: 40px;
    width: 40px;
    margin: 0 5px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 50%;
}

header li a {
    text-decoration: none;
    color: #000;
    padding: 0 1.5rem;
    text-transform: uppercase;
    font-weight: 300;
    font-size: 0.83rem;
}

header li {
    display: flex;
    list-style: none;
    align-items: center;
    text-decoration: none;
    z-index: 28;
}

.mt-2{
    transform: translate(-20px);
    font-size: 0.8rem !important;
    margin: 0 !important;
    padding: 0% !important;
}

@media(max-width: 1030px){
    .container{ 
        width: 95vw;
        height: 95vh;
    }

    .enlarged-container {
        position: relative;
        width: 95vw;
        height: 110vh;
        background: #fff;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 14px 28px rgba(0,0,0,0.25), 
                    0 10px 10px rgba(0,0,0,0.22);
        transition: all 0.3s ease;
    }
}

@media(max-width: 430px){   
    .social-container a{
        margin: 0;
    }
}

@media(max-width: 388px){
    .social-container a{
        height: 30px;
        width: 30px;
    }
}

@media(max-width: 346px){
    .social-container a{
        height: 20px;
        width: 20px;
    }
}

@media(max-width: 420px){
    input{
        width: 180% !important;
    }
}

@media(max-width: 508px){
    input{
        width: 140%;
    }
}

@media (max-width: 531px) {
    .ml-4{
        transform: translateY(-15px);
    }
}

@media (max-width:549px) {
    .ml-3{
        transform: translateY(-15px);
    }
}