/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(to right, #023047, #8ecae6);
    color: #FFFFFF;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Adjust the viewport for smaller devices */
@media (max-width: 576px) {
    body {
        font-size: 16px; /* Adjust font size for better readability */
    }
}

/* Applying custom font to headings */
h1, h2 {
    font-family: 'Bonheur Royale', cursive;
    color: #FFFFFF;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

p, a, span {
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    color: #fff;
}

/* Navbar Styling */
#magic-navbar {
    background: linear-gradient(to right, #023047, #8ecae6);
    border-bottom: 2px solid #fb8500;
    width: 100%;
}

.navbar-brand {
    font-family: 'Bonheur Royale', cursive;
    color: #fff;
    font-size: 1.5rem;
}

.navbar-brand img {
    height: 40px;
    margin-right: 10px;
}

.nav-item .nav-link {
    color: #fff;
    font-weight: 700;
}

.nav-item .nav-link:hover {
    color: #fb8500;
}

/* Flexbox for main content, filling space correctly */
.container {
    flex-grow: 1;
    padding: 20px;
    text-align: left; /* Adjust alignment for better flow */
}

@media (max-width: 576px) {
    .container {
        padding: 10px; /* Reduce padding on mobile */
    }
}

/* Footer Styling */
#magic-footer {
    background: linear-gradient(to right, #023047, #219ebc);
    color: #fff;
    width: 100%;
    text-align: center;
    padding: 10px 0;
}

#magic-footer .text-muted {
    color: #ffb703;
}

#magic-footer.bg-light {
    background: linear-gradient(to right, #023047, #219ebc) !important;
    color: #fff !important;
}

/* Button Styling */
.btn-primary {
    background-color: #ffb703;
    border-color: #ffb703;
}

.btn-primary:hover {
    background-color: #fb8500;
    border-color: #fb8500;
}

/* Collection Styling */
.collection {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Card Hover Effect */
.card {
    background: linear-gradient(to right, #219ebc, #023047);
    color: #FFFFFF;
    border: none;
}

.card-title, .card-text {
    color: #FFFFFF;
}

.card {
    transition: transform 0.2s ease-in-out;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card:hover {
    transform: scale(1.02);
}

/* Button Widths */
.btn-info, .btn-warning, .btn-danger {
    width: 100px;
}

#show-more {
    margin-top: 20px;
}

#back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 100;
    width: 50px;
    background-color: #007bff;
    border-radius: 50%;
    padding: 10px 15px;
    font-size: 22px;
    color: white;
    text-align: center;
}

#back-to-top:hover {
    background-color: #0056b3;
}

/* Logo sizing on mobile */
.navbar-brand .brand-logo {
    max-height: 40px;
    height: auto;
}

.navbar-nav .nav-link {
    font-size: 16px;
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 20px;
    }
}
