/* styles.css */


body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background: #f4f4f4;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100vw;
}

/* Styling for all scrollbars */
::-webkit-scrollbar {
    width: 8px; /* Width of the vertical scrollbar */
    height: 8px; /* Height of the horizontal scrollbar */
}

::-webkit-scrollbar-track {
    background: #f1f1f1; /* Track color */
}

::-webkit-scrollbar-thumb {
    background: #888; /* Handle color */
    border-radius: 4px; /* Rounded corners for the handle */
}

::-webkit-scrollbar-thumb:hover {
    background: #555; /* Handle color on hover */
}

header {
    align-items: center;
    background-color: #404040;
    color: white;
    margin: 0;
    box-sizing: border-box;
}

.hero-image {
    width: 150px;
    height: auto;
    margin: 10px;
}

.header-text {
    text-align: left;
}

#pdf-viewer {
    display: flex;
    width: 100%;
    overflow: auto !important;
    height: 100%;
    margin: 0;
    padding: 0;
}

#pdf-viewer iframe {
    display: block;
    width: 100%;
    border: none;
    overflow: scroll;
    text-align: center;
}


footer {
    background-color: #404040; /* Dark background for footer */
    color: white; /* White text color */
    text-align: center;
    padding: 20px 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Ensure items wrap on smaller screens */
    /* height: min(5%, 40px); */
    gap: 10px;
}

.footer-item {
    display: flex;
    align-items: center;
    margin: 10px 20px; /* Spacing around each footer item */
    align-items: center;
}

.footer-link {
    display: flex;
    align-items: center;
    text-decoration: none; /* Removes underline from links */
    color: white; /* Ensures link text is white */
    transition: color 0.3s; /* Smooth transition for hover effect */
    gap : 8px;
}

.footer-link:hover, .footer-link:focus {
    color: #82B1FF; /* Highlight color on hover/focus */
}

.footer-icon, .footer-link svg {
    width: 24px; /* Icon size */
    height: 24px;
}

.footer-link span {
    font-size: 0.9em; /* Slightly smaller text size for clarity */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 512px) {
    footer {
        align-items: center;
    }

    .footer-label {
        display: none;
    }

    .footer-item {
        margin: 8px; /* Smaller margin on small screens */
    }
}


/* Responsive adjustments */
@media (max-width: 768px) {
    header, #pdf-viewer, footer {
        padding: 10px;
    }
    header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
