/* Reset some default styles */
body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    color: #333;
    background-color: #f4f4f4;
}

/* Header Styling */
header {
    background-color: #000;
    padding: 20px;
    color: white;
    text-align: center;
    border-bottom: 4px solid #FB842C;
}

h1 {
    margin: 0;
    font-size: 2.5rem;
}

/* Form Section Styling */
#review-form {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
}

#review-form h2 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: #000;
}

#reviewForm {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.form-field {
    flex: 1;
    min-width: 150px;
}

.form-label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
}

input[type="text"],
select,
textarea {
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 1rem;
    box-sizing: border-box;
}

input[type="text"]:focus,
select:focus,
textarea:focus {
    border-color: #000;
    outline: none;
}

button {
    background-color: #000;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
        height: min-content;
        margin: auto 0;
}

.btn-danger, .btn-danger:hover{background-color: red;}

button:hover {
    background-color: #000;
}

#audioPreview {
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
    margin-top: 10px;
}

/* Filters & Reviews Section Styling */
#reviews-section {
    display: flex;
    flex-direction: column;
}

#filters {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
}

#filters h2 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: #000;
}

#filters select {
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
    width: 100%;
}

#reviews {
    background-color: #ffffff;
    border-radius: 8px;
    /*box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);*/
    padding: 20px;
   
    gap: 20px;
}

#reviews h2 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: #000;
}

.cards{
      display: inline-grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
}

.card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    padding: 20px;
   margin:20px;
}

.card-body {
    padding: 0;
}

.card-title {
    font-size: 1.25rem;
    color: #000;
}

.card-text {
    margin-bottom: 10px;
}

.card audio {
    border-radius: 4px;
    width: 100%;
    margin-bottom: 10px;
}

.text-end {
    text-align: right;
    color: #888;
}

.hidden {
    display: none;
}


@media (max-width: 768px) {
    #reviewForm {
        flex-direction: column;
    }

    .form-field {
        margin-bottom: 15px;
    }

    #reviews {
        grid-template-columns: 1fr; /* Stacks reviews vertically on small screens */
        padding: 0px;
    }
    .cards {
    display: inline-grid;
    grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
}

h1 {
    margin: 0;
    font-size: 1.5rem;
}
}

.header-content {
    display: inline-block;
    text-align: left; /* Center the text if needed */
}

.logo {
    width: 15rem; /* Adjust the size as needed */
    height: auto; /* Maintain aspect ratio */
    vertical-align: middle; /* Aligns the logo vertically with the text */
}

h1 {
    display: inline-block; /* Ensures the title is treated as inline block */
    margin: 0; /* Remove default margin */
    vertical-align: middle; /* Aligns the title vertically with the logo */
}


