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: cornflowerblue;
    color: aliceblue;
    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: cornflowerblue;
    color: aliceblue;
    text-align: center;
    padding: 10px;
    border-top-right-radius: 4px;
}

a{
    color: aliceblue;
}

header{
    display: block;
    position: fixed;
    top: 0;
    width: 75.35%;
    background-color: cornflowerblue;
    color: aliceblue;
    text-align: center;
    padding: 10px;
    border-bottom-right-radius: 4px;
    z-index: 1
}

/* cart badge in header */
.cart-badge{ position: absolute; right: 12px; top: 50%; transform: translateY(-50%); text-decoration: none; color: aliceblue; font-size: 20px; display: inline-flex; align-items: center; }
.cart-badge-count{ position: absolute; right: -6px; top: -6px; background: aliceblue; color: cornflowerblue; border-radius: 999px; padding: 0 6px; font-weight: 700; display: none; font-size: 12px; line-height: 20px; }
header{ position: fixed; }

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: darkblue;
    color: cornflowerblue;
}

/* Homepage enhancements */
.hero{
    margin-top: 80px; /* clear header */
    padding: 2.5rem 1rem;
    background: linear-gradient(180deg, rgba(100,149,237,0.08), rgba(0,0,0,0));
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 1rem;
    align-items: center;
}
.hero-inner{ padding: 1rem; }
.hero-title{ font-size: 2rem; color: aliceblue; margin-bottom: 0.25rem; }
.hero-sub{ color: #e7f2ff; margin-bottom: 1rem; }
.hero-decor{ height: 180px; border-radius: 12px; background: linear-gradient(135deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01)); box-shadow: inset 0 0 40px rgba(255,255,255,0.02); }

.btn{ background: cornflowerblue; color: aliceblue; padding: 0.5rem 1rem; border-radius: 8px; text-decoration: none; display: inline-block; }
.btn-ghost{ background: transparent; border: 1px solid rgba(255,255,255,0.06); color: aliceblue; }

.featured{ padding: 1rem; margin-top: 1rem; }
.section-title{ color: aliceblue; font-size: 1.25rem; margin-bottom: 0.5rem; }
.featured-grid{ display: grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap: 1rem; }
.card{ background: rgba(255,255,255,0.02); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.card-img{ height: 120px; background-size: cover; background-position: center; }
.card-body{ padding: 0.75rem; display: grid; grid-template-columns: 1fr auto; gap: 0.5rem; align-items: center; }
.card-title{ color: aliceblue; font-weight: 600; }
.card-price{ color: #dff; font-weight: 700; }
.card button.add-to-cart{ grid-column: 2; padding: 0.35rem 0.6rem; border-radius: 6px; border: none; background: cornflowerblue; color: aliceblue; cursor: pointer; }

/* make layout responsive */
@media (max-width: 900px){
    .hero{ grid-template-columns: 1fr; }
    header{ position: static; width: 100%; }
}

/* 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: grid;
    align-items: center;
    justify-content: end;
    padding: 0 0.5rem;
    z-index: 1300;
}

/* The hamburger button (styled as anchor) */
.topnav a.icon {
    display: inline-block;
    background: cornflowerblue;
    color: aliceblue;
    padding: 10px 12px;
    border-radius: 5px;
    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: cornflowerblue;
    border-radius: 6px;
    box-shadow: 0 8px 20px darkblue;
    z-index: 1400;
    padding: 0.25rem 0;
}

#myLinks.show {
    display: grid;
}

.topnav #myLinks a {
    display: block;
    color: aliceblue;
    padding: 10px 16px;
    text-decoration: none;
    font-size: 15px;
}

.topnav #myLinks a:hover {
    background: blue;
}

/* 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: cornflowerblue;
  color: white;
  font-size: 50px;
}


#secondary{
    width: 75%;
}

h1.you{
    font-size: x-large;
    text-align: center;
    color: aliceblue;
}
h2.you{
    font-size: larger;
    color: aliceblue;
}
p.wuh{
    font-size: medium;
    color: aliceblue;
}
p.pluh{
    font-size: small;
    color: aliceblue;
}

.info{
    display: block;
    width: 76%;
}

#info, #info2, #info3{
    font-size: large;
}

img{
    display: block;
    width: auto;
    background-color: aliceblue;
    border-radius: 5px;
}
footer{
    display: block;
    background-color: cornflowerblue;
    bottom: 0;
    color: aliceblue;
    padding: 10px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    text-align: center;     
}
iframe{
    border-radius: 5px;
}

























