/* Container for the grid */
.waveform-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);  /* 15 equal-width columns */
    gap: 20px;  /* Space between the items */
    padding: 20px;
}

/* Header styling */
header {
    background-color: #ffffff; /* Dark background */
    padding: 15px 0;
}

footer {
    background-color: #ffffff; /* Dark background */
    padding: 15px 0;
    text-align: center;
}
/* Navigation bar */
nav {
    display: flex;
    justify-content: left; /* Center the menu */
}

/* Navigation list */
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px; /* Space between menu items */
}

/* Navigation items */
nav ul li {
    display: inline;
}
.logo img{
    width: 40px;
}
/* Individual item styling */
.waveform-item {
    display: flex;
    flex-direction: column;
    align-items: left;
    justify-content: center;
    text-align: center;
}

/* Ensure images are responsive and fit the container */
.waveform-item img {
    width: 100%;
    height: auto;
    max-width: 120px;  /* Adjust this to control the max size of the images */
}
.waveform-details {
    display: flex;
    align-items: center; /* Align image and text vertically */
    gap: 20px; /* Space between image and details */
    padding: 20px;
}

.waveform-details img {
    width: 50%; /* Image takes up half the width */
    max-width: 600px; /* Prevent image from getting too big */
    height: auto;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

.waveform-info {
    width: 50%; /* Text details take the other half */
    font-size: 16px;
    line-height: 1.5;
}

/* Pagination styling */
.pagination {
    text-align: center;
    margin-top: 20px;
}

.form-row {
    display: flex;
}



/* Style checkboxes and labels */
label {
    display: flex;
    align-items: center;
    margin-right: 15px;
    font-size: 14px;
}

input[type="checkbox"] {
    margin-right: 5px;
    width: 20px;
    height: 20px;
}
.overlay {
    position: relative;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(92, 92, 92, 0.8);
    color: #fff;
    font-size: 12px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    white-space: nowrap;
    pointer-events: none; /* Prevents the overlay from interfering with clicks */
}
.waveform-item:hover .overlay {
        opacity: 1;
    }