html {
    font-size: 16px; /* Defines 1rem as 16px */
    min-height: 100vh; /* Ensure html takes full viewport height */
}

/* Global body styles using ui-sans-serif and default font color */
body {
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 1rem; /* 16px */
    color: #1e1e1e;
    /* --- Gradient background added --- */
  /* background: linear-gradient(to bottom, #ffffff, lightgray, gray, #1e1e1e);
    background-attachment: fixed;  Keeps the gradient static when scrolling */
    /* --- End Gradient background --- */
    background-image: url('https://networkdepot.online/store/images/banner/4NB4.gif');
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: 100vh; /* Ensure body takes full viewport height */
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Heading Styles using REM units and ui-sans-serif */
h1 {
    font-size: 3.25rem; /* 52px / 16px = 3.25rem */
    color: #59b500;
    padding: 1.5rem 0; /* 24px / 16px = 1.5rem */
    font-family: inherit; /* Inherit from body or specific if needed */
    line-height: 1.2;
    text-align: center; /* Center align headings for better presentation */
    width: 100%; /* Ensure it takes full width for responsiveness */
}

h2 {
    font-size: 2.25rem; /* 36px / 16px = 2.25rem */
    color: #1e1e1e;
    padding: 0.9375rem 0; /* 15px / 16px = 0.9375rem */
    font-family: inherit;
    line-height: 1.3;
    text-align: center;
    width: 100%;
}

h3 {
    font-size: 1.75rem; /* Example: 28px / 16px = 1.75rem */
    color: #1e1e1e;
    padding: 0.75rem 0; /* Example: 12px / 16px = 0.75rem */
    font-family: inherit;
    line-height: 1.4;
    text-align: center;
    width: 100%;
}

h4 {
    font-size: 1.375rem; /* Example: 22px / 16px = 1.375rem */
    color: #1e1e1e;
    padding: 0.625rem 0; /* Example: 10px / 16px = 0.625rem */
    font-family: inherit;
    line-height: 1.5;
    text-align: center;
    width: 100%;
}

h5 {
    font-size: 1.0625rem; /* 17px / 16px = 1.0625rem */
    font-weight: 600;
    padding-bottom: 0.3125rem; /* 5px / 16px = 0.3125rem */
    color: #1e1e1e;
    font-family: inherit;
    line-height: 1.5;
    text-align: center;
    width: 100%;
}

h6 {
    font-size: 1rem; /* 16px / 16px = 1rem */
    padding-bottom: 0.3125rem; /* 5px / 16px = 0.3125rem */
    color: #1e1e1e;
    font-family: inherit;
    line-height: 1.5;
    text-align: center;
    width: 100%;
}

/* Responsive adjustments for smaller screens using media queries */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem; /* Adjust for smaller screens */
        padding: 1rem 0;
    }
    h2 {
        font-size: 1.75rem;
        padding: 0.75rem 0;
    }
    h3 {
        font-size: 1.5rem;
        padding: 0.6rem 0;
    }
    h4 {
        font-size: 1.25rem;
        padding: 0.5rem 0;
    }
    h5 {
        font-size: 1rem;
        padding-bottom: 0.25rem;
    }
    h6 {
        font-size: 0.875rem; /* 14px */
        padding-bottom: 0.25rem;
    }
}