@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

body {
    font-family: "Roboto", sans-serif;
    background-color: #ececec;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

main > div {
    padding: 96px;
    text-align: center;
}

main > div, button, form {
    background-color: white;
    border-radius: 10px;
    border: none;
    margin: 16px;
    box-shadow: 0 0 10px #888;
    font-size: 24px;
}

button, form {
    padding: 10px;
}

form {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 75vw;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
    padding: 16px;
}

form input {
    border: none;
    background: #f1f1f1;
    outline: none;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 24px;
}

#create-book {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
}

#new-book-form {
    display: none;
    overflow: hidden;
}

form div {
    display: grid;
}

main > {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.container p {
    white-space: pre;
}