/* styles.css */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

header, footer {
    background-color: #0056b3;
    color: white;
    text-align: center;
    padding: 20px 0;
}

header h1, footer p {
    margin: 0;
}

header button, main button {
    background-color: #ffffff;
    color: #0056b3;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s;
    border-radius: 5px;
}

header button:hover, main button:hover {
    background-color: #e0e0e0;
}

main {
    display: flex;
    justify-content: space-around;
    padding: 20px;
}

#projectCreation, #projectList {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 1600px;
    margin: 0 auto;
}

#projectCreation h2, #projectListn h2 {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
}

.form-group input[type="date"] {
    width: calc(50% - 10px); /* Adjust width to fit two date inputs side by side */
    margin-right: 10px;
}

.form-group textarea {
    resize: vertical;
    height: 100px;
}

#tasksContainer {
    margin-top: 20px;
}

#tasksContainer h3 {
    margin-bottom: 10px;
}

#tasksContainer button {
    background-color: #0056b3;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s;
    border-radius: 5px;
}

#tasksContainer button:hover {
    background-color: #004494;
}

#tasksList {
    margin-top: 10px;
}

#tasksList div {
    background-color: #f0f0f0;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 4px;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
}

#tasksList div input, #tasksList div select {
    width: calc(20% - 10px);
    flex: 1;
    min-width: 150px;
}

#tasksList div button {
    background-color: #ff4d4d;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 0.9em;
    transition: background-color 0.3s;
    border-radius: 5px;
}

#tasksList div button:hover {
    background-color: #cc0000;
}

#projectList ul {
    list-style-type: none;
    padding: 0;
}

#projectList li {
    background-color: #f0f0f0;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#projectList li:hover {
    background-color: #e0e0e0;
}

footer {
    position: relative;
    width: 100%;
    bottom: 0;
}