/* General Layout */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    margin-bottom: 20px;
}

/* Search Bar */
#search-input {
    display: block;
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* PDF Grid */
.pdf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* PDF Item */
.pdf-item {
    text-align: center;
    cursor: pointer;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    background-color: #fff;
    transition: transform 0.3s ease;
}

.pdf-item:hover {
    transform: scale(1.05);
}

/* Thumbnail Image */
.pdf-thumbnail {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
}

/* PDF Title */
.pdf-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}




/* NEW CODE */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

.container {
    max-width: 900px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    border-radius: 10px;
}

h1 {
    font-size: 24px;
    margin-bottom: 20px;
}

/* PDF Viewer */
.pdf-container {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

iframe#pdf-frame {
    width: 100%;
    height: 500px; /* Adjust height as needed */
    border: 1px solid #ccc;
    border-radius: 8px;
}

/* Download Button */
.download-section {
    margin-bottom: 20px;
}

#download-btn {
    display: inline-block;
    padding: 10px 15px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

#download-btn:hover {
    background-color: #0056b3;
}

/* Video Tutorial */
.video-tutorial {
    margin-top: 20px;
}

.video-tutorial h2 {
    font-size: 20px;
    margin-bottom: 10px;
}
