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

.container {
    display: flex;
    height: auto;
    min-height: 850px;
}
 /* Optional gallery styles */
 
.gallery-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 20px;
}

.gallery-container img {
    flex: 0 0 auto;
    max-width: 700px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: transform 0.2s;
}

.gallery-container img:hover {
    transform: scale(1.05);
}
.gallery-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.nav-panel {
    width: 10%;
    background-color: #7c5d5d;
    color: white;
    padding: 10px;
}

.nav-panel ul {
    list-style: none;
}

.nav-panel a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    padding: 10px;
}

.nav-panel img {
    width: 30px;
    height: 24px;
    margin-right: 8px;
}

.column {
    flex: 1;
    padding: 20px;
    background: #f4f4f4;
}

.content {
    background-color: #f4f4f4;
}

.icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.blog {
    width: 60%;
    overflow-y: auto;
    background: #f4f4f4;
    max-height: 100vh;
    padding: 20px;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.code-section {
    display: flex;
    flex-direction: column;
}

.post {
  padding: 15px;
  border-bottom: 1px solid #ddd;
}

.post img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 10px;
}

.post h3 {
  color: #333;
}

.post p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;;
}

.post small {
  display: block;
  color: #777;
  margin-top: 5px;
  font-size: 14px;
}


.comments {
    width: 35%; /* Fixed width for the messaging section */
    background:#7c5d5d;
    padding: 20px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 20px;
    background-color: #7c5d5d;
  }

  .footer-links a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
  }

  .footer-links img {
    width: 16px;
    height: 16px;
    object-fit: contain;
  }
  
 .typewriter h2 {
      overflow: hidden; /* Ensures the content is not revealed until the animation */
      border-right: .15em solid orange; /* The typwriter cursor */
      white-space: nowrap;   /*Keeps the content on a single line */
      margin: 0 auto; /* Gives that scrolling effect as the typing happens */
      letter-spacing: .15em; /* Adjust as needed */
      animation: 
        typing 3.5s steps(40, end),
        blink-caret .75s step-end infinite;
}

/* The typing effect */
@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

/* The typewriter cursor effect */
@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: orange; }
}

.terminal {
  width: 100%;
  background-color: #1e1e1e;
  color: #d4d4d4;
  font-family: 'Courier New', Courier, monospace;
  border-radius: 8px;
  padding: 1em;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  margin: 20px auto;
  box-sizing: border-box;
  overflow-x: auto;
}

.terminal-header {
  display: flex;
  align-items: center;
  margin-bottom: 0.5em;
}

.dot {
  height: 12px;
  width: 12px;
  border-radius: 50%;
  margin-right: 6px;
}

.red { background-color: #ff5f56; }
.yellow { background-color: #ffbd2e; }
.green { background-color: #27c93f; }

.terminal-title {
  margin-left: auto;
  font-size: 0.9em;
  color: #aaa;
}

pre {
  margin: 0;
  white-space: pre-wrap;
}

code {
  display: block;
}

