:root {
    --primary-color: #0d294c;
    --secondary-color: #0d294c;
    --black: #000000;
    --white: #ffffff;
    --gray: #efefef;
    --gray-2: #757575;

    --facebook-color: #4267B2;
    --google-color: #DB4437;
    --twitter-color: #1DA1F2;
    --insta-color: #E1306C;
}

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

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

html,
body {
    height: auto;
    min-height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
}

.container {
    position: relative;
    min-height: 100vh;
    overflow: visible;
    max-width: 100% !important;
}

.row {
    display: flex;
    flex-wrap: wrap;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
}

.col {
    width: 100%;
    padding: 3rem;
    position: relative;
    z-index: 7;
}

.align-items-center {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.form-wrapper {
    width: 100%;
    max-width: 28rem;
}

.form {
    padding: 2rem;
    background: transparent;
    border-radius: 1.5rem;
    width: 100%;
    border: none;
    transform: scale(0);
    transition: .5s ease-in-out;
    transition-delay: 0.3s;
}

.input-group {
    position: relative;
    width: 100%;
    margin: 1rem 0;
}

.input-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 10px;
    border-top-right-radius: 10px !important;
    border-bottom-right-radius: 10px !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
    outline: none;
    color: #ffffff;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.2);
}

.input-group input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.input-group input:focus {
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(35px);
    -webkit-backdrop-filter: blur(35px);
}

.form button {
    cursor: pointer;
    width: 100%;
    padding: .5rem 0;
    border-radius: .5rem;
    border: none;
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 1.2rem;
    outline: none;
}

.form p {
    margin: 1rem 0;
    font-size: 15px;
}

.flex-col {
    flex-direction: column;
}

.social-list {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #ffffff3b;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 1.5rem;
    width: 100%;
    border: none;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    transform: scale(0);
    transition: .5s ease-in-out;
    transition-delay: 1.2s;
}

.social-list>div {
    color: var(--white);
    margin: 0 .5rem;
    padding: .7rem;
    cursor: pointer;
    border-radius: .5rem;
    cursor: pointer;
    transform: scale(0);
    transition: .5s ease-in-out;
}

.social-list>div:nth-child(1) {
    transition-delay: 1.4s;
}

.social-list>div:nth-child(2) {
    transition-delay: 1.6s;
}

.social-list>div:nth-child(3) {
    transition-delay: 1.8s;
}

.social-list>div:nth-child(4) {
    transition-delay: 2s;
}

.social-list>div>i {
    font-size: 1.5rem;
    transition: .4s ease-in-out;
}

.social-list>div:hover i {
    transform: scale(1.5);
}

.facebook-bg {
    background-color: var(--facebook-color);
}

.google-bg {
    background-color: var(--google-color);
}

.twitter-bg {
    background-color: var(--twitter-color);
}

.insta-bg {
    background-color: var(--insta-color);
}

.pointer {
    cursor: pointer;
}

.col.sign-up {
    display: none;
}

.col.sign-in {
    display: flex;
}

.container.sign-up .col.sign-up {
    display: flex;
}

.container.sign-up .col.sign-in {
    display: none;
}

.container.sign-in .form.sign-in,
.container.sign-in .social-list.sign-in,
.container.sign-in .social-list.sign-in>div,
.container.sign-up .form.sign-up,
.container.sign-up .social-list.sign-up,
.container.sign-up .social-list.sign-up>div {
    transform: scale(1);
}

.content-row {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 6;
    width: 100%;
}

.text {
    margin: 4rem;
    color: var(--white);
}

.text h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 2rem 0;
    transition: 1s ease-in-out;
}

.text p {
    font-weight: 600;
    transition: 1s ease-in-out;
    transition-delay: .2s;
}

.img img {
    width: 30vw;
    transition: 1s ease-in-out;
    transition-delay: .4s;
}

.text.sign-in h2,
.text.sign-in p,
.img.sign-in img {
    transform: translateX(-250%);
}

