/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

:root {
  --header-bc-color: #D5F4E6;
  --form-bc-color: #F4E1D2;
  --section-bc-color: #FEFBD8;
  --card-bc-color: #B6CEC7;
  --border-color: #F58142;
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
    vertical-align: baseline;
    box-sizing: border-box;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* Header */
/*
.nav-bar {
    position: fixed;
    width: 100%;
    height: 100px;
    background-color: gray;
    display: flex;
    justify-content: flex-end;
    margin-top: -100px;
}

.nav-menu {
    list-style-type: none;
    display: flex;
    justify-content: space-around;
    width: 50%;
    align-items: center;
    color: white;
}

.nav-link {
    color: white;
    font-weight: bold;
    text-decoration: none;
}
*/

header{
    height: auto;
    background-color: var(--header-bc-color);
    padding-bottom: 50px;
}

/* New book form */

.create-button {
    text-align: center;
}

button#new-btn {
    font-size: 16px;
    margin: 20px;
    padding: 5px;
    transition: all .2s ease-in-out;
}

button#new-btn:hover { transform: scale(1.1); }

form {
  padding: 10px;
  text-align: center;
}

form:hover{
    transition: all .2s ease-in-out;
    transform: scale(1.05);
}

.input-form{
    display: none;
    margin: auto;
    width: 30%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

label {
    text-align: left;
}

.form-input {
    border-radius: 5px;
    height: 25px;
    width: 60%;
    padding: 5px;
    font-size: 1.2rem;
}

.form-radio {
    padding-left: 90px;
    font-size: 1.2rem;
}

.submit-button {
    padding: 10px 30px;
    font-size: 1rem;
    width: 200px;
    margin-bottom: 10px;
}

.form-visibility {
  display: block;
}

/* Book Section */

.book-pages {
    width: 100px;
}

#book-list {
    margin: auto;
    padding: 60px 230px;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    background-image: var(--section-bc-color);
}

.book-card {
    height: 450px;
    width: 350px;
    margin: 35px;
    padding: 30px;
    text-align: center;
    background-color: var(--card-bc-color);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.book-card:hover {
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}

.book-title{
    font-size: 18px;
    font-style: bold;
    font-weight: 400;
    word-spacing: 5px;
    font-family: 'Abril Fatface';
    text-transform: uppercase;
    margin-bottom: 10px;
}

.author-name {
    color: #aaa;
    font-style: italic;
    margin-bottom: 10px;
}

.description{
  margin: 20px 0;
}

.book-pages {
    margin-bottom: 10px;
    width: 50%;
}

.book-details {
    border-top: rgb(205, 206, 205) solid 1px;
    padding: 20px 0px;
    text-align: left;
}

.book-buttons {
    padding: 5px;
    font-size: 1rem;
    width: 99px;
    margin-right: 10px;
}

.btns{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
