/* Colors */
:root {
    --primary-color: #af7dd0; /* Light Purple */
    --secondary-color: #ffffff; /* White */
    --accent-color: #333333; /* Dark gray */
    --background-color: #f5f5f5; /* Light gray */
}

/* General */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    color: var(--accent-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

a:hover {
    text-decoration: underline;
}


/* Header */
.header {
    background-color: rgb(255, 255, 255);
    padding: 20px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow under header */
    padding-left: 60px; /* Extra space to avoid overlapping with social bar */
    color: black; 
}

.header nav a {
    margin: 0 15px;
    color: var(--secondary-color);
    font-weight: bold;
}

.header nav a:hover {
    text-decoration: underline;
}

header {
    background-color: #ffffff;
    padding: 20px;
    text-align: center;
}

header h1 {
    color: #000000;
}

nav a {
    margin: 0 10px;
    color: #fff;
    text-decoration: none;
}

nav a:hover {
    color: #7b16ee;
}

.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://via.placeholder.com/1920x500');
    background-size: cover;
    background-position: center;
    color: var(--secondary-color);
    text-align: center;
    padding: 100px 20px;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.cta-button {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
}

.cta-button:hover {
    background-color: var(--accent-color);
    color: var(--secondary-color);
}


/* footer {
    background-color: #2c2c3e;
    text-align: center;
    padding: 10px;
    position: absolute;
    width: 100%;
    bottom: 0;
} */

.blog-list .post {
    background-color: #2c2c3e;
    margin: 20px 0;
    padding: 20px;
    border-radius: 10px;
}

.about, .contact {
    text-align: center;
    padding: 20px;
}

.contact ul {
    list-style: none;
    padding: 0;
}

.contact li {
    margin: 10px 0;
}

.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--dark-color);
    padding: 50px 20px;
    text-align: center;
    border-radius: 10px;
}

.hero h2 {
    font-size: 2.5rem;
}

.hero p {
    font-size: 1.2rem;
    margin: 15px 0;
}

.cta-button {
    background-color: var(--dark-color);
    color: var(--secondary-color);
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
}

.cta-button:hover {
    background-color: var(--primary-color);
    color: var(--dark-color);
}

.blog-section {
    padding: 40px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.blog-card {
    background-color: var(--secondary-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.blog-card img {
    width: 100%;
    height: auto;
}

.card-content {
    padding: 20px;
    text-align: center;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.card-content p {
    font-size: 1rem;
    margin-bottom: 15px;
}

.read-more {
    font-weight: bold;
}

footer {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    text-align: center;
    padding: 10px 0;
}

/* Logo and Title Section */
.logo-container {
    text-align: center;
    margin-bottom: 20px;
}

.logo-link {
    text-decoration: none;
    color: var(--accent-color);
    display: inline-block;
}

.channel-logo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid rgb(0, 0, 0);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.channel-logo:hover {
    transform: scale(1.1);
}

.channel-name {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0;
    color: rgb(0, 0, 0);
}

.channel-name:hover {
    text-decoration: underline;
}

/* Social Bar */
.social-bar {
    /* background-color: rgb(249, 186, 249); */
    background-color: #ffffff;
    display: flex;
    justify-content: center; /* Align items to the left */
    padding: 10px 20px; /* Adjust padding for better spacing */
    margin-left: -1000px;
    margin-top: 20px;
}

.social-icon img {
    width: 30px;
    height: 25px;
    margin-right: 15px; /* Space between icons */
    transition: transform 0.3s ease, opacity 0.3s ease;
    filter: grayscale(100%);
}

.social-icon img:hover {
    transform: scale(1.2);
    filter: grayscale(0%);
    opacity: 0.8;
}

.social-link {
    color: var(--secondary-color);
    margin: 0 10px;
    font-size: 1rem;
    text-decoration: none;
    font-weight: bold;
}

.social-link:hover {
    text-decoration: underline;
}

/* Navigation Bar */
.navigation-bar {
    text-align: center;
    padding: 10px 0;
    color: black;
}

.navigation-bar a {
    margin: 0 15px;
    font-size: 1.2rem;
    text-decoration: none;
    font-weight: bold;
    color: black;
}

.navigation-bar a:hover {
    color: #555;
}

.header .navigation-bar a {
    color: black;
}

/* Responsive Header */
@media (max-width: 768px) {
    .social-link {
        font-size: 0.9rem;
    }

    .social-icon img {
        width: 25px;
        height: 25px;
        margin-right: 10px; /* Adjust space between icons */
    }

    .social-bar {
        left: 10px; /* Reduce left margin for smaller screens */
        gap: 5px; /* Decrease space between icons */
    }

    .channel-logo {
        width: 120px;
        height: 120px;
    }

    .channel-name {
        font-size: 2rem;
    }

    .navigation-bar a {
        font-size: 1rem;
    }
}

/* Post Content Styling */
.post-content {
    padding: 30px 20px;
    background-color: #ffffff; /* White background for a clean look */
    border-radius: 10px; /* Rounded corners for a modern feel */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    color: #333; /* Dark gray text for better readability */
    text-align: left; /* Center-align the content */
}

.post-content h2 {
    font-size: 2.2rem;
    color: #af7dd0; /* Light purple for a modern accent */
    font-weight: bold; /* Bold text */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1); /* Subtle shadow for emphasis */
}

.post-content h3 {
    font-size: 2rem;
    color: #444; /* Dark gray for better contrast */
    font-weight: bold; /* Bold text */
}

.post-content p {
    font-size: 1rem;
    color: #555; /* Medium gray for softer contrast */
    font-weight: normal; /* Normal weight for better readability */
    line-height: 1.8; /* Increased line height for better spacing */
    margin-bottom: 20px; /* Space between paragraphs */
}

.post-content img {
    width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 8px; /* Rounded corners for images */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for images */
}

.latest-posts {
    margin: 40px 0;
    padding: 20px;
    background-color: var(--secondary-color);
    border-radius: 10px;
}

.post-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.post {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    text-align: center;
}

.post a {
    display: inline-block;
    margin-top: 10px;
    color: var(--secondary-color);
    text-decoration: underline;
}

.post a:hover {
    color: var(--background-color);
}

.back-to-home {
    display: inline-block;
    padding: 10px 15px;
    background-color: #8e44ad;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.back-to-home:hover {
    background-color: #732d91;
}

/* Universe Section Styling */
.universe-section {
    padding: 40px 20px;
    text-align: center;
    background-color: #f9f9f9;
}

.universe-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
}

.universe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive grid */
    gap: 20px;
    justify-content: center;
}

.universe-card {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s ease, filter 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.universe-card:hover {
    transform: scale(1.1); /* Enlarge on hover */
    filter: brightness(1.3); /* Increase luminosity */
}

.image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
}

.image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-wrapper .gif {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.universe-card:hover .image-wrapper .gif {
    opacity: 1; /* Show GIF on hover */
}

.universe-card:hover .image-wrapper .still {
    opacity: 0; /* Hide still image on hover */
}

.universe-card .overlay {
    position: absolute;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay */
    width: 100%;
    padding: 10px;
    color: white;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.universe-card:hover .overlay {
    opacity: 1; /* Show overlay on hover */
}

.universe-card .overlay h3 {
    color: #fff;
    font-size: 1.5rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
    text-align: center;
}