﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.form-container {
    position: relative;
    width: 70vw;
    height: 80vh;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.3), 0 6px 20px 0 rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

    .form-container::before {
        content: "";
        position: absolute;
        top: 0;
        left: -50%;
        width: 100%;
        height: 100%;
        /*background: linear-gradient(-45deg, #df4adf, #520852);*/
        background: #ff4266;
        z-index: 6;
        transform: translateX(100%);
        transition: 1s ease-in-out;
    }

.signin-signup {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 5;
}

form {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 40%;
    min-width: 238px;
    padding: 0 10px;
}

    form.sign-in-form {
        opacity: 1;
        transition: 0.5s ease-in-out;
        transition-delay: 1s;
    }

    form.sign-up-form {
        opacity: 0;
        transition: 0.5s ease-in-out;
        transition-delay: 1s;
    }

.title {
    font-size: 35px;
    color: #ff4266;
    margin-bottom: 10px;
}

.input-field {
    width: 100%;
    height: 50px;
    background: #f0f0f0;
    margin: 10px 0;
    /*border: 2px solid #ff4266;*/
    border-radius: 15px;
    display: flex;
    align-items: center;
}

    .input-field i {
        flex: 1;
        text-align: center;
        color: #666;
        font-size: 18px;
    }

    .input-field input {
        flex: 5;
        background: none;
        border: none;
        outline: none;
        width: 100%;
       /* font-size: 18px;*/
        font-weight: 600;
        color: #444;
    }

::placeholder {
    color: #BEBEBE;
    opacity: 1; /* Firefox */
}

.btn {
    width: 150px;
    height: 50px;
    border: none;
    border-radius: 50px;
    background: #ff4266;
    color: #fff;
    font-weight: 600;
    margin: 10px 0;
    text-transform: uppercase;
    cursor: pointer;
}

.register-btn {
    width: 150px;
    height: 50px;
    border: 2px solid #fff;
    border-radius: 50px;
    background: #fff;
    color: #ff4266;
    font-weight: 600;
    margin: 10px 0;
    text-transform: uppercase;
    cursor: pointer;
}

.btn:hover {
    background: #ff4266;
}

.social-text {
    margin: 10px 0;
    font-size: 16px;
}

.social-media {
    display: flex;
    justify-content: center;
}

.social-icon {
    height: 45px;
    width: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #444;
    border: 1px solid #444;
    border-radius: 50px;
    margin: 0 5px;
}

a {
    text-decoration: none;
}

.social-icon:hover {
    color: #df4adf;
    border-color: #df4adf;
}

.panels-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    width: 35%;
    min-width: 238px;
    padding: 0 10px;
    text-align: center;
    z-index: 6;
}

.left-panel {
    pointer-events: none;
}

.content {
    color: #fff;
    transition: 1.1s ease-in-out;
    transition-delay: 0.5s;
}

.panel h3 {
    font-size: 24px;
    font-weight: 600;
}

.panel p {
    font-size: 15px;
    padding: 10px 0;
}

.image {
    width: 100%;
    transition: 1.1s ease-in-out;
    transition-delay: 0.4s;
}

.left-panel .image,
.left-panel .content {
    transform: translateX(-200%);
}

.right-panel .image,
.right-panel .content {
    transform: translateX(0);
}

.account-text {
    display: none;
}


.form-container.sign-up-mode::before {
    transform: translateX(0);
}

.form-container.sign-up-mode .right-panel .image,
.form-container.sign-up-mode .right-panel .content {
    transform: translateX(200%);
}

.form-container.sign-up-mode .left-panel .image,
.form-container.sign-up-mode .left-panel .content {
    transform: translateX(0);
}

.form-container.sign-up-mode form.sign-in-form {
    opacity: 0;
}

.form-container.sign-up-mode form.sign-up-form {
    opacity: 1;
}

.form-container.sign-up-mode .right-panel {
    pointer-events: none;
}

.form-container.sign-up-mode .left-panel {
    pointer-events: all;
}


@media (max-width:779px) {
    .form-container {
        width: 100vw;
        height: 100vh;
    }
}

@media (max-width:635px) {
    .form-container::before {
        display: none;
    }

    form {
        width: 80%;
    }

        form.sign-up-form {
            display: none;
        }

    .form-container.sign-up-mode2 form.sign-up-form {
        display: flex;
        opacity: 1;
    }

    .form-container.sign-up-mode2 form.sign-in-form {
        display: none;
    }

    .panels-container {
        display: none;
    }

    .account-text {
        display: initial;
        margin-top: 30px;
    }
}

@media (max-width:320px) {
    form {
        width: 90%;
    }
}
/*form {
    background-color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 50px;
    height: 100%;
    text-align: center;
}*/

/*input {
    background-color: #eee;
    border: none;
    padding: 12px 15px;
    margin: 8px 0;
    width: 100%;
}*/

.menu-gray-600 .menu-item .menu-link {
    color: var(--bs-gray-600);
}
.menu-group {
    display: flex
}

.menu, .menu-wrapper {
    display: flex;
    padding: 0;
    margin: 0;
    list-style: none;
    flex-direction: row;
}

.menu-inner {
    padding: 0;
    margin: 0;
    list-style: none
}

.menu-sub {
    display: none;
    padding: 0;
    margin: 0;
    list-style: none;
    flex-direction: column
}

.menu-item {
    display: block;
    padding: .15rem 0
}

    .menu-item .menu-link {
        cursor: pointer;
        display: flex;
        align-items: center;
        padding: 0;
        flex: 0 0 100%;
        padding: .65rem 1rem;
        transition: none;
        outline: 0 !important;
    }

.flex-root {
    flex: 1
}

.flex-column-auto {
    flex: none
}

.flex-column-fluid {
    flex: 1 0 auto
}

.flex-row-auto {
    flex: 0 0 auto
}

.flex-row-fluid {
    flex: 1 auto;
    min-width: 0
}

.flex-center {
    justify-content: center;
    align-items: center
}

.flex-start {
    justify-content: start;
    align-items: start
}

.flex-end {
    justify-content: flex-end;
    align-items: flex-end
}

.flex-stack {
    justify-content: space-between;
    align-items: center
}
