
/* ========== Reset & Base ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Courier New', Courier, monospace;
}

body {
  background: #0a0a0a;
  color: #ccc;
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  position: relative;
  z-index: 1;

  margin: 0;
  font-family: 'Courier New', Courier, monospace;
  background-color: #0a0a0a;
  color: #ccc;
}

/* ========== Layout Principal con Grid ========== */
.console-layout {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 1fr);
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  gap: 2rem;
  width: 100%;
  max-width: 1200px;
  height: 100vh;
  position: relative;
  z-index: 1;
}

/* ========== Sección del logo ========== */
.logo-section {
  grid-area: 1 / 3 / 2 / 5;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  padding-right: 1.5rem;
  padding-top: 1rem;

}

#logo-home {
  cursor: pointer;
}

.logo-section img {
  height: 20svh;
  /* Efecto de borde */
  background-color: #1e1e1e;
  border-radius: 23px;
  box-shadow: 0 0 8px #00ff99;
}

/* ========== Sección Menú ========== */
.menu-section {
  grid-area: 2 / 1 / 4 / 3;
  margin-top: 7rem;
  position: relative;
  width: 100%;
}

.terminal-box {
  background-color: #1e1e1e;
  border-radius: 10px;
  box-shadow: 0 0 8px #00ff99;
  padding: 1rem;
}

.terminal-header {
  display: flex;
  gap: 6px;
  margin-bottom: 1rem;
}

.terminal-header span {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.red {
  background-color: #ff5555;
}

.yellow {
  background-color: #f1c40f;
}

.green {
  background-color: #00ff99;
}

.menu-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  list-style: none;
  padding: 0;
}

.menu-description {
  margin-left: 1rem;
  font-size: 0.85rem;
  color: #00ff99;
  white-space: pre;
  min-height: 1rem;
  display: inline-block;
}

.menu-list li {
  cursor: pointer;
  display: flex;
  align-items: center;
  color: #ccc;
  transition: color 0.2s;
}

.menu-list li:hover {
  color: #00ff99;
  transform: scale(1.05);
}

/* ========== Sección de Contenido ========== */
.content-section {
  width: 100%;
  grid-area: 2 / 3 / 4 / 5;
}

#content-display {
  overflow-y: auto;
}

.profile-pic {
  width: 120px;
  border-radius: 8px;
  margin-bottom: 1rem;
  display: block;
}

#content-display p {
  font-size: 1rem;
  line-height: 1.7;
  color: #ccc;
  text-align: justify;
}

#content-display h2 {
  color: #00ff99;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

#content-display img.project-img {
  max-width: 100%;
  height: auto;
  margin: 1rem auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 0 10px #00ff99;
}

/* ========== Footer ========== */
.footer-section {
  grid-area: 4 / 1 / 5 / 5;
  width: 100%;
  margin-top: 7rem;
}

.footer-section .terminal-body {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0.5rem 1rem;
}

.footer-section p {
  font-size: 0.9rem;
  color: #ccc;
  margin: 0;
}

.footer-section a {
  color: #00ff99;
  text-decoration: none;
}

.footer-section a:hover {
  text-decoration: underline;
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .console-layout {
    grid-template-columns: 1fr;
  }

  

  .menu-section,
  .content-section {
    width: 100%;
  }

  .menu-list li {
    font-size: 1rem;
  }

  .profile-pic {
    width: 120px;
  }

  #content-display p {
    font-size: 0.95rem;
  }
}

.bg-video {
  position: fixed;
  top: 0;
  left: 0;
  min-width: 100vw;
  min-height: 100vh;
  object-fit: cover;
  opacity: 0.03;
  z-index: 0;
  pointer-events: none;
  filter: contrast(140%) brightness(130%);
}
