/*Set general margin and paddings and set the body*/
* {
    margin: 0;
    padding: 0;
}

body {
    background-color: white;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 100%;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/*Banner*/
nav {
    width: 40%;
    float: left;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: right;
}

#logo {
    height: 120px;
}

nav a {
    background-color: #d9d9d9;
    padding: 10px;
    border-radius: 10px;
    margin-left: 10px;
    color: black;
    text-decoration: none;
}

header {
    background-color: #432818;
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/*Main body of the website*/


/*Book roulette*/
#recommended-books {
    padding: 30px;
    display: grid;
}

.h2-title {
    justify-self: center;
}

#book-display {
    justify-items: center;
}

#book-title {
    font-size: x-large;
    text-align: center;
    font-weight: bold;
}

#synopsis {
    width: 40%;
}

.fade {
    opacity: 1;
    transition: opacity 0.8s;
}

.fade.out {
    opacity: 0;
}

/*The 'introduction' to the library*/
#intro {
    padding: 50px 50px;
    text-align: center;
    background-color: #5e4c2d;
    color: white;
    margin:auto;
}

#intro h2 {
    padding-bottom: 25px;
}

#news-title {
    top: 20px;
}

/*Bottom of the page*/
footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #432818;
    color: white;
}

footer div {
    margin: 0;
}

footer h4 {
    margin: 0 0 5px 0;
}

footer a {
    color: silver;
    text-decoration: none;
}

/* 
6F1D1B 
BB9457
432818
99582A
FFE6A7
*/