/* ===== RESET ===== */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Verdana, sans-serif;
    background: #ffeef7;
    overflow-x: hidden;
}

/* ===== RAIN ===== */
.rain {
    position: fixed;
    top: -100px;
    width: 100%;
    pointer-events: none;
    z-index: 999;
}

.rain img {
    animation: fall linear infinite;
    margin: 0 30px;
}

.rain1 img {
    animation-duration: 6s;
}

.rain2 img {
    animation-duration: 9s;
    opacity: 0.7;
}

@keyframes fall {
    0% { transform: translateY(-100px); }
    100% { transform: translateY(110vh); }
}

/* ===== CONTAINER ===== */
#container {
    width: 950px;
    margin: 20px auto;
    background: #fff0f6;
    border: 3px solid #ffb6d5;
    border-radius: 12px;
    overflow: hidden;
}

/* ===== HEADER ===== */
#header {
    height: 220px;
    background-image: url("https://i.ibb.co/nxHtD5P/IMG-8109.gif");
    background-size: cover;
    background-position: center;
    border-bottom: 4px dashed hotpink;
}

/* ===== MARQUEE ===== */
marquee {
    background: #ffd6ec;
    color: #ff4fa3;
    font-weight: bold;
    padding: 6px;
    border-bottom: 2px dotted #ff9ccc;
}

/* ===== LAYOUT ===== */
#layout {
    display: flex;
    gap: 10px;
    padding: 10px;
}

/* ===== SIDE COLUMNS ===== */
#left, #right {
    width: 180px;
}

/* ===== MAIN ===== */
#main {
    flex: 1;
    min-width: 0;
}

/* ===== BOXES ===== */
.box {
    background: #fff7fb;
    border: 2px solid #ffc2dc;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 10px;
    box-shadow: inset 0 0 6px rgba(255,182,193,0.2);
}

/* ===== HEADINGS ===== */
.box h3 {
    margin-top: 0;
    color: #ff69b4;
    font-size: 14px;
}

/* ===== MAIN ABOUT BOX ===== */
.mainbox {
    border: 3px solid #ff9ccc;
    background: #fff0f8;
}

/* ===== FIXED ABOUT SECTION (NO OVERFLOW) ===== */
.about-box {
    height: 500px;
    display: flex;
    flex-direction: column;
}

.about-box h2 {
    margin: 0 0 8px 0;
    text-align: center;
    flex-shrink: 0;
}

/* THIS IS THE IMPORTANT FIX */
.about-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 8px;
    border: 1px dashed #ffb6d5;
    border-radius: 8px;
}

/* ===== SCROLLBAR (cute) ===== */
.about-scroll::-webkit-scrollbar {
    width: 8px;
}

.about-scroll::-webkit-scrollbar-thumb {
    background: #ff9ccc;
    border-radius: 10px;
}

/* ===== IMAGES ===== */
img {
    max-width: 100%;
    display: block;
    margin: 5px auto;
    border: none;
}

/* REMOVE CLICK BORDER */
a img {
    border: none;
}

/* ===== IMAGE HOVER ===== */
.image-link img {
    transition: 0.2s;
}

.image-link img:hover {
    transform: scale(1.05) rotate(-1deg);
}

/* ===== SCROLL GIF BOX ===== */
.scroll-box {
    max-height: 120px;
    overflow-y: auto;
}

.scroll-box img {
    margin-bottom: 5px;
    
    /* GIF GRID */
.gif-wall {
    display: flex;        /* use flexbox */
    flex-wrap: wrap;      /* wrap to next row when row fills */
    gap: 8px;             /* space between gifs */
    justify-content: center; /* center grid horizontally */
}

/* ALL GIFS SAME SIZE */
.gif-wall img {
    width: 100px;         /* uniform width */
    height: 100px;        /* uniform height */
    object-fit: cover;    /* crops images if needed */
    border-radius: 8px;   /* optional: rounded corners */
    transition: transform 0.2s; /* hover effect smooth */
}

/* HOVER EFFECT */
.gif-wall img:hover {
    transform: scale(1.1) rotate(-2deg);
}
}

/* ===== FOOTER ===== */
#footer {
    background: #ffd6ec;
    border-top: 3px solid #ffb6d5;
    padding: 5px;
    text-align: center;
}