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*/
}


@font-face {
    font-family: Virgo;
    src: url('fonts/virgo.ttf');
}


h1 {
    font-family: Virgo; 
    font-size: 35px;
}

h2,
h3,
p {
      font-family: Arial;
}

/*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: 850px;
    height: 1900px;
    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*/
    padding-right: 5px;
}

.book img {
    height: 150px;
    cursor: url('cursor-blue2.png'), pointer;
        border: 1px solid Black;
}

.book:hover {
    transform: rotate(4deg) scale(1.1);
    transition: 0.4s; /*makes the books move smoother when hovered on*/
}

.object {
  display: inline-block;
  padding-right: 5px;
}

.accent {
    background: ;
    color:white;
    padding: 8px;
    border: 5px dotted #26D8F7;
}

.sidebar {
    grid-area: sidebar;
    background: rgba(77, 31, 132, 0.7);
    border: 3px dotted #26D8F7;
    width: 400px;
    height: 500px;
    margin:16px 0;
    padding:16px;
    overflow-y: auto;
    position: fixed;
    left: 1100px;
}


/*----------------- BUTTON CSS -----------------*/
            .btn {
  --border-color: linear-gradient(-45deg, #e600ff, #7e03aa, #0099ff);
  --border-width: 0.125em;
  --curve-size: 0.5em;
  --blur: 30px;
  --bg: #080312;
  --color: #afffff;
  color: var(--color);
  cursor: url('cursor-blue2.png'), pointer;;
  /* use position: relative; so that BG is only for .btn */
  position: relative;
  isolation: isolate;
  display: inline-grid;
  place-content: center;
  padding: 0.5em 1.5em;
  font-size: 15px;
  border: 0;
  text-transform: uppercase;
  box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.6);
  clip-path: polygon(
    /* Top-left */ 0% var(--curve-size),
    var(--curve-size) 0,
    /* top-right */ 100% 0,
    100% calc(100% - var(--curve-size)),
    /* bottom-right 1 */ calc(100% - var(--curve-size)) 100%,
    /* bottom-right 2 */ 0 100%
  );
  transition: color 250ms;
}

.btn::after,
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
}

.btn::before {
  background: var(--border-color);
  background-size: 300% 300%;
  animation: move-bg7234 5s ease infinite;
  z-index: -2;
}

@keyframes move-bg7234 {
  0% {
    background-position: 31% 0%;
  }

  50% {
    background-position: 70% 100%;
  }

  100% {
    background-position: 31% 0%;
  }
}

.btn::after {
  background: var(--bg);
  z-index: -1;
  clip-path: polygon(
    /* Top-left */ var(--border-width)
      calc(var(--curve-size) + var(--border-width) * 0.5),
    calc(var(--curve-size) + var(--border-width) * 0.5) var(--border-width),
    /* top-right */ calc(100% - var(--border-width)) var(--border-width),
    calc(100% - var(--border-width))
      calc(100% - calc(var(--curve-size) + var(--border-width) * 0.5)),
    /* bottom-right 1 */
      calc(100% - calc(var(--curve-size) + var(--border-width) * 0.5))
      calc(100% - var(--border-width)),
    /* bottom-right 2 */ var(--border-width) calc(100% - var(--border-width))
  );
  transition: clip-path 500ms;
}

.btn:where(:hover, :focus)::after {
  clip-path: polygon(
    /* Top-left */ calc(100% - var(--border-width))
      calc(100% - calc(var(--curve-size) + var(--border-width) * 0.5)),
    calc(100% - var(--border-width)) var(--border-width),
    /* top-right */ calc(100% - var(--border-width)) var(--border-width),
    calc(100% - var(--border-width))
      calc(100% - calc(var(--curve-size) + var(--border-width) * 0.5)),
    /* bottom-right 1 */
      calc(100% - calc(var(--curve-size) + var(--border-width) * 0.5))
      calc(100% - var(--border-width)),
    /* bottom-right 2 */
      calc(100% - calc(var(--curve-size) + var(--border-width) * 0.5))
      calc(100% - var(--border-width))
  );
  transition: 200ms;
}

.btn:where(:hover, :focus) {
  color: #fff;
}
/*----------------- END BUTTON CSS -----------------*/




            /* navigation section!! */
            #navbar {
                height: 40px;
                background-color: #4D1F84;
                background-color: rgba(77, 31, 132, 0.0);
                /* navbar color */
                width: 950px;
                margin: auto;
            }

            #navbar ul {
                display: flex;
                padding: 0;
                margin: 0;
                list-style-type: none;
                justify-content: space-evenly;
            }

            #navbar li {
                padding-top: 10px;
            }

            /* navigation links*/
            #navbar li a {
                color: #CF4F7E;
                /* navbar text color */
                font-weight: 800;
                text-decoration: none;
                /* this removes the underline */
            }

            /* navigation link when a link is hovered over */
            #navbar li a:hover {
                color: #93DD2C;
                text-decoration: underline;
            }
