h1 {
    font-size: 40px;
    text-shadow: 0 0 20px darkgrey;
    font-family: Arial;
    color: #d16ba5;
}
h2 {
  font-size: 20px;
  text-shadow: 0 0 8px darkgrey;
  font-family: Arial;
}  
.container {
  width:
700px;
margin: 60px auto;
/* centers the box */
padding: 30px;
background-color: transparent; /* inside grey */
border: 15px double darkgrey; border-radius: 20px; /* curved corners */
box-shadow: 0 0 500px #2a9d8f;
text-align: center; /* center text */
position: relative;
z-index: 1; /* keeps it above falling stars */
}
.img {
    border-radius: 15px;
    cursor: pointer;
}
img {
    transition: transform 0.3s ease;
}

img:hover {
    transform: translateY(-12px) scale(1.03);
}
body {
    background:#000 url(https://64.media.tumblr.com/9d41e600c483d4e41b16e6cb5e0838cb/678e15796c322da2-68/s250x400/c3a5a574e12151ea939ebe404806e4e3a55bf71f.webp) fixed;
    font-family: Arial;
    color: darkgrey;
    text-align: center;
    margin: 0;
    text-shadow: 0 0 4px #666666;
}
.updates-box {
    width: 30%;
    margin: 15px auto;
    padding: 2px;

    background-color: transparent;

    border: 2px double #4ecdc4; /* teal */
    border-radius: 15px;

    box-shadow: 0 0 15px #ff6b9a; /* pink glow */

    text-align: center;
}

/* clickable header */
.updates-box summary {
    cursor: pointer;
    font-size: 20px;
    margin-bottom: 10px;
}

/* remove ugly default arrow */
.updates-box summary::-webkit-details-marker {
    display: none;
}
.updates-box {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.updates-box:hover {
    transform: translateY(-10px);
}
.updates-box summary {
    display: block;   /* THIS is the key fix */
    
    background: rgba(0, 0, 0, 0.1);
    padding: 10px;

    border-radius: 10px;
    margin-bottom: 10px;

    box-shadow: inset 0 0 5px rgba(0,0,0,0.3);

    cursor: pointer;
}
.updates-box p {
    background: rgba(255,255,255,0.4);  /* lighter contrast */
    padding: 8px;
    margin: 6px 0;

    border-radius: 8px;
}
.toc li:hover {
    transform: translateY(-3px);
}
.toc li {
  background: rgba(255,255,255,0.4);
  padding: 8px;
  margin: 6px 0;
  border-radius: 8px;
}

/* Falling star container */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

/* Each star */
.star {
    position: absolute;
    top: -10px;
    font-size: 18px;
    animation: fall linear infinite, rainbow 4s infinite;
}

/* Falling animation */
@keyframes fall {
    0% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(110vh);
    }
}

/* Rainbow color animation */
@keyframes rainbow {
    0% { color: red; }
    20% { color: orange; }
    40% { color: yellow; }
    60% { color: green; }
    80% { color: blue; }
    100% { color: violet; }
}
.star-divider {
    font-size: 20px;
    margin: 15px 0;
    animation: rainbow 4s infinite;
}

/* rainbow animation */
@keyframes rainbow {
    0% { color: red; }
    20% { color: orange; }
    40% { color: yellow; }
    60% { color: green; }
    80% { color: blue; }
    100% { color: violet; }
}
/* Remove default bullets */
ul {
    list-style: none;
    padding: 0;
}

/* All bullets are stars */
li::before {
    margin-right: 6px;
    font-size: 18px;
}

/* Odd items: filled star */
li:nth-child(odd)::before {
    content: "✦";
    color: black;
}

/* Even items: empty star */
li:nth-child(even)::before {
    content: "✧";
    color: black;
}
.container {
    position: relative;
    z-index: 1;
}
