@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Roboto:wght@400;500&display=swap');

body {
    background-color: #000;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

header {
    position: relative;
    background-color: #111;
    text-align: center;
    padding: 30px 20px;
    border-bottom: 3px solid #333;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.05);
}

h1 {
    font-family: 'Roboto', sans-serif;
    font-size: 4em;
    margin: 0;
    color: #fff;
    letter-spacing: 3px;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.2);
}

h2 {
    font-family: 'Roboto', sans-serif;
    font-style: italic;
    font-size: 1.5em;
    margin: 5px 0 0;
    color: #ddd;
}

.alternativenews {
    font-size: 1.2em;
}

section {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 2em;
    border-bottom: 2px solid #444;
    padding-bottom: 10px;
    margin-bottom: 30px;
    color: #fff;
}

ul.article-list {
    list-style-type: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

ul.article-list li {
    background-color: #222;
    border: 2px solid #444;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(255, 255, 255, 0.05), inset 0 0 10px rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

ul.article-list li a {
    color: #fff;
    text-decoration: none;
    display: block;
    padding: 30px;
    height: 100%;
    cursor: pointer;
}

ul.article-list li:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

.article-image {
    margin-top: 10px;
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    margin-bottom: 15px;
}

.read-image {
    width: 100%;
    height: 50%;
}

ul.article-list li a:hover .title {
    text-decoration: underline;
}

ul.article-list li::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 70%);
    transition: opacity 0.3s;
    opacity: 0;
    z-index: -1;
}

ul.article-list li:hover::before {
    opacity: 1;
}

.title {
    font-weight: 500;
    font-size: 1.5em;
    margin-bottom: 10px;
    display: block;
}

.meta {
    font-size: 0.9em;
    color: #aaa;
    margin-top: 10px;
}

article {
    max-width: 900px;
    margin: 20px auto;
    padding: 5px 30px 30px 30px;
    background-color: #222;
    border: 2px solid #444;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(255, 255, 255, 0.05);
}

article h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 2.5em;
    margin-bottom: 10px;
    color: #fff;
}

article .meta {
    font-size: 1em;
    color: #aaa;
    margin-bottom: 20px;
}

article p {
    margin-bottom: 20px;
    font-size: 1.2em;
    color: #ddd;
}

article ul {
    list-style-type: disc;
    padding-left: 40px;
    margin-bottom: 20px;
}

.category-hero {
    background: linear-gradient(to bottom, #333, #111);
    padding: 40px;
    text-align: center;
    border-radius: 12px;
    margin-bottom: 40px;
    box-shadow: 0 8px 16px rgba(255, 255, 255, 0.1);
}

.category-hero h2 {
    font-size: 3em;
    margin: 0;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.category-hero p {
    font-size: 1.3em;
    color: #ccc;
    margin-top: 10px;
}

article ul li {
    margin-bottom: 15px;
    font-size: 1.2em;
    color: #ddd;
}

.back-link {
    text-align: center;
    margin-top: 40px;
}

.back-link a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding: 12px 25px;
    border: 1px solid #fff;
    border-radius: 6px;
    transition: background-color 0.3s, color 0.3s;
}

.back-link a:hover {
    background-color: #fff;
    color: #000;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #111;
    border-top: 1px solid #333;
    color: #aaa;
    font-size: 0.9em;
    margin-top: 50px;
}

header a {
text-decoration: none;
color: inherit;
}

/* make the hidden checkbox accessible but not visible */
#menu-toggle {
  position: absolute;
  left: -9999px; /* keep it in the document for label toggling / accessibility */
}
/* hamburger button */
.hamburger {
  display: none;           /* shown only on small screens via media query */
  position: absolute;
  top: 18px;
  right: 20px;
  width: 34px;             /* give the label a clickable box */
  height: 26px;
  cursor: pointer;
  z-index: 1100;           /* sit above header text */
}

/* the three bars */
.hamburger span {
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: 0.25s ease-in-out;
}
.hamburger span:nth-child(1){ top: 0; }
.hamburger span:nth-child(2){ top: 11px; }
.hamburger span:nth-child(3){ top: 22px; }

/* hamburger morph when checked */
#menu-toggle:checked ~ .hamburger span:nth-child(1){
  transform: rotate(45deg);
  top: 11px;
}
#menu-toggle:checked ~ .hamburger span:nth-child(2){
  width: 0;
  opacity: 0;
}
#menu-toggle:checked ~ .hamburger span:nth-child(3){
  transform: rotate(-45deg);
  top: 11px;
}

.hamburger:hover span {
    background: #ddd;
}

.nav-menu {
    margin-top: 20px;
}

.nav-menu ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.nav-menu li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2em;
    padding: 10px 20px;
    transition: background-color 0.3s;
}

.nav-menu li a:hover {
    background-color: #333;
    border-radius: 5px;
}

       /* Custom styles for donate page to make it fancier */
        .donate-hero {
            background: linear-gradient(to bottom, #222, #000);
            padding: 60px 40px;
            text-align: center;
            border-radius: 12px;
            margin-bottom: 50px;
            box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1), inset 0 0 20px rgba(255, 255, 255, 0.05);
        }
        .donate-hero h2 {
            font-size: 3.5em;
            margin: 0 0 20px;
            color: #fff;
            text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
            font-family: 'Roboto', sans-serif;
        }
        .donate-hero p {
            font-size: 1.5em;
            color: #ddd;
            max-width: 800px;
            margin: 0 auto 30px;
        }
        .donate-content {
            max-width: 900px;
            margin: 0 auto;
            background-color: #222;
            border: 2px solid #444;
            border-radius: 12px;
            padding: 40px;
            box-shadow: 0 8px 16px rgba(255, 255, 255, 0.05);
        }
        .donate-content p {
            font-size: 1.3em;
            color: #ccc;
            margin-bottom: 30px;
        }
        .donate-content ul {
            list-style-type: disc;
            padding-left: 40px;
            margin-bottom: 40px;
        }
        .donate-content li {
            font-size: 1.2em;
            color: #ddd;
            margin-bottom: 15px;
        }
        #paypal-container-9TMSFCSM94AUW {
            margin: 0 auto;
            max-width: 300px;
            text-align: center;
        }
        .back-link {
            margin-top: 50px;
        }

@media (max-width: 768px) {
article {
    width: 80%;
}

    .hamburger {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #111;
        z-index: 1000;
    }

    ul.article-list {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 0;
    }

    .nav-menu li {
        text-align: center;
        border-bottom: 1px solid #333;
    }

    .nav-menu li a {
        display: block;
        padding: 15px;
    }

    #menu-toggle:checked ~ .nav-menu {
        display: block;
    }

    
}