.text.sign-up h2,
.text.sign-up p,
.img.sign-up img {
    transform: translateX(250%);
}

.container.sign-in .text.sign-in h2,
.container.sign-in .text.sign-in p,
.container.sign-in .img.sign-in img,
.container.sign-up .text.sign-up h2,
.container.sign-up .text.sign-up p,
.container.sign-up .img.sign-up img {
    transform: translateX(0);
}

/* BACKGROUND */

.container::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    height: 100vh;
    width: 100vw;
    transform: none;
    display: none; /* Disabled - Using page-specific backgrounds */
    z-index: 1;
}

.container.sign-in::before {
    transform: none;
}

.container.sign-up::before {
    transform: none;
}

span {
    color: #333;
}

.pointer {
    color: #B31942;
    cursor: pointer;
}
/* RESPONSIVE */

/* Laptop and Desktop screens */
@media (min-width: 1025px) {
    html, body {
        height: auto;
        min-height: 100vh;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .container {
        height: auto;
        min-height: 100vh;
        overflow: visible;
    }

    .row {
        height: auto;
        min-height: 100vh;
        padding: 40px 20px;
    }

    .col {
        width: 50%;
        padding: 3rem;
    }

    .form-wrapper {
        max-width: 500px;
    }

    .form {
        padding: 2.5rem 2rem;
    }
}

/* iPad and Tablet screens */
@media (min-width: 768px) and (max-width: 1024px) {
    html, body {
        height: 100vh;
        overflow: hidden;
    }

    .container {
        height: 100vh;
        overflow: hidden;
    }

    .row {
        height: 100vh;
    }

    .col {
        width: 100%;
        padding: 2rem;
    }

    .form-wrapper {
        max-width: 550px;
    }

    .form {
        padding: 2.5rem 2rem;
    }

    .text {
        margin: 3rem;
    }

    .text h2 {
        font-size: 2.8rem;
        margin: 1.5rem 0;
    }

    .img img {
        width: 25vw;
    }

    .logo-container img {
        max-width: 200px !important;
    }
}

@media (orientation: portrait) {
    .container::before {
        width: calc(100vw + 20px);
        height: calc(100vh + 20px);
        top: -10px;
        right: -10px;
        transform: none;
        right: 0;
        top: 0;
        border-radius: 0;
    }
}

@media only screen and (max-width: 636px) {

    .container::before,
    .container.sign-in::before,
    .container.sign-up::before {
        display: none;
    }

    html, body {
        height: auto;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .container {
        height: auto;
        overflow-y: auto;
        overflow-x: hidden;
        padding: 0;
    }

    .row {
        height: auto;
        min-height: 100vh;
        padding: 20px 0;
    }

    .container.sign-in .col.sign-in,
    .container.sign-up .col.sign-up {
        transform: translateY(0);
        position: relative;
    }

    .content-row {
        align-items: flex-start !important;
    }

    .content-row .col {
        transform: translateY(0);
        background-color: unset;
    }

    .col {
        width: 100%;
        position: relative;
        padding: 1rem;
        background-color: transparent;
        transform: translateY(0);
    }

    .col.sign-in,
    .col.sign-up {
        position: relative !important;
    }

    .row {
        align-items: center;
        justify-content: center;
    }

    .form-wrapper {
        max-width: 100%;
        padding: 0 10px;
    }

    .form {
        margin: 0 !important;
        padding: 20px !important;
    }

    .social-list {
        box-shadow: none;
        margin: 0;
        padding: 0;
    }

    .text {
        margin: 0;
    }

    .text p {
        display: none;
    }

    .text h2 {
        margin: .5rem;
        font-size: 2rem;
    }

    /* Auth page specific mobile fixes */
    .logo-container img {
        max-width: 140px !important;
    }

    h1 {
        font-size: 1.8rem !important;
    }

    h2 {
        font-size: 1.5rem !important;
    }

    .input-group input {
        font-size: 14px !important;
    }

    button {
        font-size: 14px !important;
        padding: 12px 20px !important;
    }
}