@import url('https://fonts.googleapis.com/css2?family=Merriweather+Sans:wght@300;400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style-type: none;
    box-sizing: border-box;
    font-family: 'Merriweather', sans-serif;
}

.main-content {
    margin-top: -75px;
}

.page-content {
    /* padding: 1.3rem 1rem; */
    background: #f1f4f9;
}

.records {
    box-shadow: 0px 5px 5px -5px rgba(0, 0, 0, 0.1);
    background: #fff;
    border-radius: 3px;
}

.record-header {
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.browse select {
    width: 100px;
}

.table-responsive {
    width: 100%;
    overflow: auto;
}

table {
    border-collapse: collapse;
}

table thead th {
    padding: 1rem 0rem;
    text-align: left;
    color: #000;
    font-size: 0.9rem;
}

table tbody td {
    padding: 1rem 0rem;
    color: #000;
    font-weight: bold;
}

table tbody td:first-child {
    padding-left: 1rem;
    color: var(--main-color);
    font-weight: 600;
    font-size: 0.9rem;
}

@media only screen and (max-width: 768px) {
    .sidebar {
        left: -165px;
        z-index: 90;
    }

    header {
        left: 0;
        width: 100%;
    }

    .main-content {
        margin-left: 0;
        width: 100%;
    }

    table {
        width: 900px;
    }
}

/* Target the record-header class */
.record-header {
    padding: 10px;
    background-color: #ffffff;
    border: 1px solid #ffffff;
}

/* Target the browse class */
.browse {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* flex-wrap: wrap; */
}

.record-header browse {
    display: block;
    margin-left: 20%;

}

/* Target the label element inside the browse class */
.browse label {
    font-weight: bold;
    margin-right: 100px;
    margin-left: 20px;
    padding: 5px;
}

/* Target the text-box class inside the browse class */
.browse .text-box {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 150px;
}

/* Add margin between the text-box elements */
.browse .text-box:not(:last-child) {
    padding: 5px 40px;
    margin-right: 50px;
}

.card {
    /* --card-gradient: tomato, orange; */
    --card-blend-mode: multiply;
    margin-left: 80px;
    /* Adjust the margin to control horizontal spacing between cards */
    background-color: #fff;
    border-radius: 0.5rem;
    box-shadow: 0.05rem 0.1rem 0.3rem -0.03rem rgba(0, 0, 0, 0.45);
    padding: 1rem;
    width: calc(63.3333% - 1px);
    /* Set width for 3 cards per row with a gap of 10px */
    min-height: 250px;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    /* Ensure the gradient stays within the card */
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(var(--card-gradient), white);
    border-radius: 0.5rem 0.5rem 0 0;
    /* Apply gradient only to the top corners */
    mix-blend-mode: var(--card-blend-mode);
    opacity: 0;
    /* Hide the gradient by default */
    transition: opacity 0.3s;
    /* Add a smooth transition */
    z-index: -1;
}

.card:hover::before {
    opacity: 1;
    /* Show the gradient on hover */
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.card> :last-child {
    margin-bottom: 0;
}

.card h5 {
    margin-top: 1rem;
    font-size: 18px;
}

img {
    border-radius: 0.5rem 0.5rem 0 0;
    width: 100%;
    object-fit: cover;
    height: 10rem;
}

img~* {
    margin-left: 1rem;
    margin-right: 1rem;
}

.card-wrapper {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(30ch, 0.5fr));
    /* Use 3 columns with a minimum of 30ch width each */
    grid-gap: 1.25rem;
    /* Adjust the grid gap to control spacing between the cards */
}

/* Add space between rows */
.card-wrapper::after {
    content: "";
    flex: auto;
}

/* Adjust the grid gap to control spacing between the cards */
.grid-card-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(30ch, 1fr));
    grid-gap: 0.1rem;
}

/* Add a media query to adjust the layout for smaller screens */
@media (max-width: 768px) {
    .card {
        width: calc(50% - 10px);
        /* Set width for 2 cards per row with a gap of 10px for smaller screens */
    }
}


.custom-label {
    text-align: left;
    font-size: 1.5rem;
    margin-bottom: 20px;
    margin-left: 50px;
    margin-top: 85px;
}

.header-content h2 {
    margin: 0; /* Ensure no extra margin */
    padding-top: 100px; /* Adjust this value to control how much you want to push it down */
}

header {
    display: flex;
    align-items: center; /* Keep elements vertically aligned */
    justify-content: space-between; /* Adjust spacing between elements */
    padding: 20px;
}

/* Basic styling for the select box container */
.select-box {
    position: fixed;
    top: 120px;
    left: 230px;
    z-index: 9999;
    width: 200px;
}

/* Basic styling for the select box */
select {
    appearance: none;
    background-color: #f1f1f1;
    border: 1px solid #ccc;
    padding: 8px;
    font-size: 14px;
    border-radius: 4px;
    width: 100%;
    cursor: pointer;
}

/* Style for the dropdown arrow (inverted triangle) */
.select-box::after {
    content: "";
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #666;
    /* Adjust the color as needed */
    position: absolute;
    top: 50%;
    left: calc(100% - 20px);
    /* Position the triangle at the right end */
    transform: translateY(-50%);
    pointer-events: none;
}

/* Style for the hover effect */
select:hover {
    background-color: #e0e0e0;
}

/* Style for the focus state */
select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

/* Navbar styling */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #333;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    z-index: 1000; /* Make sure the navbar stays on top */
}

/* Product Gallery text in navbar */
.navbar .title {
    font-size: 24px;
    font-weight: bold;
    text-align: center; /* Make sure text is centered */
    margin-right: auto; /* Push select box to the right */
    margin-left: auto;
}

/* Adjust the select box position inside the navbar */
.navbar .select-box {
    position: static;
    margin-right: 20px;
    z-index: auto;
    width: 200px; /* Adjust width if needed */
}

/* footer {
    background: black;
    color: white;
    padding: 20px;
    font-family: Arial, sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-col {
    flex: 1;
    padding: 10px;
}

.footer-col img {
    height: auto; 
    display: block; 
}

.footer-col h2, .footer-col h3 {
    color: white;
}

.footer-col a {
    color: white;
    text-decoration: none;
    display: block;
    margin: 5px 0;
}

.footer-col a:hover {
    text-decoration: underline;
}

.footer-copy {
    text-align: center;
    font-size: 14px;
    margin-top: 20px;
    color: white;
    background: black;
    padding: 10px;
} */