/* General Typography */
h1, h2, h3 {
    font-family: "Ubuntu", sans-serif;
    color: #000000; /* Ensure text stands out on a light background */
}

h1 {
    font-weight: 700;
    font-size: 4rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

h2 {
    font-weight: 500;
    font-size: 2rem;
}

h3 {
    font-weight: 400;
    font-size: 1.5rem;
}

/* Page Background */
body {
    background-color: #ffffff; /* Set the page background to white */
    color: #000000;
}

/* Card Styles */
.card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: linear-gradient(200deg, #fde996, #ebb607) !important;
}

.card img {
    object-fit: cover !important;
    transition: transform 0.3s ease;
}

.card:hover {
    animation: wiggle 0.5s ease-in-out infinite !important;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card img:hover {
    transform: scale(1.05);
}

/* Wiggle Animation */
@keyframes wiggle {
    0%, 100% { transform: rotate(-1deg); }
    50% { transform: rotate(1deg); }
}

/* Comedian Name Links */
.card-body a {
    text-decoration: none;
}

.comedian-name {
    font-weight: bold;
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.comedian-name:hover {
    color: #ffa500;
}

/* Accordion Styling */
.accordion-button {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    color: #212529;
    text-align: left;
    background-color: #0c5ccc !important;
    border: 0;
    border-radius: 0;
    overflow-anchor: none;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, border-radius 0.15s ease;
}

@media (prefers-reduced-motion: reduce) {
    .accordion-button {
        transition: none;
    }
}

.accordion-button:not(.collapsed) {
    color: #0c63e4;
    background-color: #0c5ccc;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230c63e4'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: rotate(-180deg);
}

.accordion-button::after {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    margin-left: auto;
    content: "";
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-size: 1.25rem;
    transition: transform 0.2s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
    .accordion-button::after {
        transition: none;
    }
}

.accordion-button:hover {
    z-index: 2;
}

.accordion-button:focus {
    z-index: 3;
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.accordion-header {
    margin-bottom: 0;
}

.accordion-item {
    background-color: #1f0fb6 !important;
    border: 1px solid rgba(0, 0, 0, 0.125) !important;
}

.accordion-item:first-of-type {
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
}

.accordion-item:first-of-type .accordion-button {
    border-top-left-radius: calc(0.25rem - 1px);
    border-top-right-radius: calc(0.25rem - 1px);
}

.accordion-item:not(:first-of-type) {
    border-top: 0;
}

.accordion-item:last-of-type {
    border-bottom-right-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
}

.accordion-item:last-of-type .accordion-button.collapsed {
    border-bottom-right-radius: calc(0.25rem - 1px);
    border-bottom-left-radius: calc(0.25rem - 1px);
}

.accordion-item:last-of-type .accordion-collapse {
    border-bottom-right-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
}

.accordion-body {
    padding: 1rem 1.25rem;
}

.accordion-flush .accordion-collapse {
    border-width: 0;
}

.accordion-flush .accordion-item {
    border-right: 0;
    border-left: 0;
    border-radius: 0;
}

.accordion-flush .accordion-item:first-child {
    border-top: 0;
}

.accordion-flush .accordion-item:last-child {
    border-bottom: 0;
}

.accordion-flush .accordion-item .accordion-button {
    border-radius: 0;
}

/* Navbar */
.navbar {
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    transition: background-color 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(0, 0, 0, 1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Scroll to Top Button */
#scrollToTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #ffcc00;
    color: #000;
    border: none;
    outline: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    display: none;
    transition: all 0.3s ease;
}

#scrollToTopBtn:hover {
    background-color: #ffa500;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    transform: scale(1.1);
}

/* General Elements */
.img-fluid {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
}

.justify-content-center {
    text-align: center;
}

.endorsement {
    margin-bottom: 2rem;
}

.bg-primary {
    background-color: #198754;
    color: #000000;
}

.bg-success {
    background-color: #198754;
    color: #fff;
}

.bg-dark {
    background-color: #343a40;
    color: #fff;
}

/* Footer Social Icons */
#follow a {
    transition: transform 0.3s ease;
}

#follow a:hover {
    transform: scale(1.1);
}

/* Button Styling */
.btn-secondary {
    background-color: #ffcc00;
    color: #000;
    font-weight: bold;
    border-radius: 30px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-secondary:hover {
    background-color: #ffa500;
    color: #fff;
    transform: scale(1.05);
}

