.float-start.item-image {
    margin: 0 1rem 1rem 0;
}

.float-end.item-image {
    margin: 0 0 1rem 1rem;
}

/* Image hover effect */
img {
    max-width: 100%;
    height: auto;
}

.nav-link {
    cursor: pointer;
}

/* Style the back-to-top button */
.back-to-top-link {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    background-color: var(--bs-primary);
    color: var(--bs-white);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s, filter 0.3s;
    line-height: 1em;
}

.back-to-top-link i {
    line-height: 50px;
    display: inline-flex;
    height: 100%;
    width: 100%;
    justify-content: center;
    align-items: center;
}

/* Show the button when the user scrolls down 300px */
@media (min-width: 768px) {
    .back-to-top-link.show {
        display: block;
    }
}

/* Change button background color on hover */
.back-to-top-link:hover {
    filter: brightness(0.85);
    color: var(--bs-white);
}

/* Button animation on hover */
.back-to-top-link:hover {
    transform: scale(1.1);
}