/* site-glass.css */

/* Make background fixed so scrolling reveals glass effect */
body {
    background: url('secure/wallpapers/forest.jpeg') center/cover no-repeat fixed;
    margin: 0;
    font-family: Arial, sans-serif;
    color: white;
}

/* Shared glass panel style */
.glass-panel {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

/* Top navigation styling */
.topnav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    margin: 6px; /* a couple pixels from screen edge */
}

/* Nav items inside topnav */
.topnav a {
    margin: 0 10px;
    text-decoration: none;
    color: inherit;
    font-weight: bold;
}

.topnav a:hover {
    text-decoration: underline;
}

/* Main content area */
.main-content {
    max-width: 900px;
    margin: 20px auto;
    padding: 20px;
}

/* Ensure all text inside glass panels uses same color and style */
.glass-panel * {
    background: transparent;
    color: inherit;
}

/* Uniform text selection across glass panels */
.glass-panel ::selection {
    background: rgba(255, 255, 255, 0.3);
    color: inherit;
}

/* Optional: adjust headings for readability */
h1, h2, h3 {
    margin-top: 0;
    font-weight: bold;
}

/* Optional: consistent spacing for images in content */
.main-content img {
    max-width: 100%;
    border-radius: 8px;
}
