
/* Global styling */
body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
}

h1 {
    margin: 0;
}

header {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px; 
}

nav {
    position: relative;
}

#menu {
    padding:4px;  
    margin: 0;
    position: absolute;
    right: 20px;
    top: 40px;
    background: white;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);  
    z-index: 10;
    width: 180px; 
}

#menu li {
    list-style: none;
    font-size: 15px;
    padding: 8px 12px;
}

#menu li:hover{
    background-color: #c4f5d3;
}
#menu li a {
    text-decoration: none;
    color: #333;
}


.hidden {
    display: none;
}

#menu-button {
    padding: 0;
    cursor: pointer;
    font-size: 2rem;
} 


.img{
    display: flex;
    justify-content: center;
    align-content: center;
    width: auto;
    height: 150px;

}
/* Section styling */
section {
    margin: 20px auto;
    padding: 20px;
    max-width: 800px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 12px;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #4CAF50;
    color: white;
}

a {
    color: #4CAF50;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* PDF Viewer Section */
#pdf-viewer {
    width: 100%;
    height: 500px;
    margin-top: 20px;
    border: 1px solid #ddd;
}
#video-viewer{
    width: 100%;
    height: 500px;
    margin-top: 20px;
}
.button-container {
    margin-top: 10px;
}

button {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}
#download-button{
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}
button:hover {
    background-color: #45a049;
}

button#close-pdf-viewer {
    margin-top: 10px;
    margin-bottom: 10px;
}

/* Responsive styling for mobile */
@media (max-width: 768px) {
    #pdf-viewer {
        height: 400px; 
    }
    #video-viewer{
        height: 300px;
    }
    img{
        height: auto;
        width: 150x;
    }
    section {
        margin: 10px;
        padding: 15px;
    }

    .header-nav {
        flex-direction: column;
        align-items: center;
    }

    .header-nav li {
        margin: 5px 0;
    }

    button {
        width: auto;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    #pdf-viewer {
        height: 300px; 
    }
}

