@import url('https://fonts.googleapis.com/css2?family=Karla:ital,wght@0,200;0,400;0,700;1,200;1,400;1,700&family=Spectral:ital,wght@0,200;0,400;0,700;1,200;1,400;1,700&display=swap'); $header-font: 'Karla', sans-serif; $body-font: 'Spectral', serif; .page.signup .header, .page.signin .header { height: auto; padding: 1.5rem 2.5rem; } .signup, .signin { line-height: 1.4; height: 100vh; a { text-decoration: underline; } &--tagline { padding: .75rem 2.5rem; font-size: 3rem; background: $dark-blue; color: $white; margin-bottom: 0; } &--page-title { padding: 2rem 2.5rem 1rem; font-size: 2.5rem; font-weight: 700; color: $dark-blue; background: $light-grey-blue; } &--page-title::after { content: '\01F680'; margin-left: .5rem; } &--page-title, &--header-title { text-transform: none; text-align: left; margin-bottom: 0; &::before { display: none; } } &--header-title { font-size: $big-font-size; font-weight: 400; } &--wrapper { display: flex; min-height: calc(100% - 295px); flex-direction: row; font-family: $header-font; @media #{$breakpoint-small-to-tablet} { flex-direction: column; } } &--section { flex: 1; width: 50%; padding: 1.5rem 2.5rem; @media #{$breakpoint-small-to-tablet} { width: 100%; } } &--section:first-child { background: $light-grey-blue; } &--social-buttons { margin-top: 2rem; } &--social-button { display: flex; align-items: center; padding: 15px 20px; width: 300px; background: $grey-blue; border: none; border-radius: 5px; margin-bottom: 20px; filter: drop-shadow(0 2px 1px #aaa); color: $dark-blue; font-size: $medium-font-size; font-weight: 700; text-decoration: none; text-align: left; text-transform: none; cursor: pointer; svg { fill: $dark-blue; margin-right: 15px; width: 30px; height: 30px; } } &--social-button:hover, &--social-button:focus, &--social-button:active { background: $dark-blue; color: white; svg { fill: white; } } &--social-button:focus { box-shadow: none; border: 2px solid white; outline: 2px solid $dark-blue; } .form { width: 100%; margin: 2rem 0 1rem; &--input-wrapper { position: relative; } input[type="email"], input[type="text"], input[type="password"] { background: white; border: solid 1px $dark-blue; padding: 5px; width: 100%; max-width: 525px; font-weight: 400; height: 45px; } label { position: absolute; top: 12px; left: 10px; color: #666; transition: .3s; z-index: 0; font-size: $small-font-size; } input:not(:placeholder-shown) + label { top: -10px; left: 5px; z-index: 999; padding: 0 5px; background: white; color: #666; } input:focus + label { top: -11px; left: 5px; z-index: 999; padding: 0 5px; background: white; color: $dark-blue; } ::placeholder { color: transparent; } input:focus { border: 2px solid $dark-blue; } button { font-size: $medium-font-size; text-transform: none; padding: .5rem 1.5rem; margin-bottom: .5rem; border-radius: .5rem; cursor: pointer; } &--input-description { font-size: $tiny-font-size; } } } .signin .form--input-wrapper { margin-top: 2rem; }