@import url('https://fonts.googleapis.com/css?family=Raleway|Roboto:400,700');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0;
    transition: all 100ms ease;
    outline: 0;
}

html, body {
    height: 100%;
    width: 100%;
}

body {
    background: linear-gradient(305.42deg, #BB6BD9 0%, rgba(86, 204, 242, 0.5) 100%);
    // Gradient fallback for unsupported browsers background-color: #BB6BD9;
    // Horizontal and vertical centering display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-family: Cambria, Cochin, Georgia, Times, Times New Roman, serif;
}

button, input {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    color: #323232;
}

button {
    padding: 10px 15px;
    border-radius: 3px;
    cursor: pointer;
    svg

{
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

}

.user-access {
    // Flexbox fallback for unsupported browsers // position: absolute;
    // top: 50%;
    // left: 50%;
    // margin-left: -250px;
    // margin-top: -325px;
    height: 560px;
    width: 450px;
    position: relative;
    overflow: hidden;
    background-color: #FFFFFF;
    border-radius: 5px;
    transition: all 300ms ease-in-out;
    animation: appear 1s ease-in 0s;
}

.user-access--new-height {
    height: 470px;
}

.user-access__nav {
    font-size: 0;
}

.nav__signUp, .nav__logIn {
    width: 50%;
    display: inline-block;
    padding: 14px;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    border-radius: initial;
    text-transform: uppercase;
}

    .nav__signUp:hover, .nav__signUp:focus, .nav__logIn:hover, .nav__logIn:focus, {
        background-color: #3251FF;
        color: #FFFFFF;
        box-shadow: none;
    }

.nav__logIn--inactive-shadow {
    box-shadow: inset 1px 0 3px gray;
}

.nav__signUp--inactive-shadow {
    box-shadow: inset -1px 0 3px gray;
}

.nav--active {
    background-color: #FFFFFF;
    color: #323232;
    box-shadow: none;
}

.nav--inactive {
    background-color: #C0C0C0;
    color: #4D4D4D;
}

.title {
    font-family: 'Raleway', sans-serif;
    font-size: 35px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 20px;
    color: #323232;
    transition: all 300ms ease;
}

a:hover, a:focus, a:active {
    background-color: #3251FF;
    color: #FFFFFF;
}

.user-access__sign-up-view, .user-access__log-in-view {
    position: absolute;
    width: 100%;
    height: auto;
    padding: 20px;
}

.user-access--active {
    z-index: 1;
    opacity: 1;
    visibility: visible;
}

.user-access--inactive {
    z-index: -1;
    opacity: 0;
    visibility: hidden;
}

.form__group {
    overflow: auto;
    margin-bottom: 10px;
}

.form__label {
    font-size: 12px;
    margin-left: 5px;
    color: #323232;
}

.access__form {
    padding: 0 5px;
}

.form__input {
    height: 40px;
    width: 100%;
    margin-top: 5px;
    padding: 10px;
    border: 1px solid #737373;
    border-radius: 5px;
    background-color: #FFFFFF;
    box-shadow: inset 0 2px 5px #BDBDBD;
}

    .form__input:focus {
        border: 3px solid #3251FF;
    }

.form__half {
    width: 48%;
}

.form_half--left {
    float: left;
}

.form_half--right {
    float: right;
}

.clearfix:after {
    content: "";
    display: table;
    clear: both;
}

.signUp__disclaimer {
    text-align: center;
    padding-top: 10px;
    margin-bottom: 20px;
}

.disclaimer__text {
    margin-bottom: 20px;
    font-size: 14px;
}

.forgetful {
    margin-top: 20px;
    font-size: 14px;
}

.footer {
    text-align: center;
    border-top: 1px solid #737373;
    padding: 20px 0;
    display: flex;
    flex-flow: row;
    justify-content: space-evenly;
}

.btn--primary {
    //background: linear-gradient(180deg, #0099ff 0%, #3251FF 100%);
    // Gradient fallback for unsupported browsers background-color: #3251FF;
    color: #FFFFFF;
    text-transform: uppercase;
    padding: 10px 30px;
}

.btn--secondary {
    background-color: #FFFFFF;
    border: 1px solid #737373;
    font-size: 14px;
    color: #4D4D4D;
}

    .btn--primary:focus, .btn--primary:hover, .btn--secondary:focus, .btn--secondary:hover {
        box-shadow: 0px 3px 5px #C0C0C0;
    }

.btn--primary:active {
    box-shadow: inset 0 2px 5px #0020C1;
}

.btn--secondary:active {
    border-color: #C0C0C0;
    box-shadow: none;
    color: #4D4D4D;
    box-shadow: inset 0 2px 5px #C0C0C0;
}

.btn__content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn__text {
    line-height: 21px;
}

@media (max-width: 480px) {
    body {
        display: initial;
        background: #FFF;
    }

    .user-access {
        width: 100%;
        height: 100%;
        overflow: initial;
    }
}

@media (max-width: 440px) {
    .title {
        font-size: 25px;
    }

    .form__half {
        width: 100%;
    }

    .footer {
        flex-flow: column;
    }

        .footer .btn {
            margin-bottom: 20px;
        }
}

@keyframes appear {
    1% {
        transform: translateY(30px);
        opacity: 0;
    }

    25% {
        transform: translateY(-15px);
    }

    65% {
        transform: translateY(10px);
        opacity: 1;
    }

    80% {
        transform: translateY(-5px);
    }

    100% {
        transform: translateY(0);
    }
}