/* Body and Repeating Layout Background */
body {
    background-color: #ffdae9;
    /* Replace URL with a link to a tiny repeating pattern like a bow or star */
    background-image: url('https://transparenttextures.com'); 
    background-attachment: fixed;
    font-family: 'MS PGothic', 'Courier New', sans-serif;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
}

/* Centered Site Frame */
.site-wrapper {
    max-width: 1000px;
    width: 100%;
    background-color: #ffb7db; /* Outer pink frame color */
    border: 4px double #ff69b4;
    padding: 15px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

/* 1. Header Banner Styling */
.main-banner {
    background: linear-gradient(to right, #ffb7db, #ffe3f1);
    border: 3px double #ff69b4;
    height: 180px;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
}

.banner-content h1 {
    margin: 20px;
    font-size: 3rem;
    color: #ff3399;
    text-shadow: 2px 2px #fff;
    font-style: italic;
}

/* 2. Three Column Responsive Grid */
.grid-container {
    display: grid;
    grid-template-columns: 220px 1fr 220px; /* Exact side-to-middle ratio */
    gap: 12px;
}

/* Fallback for smaller monitors/screens */
@media (max-width: 800px) {
    .grid-container {
        grid-template-columns: 1fr;
    }
}

/* Individual Content Box Styles */
.box-container {
    background-color: #ffffff;
    border: 2px solid #ff69b4;
    margin-bottom: 12px;
    border-radius: 4px;
    overflow: hidden;
}

/* Headers on top of each box */
.box-title {
    background: repeating-linear-gradient(
      45deg,
      #ffb7db,
      #ffb7db 10px,
      #ffcce6 10px,
      #ffcce6 20px
    ); /* Pink candy stripe pattern */
    color: #ff007f;
    margin: 0;
    padding: 5px;
    font-size: 1rem;
    text-align: center;
    border-bottom: 2px dashed #ff69b4;
    letter-spacing: 2px;
}

/* Text and inner area of each box */
.box-content {
    padding: 10px;
    font-size: 0.85rem;
    color: #444;
    line-height: 1.4;
}

/* Sidebar Navigation Buttons */
.nav-links a {
    display: block;
    background-color: #ffe6f2;
    border: 1px solid #ffb7db;
    color: #ff007f;
    text-decoration: none;
    padding: 6px;
    margin-bottom: 5px;
    text-align: center;
    border-radius: 3px;
    font-weight: bold;
}

.nav-links a:hover {
    background-color: #ffb7db;
    color: white;
}

/* Horizontal spacing for pixel badges or webrings */
.webrings-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}
