*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    font-family: 'Poppins';
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}
canvas {
    display: block;
    margin: 0 auto; /* Center the canvas within the div */
}

/* Disable text selection and right-click for added control */
body {
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* Internet Explorer/Edge */
    user-select: none;         /* Standard browsers */
}


.Wrapper {
    width: 1240px;
    margin: 0 auto;
    /*background-color: aqua;*/
    /* height: 100vh; */

}

.NavigationBar {
    width: 1240px;
    height: 120px;
    opacity: 1;
    background: #FFFFFF;
    box-sizing: border-box;
    border-width: 0px 0px 0.5px 0px;
    border-style: solid;
    border-color: #000000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.NavigationBar .NavItems {
    width: 450px;
    height: 43px;
}

.NavigationBar .NavItems ul {
    display: flex;
    flex-direction: row;
    padding: 8px 0px;
    gap: 32px;
}

.NavigationBar .NavItems ul li {
    list-style: none;

}

.NavigationBar .NavItems ul li a {
    text-decoration: none;
    font-size: 18px;
    color: #3D3D3D;
}


.BookName {
    margin-top: 31px;
}

.BookName .BookNameHeading {
    font-size: 48px;
    color: #3D3D3D;
}

.BookName .BookTittle {
    font-family: Poppins;
    font-size: 32px;
    font-weight: 400;
    /* overflow: hidden; */
    color: #3D3D3D;
}

.BookName .RestName {
    font-size: 24px;
    color: #3D3D3D;

}

.PDFSection {
    margin: 0 auto;
    width: 1050px;
    /* background-color: bisque; */
    height: 693px;
    overflow-y: scroll;
}
.Footer
{
    display: flex;
    width: 100%;
    /* background-color: #3D3D3D; */
    gap: 20px;
    margin-top: 42px;
}
.FooterContent
{
    width: 295px;
    /* background-color:aquamarine ; */
    padding-left: 20px;
}
.FooterContent .Heading 
{
    font-size: 32px;
    font-weight: 300px;
    color: #3D3D3D;
}

.FooterContent ul li
{
    list-style-type: none;
}
.FooterContent ul li a{
    text-decoration: none;
    color: #3D3D3D;
    font-size: 20px;
    margin-left: 12px;
}
#header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #f4f4f4;
    border-bottom: 1px solid #ccc;
}

#header h1 {
    font-size: 24px;
}

/* Zoom Button Styling */
#zoom-btn {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#zoom-btn:hover {
    background-color: #45a049;
}

/* PDF Container Styling */
#pdf-container {
    width: 1050px;
    height: 693px;
    margin: 20px auto;
    border: 1px solid #000;
    overflow-y: scroll;
    position: relative;
    transition: all 0.3s ease;
}

/* Full-Screen Styling */
.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw !important;
    height: 100vh !important;
    margin: 0 !important;
    z-index: 1000;
    background-color: #fff;
    overflow: auto;
    padding: 20px;
}

/* Canvas Styling */
canvas {
    display: block;
    margin: 20px auto;
    max-width: 100%;
    height: auto;
}

/* Responsive Adjustments */
@media (max-width: 1100px) {
    #pdf-container {
        width: 95%;
        height: 80vh;
    }
}

/* Prevent Dragging of Canvas */
canvas {
    -webkit-user-drag: none;
    user-drag: none;
}