:root {
    --primary-color: rgb(81, 81, 208);
    --primary-hover-color: rgb(74, 74, 155);
    --white-color: white;
    --border-color: gray;
    --shadow-color: rgba(81, 81, 208, 0.2);
    --google-color: #4285f4;
    --apple-color: #202124;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.parent-login {
    display: flex;
    justify-content: space-between;
    height: 100%;
}

.form {
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    position: relative;
    left: 12%;
    gap: 1.5rem;
}

.form h1 {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    position: relative;
    top: -1rem;
    font-size: 3rem;
}

.form-1 {
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    gap: 1.5rem;
    width: 120%;
}

.form-1 label {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    position: relative;
    top: 0.7rem;
    left: 0.5rem;
}

.form-1 input {
    border-radius: 15px;
    padding: 10px;
    border: 1px solid var(--border-color);
}

.big-image img {
    width: 43rem;
    height: auto;
    display: block;
    border-top-left-radius: 33px;
    border-bottom-left-radius: 33px;
}

.terms input {
    position: relative;
    top: 0.8rem;
}

.signup {
    border: 0;
    color: var(--white-color);
    font: inherit;
    text-align: center;
    padding: 1rem;
    border-radius: 30px;
    background-color: var(--primary-color);
    position: relative;
    top: 2rem;
}

.signup a {
    text-decoration: none;
    color: var(--white-color);
}

