body {
    background-color: #f9f9f9;
}

a {
    text-decoration: none;
}

.navbar-color {
    background-color: #f9f9f9;
}

@keyframes grow {
    0% {
        transform: scale(1);
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -ms-transform: scale(1);
        -o-transform: scale(1);
    }
    100% {
        transform: scale(1.1);
        -webkit-transform: scale(1.1);
        -moz-transform: scale(1.1);
        -ms-transform: scale(1.1);
        -o-transform: scale(1.1);
    }
}

.grow {
    transition: transform 0.5s;
    -webkit-transition: transform 0.5s;
    -moz-transition: transform 0.5s;
    -ms-transition: transform 0.5s;
    -o-transition: transform 0.5s;
}

.grow:hover {
    animation: grow 0.5s forwards;
    -webkit-animation: grow 0.5s forwards;
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 250px;
    background-color: #f0f0f0;
    transition: width 0.3s ease-in-out;
    padding-top: 100px;
    z-index: 999;
    overflow-y: scroll;
  }
  
  .sidebar.collapsed {
    width: 70px;
  }
  
  .sidebar-content {
    overflow-x: hidden;
    transition: opacity 0.3s ease-in-out;
  }
  
  .sidebar.collapsed .sidebar-content {
    opacity: 0;
  }
  
  .toggle-button {
    position: relative;
    left: 10px;
    transform: translateY(-50%);
    background-color: #fff;
    color: #000;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  
  .sidebar-main {
    margin-left: 70px;
  }

  @keyframes chapterHover {
    0% {
        background-color: #fff;
    }
    100% {
        background-color: #f0f0f0;
    }
  }

  .chapter:hover {
    animation: chapterHover 0.5s forwards;
    -webkit-animation: chapterHover 0.5s forwards;
}