body {
  font-family: sans-serif;
  margin: 0;
}

.navbar {
  width: 100%;
  background-color: hsl(28, 100%, 92%);
  border-radius: 2px;
}

.navbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 0;
}

.navbar a {
  color: #2A1458;
  display: inline-block;
  font-size: 15px;
  padding: 10px;
  text-decoration: none;
}

.navbar a:hover {
  color: #9B177E;
}

.content {
  max-width: 1280px;
  margin: auto;
  padding-left: 10px;
}

footer {
  font-size: 12px;
  color: #999;
  text-align: center;
  padding: 50px 0 30px 0;
}
footer p, footer a {
  font-size: 12px;
  color: #999;
}
#myimage {
  width: 400px;
}
.weektitles{
  text-align: center;
  color: #9B177E;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 34px;   /* Largest */
  font-weight: 700;
}

.weekh2 {
  text-align: center;
  color: hsl(313, 74%, 35%, .75);
  font-family: Helvetica, Arial, sans-serif;
  font-size: 26px;   /* Medium */
  font-weight: 600;
}

.weekh3{
  text-align: center;
  color: hsl(313, 74%, 35%, .60);
  font-family: Helvetica, Arial, sans-serif;
  font-size: 20px;   /* Smaller */
  font-weight: 500;
}


.doc-img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 80%;
  max-width: 700px;
  height: auto;
  
  margin-top: 20px;
  margin-bottom: 20px;
  border-radius: 8px; 
}
.container {
  max-width: 800px;
  margin-left: auto; 
  margin-right: auto;
  padding: 0 20px; 
  text-align: justify;  
}
.centered-frame {
    display: block;
    margin: 30px auto; 
    width: 80%;
    max-width: 750px;
   max-height:70%;
    border-radius: 5px;
}
.img-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

.img-box img {
    max-width: 90%;
    height: auto;
    object-fit: contain;
}
.image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 images per row */
  gap: 12px;
  width: 100%;
  max-width: 900px;
  margin: 20px auto;
}

.image-grid img {
  width: 100%;
  height: auto;
}
.two-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
  max-width: 900px;
  margin: 20px auto;
}

.two-images img {
  width: 100%;
  height: auto;
}
.download-container {
  text-align: center;
  margin: 15px 0;
}

.download-btn {
  display: inline-block;
  padding: 6px 14px;                   /* reduced padding */
  background: linear-gradient(180deg, hsl(28, 100%, 97%), hsl(28, 100%, 92%)); /* lighter gradient */
  color: #000000;                       /* darker text for contrast */
  font-size: 14px;                      /* reduced font size */
  font-weight: bold;
  text-decoration: none;
  border-radius: 20px;                  /* smaller rounded edges */
  font-family: Arial, sans-serif;
  letter-spacing: 0.5px;
  transition: all 0.2s ease-in-out;
}


.download-btn:hover {
  transform: translateY(1px);
  box-shadow: 0 2px 0 #a3a1b5, 0 4px 8px rgba(0,0,0,0.3);
}
.code-box {
  background-color: #f0f0f0; /* lighter than page */
  color: #000; /* black text */
  padding: 20px;
  border-radius: 8px;
  overflow-x: auto;
  font-family: "Courier New", monospace;
  font-size: 14px;
  line-height: 1.6;
  position: relative;
  margin: 25px 0;
  border: 1px solid #ccc;
}

.copy-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.copy-btn:hover {
  opacity: 1;
}

.copy-btn svg {
  width: 18px;
  height: 18px;
  fill: #000; /* icon color */
}

.board-box {
  border: 1px solid #ccc;
  background-color: #f9f9f9;
  padding: 20px;
  width: 80%;
  margin: 20px auto;
  border-radius: 8px;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.board-box h4 {
  margin-top: 15px;
  margin-bottom: 8px;
}

.board-box ul {
  padding-left: 20px;
}

.hardware-row {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
  margin: 20px auto;
  max-width: 1000px;
}

.hardware-row .board-box {
  flex: 1;
}

.image-side {
  flex: 1;
  display: flex;
  align-items: center;
}

.image-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.image-below {
  text-align: center;
  margin: 20px 0;
}

.image-below img {
  width: 60%;
  max-width: 600px;
  border-radius: 8px;
}
