@import url('https://fonts.googleapis.com/css2?family=Ubuntu&display=swap');

/* Reset some default weirdness */
body, h1, h2, p, ul, li {
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: 'Ubuntu', sans-serif;;
}

/* Layout wrapper */
.container {
  display: flex;
  min-height: 100vh;
  align-content: center;
  justify-content: center;
  background-color: #000;
  color: #eee;
  padding: 1em;
}

/* Left sidebar */
.sidebar {
  width: 110px;
  height:100%;
  background-color: #222;
  padding: 2em;
  border-radius: 6px;
  position: sticky;
  top: 1em;

}

.sidebar h2 {
  margin-bottom: 1em;
  color: #999;
}

.sidebar a {
  display: block;
  padding: 0.5em 0;
  color: #999;
  text-decoration: none;
}

.sidebar a:hover {
  color: #fff;
}

/* Right content area */
.content {
  padding: 2em;
  width: 66%;
  height: 100%;
  justify-content: center;
  text-align: center;
  background-color: #111;
  border-radius: 6px;
}

.content h1 {
  display: flex;
  color: #fff;
  justify-content: center;
  margin-bottom: 1em;
}

.content p {
  text-align: auto;
  margin-bottom: 0.5em;
}

.spacer {
  width: 1em;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin-top: 1em;
  margin-bottom: 1.5em;
  transition: transform 0.3s ease;

}

img:hover {
  transform: scale(1.5);
  border-radius: 6px;
  margin-top: 1em;
  margin-bottom: 1.5em;

}

.image-container {
  display: flex;
  border-radius: 6px;
  height: 18%;
  width: 49%;
  margin-top: 1em;
  margin-bottom: 1.5em;
  align-content: center;
}

.image-transparent-container {
  display: flex;
  max-height: auto;
  width: 33%;
  margin-top: 1em;
  margin-bottom: 1.5em;
  align-content: center;
}

.terminal {
  background: #111;
  color: #0f0;
  font-family: monospace;
  padding: 1em;
  display: flex;
  align-content: center;
  justify-content: center; 
}

.mainframe_header {
  color: #0f0;
}

.cursor {
  color: #0f0;
  display: inline-block;
  animation: blink 1s step-start infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

/* opcional: glitch effect */
.terminal span.glitch {
  position: relative;
  display: inline-block;
  color: #0f0;
}

.terminal span.glitch::after {
  content: attr(data-text);
  position: absolute;
  left: 2px;
  text-shadow: -1px 0 red;
  top: 0;
  color: #0f0;
  animation: glitch 0.3s infinite;
}

@keyframes glitch {
  0% { transform: translate(0,0); }
  20% { transform: translate(-1px,1px); }
  40% { transform: translate(1px,-1px); }
  60% { transform: translate(-1px,0); }
  80% { transform: translate(1px,1px); }
  100% { transform: translate(0,0); }
}

.idioma {
  padding: 2em;
  margin-top: 10em;
  width: 33%;
  height: 100%;;
  text-align: center;
  background-color: #111;
  border-radius: 6px;
  
}

.link-idioma {
  padding: 1em;
  height: 100%;
  background-color: #ffffff;
  border-radius: 6px;
  transition: transform 0.3s ease;
}

.link-idioma:hover {
  transform: scale(1.5);
  background-color: rgb(0, 255, 0);
}

.link-text {
  color: #000000;
  text-decoration: none;
}