body {
    background-image: url('https://okamawizard.neocities.org/backgrounds/write006.jpg');
    background-repeat: repeat;
    background-attachment: fixed;
    margin: 0;
    padding: 0;
    font-family: 'Comic Sans MS', 'Comic Sans', cursive;
    color: #333;
    text-align: center;
}

.pokemon-banner-aligned-left {
  width: 150px;
}

@media screen and (max-width: 768px) {
  .pokemon-banner-aligned-left {
    display: none;
  }
  .left-aside {
    display: none;
  }
  .right-aside {
    display: none;
  }
}

.page-wrapper {
    width: 95%;
    max-width: 1200px;
    margin: 20px auto;
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
}

.page-header {
    text-align: center;
    padding-bottom: 20px;
    /* Changed border-bottom color to purple */
    border-bottom: 2px dashed #8A2BE2;
    margin-bottom: 20px;
}

.page-header h1 {
    font-size: 3em;
    /* Changed color to true blue */
    color: #0000FF;
    /* Changed text-shadow to purple */
    text-shadow: 2px 2px #8A2BE2;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.2em;
    /* Changed color to purple */
    color: #8A2BE2;
}

.main-content-layout {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 25px;
    flex-wrap: wrap;
}

.sidebar {
    flex-shrink: 0;
    width: 150px; /* Increased sidebar width to 150px */
    padding: 10px;
    background-color: rgba(150, 190, 255, 0.7); /* Light blue */
    border: 2px solid #0000FF; /* True blue */
    box-shadow: 0 0 10px rgba(0, 0, 255, 0.5); /* True blue */
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.sidebar h2 {
    font-size: 1.2em;
    /* Changed color to dark blue for contrast */
    color: #00008B;
    /* Changed text-shadow to lighter purple */
    text-shadow: 1px 1px #E6C8FF;
    margin-bottom: 5px;
    /* Changed border-bottom to true blue */
    border-bottom: 1px dotted #0000FF;
    padding-bottom: 5px;
    width: 100%;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.sidebar ul li a {
    color: #0000FF; /* Kept true blue */
    text-decoration: underline;
    font-weight: bold;
}

.sidebar ul li a:hover {
    /* Changed hover color to purple */
    color: #8A2BE2;
}

.sidebar-banner {
    max-width: 100%;
    height: auto;
    border-radius: 0;
    margin-top: 5px;
    box-shadow: none;
}

.main-text-area {
    flex-grow: 1;
    max-width: 700px;
    padding: 20px;
    background-color: rgba(230, 200, 255, 0.8); /* Light purple */
    border: 2px solid #8A2BE2; /* Purple */
    box-shadow: 0 0 10px rgba(138, 43, 226, 0.5); /* Purple */
    border-radius: 10px;
}

.main-text-area h2 {
    font-size: 2em;
    /* Changed color to true blue for contrast on purple */
    color: #0000FF;
    margin-bottom: 15px;
    text-align: left;
}

.main-text-area p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 1em;
    color: #4a4a4a;
}

.main-image {
    max-width: 90%;
    height: auto;
    display: block;
    margin: 20px auto;
    border: none;
    box-shadow: none;
}

.image-caption {
    text-align: center;
    font-size: 0.9em;
    /* Changed color to dark blue for contrast on light purple */
    color: #000080;
    margin-top: -10px;
    margin-bottom: 20px;
}

/* Styles for Pokémon entries */
.pokemon-entry {
    margin-bottom: 30px; /* Space between entries */
    padding-bottom: 20px;
    border-bottom: 1px dashed #8A2BE2; /* A subtle purple separator */
    overflow: auto; /* Ensures the container clears its floated children */
}

.pokemon-entry:last-child {
    border-bottom: none; /* No border for the last entry */
}

.pokemon-card-image {
    float: left;
    height: 300px; /* Explicitly set height to 300px */
    width: auto; /* Allow width to adjust proportionally */
    margin-right: 20px; /* Space between image and text */
    margin-bottom: 10px; /* Space below image if text wraps */
    border-radius: 8px; /* Slightly rounded corners */
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3); /* Add a subtle shadow */
}

