
body {
    font-family: sans-serif;
    margin: 0;
    background-color: #a8201a; /* Red background */
    color: white;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensure full viewport height */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.logo {
    font-weight: bold;
    font-size: 1.2em;
}

.nav-links {
    display: flex;
    gap: 20px;
}
.nav-links a{
    text-decoration: none;
    color: white;
}

.auth-buttons {
    display: flex;
    gap: 10px; /* Reduced gap here */
}

.auth-button, .start-creating-button {
    background-color: white;
    color: black;
    padding: 8px 16px; /* Slightly reduced padding */
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: small;
    white-space: nowrap; /* Prevent button text from wrapping */
}

.start-creating-button{
    font-size: medium;
    padding: 10px 20px;
}
main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    flex-grow: 1;
}

h1 {
    font-size: 3em;
    margin-bottom: 0.5em;
}

p {
    font-size: 1.5em;
    margin-bottom: 2em;
}
.main-start-button{
    font-size: larger;
    padding: 15px 30px;
}
@media (max-width: 768px) {
    .auth-buttons {
        flex-direction: column;
        align-items: flex-end;
        gap: 5px;
    }
    .auth-button, .start-creating-button{
        width: 100%;
        text-align: center;
    }
}

.login-container, .signup-container {  /* styles for the login page */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 80px); /* Adjust 80px if your nav height changes*/
    width: 100%;
}

.login-content, .signup-content {
    background-color: white;
    color: black;
    padding: 20px;
    border-radius: 5px;
    width: 300px; /* or any width you prefer */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

form {
    display: flex;
    flex-direction: column;
}

form label {
    margin-bottom: 5px;
}

form input {
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #ddd;
    transition: border 0.3s ease;
}

form input:focus {
    border: 1px solid #a8201a; /* Red border on focus */
}

.password-container {
    position: relative;
}

.password-container button {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
}

button[type="submit"] {
    padding: 12px;
    background-color: #a8201a;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #d1382b;
}

#login-error, #signup-error {
    color: red;
    font-size: 0.9em;
    margin-top: 10px;
}

/* Button state changes on hover */
button[type="submit"]:active {
    transform: scale(0.98);
}

body {
    font-family: sans-serif;
    background-color: #a8201a;
    color: white;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.logo {
    font-weight: bold;
    font-size: 1.2em;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.profile-info {
    background-color: white;
    color: black;
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    margin: 50px auto;
    text-align: center;
}
  
