@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

html, body {
    height: 100%;
}

:root {
    font-family: 'Montserrat';
    --red: #E83434;
    --secondary: #B2B2B2;
    font-size: 10px;
}

@media (prefers-color-scheme: light) {
    :root {
        --primary: #141414;
        --background: #ffffff;
    }
}

@media (prefers-color-scheme: dark) {
    :root {
        --primary: #ffffff;
        --background: #141414;
    }

    .appleIcon {
        content: url(../Resources/AppleIconWhite.svg);
    }
}

body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
}

#backdrop {
    width: 65%;
    height: 100%;
    background-image: url(../Resources/Aurora\ Background\ Image.svg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    background-repeat: no-repeat;
    background-size: cover;
    padding-left: 300px;
    background-position: left 50%;
}





#backdropContainer {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
}

#backdropHeader {
    font-size: 5rem;
    color: white;
    font-weight: 400;
}

#backdropDivider {
    width: 40%;
    border-bottom: 1px solid white;
    margin: 10px;
}

#backdropSubText {
    color: white;
    font-size: 1.5rem;
    width: 75%;
    font-weight: 300;
}

#userInterface {
    width: 35%;
    background-color: var(--background);
    padding-top: 50px;
    display: flex;
    justify-content: center;
    min-width: 600px;
}

#loginContainer {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: 80%;
}

.auroraLogo {
    width: 12rem;
    margin-bottom: 120px;
}

.title {
    font-size: 3.5rem;
    color: var(--primary);
    font-weight: 600;
    padding-bottom: 10px;
    border-bottom: var(--primary) 1px solid;
    width: 40%;
    margin-bottom: 5rem;
}

.inputWrapper {
    position: relative;
    margin-bottom: 2rem;
    width: 100%;
    height: 40px;
}

input {
    background: none;
    color: var(--primary);
}


.inputWrapper .inputHeader {
    position: absolute;
    top: -0.6rem;      
    left: 1rem;        
    background: var(--background);
    padding: 0 0.4rem; 
    font-size: 1rem;
    color: var(--primary);
}

.inputWrapper input {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--primary);
  border-radius: 0.5rem;
  font-size: 1rem;
  height: 100%;
}

.btnText {
    font-size: 2rem;
    margin-top: 4rem;
    color: var(--primary);
    margin-bottom: 4rem;
    cursor: pointer;
}

.dividerWrapper {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    margin-bottom: 4rem;
}

.divider {
    width: 40%;
    border-bottom: var(--primary) 1px solid;
}

.dividerHeader {
    color: var(--primary);
    font-size: 1rem;
    width: 20%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.servicesWrapper {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.serviceIcon {
    width: 30px;
    height: 30px;
    cursor: pointer;
}

@media (max-width: 1400px) {
    #backdrop {
        padding-left: 200px;
    }
}

@media (max-width: 1300px) {
    #backdrop {
        display: none;
    }

    body {
        justify-content: center;
    }
}

@media (max-width: 900px) {
    #userInterface {
        width: 100%;
        min-width: 0;
    }

    .container {
        width: 80%;
    }

    :root {
        font-size: 8px;
    }
}

.signUpLinkText {
    font-size: 1rem;
    color: var(--secondary);
    margin-top: auto;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    cursor: pointer;
}

.errorWrapper {
    padding: 5px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.altText {
    color: var(--secondary);
    font-size: 1.2rem;
    margin-left: auto;
    cursor: pointer;
}

.error#loginError {
    color: var(--red);
    font-size: 1.2rem;
    display: flex;
    width: fit-content;
    justify-content: center;
    align-items: center;
    display: none;
}

.errorIcon {
    color: var(--red);
    font-size: 1.2rem;
    margin-right: 0.5rem;
}