@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');


/* variables */
:root
{
    --theme-color: #6D32A4;
    --link_hover: #8e63b7;
    --button_color: #AE41B2;
    --title_font-size: 3rem
}


html
{
    font-size: 62.5%;
}


*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body
{
    font-family: "Lato", sans-serif;
}

.main{
    height: 100vh;
    margin: 0;
    padding: 0;
    font-family: "Lato", sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.login-page
{
    min-width: 60%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: #6D32A4 solid;
    border-radius: 20px;
    height: 90%;
}

.login-image
{
    width: 50%;
    border-radius: 30px;
    height: 100%;
}

.login-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 20px;
}

.login-content
{
    width: 50%;
    height: 100%;
    padding: 0 6rem;
    font-family: "Poppins", sans-serif;
}

.login-header
{
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 2rem;
    margin-top: 6rem;
    margin-bottom: 8rem;
}

.login-header h1
{
    font-size: 3rem;
    font-weight: 600;
}

.login-header p
{
    font-size: 1.4rem;
    opacity: 60%;
}

.credentials
{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3rem;

}

.credentials label
{
    font-size: 1.5rem;
}

.username input
{
    width: 80%;
    height: 3.5rem;
    border-radius: 10px;
    border: 1.5px solid;
    padding-left: 0.6rem;
    font-size: 1.7rem;
    outline: none;
}



.username
{
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.saves
{
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    padding-right: 8rem;
    font-size: 1.1rem;
}

.saves a
{
    text-decoration: none;
    color: black;
}

.saves a:hover
{
    color: var(--link_hover);
    text-decoration: underline;
}

input[type="checkbox"] {
  vertical-align: middle;
}

.register
{
    font-size: 1.2rem;
    margin-top: 6rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.register a
{
    text-decoration: none;
    color: black;
}

.register a:hover
{
    color: var(--link_hover);
    text-decoration: underline;
}

.button-div
{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 3rem;
}


.button-div button
{
    background-color: var(--button_color);
    color: white;
    font-size: 1.6rem;
    padding: 0.8rem 2.5rem;
    border-radius: 5px;
    border: none;
    outline: none;
    transition: 0.4s ease;
}

.button-div button:hover
{
    background-color: #6d32a4;
    cursor: pointer;
}

@media screen and (max-width:820px)
{
    .login-image
    {
        display: none;
    }

    .login-content
    {
        width: 100%;
        padding: 0 2rem;
    }

    .login-page
    {
        width: 80%;
    }

    .username input
    {
        width: 90%;
    }

    .saves
    {
        padding-right: 2rem;
    }

    .login-page
    {
        border: none;
    }
}

@media screen and (max-width:420px)
{
    .login-header p
    {
        font-size: 1rem;
    }
    
    .login-page
    {
        width: 100%;
    }
    .saves
    {
        padding-right: 0rem;
    }
}