body {
    background-color: #faf8f5;
    margin: 20px;
    font-family: "Roboto";
    margin-bottom: 100px;
}
#toc {
    margin-top: 10px;
}
body.dark {
    background-color: rgba(10, 10, 10, 1);
    color: white;
}

#toc {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.book {
    width: 100%;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: space-between;
    /* padding: 8px 0; */
    height: 100px;
    /* gap: 10px; */
    /* border-top: 1px solid #ccc; */
    /* border-bottom: 1px solid #ccc; */

    /* box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 50px; */
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px,
        rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
    position: relative;
}

.book-cover {
    height: 100%;
    width: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.book-cover img {
    height: 100%;
    padding: 5px;
}

.book-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    justify-content: center;
    height: 100%;
}

.book-action {
    align-self: flex-start;
}

.delete {
    color: darkred;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0 5px;
    display: inline-block;
}

.delete:hover {
    background-color: lightgreen;
}

.title,
.author {
    color: black;
    font-weight: 400;
    font-size: 1.1rem;
    user-select: none;
}

.author {
    color: black;
    font-size: 1rem;
    font-style: italic;
    font-weight: 300;
}

#gg {
    height: 80px !important;
}
.g_id_signin {
    max-width: 300px;
    margin-left: auto;
}

#user-display {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

#avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
}

#user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 1.1rem;
}

#btnSignOut {
    font-size: 0.8rem;
    cursor: pointer;
    user-select: none;
}

#heading {
    display: flex;
    text-transform: uppercase;
    font-size: 1.2rem;
    margin-top: 20px;
    margin-bottom: 10px;
    flex-direction: row;
    justify-content: space-between;
}

#heading .sort {
    display: flex;
    flex-direction: row;
    gap: 30px;
    font-size: 1.5rem;
}

#heading .sort div {
    cursor: pointer;
}

#to-search {
    text-transform: uppercase;
    font-size: 1rem;
    display: inline-block;
    text-align: left;
    font-style: italic;
    cursor: pointer;
    user-select: none;
    color: blue;
}

.mes {
    font-size: 1.2rem;
    width: 100%;
    text-align: center;
    font-style: italic;
    cursor: pointer;
    user-select: none;
}

.language {
    color: red;
    padding-bottom: 10px !important;
    font-size: 0.8rem;
    vertical-align: top;
}

.language.english {
    color: blue;
}

.mark {
    /* background-color: red; */
    height: 20px;
    display: flex;
    justify-content: center;
    position: absolute;
    right: 5px;
    bottom: 5px;
    line-height: 100%;
    gap: 10px;
    font-style: italic;
    font-size: 0.9rem;
    align-items: center;
}

.totalTime {
    height: 3px;
    width: 50px;
    background-color: rgb(159, 159, 159);
    border-radius: 3px;
    position: relative;
    align-self: flex-end;
}

.totalTime .spentTime {
    height: 3px;
    width: 50%;
    background-color: rgba(178, 18, 236, 0.879);
}

.totalTime .textTime {
    position: absolute;
    width: 100%;
    text-align: center;
    top: -18px;
    font-size: 0.8rem;
}

.btn {
    background-color: #faf8f5;
    border: none;
    color: darkred;
    font-size: 1.2rem;
    cursor: pointer;
}

.btn:hover {
    background-color: lightgreen;
}

i.fa {
    font-size: 1.2rem;
}


#actionContainer {
    background-color: rgba(0, 100, 100, 1);
    color: white;
    z-index: 3;
    font-size: 1rem;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap-reverse;
    justify-content: space-evenly;
    align-items: flex-start;
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;
}

#actionContainer .btn {
    background-color: transparent;
    border: none;
    color: #faf8f5;
    padding: 8px 20px;
    font-size: 1.2rem;
    cursor: pointer;
}
#actionContainer .btn:hover {
    color: lightgreen;
}

#actionContainer i.fa {
    font-size: 1.2rem;
}

#tocPlaylists,
#tocBooks {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.book,
.playlist {
    width: 100%;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: space-between;
    height: 100px;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px,
        rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
    position: relative;
}

.book-cover,
.playlist-cover {
    height: 100%;
    width: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.book-cover img,
.playlist-cover img {
    height: 100%;
    padding: 5px;
}

.book-info,
.playlist-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    justify-content: center;
    height: 100%;
}

#actionContainer #btnHome {
    color: rgba(0, 100, 100, 1);
    background-color: white;
}


.btn.more {
    width: 100%;
    margin-top: 10px;
    padding: 5px 0;
}