@font-face {
    font-family: "Proza Libre";
    src: url('https://fonts.googleapis.com/css2?family=Proza+Libre:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500;1,600;1,700;1,800&display=swap');
}

* {
    margin: 0;
    padding: 0;
    font-family: "Proza Libre", sans-serif;
    font-size: 16px;
    box-sizing: border-box;
    overflow-wrap: break-word;
}

body {
    background-color: beige;
}

header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    background-color: #a0fa96;
}

header img {
    max-width: 512px;
    max-height: 128px;
    width: 100vw;
    height: auto;
}

h1 {
    margin: 25px;
    font-size: 36px;
}

h2 {
    text-align: center;
    align-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

h3 {
    text-align: center;
    align-content: center;
    font-size: 20px;
    margin-bottom: 20px;
}

nav {
    width: 100%;
}

nav {
    background-color: #a0fa96;
}

button,
nav .col {
    background-color: #15c402;
}

nav a {
    height: -webkit-fill-available;
    display: block;
    margin: 0;
    padding: 10px;
    text-decoration: none;
    text-align: center;
    align-content: center;
    font-weight: bold;
}

nav a,
button {
    color: white;
    text-shadow: 2px 2px 2px black;
}

nav .col:hover,
button:hover {
    background-color: #1bf502;
}

.form {
    display: flex;
    align-items: center;
    flex-direction: column;
    align-self: center;
    margin-bottom: 20px;
}

form label,
form legend,
form p label,
form p legend {
    display: flex;
    align-self: flex-start;
    font-weight: bold;
    width: fit-content;
}

form>* input,
form textarea,
form select,
form optgroup,
form p>input,
form p textarea,
form p select,
form p optgroup {
    width: 100%;
    margin-bottom: 20px;
    margin-top: 10px;
    padding: 5px;
    border-radius: 10px;
    border: 2px solid black;
}

.checkbox {
    margin-bottom: 20px;
    margin-top: 10px;
    display: flex;
    flex-direction: row;
}

.checkbox label {
    margin-right: 15px;
}

input[type=checkbox] {
    width: 15px;
    height: fit-content;
}

input[type=date] {
    max-width: 300px;
}

#reviewText {
    resize: none;
    width: 600px;
    max-width: 100vw;
    height: 100px;
}

.buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    min-width: 100px;
}

button {
    padding: 5px;
    border-radius: 5px;
    font-weight: bold;
    min-width: 40px;
}

main {
    margin-bottom: 20px;
}

body {
    min-height: 100vh;
    margin: 0;
    position: relative;
}

body::after {
    content: '';
    display: block;
    height: 50px;
}

footer {
    position: absolute;
    bottom: 0;
    height: 50px;
    width: 100%;
    text-align: center;
    align-content: center;
    background-color: grey;
    color: white;
}

#content {
    margin-bottom: 20px;
}

.libraryItems {
    width: fit-content;
    list-style: none;
    text-align: center;
}

.borrowItem p {
    width: fit-content;
    text-align: center;
    font-weight: bold;
}

.borrowItem {
    border: 3px solid gray;
    border-radius: 10px;
    background-color: aliceblue;
    padding: 20px;
    margin: 20px;
    flex: 1 0 25%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 250px;
    max-width: 480px;
}

.borrowItem button {
    align-self: center;
    width: 100px;
    height: 50px;
}

.borrows {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-around;
    align-self: center;
}

button:disabled,
input:disabled {
    background-color: #838583;
    color: #c5c7c5;
}

input:disabled::placeholder {
    color: #c5c7c5;
}

fieldset {
    display: flex;
    flex-direction: row;
    border-width: 0;
    margin-bottom: 20px;
    margin-top: 10px;
}

fieldset>input,
label {
    margin: 5px;
}

form input:focus,
form textarea:focus,
button:focus {
    border-color: #15c402;
    outline: none;
}

.errorMessage {
    width: 100%;
    background-color: #fadede;
    border: 1px solid #ff0303;
    border-radius: 10px;
    margin-bottom: 20px;
}

.errorMessage p {
    font-weight: bold;
    color: #ff0303;
    padding: 2px;
    text-align: center;
}

.deleteButton {
    background-color: #c72424;
    min-width: 40px;
}

.deleteButton:hover {
    background-color: #ff0303;
}

.deleteButton:focus {
    border-color: #ff0303;
    outline: none;
}

#verifyButton {
    width: fit-content;
    height: fit-content;
}

#verifyBorrowForm {
    max-width: 200px;
}