/* General Styles */

header h1 {
  padding-left: 17px;
  margin: 0;
  font-size: 2em;
  line-height: 2.5rem;
}

main {
  padding: 20px;
  max-width: 800px;
  margin: auto;
}

.main-img {
  max-width: 96%; /* Ensures the image doesn't exceed the container's width */
  height: auto; /* Keeps the aspect ratio intact */
  width: 90vw; /* Makes the image responsive to viewport width */
  max-height: 500px; /* Restricts the maximum height for uniformity */
  margin: auto;
  margin-bottom: 40px;
  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

/* .main-img {
  max-width: 300px;
  max-height: 300px;
  margin: auto;
  margin-bottom: 40px;
  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.main-img2{
  max-width: 90vw;
  min-height: 300px;
  margin: auto;
  margin-bottom: 40px;
  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.main-img3{
  max-width: 90vw;
  min-height: 300px;
  margin: auto;
  padding-left: 20px;
  padding-right: 20px;
  margin-bottom: 40px;
  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
} */
section {
  margin-bottom: 40px;
}

h2 {
  color: #2c3e50;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 10px;
  margin-bottom: 5px;
}

h3 {
  color: #34495e;
  margin-top: 30px;
}

p {
  margin-bottom: 15px;
  /* font-size: 1.1rem; */
}

ol {
  margin-left: 20px;
}

li {
  margin-bottom: 10px;
}

strong {
  color: var(--accent);
}

em {
  color: var(--accent);
}

code {
  background-color: #ecf0f1;
  padding: 2px 4px;
  font-family: Consolas, monospace;
}

pre {
  background-color: #2d2d2d;
  color: #ccc;
  padding: 15px;
  overflow-x: auto;
}

pre code {
  color: inherit;
  background-color: inherit;
}

footer p {
  margin: 0;
}

/* Syntax Highlighting (Optional, if using Prism.js) */
.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
  color: slategray;
}

.token.punctuation {
  color: #999;
}

.token.property,
.token.tag,
.token.boolean,
.token.number,
.token.constant,
.token.symbol,
.token.deleted {
  color: #e74c3c;
}

.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted {
  color: #2ecc71;
}

.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string {
  color: #9b59b6;
}

.token.atrule,
.token.attr-value,
.token.keyword {
  color: #3498db;
}

.token.function,
.token.class-name {
  color: #e67e22;
}

.token.regex,
.token.important,
.token.variable {
  color: #e90;
}

.token.important,
.token.bold {
  font-weight: bold;
}

.token.italic {
  font-style: italic;
}