.pokemon-entry h3 {
    font-size: 1.5em;
    color: #0000FF; /* True blue for headings */
    margin-top: 0; /* Adjust margin to align with image */
    margin-bottom: 10px;
}

.pokemon-entry p {
    margin-bottom: 0.5em;
    color: #4a4a4a; /* Keeping main text dark for readability */
}

.pokemon-entry strong {
    color: #8A2BE2; /* Purple for strong text */
}

.scrolling-banner-container {
    width: 100%;
    overflow: hidden;
    /* Changed background-color to a darker blue */
    background-color: rgba(0, 0, 150, 0.7);
    /* Changed border to navy blue */
    border: 2px solid #000080;
    border-radius: 8px;
    padding: 10px 0;
    margin-top: 20px;
}

.scrolling-content {
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 10px;
    height: 50px;
    animation: scroll-left 25s linear infinite;
    width: max-content;
}

.stamp {
    height: 50px;
    width: auto;
    flex-shrink: 0;
    border: 1px solid #fff;
    border-radius: 3px;
}

@keyframes scroll-left {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.homepage-link {
    margin: 20px auto;
    background-color: #8A2BE2; /* Purple */
    padding: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 255, 0.6); /* Blue */
    display: inline-block;
}

@media (max-width: 900px) {
    body {
        font-family: "Chalkboard SE", sans-serif;
    }
}
@media (max-width: 600px) {
    .main-content-layout {
        flex-direction: column;
        align-items: center;
        justify-content: center; /* This centers the children horizontally */
    }

    .sidebar {
        width: 90%;
        max-width: 300px;
        display: none;
    }

    .main-text-area {
        width: 95%;
        max-width: none;
    }
}

/* STUFF BROCK ADDED TO THE STYLE */

/* Basic Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.pokemon-top-20-body {
    font-family: 'Press Start 2P', monospace; /* Retro pixel font */
    color: #0000FF; /* Changed to true blue */
    display: flex;
    justify-content: center;
    padding: 20px;
    min-height: 100vh;
    line-height: 1.5;
    font-size: 0.9em; /* Adjust font size for pixel clarity */
}

.pokemon-top-20-container {
    width: 90%; /* Some fraction of the screen width */
    max-width: 960px; /* Max width for larger screens */
    background-color: #000; /* Black container background */
    border: 4px solid #0000FF; /* Changed to true blue */
    box-shadow: 0 0 15px #0000FF; /* Changed to true blue */
    padding: 20px;
    overflow: hidden; /* Clear floats */
}

.pokemon-h1 {
    font-size: 1.8em; /* Retro large text */
    text-align: center;
    color: #8A2BE2; /* Changed to purple */
    margin-bottom: 30px;
    text-shadow: 2px 2px #000;
}

.card-list {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Space between cards */
}

.pokemon-card {
    display: grid;
    /* For small screens: image row, details row */
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 15px;
    background-color: rgba(230, 200, 255, 0.8);
    border: 2px solid #0000FF; /* Changed to true blue */
    padding: 15px;
    box-shadow: 0 0 8px #0000FF; /* Changed to true blue */
}

@media (min-width: 640px) { /* Equivalent to Tailwind's 'sm' breakpoint */
    .pokemon-card {
        /* For larger screens: image column (200px), details column (remainder) */
        grid-template-columns: 200px 1fr;
        grid-template-rows: auto;
        align-items: start; /* Align content to the top */
    }
}

.pokemon-image-container {
    width: 100%; /* Full width on small screens */
    max-width: 200px; /* Max width for consistency on larger screens */
    height: auto;
    border: 2px dashed #8A2BE2; /* Changed to purple */
    overflow: hidden;
    background-color: #111; /* Dark background for image */
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto; /* Center image on small screens */
}

.pokemon-image-container img {
    width: 100%;
    height: auto;
    display: block;
    image-rendering: pixelated; /* Ensures pixel art looks sharp */
}

.pokemon-details {
    color: #0000FF; /* Changed to true blue */
}

.pokemon-details h2 {
    font-size: 1.5em;
    color: #8A2BE2; /* Changed to purple */
    margin-bottom: 10px;
    text-shadow: 1px 1px #000;
}

.pokemon-details strong {
    color: #8A2BE2; /* Changed to purple */
}

p {
    margin-bottom: 5px;
}
