:root {
    --primary: #242424;
    --secondary: #e0e0e0;
    --highlight: #2b2bf4;
    --hover: rgba(0, 0, 0, 0.1);
    --secondaryHover: rgb(190, 190, 190);
    --background: rgba(255, 255, 255, 0.15);
}

/* LIGHT THEME + BLUE

:root {
    --primary: #242424;
    --secondary: #e0e0e0;
    --highlight: #2b2bf4;
    --hover: rgba(0, 0, 0, 0.1);
    --secondaryHover: rgb(190, 190, 190);
    --background: rgba(255, 255, 255, 0.15);
}

*/

/* DARK THEME + GREEN

:root {
    --primary: #eaeaea;
    --secondary: #00ff9d;
    --highlight: #00ff80;
    --hover: rgba(0, 0, 0, 0.1);
    --secondaryHover: rgb(44, 44, 44);
    --background: rgba(0, 0, 0, 0.68);
}

*/

/* LIGHT THEME + ORANGE

:root {
    --primary: #080a2a;
    --secondary: #212121;
    --highlight: #e82413;
    --hover: rgba(188, 188, 188, 0.73);
    --secondaryHover: #d0d0d0;
    --background: rgba(255, 255, 255, 0);
}

*/

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Ubuntu', sans-serif;
    color: var(--primary);
    background-color: var(--background);
    z-index: -2;
}

.center {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 100%;
    text-align: center;
}

::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--highlight);
}

::-webkit-scrollbar-track {
    background-color: var(--hover);
}

#title {
    font-size: 3em;
}

img {
    animation: rotation 13s infinite linear;
    width: 200px;
}

/* NAVIGATION!! */

.nav {}

.nav div {
    display: inline-block;
    padding: 10px 10px;
    font-size: 1.3em;
    font-weight: 500;
    position: relative;
    transition: 0.2s;
    cursor: pointer;
    margin: -2px;
}

.nav div:hover {
    background-color: var(--hover);
}

.nav div a {
    color: var(--primary);
    text-decoration: none;
}

.border {
    position: absolute;
    bottom: 0;
    left: 50%;
    background-color: var(--highlight);
    width: 0;
    height: 2px;
    transition: 0.2s;
}

.nav div:hover .border {
    width: 100%;
    left: 0;
}

/* RETURN!! */
.return a {
    text-decoration: none;
    color: var(--primary);
    border-bottom: 1px solid var(--secondary);
    padding: 15px;
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 10;
    transition: 0.2s;
}

.return a:hover {
    border-color: var(--highlight);
    color: var(--highlight);
}


/* LOGIN!! */

#login {
    display: grid;
    grid-column-gap: 0;
    grid-template-columns: 1fr 1fr;
    margin: 0;
    padding: 0;
}

#login .item {
    padding: 10px;
    padding-left: 25px;
}

#login .first {
    border-right: 4px solid var(--highlight);
    width: 200px;
}

#login .second {}

#login h2 {
    font-size: 1.7em;
    font-weight: 100;
}

#login h2 span {
    color: var(--highlight);
    display: block;
    font-weight: 600;
}

#login form div {
    position: relative;
    text-align: left;
    margin-bottom: 20px;
    width: 200px;
    height: 44px;
    line-height: 44px;
}

#login label {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 4px;
    width: 100%;
    color: var(--primary);
    transition: 0.2s;
    cursor: text;
}

#login input {
    width: 100%;
    border: 0;
    outline: 0;
    padding: 10px 4px;
    box-shadow: none;
    color: var(--primary);
    background: transparent;
    border-bottom: 2px solid var(--secondary);
    transition: 0.2s;
}

#login input:focus ~ label,
#login label.text {
    font-size: 14px;
    top: -27px;
    color: var(--highlight);
}

#login input:focus,
#login input.text {
    background-color: rgba(0, 0, 0, 0.05);
    border-color: var(--highlight);
}

#login form .border {
    left: 0 !important;
}

#login input[type=submit] {
    background-color: var(--secondaryHover);
    color: white;
    font-family: 'Ubuntu', sans-serif;
    font-size: 1em;
    color: var(--primary);
    cursor: pointer;
    transition: 0.2s;
    border-color: transparent;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    display: block;
}

#login input[type=submit]:hover {
    background-color: var(--highlight);
    color: var(--secondary)
}

/* INVESTMENTS */

#investment {
    display: grid;
    grid-row-gap: 0;
    position: relative;
    right: 50px;
}

#investment .title {
    color: var(--highlight);
    display: block;
    text-align: left;
    font-weight: 600;
}

#investment .sub {
    display: block;
    font-size: 0.95em;
    max-width: 300px;
    text-align: left;
}

#investment div {
    padding: 15px;
    font-size: 1.3em;
    font-weight: 500;
    position: relative;
    transition: 0.2s;
    cursor: pointer;
}

#investment div:hover {
    background-color: var(--hover);
}

#investment div a {
    color: var(--primary);
    text-decoration: none;
}

#investment div:hover .border {
    width: 100%;
    left: 0;
}

/* TERMS */

.terms {
    display: none;
}

.terms:hover {
    background-color: transparent !important;
    cursor: auto !important;
}

.terms .subtitle {
    padding-bottom: 15px;
    text-align: left;
    display: block;
}

.terms .sub {
    max-height: 400px;
    overflow-y: scroll;
    overflow-x: hidden;
    font-size: 0.8em;
}

.terms input[type=submit] {
    margin-top: 15px;
    font-size: 0.9em !important;
}

/* ROTATE IMAGE */

@keyframes rotation {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(359deg);
    }
}
