/* Container for the grid */
.containerg {
    width: 100%;                /* Make the container span the full width */
    max-width: 1000px;          /* Optional: Limit the max-width of the grid */
    margin: 0 auto;             /* Center the container horizontally */
    padding: 0 1rem;            /* Add some padding for spacing */
    box-sizing: border-box;     /* Ensure padding is included in the width */
}
/* Container for the grid */
.containerg5 {
    width: 50%;                /* Make the container span the full width */
    max-width: 1000px;          /* Optional: Limit the max-width of the grid */
    margin: 0 auto;             /* Center the container horizontally */
    padding: 0 1rem;            /* Add some padding for spacing */
    box-sizing: border-box;     /* Ensure padding is included in the width */
}
/* Container for the grid */
.containerg75 {
    width: 75%;                /* Make the container span the full width */
    max-width: 1000px;          /* Optional: Limit the max-width of the grid */
    margin: 0 auto;             /* Center the container horizontally */
    padding: 0 1rem;            /* Add some padding for spacing */
    box-sizing: border-box;     /* Ensure padding is included in the width */
}

/* Row Styling - Make sure we are using flexbox for rows */
.rowg {
    display: flex;                /* Row is a flex container */
    flex-wrap: wrap;              /* Wrap content to next row if needed */
    margin-left: -0.5rem;
    margin-right: -0.5rem;
    box-sizing: border-box;       /* Box sizing to include padding and borders */
    width: 100%; 
     border: none;                 /* Ensure the row spans the full width */
}

/* Column Styling */
.columng {
    padding: 10px;
    border-bottom: 1px solid #ccc;
    text-align: center;
    box-sizing: border-box;       /* Include padding and borders in width */
    width: auto;  
     border: none;                  /* Default width for columns is auto */
}

/* Exact Widths for Columns */
.columng.w-5  { width: 5%; }
.columng.w-10 { width: 10%; }
.columng.w-15 { width: 15%; }
.columng.w-20 { width: 20%; }
.columng.w-25 { width: 25%; }
.columng.w-30 { width: 30%; }
.columng.w-33 { width: 33.33%; }
.columng.w-35 { width: 35%; }
.columng.w-40 { width: 40%; }
.columng.w-45 { width: 45%; }
.columng.w-50 { width: 50%; }
.columng.w-55 { width: 55%; }
.columng.w-60 { width: 60%; }
.columng.w-66 { width: 66%; }
.columng.w-65 { width: 65%; }
.columng.w-70 { width: 70%; }
.columng.w-75 { width: 75%; }
.columng.w-80 { width: 80%; }
.columng.w-85 { width: 85%; }
.columng.w-90 { width: 90%; }
.columng.w-95 { width: 95%; }
.columng.w-100 { width: 100%; }

/* Ensuring Column Header Alignment Matches Content */
.columng.header {
    font-weight: bold;            /* Make header text bold */
    background-color: #f7f7f7;   /* Light background for header */
    position: sticky;             /* Keep headers fixed on scroll */
    top: 0;                       /* Fix it to the top */
    z-index: 1;                   /* Ensure it stays above content */
}

/* Nested row inside a column */
.columng > .rowg {
    display: flex;
    flex-wrap: wrap;
    margin-left: -0.5rem;
    margin-right: -0.5rem;
}
/* Left justify content */
.jleft {
    display: flex;
    justify-content: flex-start; /* Aligns content to the left */
}
/* Right justify content */
.jright {
    display: flex;
    justify-content: flex-end; /* Aligns content to the right */
}
/*
/* Responsive Breakpoints */

