:root {
    --bg-color: #eee;

    /* Theme Colors */
    --color-primary: #006aa7;
    --color-primary-light: #5298d9;
    --color-primary-dark: #004078;

    --color-text-on-primary: #fff;

    --color-secondary: #ffeb3b;
    --color-secondary-light: #ffff72;
    --color-secondary-dark: #c8b900;

    --color-text-on-secondary: #000;
}

@media only screen and (min-device-width: 768px) {
    html {
        font-size: 10px;
    }

    .loginAndRegister {
        width: 44%;
        margin-top: 10rem;
    }
}

body {
    background-color: var(--bg-color);
}

.loginAndRegister {
    border-radius: .2rem;
    background-color: var(--color-text-on-primary);
    
    -webkit-box-shadow: .6rem .6rem 1.6rem .2rem rgba(0,0,0,0.59);
    -moz-box-shadow: .6rem .6rem 1.6rem .2rem rgba(0,0,0,0.59);
    box-shadow: .6rem .6rem 1.6rem .2rem rgba(0,0,0,0.59);

    height: 40.0rem;
    margin-left: auto;
    margin-right: auto;
}

.loginAndRegister img {
    width: 5.0rem;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    display: block;
    margin-top: 2.0rem;
}

.tab {
    overflow: hidden;
    background-color: var(--color-primary);
}

/* Style the buttons that are used to open the tab content */
.tab button {
    width: 50%;
    background-color: inherit;
    color: var(--color-text-on-primary);
    font-size: 1.8rem;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 1.8rem 1.6rem;
    font-size: 1.8rem;
    transition: 0.3s;
}

#register_tab {
    -webkit-box-shadow: inset 6px 0px 5px -2px rgba(0,0,0,0.48);
    -moz-box-shadow: inset 6px 0px 5px -2px rgba(0,0,0,0.48);
    box-shadow: inset 6px 0px 5px -2px rgba(0,0,0,0.48);
}

#register_tab.active {
    -webkit-box-shadow: -6px 0px 5px -2px rgba(0,0,0,0.48);
    -moz-box-shadow: -6px 0px 5px -2px rgba(0,0,0,0.48);
    box-shadow: -6px 0px 5px -2px rgba(0,0,0,0.48);
}

/* Change background color of buttons on hover */
.tab button:hover {
    background-color: var(--color-primary-dark);
}

/* Create an active/current tablink class */
.tab button.active {
    background-color: var(--color-primary-light);
}

/* Style the tab content */
.tabcontent {
    margin-left: auto;
    margin-right: auto;
    display: none;
    padding: .6rem 1.2rem;
}

.tabcontent form {
    width: 22.5rem;
    margin-left: auto;
    margin-right: auto;
}

.tabcontent h2 {
    text-align: center;
}

#login {
    display: block;
}

.group {
    position: relative;
    margin: 3.5rem .0rem;
}

.btn {
    margin-left: 4rem;
    font-size: 1.4rem;
    background-color: var(--color-primary);
    color: var(--color-text-on-primary);
    border: none;
    padding: 1.0rem 2.0rem;
    border-radius: .2rem;
    width: 15.5rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    outline: none;
    box-shadow: 0 .1rem .3rem rgba(0, 0, 0, 0.12), 0 .1rem .2rem rgba(0, 0, 0, 0.24);
    transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
}

.btn:hover {
    background-color: var(--color-primary-dark);
    box-shadow: 0 .7rem 1.4rem rgba(0, 0, 0, 0.18), 0 .5rem .5rem rgba(0, 0, 0, 0.12);
}
