body {
    background-color: rgb(218, 218, 218);
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    /* Allow body to expand if needed */
    overflow-x: hidden;
    /* Prevent horizontal scrolling */
    position: relative;
    padding-bottom: env(safe-area-inset-bottom);
    /* Ensure safe area padding on mobile */
}


/* WebKit Scrollbar Styles */
::-webkit-scrollbar {
    width: 12px;
    background-color: #2222223c;
}

::-webkit-scrollbar-track {
    background: #3333333f;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #3e6475;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1679afb2;
}

.sidebar::-webkit-scrollbar {
    display: none;
}

div {
    margin-bottom: 5%;
}

.content {
    margin-left: 22%;
    max-width: 60%;
    color: rgb(0, 0, 0);
    height: auto;
    /* Let content expand */
    padding: 10%;
    position: relative;
    z-index: 2;
}

.content img {
    width: 20vw;
    height: auto
}

img.cover {
    height: 20vh;
    width: auto;
}

.invisible-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}

.invisible-table td {
    padding: 10px;
    vertical-align: top;
}

.text-row td {
    vertical-align: top;
    font-weight: bold;
}

.image-link {
    display: inline-block;
    height: 100px;
    width: auto;
    image-rendering: pixelated;
    image-rendering: -webkit-optimize-contrast;
    transition: transform 0.3s ease, opacity 0.3s;
}

.image-link:hover {
    transform: scale(1.2);
    opacity: 0.9;
}

strong {
    color: rgb(0, 54, 189);
}

a:visited,
a:link {
    margin: 0;
    color: rgb(0, 43, 99);
}

.sidebar {
    width: 20%;
    background-color: hsla(0, 0%, 20%, 0);
    color: rgb(255, 255, 255);
    position: fixed;
    overflow-y: auto;
    top: 0;
    right: 0;
    /* Sidebar on the right */
    height: 97vh;
    padding: 15px;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0);
    /* Shadow on the left side of the sidebar */
}

.sidebar img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
    border-radius: 8px;
}

.content {
    margin-right: 270px;
    /* Make room for the sidebar on the right */
    padding: 20px;
}

div .cover_container {
    width: min-content;
    height: min-content;
    text-align: center;
    margin-bottom: 2%;

    img {
        border-radius: 15px;
        /* Adjust value for the desired roundness */
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        /* Optional: Add soft shadow for depth */
        display: block;
        /* Removes bottom margin caused by inline elements */
    }
}

.copy_button {
    margin: 5px;
    /* Compact margin */
    padding: 6px 12px;
    /* Padding provides space around the text */
    font-size: 16px;
    /* Adjust the font size for readability */
    line-height: 1.5;
    /* Line height to ensure proper spacing inside */
    border: none;
    /* Remove default button border */
    border-radius: 4px;
    /* Slightly rounded corners for a cleaner look */
    background-color: #002b47;
    /* Button background color */
    color: white;
    /* Text color */
    cursor: pointer;
    /* Pointer cursor to indicate interactivity */
    transition: background-color 0.3s ease, transform 0.2s ease;
    /* Smooth hover effect */
}

/* Optional: Hover effect */
.copy_button:hover {
    background-color: #001b4e;
    /* Darker shade on hover */
}






button {
    background-color: #0f2c8b;
    /* Clean, modern blue color */
    color: white;
    /* White text color */
    padding: 10px 20px;
    /* Padding for a balanced look */
    font-size: 16px;
    /* Slightly larger font for readability */
    border: none;
    /* Remove default border */
    border-radius: 5px;
    /* Rounded corners for a smooth look */
    cursor: pointer;
    /* Pointer cursor to indicate interactivity */
    transition: background-color 0.3s ease, transform 0.2s ease;
    /* Smooth transition */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* Soft shadow for depth */
}

/* Hover effect */
button:hover {
    background-color: #2b29b9;
    /* Darker shade on hover */
    transform: translateY(-2px);
    /* Slight lift effect */
}

/* Active state when button is clicked */
button:active {
    background-color: #1e3992;
    /* Even darker shade when active */
    transform: translateY(0);
    /* Reset lift effect */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    /* Reduce shadow */
}

/* Focus state (for accessibility) */
button:focus {
    outline: none;
    /* Remove default outline */
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.4);
    /* Custom focus ring */
}

/* Optional: Disabled button styles */
button:disabled {
    background-color: #95a5a6;
    /* Grey color for disabled buttons */
    cursor: not-allowed;
    /* Show a "not-allowed" cursor */
    box-shadow: none;
    /* No shadow for disabled buttons */
}

/* Responsive styles for mobile */
@media (max-width: 768px) {
    .invisible-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .invisible-table td,
    .invisible-table th {
        display: inline-block;
        width: auto;
        padding: 2px;
        text-align: center;
    }

    .image-link {
        height: 80px;
        margin: 0 5px;
    }

    .content {
        max-width: 100%;
        /* Full width content on mobile */
        margin-right: 0;
        /* Remove right margin */
        padding: 10px;
        /* Adjust padding for mobile */
    }

    .sidebar {
        display: none;
        /* Hide the sidebar on mobile */
    }

    .content {
        margin-left: 12%;
    }
}