/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}


aside{
    display: block;
    background-color: #6c492c;
    color: bisque;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    /* avoid fixed height here—specific asides (like #right) control sizing */
}

#right {
    position: fixed;
    top: 30%;    /* sit below the fixed header */
    bottom: 20%; /* sit above the fixed footer */
    right: 0;
    width: 20%;
    overflow-y: auto;
    padding: 1rem;
    z-index: 1000;
}


@media (max-width: 900px) {
    /* On small screens the aside should flow with the document */
    #right {
        position: static;
        width: 100%;
        height: auto;
        box-shadow: none;
    }

    .with-fixed-aside { margin-right: 0; }
}

footer{
    display: block;
    position: fixed;
    bottom: 0;
    width: 75.35%;
    background-color: #6c492c;
    color: bisque;
    text-align: center;
    padding: 10px;
    border-top-right-radius: 4px;
}

a{
    color: bisque;
}

header{
    display: block;
    position: fixed;
    top: 0;
    width: 75.35%;
    background-color: #6c492c;
    color: bisque;
    text-align: center;
    padding: 10px;
    border-bottom-right-radius: 4px;
}

img{
    display: block;
    width: 100%;
}

/* Two-column main layout (primary + secondary column) */
.two-col {
    display: grid;
    grid-template-columns: 1fr 20%; /* main column | secondary column matching #right */
    gap: 1.5rem;
    align-items: start;
    padding: 1rem;
}

body{
    background-color: bisque;
    color: #6c492c;
}

/* Style the navigation menu */
/* Top navigation pinned to the right side */
/* topnav — conventional full-width fixed top bar */
/* Top-right hamburger menu (popup) */
.topnav {
    position: fixed;
    top: 0;
    right: 0;
    height: 60px;
    background: transparent; /* keep page header styling for background */
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 0.5rem;
    z-index: 1300;
}

/* The hamburger button (styled as anchor) */
.topnav a.icon {
    display: inline-block;
    background: #333;
    color: white;
    padding: 10px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 20px;
}

/* Popup menu that appears under the hamburger */
#myLinks {
    display: none; /* hidden by default */
    position: fixed;
    top: 60px;       /* below the header */
    right: 8px;      /* align with hamburger */
    min-width: 200px;
    background: #333;
    border-radius: 6px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    z-index: 1400;
    padding: 0.25rem 0;
}

#myLinks.show {
    display: block;
}

.topnav #myLinks a {
    display: block;
    color: white;
    padding: 10px 16px;
    text-decoration: none;
    font-size: 15px;
}

.topnav #myLinks a:hover {
    background: #444;
}

/* On very small screens keep the same behavior */
@media (max-width: 420px) {
    #myLinks { right: 4px; min-width: 160px; }
    .topnav a.icon { padding: 8px 10px; }
}

/* ensure main content clears the fixed header */
.two-col.with-fixed-aside, .two-col {
    padding-top: 80px; /* leaves room for the fixed header */
}

/* Add a grey background color on mouse-over */
.topnav a:hover {
  background-color: #ddd;
  color: black;
}

/* Style the active link (or home/logo) */
.active {
  background-color: #6c492c;
  color: white;
  font-size: 50px;
}

.two-col .col-side {
    background: #f9f9f9;
    padding: 0.75rem;
    border-radius: 4px;
}

@media (max-width: 1100px) {
    .two-col {
        grid-template-columns: 1fr 18%;
    }
}

@media (max-width: 800px) {
    .two-col {
        grid-template-columns: 1fr; /* stack columns on small screens */
    }
}

/* Prevent the main/grid from being covered by the fixed right aside (#right) */
.with-fixed-aside {
    margin-right: 20%; /* matches #right width */
}

@media (max-width: 600px) {
    .with-fixed-aside { margin-right: 0; }
}   

/* Style the existing secondary div (id=secondary) in case it lacks classes */
#secondary,
.col-side {
    background-color: #6c492c;
    color: bisque;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

#secondary{
    width: 75%;
}

iframe{
    width: 100%;
}

































