
body {
    margin: 0;
    padding: 15px;
    font-family: 'DynaPuff', 'Comic Sans MS', sans-serif;
    background-color: #303030;
    background-image: url('../img/Background.png');
    color: #000;
    line-height: 1.6;
}

.title {
    text-align: center;  /* Centers child inline elements */
}

.content {
            padding: 20px;
            display: flex;
        }
        
        .main-content {
            flex: 3;
        }
        
        .sidebar {
            flex: 1;
            background-color: #e5e5e5;
            padding: 10px;
            border: 2px dashed #000000;
            border-radius: 10px;
        }
        
        .inline-gif {
            width: 30px;          /* Small size */
            height: auto;
            vertical-align: middle; /* Aligns with text */
            margin-right: 10px;   /* Space between GIF and text */
            display: inline-block;
        }
        
        .footer {
            background-color: #000;
            color: #fff;
            text-align: center;
            padding: 15px;
            font-size: 0.9em;
            border-top: 8px groove #666;
        }
        
img {
    max-width: 25%;  /* Never wider than container */
    height: auto;     /* Maintain aspect ratio */
}

h3 {
    color: #ff0000;
    font-size: 1.5em;
    text-decoration: underline;
    margin-top: 0;
}

hr {
    border: 0;
    height: 4px;
    background-image: linear-gradient(to right, #000000, #ffffff);
    margin: 20px 0;
}

.container {
    width: 800px;
    margin: 0 auto;
    background-color: #fff;
    border: 8px double #000;
    box-shadow: 10px 10px 0px #333;
    position: relative;
}

.header {
    background: pink;
    padding: 20px;
    text-align: center;
    border-bottom: 8px ridge #000;
    position: relative;
}

.nav {
    background-color: #000; /* Background for rest of nav */
    background-image: url('../img/moonheader.png'); /* Your low-height image */
    background-position: left center; /* Align to left, center vertically */
    background-size: auto 100%; /* Keep natural width, height = 50% of nav */
    background-repeat: no-repeat; /* Don't repeat */
    
    /* Adjust padding-left if image width overlaps content */
    padding: 10px 10px 10px 10px; /* Normal padding */
    min-height: 60px; /* Nav minimum height */
    
    /* Flexbox to center content */
    display: flex;
    align-items: center;
    justify-content: center;
    
    justify-content: flex-end;
    padding-right: 20px;
}

.nav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    
    /* 1. MAKE SMALLER: Reduce padding */
    padding: 4px 11px;          /* Changed from 8px 15px */
    font-size: 0.85em;           /* Slightly smaller text */
    
    margin: 0 5px;              /* Reduced spacing between buttons */
    
    background-color: rgba(255, 0, 255, 0.8); /* 80% opacity */
    
    border-radius: 7px;         /* Slightly smaller radius */
    
    display: inline-block;
    transition: all 0.3s;
    
    /* Optional: Add darker border */
    border: 2px solid #990099;  /* Even darker border */
    
}
.nav a:hover {
    background-color: #aa00aa;  /* Darker on hover */
    transform: scale(1.05);     /* Smaller scale effect */
}

.marquee {
            background-color: #000000;
            color: #d40404;
            padding: 1px;
            font-weight: bold;
            overflow: hidden;
            white-space: nowrap;
            box-sizing: border-box;
        }

.marquee span {
    display: inline-block;
            padding-left: 100%;
            animation: marquee 15s linear infinite;
}

    /* ABOUT ME PAGE*/
.profile-section {
            display: flex;
            gap: 30px;
            margin-bottom: 30px;
            align-items: flex-start;
        }
        
.profile-pic {
    width: 200px;
    text-align: center;
    margin: 0 auto;
}

        .favorites-list {
            list-style-type: none;
            padding-left: 0;
        }
        
        .favorites-list li {
            background-color: #ffccff;
            margin: 8px 0;
            padding: 10px;
            border-left: 5px solid #ff00ff;
            border-radius: 5px;
        }
        
        .favorites-list li::before {
            content: "★ ";
            color: #ff9900;
        }

 .info-box {
            background-color: #f9f4fc;
            border: 5px groove #000000;
            padding: 20px;
            margin: 20px 0;
            border-radius: 10px;
        }
        
        .info-box h3 {
            color: rgb(236, 0, 0);
            margin-top: 0;
            text-align: center;
            font-size: 1.5em;
            text-decoration: underline;
        }
        
        .interests-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;
            margin-top: 15px;
        }
        
        .interest-item {
            background-color: rgba(255, 0, 255, 0.227);
            border: 3px solid #99009961;
            padding: 10px;
            color: rgb(50, 50, 50);
            text-align: center;
            border-radius: 8px;
            transition: all 0.3s;
        }
        
        .interest-item:hover {
            background-color: #aa00aa81;
            transform: scale(1.05);
        }
        
        .interest-icon {
            font-size: 24px;
            margin-bottom: 5px;
        }

@keyframes marquee {
            0% { transform: translateX(0); }
            100% { transform: translateX(-100%); }
        }

.caption {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    font-style: italic;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 15px;
}

.stat-item {
    text-align: center;
    min-width: 120px;
}

.stat-icon {
    width: 40px;      /* All stat icons same size */
    height: 40px;
    display: block;
    margin: 0 auto 8px;
    object-fit: contain;
}

/* Interest icons */
.interest-icon-img {
    width: 32px;      /* All interest icons same size */
    height: 32px;
    display: block;
    margin: 0 auto 8px;
    object-fit: contain;
}

.interest-sub {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

/* Two columns layout */
.two-columns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.column {
    flex: 1;
    min-width: 250px;
}

/* Terminal style box */
.terminal-box {
    background-color: #000;
    color: #00ff00;
    padding: 15px;
    font-family: 'Courier New', monospace;
    border: 3px solid #00ff00;
    font-size: 14px;
    line-height: 1.5;
}

.computer-note {
    text-align: center;
    margin-top: 10px;
    font-size: 12px;
    color: #666;
}

/* Footer image */
.footer-img {
    max-width: 100px;
    height: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .stat-icon {
        width: 35px;
        height: 35px;
    }
    
    .interest-icon-img {
        width: 28px;
        height: 28px;
    }
    
    .two-columns {
        flex-direction: column;
    }
    
    .column {
        min-width: 100%;
    }
}

.back-link {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 20px;
}

.back-link a {
    color: #ff00ff;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 2px dotted #ff00ff;
}

.back-link a:hover {
    color: #aa00aa;
    border-bottom: 2px solid #aa00aa;
}

.cpointer {
  cursor: pointer;
}