/* BRIAN TRANSPLANT - MASTER STYLESHEET */
* {
    box-sizing: border-box;
}

html, body {
    background-color: #1a1a1a;
    background-image: url('bt-pumpkins.png');
    background-repeat: repeat;
    background-attachment: fixed;
    background-size: 32px;
	background-color: #000000;
	image-rendering: pixelated;
    color: #39ff14;
    font-family: 'Courier New', Courier, monospace;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

img, video, canvas, iframe {
    max-width: 100%;
    height: auto;
}

header {
    background-color: #000;
    padding: 20px 10px;
    border-bottom: 3px solid #8822ff;
    text-align: center;
}

.main-logo {
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 0 10px #ff6600);
}

.container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 15px;
    gap: 15px;
    width: 100%;
}

.column {
    padding: 15px;
    background-color: #222;
    border: 2px solid #333;
    flex: 1;
}

.side-left { min-width: 250px; border-color: #8822ff; }
.main-content {
	flex: 3;
	min-width: 300px;
	border-color: #ff6600;
	background-color: rgba(0, 0, 0, 0.8); /* 80% black to let pumpkins peek through */
    padding: 20px;
    border: 1px solid #333;
}
.side-right { min-width: 250px; border-color: #39ff14; }

.main-content p {
    margin-bottom: 1.5rem; /* Adds space between paragraphs */
    font-size: 1.1rem;      /* Slightly larger for readability */
    color: #e0e0e0;
    text-align: justify;   /* Optional: Gives it that newspaper column look */
    hyphens: auto;         /* Works with justify to prevent big gaps */
}

/* Ensure images inside paragraphs don't break things */
.main-content img {
    margin: 10px 0;
}

h2, h3 {
    color: #ff6600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0;
}

.side-right h3 {
    color: #39ff14;
    text-shadow: 0 0 8px rgba(57, 255, 20, 0.5);
    font-size: 1.1em;
    text-align: center;
    display: block;
    width: 100%;
}

.side-left h3 {
    font-size: 1.1em;
    color: #8822ff;
    text-transform: uppercase;
    border-bottom: 1px solid #333;
    padding-bottom: 5px;
    margin-bottom: 15px;
    letter-spacing: 3px;
    text-align: left;
}

a { color: #39ff14; text-decoration: none; font-weight: bold; }
a:hover { color: #ff6600; text-decoration: underline; }

nav ul {
    list-style-type: '👻 ';
    padding-left: 25px;
    margin: 15px 0;
}

nav li {
    margin-bottom: 10px;
    padding-left: 5px;
}

.widget-box {
    background: #111;
    border: 1px dashed #39ff14;
    padding: 15px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center Skelly and Egg */
    text-align: center;
    width: 100%;
}

#hit-count {
    font-family: 'Courier New', monospace;
    background: #000;
    padding: 5px 10px;
    border: 1px inset #333;
    display: inline-block;
    box-shadow: inset 0 0 5px #39ff14;
    color: #39ff14;
    text-shadow: 0 0 5px #39ff14;
    margin: 10px 0;
}

.feed-container {
    background: #111;
    border: 1px solid #333;
    margin-bottom: 15px;
    font-size: 0.85em;
    width: 100%;
}

.feed-header {
    background: #8822ff;
    color: white;
    padding: 5px;
    font-weight: bold;
    text-align: center;
}

.feed-content {
    height: 400px;
    overflow-y: scroll;
    padding: 10px;
}

#mastodon-feed p, #mastodon-feed span, #mastodon-feed a,
#bluesky-feed p, #bluesky-feed span, #bluesky-feed a {
    border-bottom: none !important;
    padding: 0 !important;
    margin: 5px 0 !important;
}

.feed-post {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px dotted #444;
}

.bio-photo {
    float: right;
    width: 250px;
    margin-left: 20px;
    margin-bottom: 15px;
    border: 3px solid #8822ff;
}

footer {
    background-color: #000000;
    border-top: 2px solid #39ff14;
    padding: 20px;
    margin-top: 40px;
    text-align: center;
    font-size: 0.8rem;
}

@media (max-width: 800px) {
    .container {
        flex-direction: column;
    }

    .column {
        width: 100% !important;
        min-width: 0 !important;
        flex: none;
    }

    .bio-photo {
        float: none;
        display: block;
        margin: 0 auto 20px auto;
        width: 100%;
    }
}

.tip-zone {
    display: flex;
    flex-direction: column; /* Stack them vertically */
    align-items: center;    /* Center them horizontally */
    justify-content: center;
    gap: 15px;              /* Adds clean space between the two buttons */
    margin: 20px 0;         /* Space away from the nav list above it */
    width: 100%;
}

.tip-zone div, 
.tip-zone iframe, 
.tip-zone script {
    margin: 0 auto !important;
    text-align: center;
}