/* Stylesheet for the application */

html * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    padding:8px;
    min-height: 600px;
}

header {
    margin-bottom: 40px;
}

header a {
    display: flex;
    flex-direction: column;
    align-items: center;
}

header a img {
    width: 70%;
}

h1 {
    color: #369;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 3rem;
}

/* General form styles */

.generic-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn {
    padding: 10px;
    font-size: 1.2rem;
    border-radius: 5px;
}

.btn-ok {
    background-color: darkgreen;
    color: white;
}

.btn-ok:hover {
    background-color: lightgreen;
    color: white;
}

.btn-danger {
    background-color: red;
    color: white;
}

.btn-danger:hover {
    background-color:hotpink;
    color: white;
}

.generic-form input[type=text], .generic-form input[type=password] {
    padding: 10px;
    font-size: 1.2rem;
}

.input-large {
    width: 300px;
}

.error {
    border: 1px solid red;
    padding: 10px;
    color: red;
    max-width: 400px;
}

/* *********** Index styles ****** */


/* *********** Task styles ******* */

.task-table {
    border-collapse: collapse;
    font-size: 1.2rem;
    margin-top: 20px;
    margin-bottom: 20px;
    min-width: 400px;
}

.task-table td, .task-table th {
    border: 1px solid #ddd;
    padding: 10px;
}

.task-table tr:nth-child(even) {
    background-color: silver;
}