@media (max-width: 768px) {
    .columng.w-5,
    .columng.w-10,
    .columng.w-15,
    .columng.w-20,
    .columng.w-25,
    .columng.w-30,
    .columng.w-33,
    .columng.w-35,
    .columng.w-40,
    .columng.w-45,
    .columng.w-50,
    .columng.w-55,
    .columng.w-60,
    .columng.w-66,
    .columng.w-65,
    .columng.w-70,
    .columng.w-75,
    .columng.w-80,
    .columng.w-85,
    .columng.w-90,
    .columng.w-95,
    .columng.w-100 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .columng.w-5,
    .columng.w-10,
    .columng.w-15,
    .columng.w-20,
    .columng.w-25,
    .columng.w-30,
    .columng.w-33,
    .columng.w-35,
    .columng.w-40,
    .columng.w-45,
    .columng.w-50,
    .columng.w-55,
    .columng.w-60,
    .columng.w-66,
    .columng.w-65,
    .columng.w-70,
    .columng.w-75,
    .columng.w-80,
    .columng.w-85,
    .columng.w-90,
    .columng.w-95,
    .columng.w-100 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
/* For input fields */
input {
    border-radius: 5px;  /* Adjust the value to control how rounded the edges are */
    font-size: 12px;      /* Set the font size */
    padding: 8px;         /* Optional: Add some padding for better spacing inside the input */
    border: 1px solid #ccc; /* Optional: Add border color */
    width: 100%;          /* Ensure the input takes up the full width of its container */
    box-sizing: border-box; /* Ensure padding is included in the width calculation */
}


/* For other elements, like divs */
.rbox {
    border-radius: 10px; /* Same here to make the edges rounded */
}


.rbox20 {
    border-radius: 20px; /* Same here to make the edges rounded */
}

.rbox30 {
    border-radius: 30px; /* Same here to make the edges rounded */
}


.rbox40 {
    border-radius: 40px; /* Same here to make the edges rounded */
}

.rbox50 {
    border-radius: 50px; /* Same here to make the edges rounded */
}


/* You can also apply it to specific corners if needed */
.btleft {
  border-top-left-radius: 15px;
}

.btright {
  border-top-right-radius: 15px;
}

.bbleft {
  border-bottom-left-radius: 5px;
}

.bbright {
  border-bottom-right-radius: 5px;
}
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

.page-background {
    background-image: url('../bg/demon2.png');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    height: 100%;
    margin: auto; /* Center horizontally */
    padding: 20px; /* Add padding inside the panel */
}
.bg-image {
    background-image: url('https://freeyoutubesubs.com/logos/logomain-300.png'); /* Background image URL */
    background-size: cover; /* Scale image to cover the container */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Prevent tiling */
    width: 100%; /* Ensure it spans full width */
    height: auto; /* Allow height to adjust based on content */
    min-height: 300px; /* Minimum height to ensure visibility */
}

.trans50 {
    opacity: 0.5; /* Set transparency to 50% */
}
.trans75 {
    opacity: 0.75; /* Set transparency to 75% */
}

.trans90 {
    opacity: 0.9; /* Set transparency to 90% */
}
.color-name {
    text-transform: uppercase;
    font-weight: bold;
    text-align: center; /* Centers the text */
}
.centerit {
    display: flex;                /* Use Flexbox for centering */
    justify-content: center;      /* Center horizontally */
    align-items: center;          /* Center vertically */
    text-align: center;           /* Ensure text is also centered */
    box-sizing: border-box;       /* Include padding/border in width/height */
}
.topmenul {
        margin-bottom: 20px;
    }
    .topmenul h3 {
        margin: 10px 0;
        font-size: 16px;
        color: #333;
    }
    .topmenul a {
        display: inline-block;
        margin-right: 10px;
        padding: 5px 10px;
        text-decoration: none;
        color: #007BFF;
        border: 1px solid #ddd;
        border-radius: 4px;
    }
    .topmenul a.active {
        background-color: #007BFF;
        color: #fff;
        border-color: #007BFF;
    }
    .topmenul a:hover {
        background-color: #0056b3;
        color: #fff;
    }

.nobox {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
}
.thin-box {
    border: 1px solid #000; /* 1px solid black border */
    box-sizing: border-box; /* ensures padding/border don't affect size */
}
 table { border-collapse: collapse; width: 100%; }
        th, td { border: 1px solid #ccc; padding: 8px; text-align: left; }
        th { background: #f2f2f2; }
        tr:nth-child(even) { background: #fafafa; }
