/* RESET */
*{
  box-sizing:border-box;
  margin:0;
  padding:0;
}

body{
  font-family: Arial, Helvetica, sans-serif;
  background:#0b0f14;
  color:#e6edf3;
  line-height:1.6;
}

/* LINKS */
a{
  color:#9fb3c8;
  text-decoration:none;
}
a:hover{
  color:#3b82f6;
}

/* HEADER */
#header{
  background:#0b0f14;
  border-bottom:1px solid #1f2933;
  padding:15px 20px;
}

.logo{
  font-size:20px;
  font-weight:bold;
  margin-bottom:5px;
}

.logo img{
  max-width:180px;
  display:block;
  margin-top:5px;
}

/* NAV */
.menu{
  font-size:14px;
  margin-top:10px;
}

.menu p{
  margin-bottom:5px;
}

.menu a{
  margin:0 5px;
}

/* MAIN LAYOUT */
#main{
  max-width:1200px;
  margin:0 auto;
  padding:20px;
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:30px;
}

#content{
  width:100%;
}

/* TABLE FIX (important for old layout) */
#content table{
  width:100%;
  border-collapse:collapse;
}

/* HEADINGS */
h1{
  font-size:28px;
  margin-bottom:10px;
}
h2{
  font-size:20px;
  margin:15px 0 10px;
}

/* CONTENT BLOCKS */
#content p{
  margin-bottom:15px;
}

/* PRODUCT STYLE (auto-applies to old table rows) */
#content img{
  max-width:100%;
  height:auto;
  border-radius:6px;
}

/* FAKE CARD EFFECT */
#content table tr{
  background:#121821;
}

#content table td{
  padding:15px;
  border-bottom:10px solid #0b0f14;
}

/* PRICE STYLE */
.menu, .price{
  color:#3b82f6;
  font-weight:bold;
}

/* SIDEBAR */
#nav{
  width:100%;
}

.navhead{
  background:#121821;
  padding:15px;
  margin-bottom:10px;
  border-radius:10px;
  font-weight:bold;
  text-align:center;
}

.navitem{
  background:#121821;
  padding:15px;
  margin-bottom:20px;
  border-radius:10px;
}

.navitem ul{
  list-style:none;
}

.navitem li{
  margin-bottom:8px;
}

/* SIDEBAR IMAGES */
#nav img{
  width:100%;
  margin-top:10px;
  border-radius:6px;
}

/* FOOTER */
#footer{
  text-align:center;
  padding:30px 20px;
  border-top:1px solid #1f2933;
  margin-top:40px;
  font-size:14px;
}

/* MOBILE */
@media(max-width:900px){
  #main{
    grid-template-columns:1fr;
  }
}

@media(max-width:600px){

  #header{
    text-align:center;
  }

  .menu{
    text-align:center;
  }

  #main{
    padding:15px;
  }

  h1{
    font-size:24px;
  }

  h2{
    font-size:18px;
  }

  #content table td{
    display:block;
    width:100%;
  }
}