.accordion {
    cursor: pointer;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 0.8em;
    transition: 0.4s;
    margin-top: 5px;
}

.accordion-popup {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0%);
    width: calc(95%);
    height: calc(95%);
    align-self: center;
    justify-self: center;
    align-content: space-between;
    background-color: var(--container-bg-color);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
    display: none;
    flex-direction: column;
    z-index: 1000;
}

.accordion-scrollview {
    height: calc(90% - 200px);
    overflow-y: auto;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 10px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.accordion-popup-buttons {
    display: flex;
    justify-content: space-around;
    flex-grow: 0;
    margin-top: 20px;
}

.accordion-current-selection
{
    position: relative;
    margin-top: 10px;
    width: 100%;
    height: 150px;
    display: flex;
    /*flex-direction: row;*/
    overflow: hidden;
    border-radius: 8px;
}

.accordion-current-selection img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /*box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.95);*/
}

.accordion-current-selection-inner-shadow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.95);
    /*font-size: 200%;*/
    /*color: var(--button-text-color);*/
    /*font-family: var(--font-raleway);*/
    /*font-weight: var(--font-normal-weight);*/
    /*text-align: left;*/
    /*padding-left: 0.5em;*/
    /*align-content: flex-end;*/
}

.accordion-popup-buttons button {
    border-radius: 5px;
    border: none;
    background-color: var(--button-bg-color);
    color: var(--button-text-color);
    font-family: var(--font-raleway);
    font-weight: var(--font-normal-weight);
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
    width: 45%;
}

.active:after {
    content: "\2212";
}

.accordion-panel {
    padding: 10px 0;
    display: none;
    overflow: hidden;
}

.accordion-image-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px;
    justify-content: center;
    align-content: space-evenly;
}

.accordion-image-item {
    position: relative;
    width: 40%;
    aspect-ratio: 12/16; /*16/12; Set the desired aspect ratio */
    min-width: 100px; /* Set the minimum width */
    /*min-height: 300px; !* Set the minimum height *!*/
    overflow: hidden; /* Ensure content does not overflow */
    background-color: #ddd;
    border-radius: 8px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

.accordion-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.accordion-image-label {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 30%;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    text-align: center;
    align-content: center;
    padding: 2px;
    font-family: var(--font-raleway);
    font-weight: var(--font-normal-weight);
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.responsive-text {
    font-size: 0.9em; /* Base font size relative to the parent container */
}

.parent-container {
    font-size: 3vw; /* Adjust the font size of the parent container */
}