body {
    transition: background-color 0.5s, color 0.5s;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.light-mode {
    background-color: #9748e1;
    color: black;
}

.dark-mode {
    background-color: #1e1e1e;
    color: rgb(255, 255, 255);
}

.container {
    width: 290px;
    height: 410px;
    margin: 0 auto;
    margin-top: 12%;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: #FFFFFF;
}

.dark-mode .container {
    background-color: #333333;
}

input {
    width: 250px;
    height: 20px;
}

input, label {
    margin-left: 7%;
}

h1 {
    text-align: center;
}

.signup {
    display: flex;
    gap: 5px;
    margin-left: 35px;
}

.container input[type="text"],
.container input[type="password"] {
    border: none;
    border-bottom: 1px solid #ccc;
    outline: none;
}

.dark-mode .container input[type="text"],
.dark-mode .container input[type="password"] {
    border-bottom: 1px solid #888;
    background-color: #555;
    color: white;
}

#orlogin {
    text-align: center;
}

a {
    margin-right: 10px;
    font-size: 20px;
}

button {
    width: 250px;
    padding: 10px;
    font: 18px;
    margin-left: 20px;
    color: black;
    border: none;
    box-sizing: border-box;
    background: linear-gradient(to left, #FD4C00, #FFCC00);
    border-radius: 10px;
    cursor: pointer;
}

.dark-mode button {
    color: white;
    background: linear-gradient(to left, #333, #777);
}

.orlogin {
    color: #938989;
}

.dark-mode .orlogin {
    color: #bbbbbb;
}
.dark-mode #orlogin a:hover{
    color: aqua;
}

.dark-mode nav{
    background-color: #000;
}
.dark-mode nav #a{
    color: white;
    border-color: #ffffff;
}
.dark-mode nav .home{
    color:#000;
}
nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    gap: 0.5rem;
    border-bottom: solid 1px #aaa;
    background-color: #eee;
    margin-bottom: 0;
}

nav #a {
    display: inline-block;
    min-width: 9rem;
    padding: 0.5rem;
    border-radius: 0.2rem;
    border: solid 1px rgb(0, 0, 0);
    text-align: center;
    text-decoration: none;
    color: #1b1b1b;
}

.home {
    color: #000;
    background-color: #d4d4d4;
}
.dark-mode .home{
    
    background-color: none;
}
  