@font-face {
  font-family: gotisch;
  src: url(DSWeiss-Gotisch.ttf);
}

@font-face {
  font-family: melancholy;
  src: url(Melancholy-PersonalUse.otf);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: url("images/piranesi.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    margin: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color:aliceblue;
    overflow: hidden;
    margin-top: 30px;
}

.center {
    width: 75vw;
    height: 85vh;
    padding: 20px;
    background-color:#0f0f0f;
    opacity: 90%;
    overflow-x: hidden;
    overflow-y: auto;
}

.text {
    background-color: #0f0f0f;
    width: 75vw;
    padding: 10px;
    text-align: center;
    color: #adcaff;
    font-family: gotisch;
    font-size: 2em;
    margin-top: 0px;
}

.books {
    width: 50vw;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    outline: #6e7eaa 1px solid;
    background-image: url(images/starry.png);
    padding-left: 25px;
}

.book-container {
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cover-img {
    max-width: 210px;
    max-height: 350px;
}

a {
    text-decoration: none;
    color: antiquewhite;
}

.back {
    position: absolute;
    left: 148px;
    top: 100px;
    background: #4b67b6;
    padding: 20px;
}

hr {
    border-color: #6e7eaa;
}

.book-data-container {
    width: 800px;
    height: 600px;
    position: fixed;
    left: 50%;
    top: 50%;
    margin-top: -300px;
    margin-left: -400px;
    background-color: #0f0f0f;
    outline: #6e7eaa 2px solid;
    display: flex;
}

.data-container {
    width: 400px;
}

.review {
    width: 400px;
    padding-left: 40px;
    padding-top: 15px;
    overflow-x: hidden;
    overflow-y: auto;
}

.review-img {
    width: 250px;
    display: block;
    margin: auto;
    padding-top: 30px;
}

.data div {
    padding-left: 20px;
}

.title {
    color: #adcaff;
    font-size: large;
    padding-top: 20px;
    padding-left: 20px;
}

.book-data-container-hidden {
    display: none;
}

.close {
    position: absolute;
    left: 20px;
    bottom: 20px;
}

.close:hover {
    color: rgb(144, 203, 238);
}

.left-side {
    background-color: #0f0f0f;
    width: 200px;
    top: 100px;
    left: 25vw;
    margin-left: -225px;
    text-align: center;
    position: fixed;
}

.left-side p {
    margin-bottom: 5px;
    margin-top: 5px;
}

#book-gif {
    width: 150px;
}

#flower-right {
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    position: absolute;
    top: 30px;
    right: 250px;
    width: 55px;
  
}

#flower-left {
    position: absolute;
    top: 30px;
    left: 250px;
    width: 55px;
}

.footer {
    background-color: #0f0f0f;
    width: 75vw;
    height: 20px;
}