.signup a {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.signup:hover {
    background-color: var(--primary-hover-color);
    cursor: pointer;
    transform: translateY(-3px);
    box-shadow: 0 8px 18px var(--shadow-color);
    transition: 0.2s;
}

.center {
    text-align: center;
    position: relative;
    top: 3rem;
}

.signin {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    position: relative;
    top: 4rem;
}

.ques {
    position: relative;
    top: 6rem;
    display: flex;
    left: 30%;
    gap: 0.5rem;
}

.ques p {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.ques a {
    color: var(--primary-hover-color);
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.or {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.google,
.apple {
    display: flex;
    border-radius: 10px;
    width: 90%;
    border: 1px solid var(--border-color);
    gap: 1rem;
}

.google:hover,
.apple:hover {
    color: var(--white-color);
    cursor: pointer;
    transform: translateY(-3px);
    box-shadow: 0 8px 18px var(--shadow-color);
    transition: 0.2s;
}

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

.apple:hover {
    background-color: var(--apple-color);
    border-color: var(--apple-color);
}

.apple:hover img {
    filter: brightness(0) invert(1);
}

.google p,
.apple p {
    position: relative;
    top: 0.4rem;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.google img,
.apple img {
    width: 30px;
    position: relative;
    left: 0.5rem;
}

/* Tablet Responsiveness: 769px to 972px */
@media (min-width: 769px) and (max-width: 972px) {
    .parent-login {
        flex-direction: row;
        height: 100vh;
        min-height: auto;
        align-items: stretch;
    }

    .form {
        width: 45%;
        left: 0;
        padding: 20px;
        gap: 0.8rem;
        justify-content: center;
    }

    .form h1 {
        font-size: 1.6rem;
        top: 0;
    }

    .form-1 {
        width: 100%;
        gap: 0.8rem;
    }

    .form-1 label {
        font-size: 12px;
        top: 0.4rem;
    }

    .form-1 input {
        border-radius: 10px;
        padding: 8px;
        font-size: 12px;
    }

    .terms {
        font-size: 11px;
        position: relative;
        bottom: 0;
    }

    .signup {
        width: 100%;
        top: 0;
        padding: 0.8rem;
        font-size: 12px;
        margin-bottom: 0.5rem;
    }

    .center {
        text-align: center;
        position: relative;
        top: 0;
    }

    .or {
        margin-bottom: 0.5rem;
    }

    .or p {
        font-size: 12px;
        margin: 0.5rem 0;
    }

    .signin {
        flex-direction: column;
        gap: 0.6rem;
        position: relative;
        top: 0;
        left: 0;
    }

    .google,
    .apple {
        width: 100%;
        border-radius: 8px;
        gap: 0.8rem;
        min-height: 40px;
        align-items: center;
    }

    .google img,
    .apple img {
        width: 24px;
        left: 0.4rem;
    }

    .google p,
    .apple p {
        font-size: 12px;
        top: 0;
        margin: 0;
    }

    .ques {
        position: relative;
        top: 0;
        left: 0;
        display: flex;
        gap: 0.3rem;
        justify-content: center;
        margin-top: 0.8rem;
    }

    .ques p {
        font-size: 11px;
    }

    .ques a {
        font-size: 11px;
    }

    .big-image {
        width: 55%;
        height: auto;
    }

    .big-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
        border-radius: 0;
    }
}

@media (max-width: 768px) {
    .parent-login {
        flex-direction: column;
        min-height: 100vh;
        height: auto;
    }

    .form {
        width: 100%;
        padding: 2rem 1.25rem 3rem;
        left: 0;
        gap: 1rem;
    }

    .form h1 {
        top: 0;
        font-size: 2.25rem;
        text-align: center;
    }

    .form-1 {
        width: 100%;
        gap: 1rem;
    }

    .terms {
        position: relative;
        bottom: 0.5rem;
    }

    .or {
        margin-bottom: 1rem;
    }

    .signup {
        width: 100%;
        top: 0;
    }

    .center {
        top: 0;
        width: 100%;
    }

    .signin {
        flex-direction: column;
        gap: 1rem;
        top: 0;
    }

    .google,
    .apple {
        width: 100%;
        min-height: 50px;
        align-items: center;
    }

    .google p,
    .apple p {
        top: 0;
        margin: 0;
    }

    .ques {
        justify-content: center;
        left: 0;
        top: 2rem;
        position: relative;
    }

    .big-image {
        width: 100%;
    }

    .big-image img {
        display: none;
        width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 0;
    }
}

/* =========================================
   SIGN UP - 973px to 1241px
   Fix Terms + Have an account
   ========================================= */

@media (min-width: 973px) and (max-width: 1241px) {

    .parent-login {
        width: 100%;
        min-height: 100vh;
        height: 100vh;
        display: flex;
        flex-direction: row;
        align-items: stretch;
        overflow: hidden;
    }

    /* ================= FORM ================= */

    .form {
        width: 50%;
        height: 100%;
        left: 0;
        padding: 30px 45px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 1rem;
        flex-shrink: 0;
    }

    .form h1 {
        font-size: 2.2rem;
        top: 0;
        margin: 0 0 10px 0;
    }

    .form-1 {
        width: 100%;
        gap: 1rem;
    }

    .form-1 label {
        font-size: 14px;
        top: 0;
        left: 0;
    }

    .form-1 input {
        width: 100%;
        padding: 10px;
        border-radius: 10px;
        font-size: 14px;
    }

    /* ================= TERMS ================= */

    .terms {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 7px;
        margin: 0;
        padding: 0;
        position: static;
        font-size: 12px;
    }

    .terms input {
        position: static;
        margin: 0;
        width: 14px;
        height: 14px;
        flex-shrink: 0;
    }

    .terms label {
        margin: 0;
        padding: 0;
        position: static;
        font-size: 12px;
        line-height: 1.4;
    }

    /* ================= SIGN UP BUTTON ================= */

    .signup {
        width: 100%;
        top: 0;
        padding: 12px;
        font-size: 14px;
        margin: 0;
    }

    /* ================= OR ================= */

    .center {
        width: 100%;
        top: 0;
        margin: 0;
        text-align: center;
    }

    .or {
        font-size: 14px;
    }

    /* ================= GOOGLE / APPLE ================= */

    .signin {
        width: 100%;
        display: flex;
        gap: 10px;
        top: 0;
        margin: 0;
    }

    .google,
    .apple {
        width: 50%;
        min-height: 45px;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .google img,
    .apple img {
        width: 22px;
        left: 0;
    }

    .google p,
    .apple p {
        font-size: 12px;
        top: 0;
        margin: 0;
    }

    /* ================= HAVE AN ACCOUNT ================= */

    .ques {
        width: 100%;
        position: static;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 5px;
        margin: 5px 0 0 0;
        padding: 0;
    }

    .ques p,
    .ques a {
        font-size: 12px;
        margin: 0;
    }

    /* ================= IMAGE ================= */

    .big-image {
        width: 50%;
        height: 100%;
        flex-shrink: 0;
        overflow: hidden;
    }

    .big-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        border-radius: 0;
    }
}