body {
    background:#C3EAB5;
    font-family: Ubuntu, sans-serif;
    background-repeat: no-repeat;
}

.login-container {
    width: 400px;
    height: 500px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    background-color: #fff;

    border-radius: 5px;
    box-shadow: 11px 11px 10px rgba(0, 0, 0, 0.3);
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
}

.login-container button {
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

input[type=email],
input[type=password] {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

button {
    background-color: #467E29;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #91E49C;
}

.back-button {
    background-color: gray;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    position: absolute;
    left: 10;
    top: 10;
}

.back-button:hover {
    background-color: darkslategray;
}

.error {
    background-color: #f8d7da; /* Redish background color */
    color: #721c24; /* Dark red text color */
    padding: 10px;
    margin-bottom: -15px;
    border: 1px solid #f5c6cb; /* Darker red border */
    border-radius: 4px;
}

.register-button {
    text-decoration: none; /* Remove underline */
    display: block; /* Make the link a block element to center the button */
    text-align: center; /* Center align the content */
}

.register-button-wrapper {
    text-decoration: none; /* Remove underline */
}

.register-button-wrapper button {
    width: 100%;
}


@media (max-width: 834px) {
    body.login-page {
      /* Redirect to home page */
      content: "Redirecting to home page...";
      display: none;
    }
    #dashboard-header nav ul li.login-nav {
        display: none;
    }
  }
