.custom-link:hover {
    color: inherit;
}

.blur-effect {
    filter: blur(8px);
    pointer-events: none;
    user-select: none;
}

.hover-cursor:hover {
    cursor: pointer;
}

.custom-link {
    color: inherit;
    text-decoration: none;
}

#main-artwork-container .main-artwork-details {
    background-color: #f8f9fa;
    padding: 20px;
    margin-bottom: 30px;
}

.main-artwork-details h2 {
    font-size: 1.75em;
    margin-bottom: 10px;
}

.display-3 {
    margin-bottom: -0.5rem !important;
}

.artwork-divider {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
    margin: 40px 0;
}

.card-img-top.hover-effect {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.card-img-top.hover-effect:hover {
    transform: scale(1.03);
    opacity: 0.9;
}

.card-title {
    font-size: 1em;
    text-align: center;
}

.search-container {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    max-width: 800px;
}

#search-form {
    width: 100%;
}

.results-container {
    position: absolute;
    /* Postion abosulte to search bar */
    top: 3vh;
    /* Room between search bar and result container */
    width: 100%;
    z-index: 10;
    /* Ensure it's above other content */
    background-color: inherit;
    /* Or any color, if needed for visibility */
    /* max-width: 800px; */
    /* Adjust as needed */
    margin: 0 auto;
    /* Center align */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Shadow for dropdown effect */
    border-radius: 24px;
    /* Rounded corners */
    overflow: true;
    /* Ensures the shadow doesn't get cut off */
    flex-grow: 1;
    /* Allows the container to grow and fill the remaining space */
    overflow: auto;
    /* Adds a scrollbar if the content overflows */
}

.search-input {
    border-radius: 4px 4px 0 0;
    /* Round top corners; */
    border-bottom: 1px solid #ddd;
    /* Line between input and results; */
}


.search-results-table {
    background-color: #f9f9f9;
    /* Light background for results */
    margin-bottom: 0 !important;
    /* Remove bottom margin */
}

.search-results-table thead {
    display: none;
}

.search-results-table tr {
    border-bottom: 1px solid #ddd;
    /* Row borders */
}

.search-results-table tr:not(:last-child):hover {
    background-color: #efefef;
    /* Hover effect, but not for the last row */
}

.spacing-container-top {
    height: 10vh;
}

.spacing-container-bottom {
    z-index: 5;
    height: 45vh;

}

.button-container {
    z-index: 5;
    justify-content: center;
    display: flex;
}

.search-button {
    margin: 10px;
}

.form-control {
    border-radius: 24px !important;
    border: 1px solid #dfe1e5;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.form-control:focus {
    border-color: rgb(31, 31, 31) !important;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5) !important;
}

.mark,
mark {
    padding: 0.0em !important;
    background-color: inherit !important;
    color: rgba(0, 0, 0, );
    font-weight: bold;
}

.button {
    background-color: #dee1e3;
    border: 1px solid #f8f9fa;
    border-radius: 4px;
    color: #3c4043;
    font-family: arial, sans-serif;
    font-size: 14px;
    margin: 11px 4px;
    padding: 0 16px;
    line-height: 27px;
    height: 36px;
    min-width: 54px;
    text-align: center;
    cursor: pointer;
    user-select: none;
}

.button:hover {
    background-color: #e7e7e7;
}

@font-face {
    font-family: 'Rijksmuseum';
    src: url('./Rijksmuseum-Normal.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Rijksmuseum';
    src: url('./Rijksmuseum-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
}

h2,
a,
p {
    font-family: 'Rijksmuseum', sans-serif;
}