html, body {
    min-height: 100vh;
    width: 100%;
    margin: 0;
    padding: 0;
}

h1 {
    height: 40px;
    width: 100%;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
    margin: 0 auto;
    font-size: 2.5rem;
}

.training-input {
    width: 250px;
    height: 50px;
}

.green {
    background-color: green;
}

.blue {
    background-color: blue;
}

.square {
    content: "&nbsp;";
    display: inline-block;
    height: 25px;
    width: 25px;
}

.generator-form {
    display: flex;
    flex-wrap: wrap;
    width: 800px;
    margin: 0 auto;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.table-grid {
    display: grid;
    grid-template-columns: repeat(4, 400px);
    grid-template-rows: repeat(3, 1fr);
    justify-content: space-evenly;
    grid-gap: 40px;
    width: 100%;
    height: auto;
    margin: 0 auto 50px auto;
}

table,
td,
th {
    border: 2px solid black;
}

table {
    height: 100%;
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    text-align: center;
    font-weight: bold;
}

.testButtons {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    margin: 0 auto;
    margin-top: 50px;
    width: 200px;
}

.break {
    flex-basis: 100%;
    height: 0;
}

#help-text {
    margin: 0 auto;
    width: 800px;
    padding: 40px;
}

.table-grid-item {
    display: grid;
    grid-template-rows: repeat(8, 1fr);
    grid-template-columns: repeat(7, 1fr);
    width: 400px;
    height: 400px;
    text-align: center;
    font-weight: bold;
}

.table-grid-item > * {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid black;
}

.month-header {
    grid-column: 1/-1;
    font-size: 1.5rem;
}

.dow-header {
    font-size: 1.5rem;
    background-color: lightgray;
}

#login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0 auto;
    margin-top: 100px;
    width: 300px;

    button {
        width: 60px;
        margin: 0 auto;
        margin-top: 30px;
    }
}

header {
    background-color: rgba(0, 0, 0, 80%);
    color: white;
    height: 60px;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    padding: 10px;
    box-sizing: border-box;

    ul {
        list-style: none;
        display: flex;
        flex-direction: row;
        justify-content: space-evenly;
        gap: 20px;
        padding: 0 20px;

        a {
            text-decoration: none;
            color: white;
            padding: 5px;
            border-radius: 5px;
        }

        a:hover {
            background-color: rgba(0, 0, 0, 30%);
        }
    }
}

.spacer {
    flex-grow: 1;
}

.error-text {
    color: red;
    text-align: center;
    margin: 0 auto;
    max-width: 600px;
    padding: 20px;
}