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


:root {


    --first-color: hsl(240, 90%, 55%);
    --second-color: hsl(247, 92%, 46%);
    --title-color: hsl(244, 12%, 12%);
    --text-color: hsl(244, 4%, 36%);
    --body-color: hsl(208, 97%, 85%);



    --body-font: "Poppins", sans-serif;
    --h2-font-size: 1.25rem;
    --small-font-size: .813rem;
    --smaller-font-size: .75rem;


    --font-medium: 500;
    --font-semi-bold: 600;
}


@media screen and (min-width: 1024px) {
    :root {
        height: 600px;
        overflow: hidden;
        --h2-font-size: 1.75rem;
        --normal-font-size: 1rem;
        --small-font-size: .875rem;
        --smaller-font-size: .813rem;
    }
}


* {

    padding: 0;
    margin: 0;
}

body {
    background-color: lightgray font-family;
    color: var(--text-color);
}

input,
button {
    font-family: var(--body-font);
    border: none;
    outline: none;
}

button {
    cursor: pointer;
}

img {
    max-width: 100%;
    height: auto;
}


.login__content,
.login__form,
.login__inputs {
    display: grid;
}

.login__content {

    height: 100%;
    align-items: center;
    justify-content: center;
}

.login__img {
    overflow: hidden;
    width: 100%;
    height: 620px;
    object-fit: cover;

}

.login__form {




    row-gap: 1.25rem;
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 1rem;
}

.login__title {
    color: var(--title-color);
    font-size: var(--h2-font-size);
    margin-bottom: 0.5rem;
}

.login__title span {
    color: var(--first-color);
}

.login__description {
    font-size: var(--small-font-size);
}

.login__inputs {
    row-gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.login__label {
    display: block;
    color: var(--title-color);
    font-size: var(--small-font-size);
    font-weight: var(--font-semi-bold);
    margin-bottom: 0.25rem;
}

.forget {
    text-align: end;
}

.login__input {
    width: 94%;
    padding: 14px 12px;
    border-radius: 6px;
    border: 1px solid var(--text-color);
    background-color: hsla(244, 16%, 92%, 0.6);
    color: var(--title-color);
    font-size: var(--smaller-font-size);
    font-weight: var(--font-medium);
    transition: border 0.4s;
}

.login__input::placeholder {
    color: var(--text-color);
}

.login__input:focus,
.login__input:valid {
    border: 2px solid #9C3DB3;
}

.login__box {
    position: relative;
}

.login__box .login__input {}

.login__eye {
    width: max-content;
    height: max-content;
    position: absolute;
    right: 0.75rem;
    top: 0;
    bottom: 0;
    margin: auto 0;
    font-size: 1.25rem;
    cursor: pointer;
}

.login__check-label {
    position: relative;
    display: flex;
    column-gap: 0.5rem;
    align-items: center;
    cursor: pointer;
    font-size: var(--small-font-size);
}

.login__check-icon {
    position: absolute;
    display: none;
    font-size: 16px;
}

.login__check-input {
    appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid var(--text-color);
    background-color: hsla(244, 16%, 92%, 0.2);
    border-radius: 0.25rem;
    cursor: pointer;
}

.login__check-input:checked {
    background: var(--first-color);
}

.login__check-input:checked+.login__check-icon {
    display: block;
    color: #fff;
}

.login__buttons {
    display: flex;
    column-gap: 0.75rem;
}

.login {
    display: flex;
    justify-content: flex-start;
}

.login__button {
    width: 100%;
    padding: 14px 2rem;
    border-radius: 36px;
    background: linear-gradient(180deg, var(--first-color), var(--second-color));
    color: #fff;
    font-size: var(--small-font-size);
    font-weight: var(--font-semi-bold);
    box-shadow: 0 6px 24px hsla(240, 1%, 70%, 0.5);
    margin-bottom: 1rem;
}

.login__button-ghost {
    background: hsla(244, 16%, 92%, 0.6);
    border: 2px solid var(--first-color);
    color: var(--first-color);
    box-shadow: none;
}

.login__forgot {
    font-size: var(--smaller-font-size);
    font-weight: var(--font-semi-bold);
    color: var(--first-color);
    text-decoration: none;
}



@media screen and (max-width: 360px) {
    .login__buttons {
        flex-direction: column;
    }


}


@media screen and (min-width: 576px) {
    .login__form {
        height: 85%;
        width: 450px;
        justify-self: center;
    }



}


@media screen and (min-width: 1064px) {
    .container {
        height: 100vh;
        display: grid;
        place-items: center;
    }



    .login__content {
        width: 1024px;
        height: 600px;
    }

    .login__img {

        box-shadow: 0 24px 48px hsla(244, 75%, 36%, 0.45);
    }

    .login__form {
        justify-self: flex-end;
        margin-right: 4.5rem;
    }
}

@media screen and (min-width: 1200px) {


    .login__content {
        height: 100%;
    }



    .login__form {


        row-gap: 2rem;
        padding: 3rem;
        border-radius: 1.25rem;

    }

    .login__description,
    .login__label,
    .login__button {
        font-size: var(--normal-font-size);
    }

    .login__inputs {
        row-gap: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .login__input {
        border: 2.5px solid var(--text-color);
        padding: 1rem;
        font-size: var(--small-font-size);
    }

    .login__input:focus,
    .login__input:valid {
        border: 2.5px solid var(--first-color);
    }

    .login__button {
        padding-block: 1rem;
        margin-bottom: 1.25rem;
    }

    .login__button-ghost {
        border: 2.5px solid var(--first-color);
    }
}

hr.divider {
    height: 1px;
    margin: 30px 0;
    padding: 0;
    overflow: visible;
    border: none;
    background-color: #e7e7e9;
    color: #6e6d7a;
    text-align: center;
}

.line-container {
    position: relative;
    width: 100%;
    height: 2px;
    background-color: black;

}

.line-container::before {
    content: 'or sign in with email';
    position: absolute;
    top: -9px;

    left: 50%;
    transform: translateX(-50%);
    font-size: 15px;

    color: black;
    background-color: white;

    padding: 0 5px;
}

.google {
    height: 44px;
    border-radius: 36px;
}