:root {
    --bg-color: hsl(0, 0%, 15%);
    --text-color: hsl(0, 0%, 85%);
    --text-color-focus: white;
    --bg-contrast: hsl(0, 0%, 25%);
    --narbar-height: 84px;
}

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


.container {
    position: absolute;
    margin: 20px auto;
    width: 30%;
    height: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    border-radius: 8px;
    background-color: #FFF;
    display: flex;
    flex-direction: column;
}

#login, #register {
    cursor: pointer;
}

#login:hover, #register:hover {
    color: grey;
}

.title {
    margin-top: 20px;
    text-align: center;
    font-size: 2em;
    margin-bottom: 50px;
}

#register_form {
    display: none;
}

#login_form, #register_form {
    text-align: center;
}
.group {
    margin-bottom: 10px;
}

input[type=text], input[type=password] {
    text-align: center;
    background-color: #ECF0F1;
    border: 2px solid transparent;
    border-radius: 3px;
    font-size: 16px;
    font-weight: 200;
    padding: 10px 0;
    width: 250px;
    transition: border .5s;
}

input:focus {
    border: 2px solid #3498DB;
    box-shadow: none;
}

.btn {
    border: 2px solid transparent;
    background: #3498DB;
    color: #ffffff;
    font-size: 16px;
    line-height: 25px;
    padding: 10px 0;
    text-decoration: none;
    text-shadow: none;
    border-radius: 3px;
    box-shadow: none;
    transition: 0.25s;
    display: block;
    width: 250px;
    margin: 0 auto;
    cursor: pointer;
}

.btn:hover {
    background-color: #2980B9;
}

.popup {
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    border: 6px solid var(--bg-color);
    padding: 10px;
    color: red;
}