* {
    margin: 0;
    padding: 0;
}

body {
    font-family: sans-serif;
}

.clear {
    clear: both;
}

.main {
    width: 100%;
    height: 100vh;
    background-color: #2c3e50;
}

.navbar {
    display: flex;
    align-items: center;
    padding: 20px;
    padding-left: 50px;
    padding-right: 30px;
    padding-top: 50px;
}

nav {
    flex: 1;
    text-align: right;
}

nav ul {
    display: inline-block;
    list-style: none;
}

nav ul li {
    display: inline-block;
    margin-right: 70px;
}

nav ul li a {
    text-decoration: none;
    font-size: 20px;
    color: white;
    font-family: sans-serif;
}

nav ul li button {
    font-size: 20px;
    color: white;
    outline: none;
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: sans-serif;
}

nav ul li button:hover {
    color: aqua;
}

nav ul li a:hover {
    color: aqua;
}

a {
    text-decoration: none;
    color: palevioletred;
    font-size: 28px;
}

.card {
    width: 380px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.card-title {
    width: 100%;
}

.card-title h3 {
    color: #00ffc3;
    text-align: center;
    padding: 20px 0;
    font-weight: 500;
}

.card-title h3>span {
    color: #848484;
}

.card-body {
    background-color: #121212;
    padding: 10px 0px;
    border-radius: 5px;
    width: 450px;
    height: 770px;
    overflow: hidden;
}

.card-body-top {
    width: 100%;
    position: relative;
    border-bottom: 1px solid #262626;
}

.card-body-top>.btn {
    border: 0;
    background-color: transparent;
    color: #848484;
    font-size: 16px;
    letter-spacing: 1px;
    font-weight: 500;
    width: 180px;
    padding: 20px 0;
}

#login {
    color: #00ffc3;
}

#register {
    color: #848484;
}

#pointer-btn {
    position: absolute;
    bottom: -1px;
    left: 30px;
    width: 120px;
    height: 2px;
    background-color: #00ffc3;
    transition: 0.5s all ease;
}

.card-body-login {
    width: 100%;
    padding: 15px 20px;
    position: relative;
}

.card-body-login>#login-form {
    position: absolute;
    top: 30px;
    left: 25px;
    text-align: center;
    transition: 0.5s all ease;
}

.card-body-login>#register-form {
    position: absolute;
    top: 20px;
    left: 450px;
    text-align: center;
    transition: 0.5s all ease;
}

.input-form {
    border: none;
    background-color: transparent;
    color: #fff;
    border-bottom: 1px solid #00ffc3;
    width: 350px;
    padding: 15px 0px;
    font-size: 15px;
    letter-spacing: 1px;
    outline: none;
}

.submit-form {
    background-color: #00ffc3;
    color: #000;
    border: none;
    padding: 10px 25px;
    font-size: 15px;
    cursor: pointer;
    letter-spacing: 1px;
    border-radius: 50px;
}