/* Container for Hero Cards */
.homepage-hero-card-container {
    display: flex;
    justify-content: center; /* Center the hero card */
    align-items: center;
    position: relative;
    margin-top: 40px;
    padding: 20px;
    padding-left:16px;
    transform:translatex(50px) translatey(-4px);
    width:1438px; /* Ensure container spans full width */
}


/* Navigation Buttons (Prev/Next) */
.homepage-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 10;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
}

.homepage-nav-btn:hover {
    background-color: #2980b9;
}

/* Position the prev button */
#prevBtn {
    left: -50px; /* Adjust the left position of the prev button */
}

/* Position the next button */
#nextBtn {
    right: -50px; /* Adjust the right position of the next button */
}

/* Hero Card */
.homepage-hero-card {
    background-color: #f4f4f4;
    color: #020202;
    border-radius: 8px;
    border: 1px solid #ddd;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 350px;
    padding: 20px;
    text-align: left;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hero Image Section */
#heroCard .photo-section img {
    width: 70px; /* Overwritten width */
    height: 67px; /* Overwritten height */
    display: inline-block;
    transform: translatex(10px) translatey(18px); /* Adjusted position */
}

/* Hero Details */
.homepage-hero-card .hero-details {
    font-size: 1rem;
    margin-bottom: 15px;
}

.homepage-hero-card .hero-details .label {
    font-weight: bold;
    margin-right: 5px;
}

/* License Info Section */
.homepage-hero-card .license-info {
    background-color: #f0f0f0;
    padding: 10px;
    border-top: 1px solid #ddd;
    font-size: 0.9rem;
}

/* Photo Section */
#heroCard .photo-section {
    transform: translatex(0px) translatey(83px); /* Overwritten position */
    min-height: 95px; /* Adjusted minimum height */
    width: 120px; /* Adjusted width */
}

/* Details Section */
#heroCard .details-section {
    transform: translatex(144px) translatey(-12px); /* Adjusted positioning */
}

/* Styles for the Main Title */
.homepage-title {
    font-family: 'Bangers', sans-serif; /* Superhero comic font */
    font-size: 3.5rem; /* Large size for attention-grabbing */
    color: #fff; /* Light blue color for superhero feel */
    text-align: center;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.6); /* Gives it a 3D effect */
    margin-top: 20px;
    letter-spacing: 2px;
    font-weight: bold;
    padding: 10px 20px;
    background: linear-gradient(45deg, #ADD8E6, #87CEFA);
    border-radius: 10px;
}

/* Styles for the Secondary Title */
.homepage-title2 {
    font-family: 'Bangers', sans-serif; /* Same superhero comic font */
    font-size: 2.5rem;
    color: #000000;
    text-align: center;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5); /* Subtle shadow for emphasis */
    margin-top: 10px;
    letter-spacing: 1px;
    font-weight: bold;
}

/* Paragraph styling */
.homepage-description {
    font-family: 'Comic Sans MS', sans-serif; /* Fun, casual superhero-like font */
    font-size: 1.2rem;
    color: #333;
    line-height: 1.6;
    text-align: center;
    margin: 20px 0;
    padding: 20px;
    background: linear-gradient(45deg, #ADD8E6, #87CEFA); /* Light blue gradient background */
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.homepage-description:hover {
    transform: scale(1.05);
}

/* Unordered List */
.homepage-description ul {
    list-style-type: none; /* Remove default list styling */
    padding: 0;
    text-align: left;
    font-family: 'Comic Sans MS', sans-serif;
    margin: 0 auto;
    max-width: 600px;
}

/* List Items */
.homepage-description li {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 15px;
    position: relative;
    padding-left: 25px;
}

.homepage-description li a {
    color: #3498db; /* Hero-like blue color */
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.homepage-description li a:hover {
    color: #2980b9; /* Darker blue on hover */
}

/* Custom Bullet Points */
.homepage-description li::before {
    content: '⚡'; /* Lightning bolt for bullet points */
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.5rem;
    color: #ffcc00; /* Bright yellow */
    transform: translateY(5px);
}

/* Emphasizing important links in the paragraph */
.homepage-description a {
    font-weight: bold;
    color: #f39c12; /* Hero-like yellow/orange color */
    text-decoration: none;
}

.homepage-description a:hover {
    color: #d35400; /* Darker orange on hover */
}

/* Animating the list */
@keyframes listFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Add animation to list items */
.homepage-description li {
    animation: listFadeIn 1s ease-out forwards; /* Ensure the opacity stays 1 after animation */
    opacity: 0;
    animation-delay: 0.3s;
}

/* Add a staggered animation delay to list items */
.homepage-description li:nth-child(1) {
    animation-delay: 0.3s;
}

.homepage-description li:nth-child(2) {
    animation-delay: 0.6s;
}

.homepage-description li:nth-child(3) {
    animation-delay: 0.9s;
}

.homepage-description li:nth-child(4) {
    animation-delay: 1.2s;
}

.homepage-description li:nth-child(5) {
    animation-delay: 1.5s;
}

.homepage-description li:nth-child(6) {
    animation-delay: 1.8s;
}

.homepage-description li:nth-child(7) {
    animation-delay: 2.1s;
}

.homepage-description li:nth-child(8) {
    animation-delay: 2.4s;
}


/* Responsive Design for Titles */
@media (max-width: 768px) {
    .homepage-title {
        font-size: 2.5rem; /* Slightly smaller for mobile */
        padding: 5px 10px;
    }

    .homepage-title2 {
        font-size: 2rem; /* Adjust secondary title for smaller screens */
    }
}

@media (max-width: 480px) {
    .homepage-title {
        font-size: 2rem; /* Make the title a bit smaller for small devices */
    }

    .homepage-title2 {
        font-size: 1.5rem; /* Adjust for mobile */
    }
}


/* Responsive Design */
@media (max-width: 768px) {
    .homepage-hero-card {
        width: 280px;
        padding: 15px;
    }

    .homepage-hero-card .hero-photo {
        width: 100px;
        height: 130px;
    }

    .homepage-nav-btn {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    #prevBtn, #nextBtn {
        left: 0;
        right: 0;
    }
}

@media (max-width: 480px) {
    .homepage-hero-card {
        width: 100%;
        padding: 10px;
    }

    .homepage-hero-card .hero-photo {
        width: 80px;
        height: 100px;
    }

    .homepage-nav-btn {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
}


/* Hero Card Adjustments for Large Screens */
@media (min-width: 769px) {
    /* Hero card */
    #heroCard {
        padding-top: 0px; /* Adjusted padding */
    }
}


