/* General Body Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

/* Navigation Bar Styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #333;
    padding: 10px 20px;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;
}

.navbar-logo img {
    height: 40px;
}

.navbar-menu ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.navbar-menu ul li {
    margin: 0 15px;
}

.navbar-menu ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}

.navbar-menu ul li a:hover {
    text-decoration: underline;
}

/* Bookmarks (Categories) */
.bookmarks {
    margin-top: 60px; /* Adjust for fixed navbar */
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    width: 80%;
    max-width: 90%;
}

.bookmark {
    color: #333;
    text-decoration: none;
    margin: 0 15px;
    font-size: 18px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.bookmark.active {
    color: #ffcc00;
    font-weight: bold;
}

.bookmark:hover {
    color: #ffcc00;
}

/* Slider */
.slider {
    position: relative;
    width: 80%;
    max-width: 90%;
    height: 70%;
    overflow: hidden;
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
}

.category {
    position: absolute;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
}

.category.active {
    display: flex;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    transition: transform 0.5s ease-in-out;
}

.slide.active {
    display: flex;
}

.slide img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 8px;
}

/* Page Turning Buttons */
.controls {
    display: flex;
    justify-content: center;
    width: 80%;
    max-width: 90%;
}

button {
    margin: 10px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    background-color: #333;
    color: white;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #555;
}