/* General Reset */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: url('back2.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #333;
}

/* Header */
header {
    background-color: black;
    opacity: 70%;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
}

header p {
    font-size: 1rem;
    margin: 0.5rem 0 0;
}

/* Hero Section */
.hero {
    text-align: center;
    background-color: black;
    opacity: 70%;
    color: #fff;
    padding: 1rem;
    font-size: 1rem;
}

.hero a {
    color: #8a8fed;
    text-decoration: none;
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

main h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Story Grid */
.story-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Story Card */
.story-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.story-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.story-details {
    padding: 1rem;
}

.story-details h3 {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
}

.story-details p {
    margin: 0.5rem 0;
    color: #555;
}

.read-more {
    color: #007BFF;
    text-decoration: none;
    font-weight: bold;
}

.read-more:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    text-align: center;
    background: #1f0d00;
    color: #fff;
    padding: 1rem 0;
    margin-top: 2rem;
}
.like-section {
    margin-top: 10px;
    display: flex;
    align-items: center;
}

.like-button {
    background-color: #007BFF;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    cursor: pointer;
    margin-right: 10px;
}

.like-button:hover {
    background-color: #0056b3;
}

.like-count {
    font-weight: bold;
    color: #333;
}
.like-button {
    background-color: transparent;
    border: none;
    font-size: 24px;
    color: brown; 
    cursor: pointer;
}

.like-button:hover {
    transform: scale(1.2); 
    transition: transform 0.2s ease-in-out;
}


