html {
    overflow-y: scroll;
}

.text-shadow {
    text-shadow: 2px 2px 4px rgba(44, 44, 44, 0.5);
}

section {
    scroll-margin-top: 66px;
}

/* Card hovering */
.card-img-top {
    height: 220px;
    object-fit: cover;
}
.card {
    transition: transform 0.15s ease;
}
.card:hover {
    transform: translateY(-3px);
}

/* Section to change image on hover */
.image-container{
    position: relative;
    width: 300px;
    height: 225px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 1rem;
}
.image-container img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}
.image-hover {
    opacity: 0;
}
.image-container:hover .image-hover {
    opacity: 1;
}

/* Set up for pagination navigation page to hover translucently until reaching its original spot. ... Yes this is a lot of text to explain that. */
/* Normal pagi appearance */
#pagination-container {
    position: relative;
    z-index: 1000;
    padding: 12px 32px;
    text-align: center;
    background: transparent;
}
/* The floating appearance */
#pagination-container.is-floating {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.08);
}
#pagination-container .pagination {
    margin-bottom: 0;
}