* {
    box-sizing: border-box
}

html,
body {
    margin: 0;
    padding: 0
}

.book {
    width: 100vw;
    max-width: 100%;
    overflow: hidden
}

.book-section {
    width: 100%;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.book-top {
    position: relative;
    height: 30vh;
    min-height: 220px;
    background-image: url('./images/top.png');
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 10%;
    padding-top:10%;
}

.comment-form {
    max-width: 600px;
    width: 100%;
}

.comment-form label {
    display: block;
    margin-bottom: 0.75rem;
}

.comment-form input[type='text'],
.comment-form textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid black;
    background: rgba(255, 255, 255, 0.9)
}

.book-middle {
    background-image: url('./images/middle.png');
    background-repeat: repeat-y;
    background-size: 100% auto;
    padding: 2rem 10vw;
}

.comments-wrap {
    max-width: 700px;
    margin: 0;
    transform: translateX(100%);

}

.comment {
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.comment-meta {
    font-size: 0.8rem;
    color: #555;
    margin-bottom: 0.25rem;
}

.comment-text {
    width: 66%;
    margin: 0 auto;
    padding: 1rem
}

.book-bottom {
    height: 30vh;
    min-height: 220px;
    background-image: url('./images/bottom.png')
}

.msg {
    max-width: 600px;
    margin: 0.5rem auto;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    background: rgba(255, 255, 0, 0.4);
}

.msg.error {
    background: rgba(255, 0, 0, 0.2);
}

.msg.success {
    background: rgba(0, 255, 0, 0.2);
}