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


body {
  font-family: Arial, sans-serif;
  background-color: rgba(0, 0, 0, 0.92); 
  color: white;
}


.spanclass {
  font-weight: bold;
  font-size: 16px;
}



.top-bar {
  background-color: #000;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  margin-top: 10px;
}

.menu {
  background-color: #111;
  padding: 10px 0;
  position: sticky;
  top: 60px;
  z-index: 999;
}

.menu ul {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  list-style: none;
  flex-wrap: wrap;
}

.menu li {
  margin: 0 15px;
}

.menu a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  padding: 5px 10px;
  transition: background 0.3s;
}

.menu a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 5px;
}

.page-section {
  padding: 80px 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: row;
  width: 100vw;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sections-container {
  display: flex;
  flex-direction: row;
  width: 100vw;
  overflow-x: auto;
  height: 100vh;
}

.page-section {
  flex: 0 0 100vw;
  height: 100vh;
  border-right: 1px solid rgba(255,255,255,0.1);
  border-bottom: none;
}


.page-section.terminal-section {
  background: #23272e;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
  color: #d1d5db;
  padding: 32px;
  margin: 40px auto;
  border: none;
  position: relative;
  min-width: 0;
  max-width: 600px;
  min-height: 200px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-family: 'Fira Mono', 'Consolas', 'Menlo', monospace;
  box-sizing: border-box;
  transition: max-width 0.3s, margin 0.3s;
}

@media (max-width: 700px) {
  .page-section.terminal-section {
    max-width: 100vw;
    margin: 10px 0;
    border-radius: 0;
    padding: 16px 4vw;
  }
}

.terminal-message {
  font-size: 1.3rem;
  white-space: pre;
  animation: smooth-blink 1.2s cubic-bezier(0.4,0,0.2,1) infinite;
}

@keyframes smooth-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}


@media (max-width: 600px) {
  .menu ul {
    flex-direction: row;
    align-items: center;
  }

  .menu li {
    margin: 0 10px;
  }

  .sections-container {
    flex-direction: row !important;
    overflow-x: auto;
    width: 100vw;
    height: 100vh;
  }
  .page-section {
    flex: 0 0 100vw;
    height: 100vh;
    border-right: 1px solid rgba(255,255,255,0.1);
    border-bottom: none;
    min-width: 100vw;
    max-width: 100vw;
    display: flex;
    flex-direction: column;
  }

}
