body {
  cursor: url('cursor-purple2.png'), default;
}
a {
  cursor: url('cursor-blue2.png'), pointer;
}

html {
    background: url('purplegalaxy-tile.png');
    overflow-y:auto
}

a {
    color:white;
    transition:0.4s; /*makes the link change smoother when hovered on*/
}

a:hover {
    color:limegreen;
    transition:0.4s; /*makes the link change smoother when hovered on*/
}

/*research CSS grids for info on display:grid*/
.container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 4px;
    grid-template-areas: "bookshelf sidebar";
    color: white;
    margin-left: 150px;
}

.bookshelf {
    grid-area: bookshelf;
    background-image: url('books/wood.jpg');
    border: 4px solid #240a01;
    width: 600px;
    height: 1300px;
    padding: 16px;
    margin: 16px;
    overflow-y: auto;
}

.shelf {
    background-color: rgba(54, 15, 2, 0.7);
    border: 4px solid #240a01;
    margin: 24px 0;
    padding-top: 16px;
}

.book {
    display: inline-block; /*IMPORTANT! makes the books appear next to eachother rather than stacked*/
}

.book img {
    height: 240px;
    cursor: url('cursor-blue2.png'), pointer;
}

.book:hover {
    transform: rotate(4deg) scale(1.1);
    transition: 0.4s; /*makes the books move smoother when hovered on*/
}

.accent {
    background: #eaddca;
    color:black;
    padding: 8px;
}

.sidebar {
    grid-area: sidebar;
    background: rgba(77, 31, 132, 0.7);
    border: 3px dotted #26D8F7;
    width: 400px;
    height: 700px;
    margin:16px 0;
    padding:16px;
    overflow-y: auto;
    position: fixed;
    left: 850px;
}

