/* Importar fuente Fira Mono */
@import url('https://fonts.googleapis.com/css2?family=Fira+Mono:wght@400;700&display=swap');

/* Reset básico */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 62.5%;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  color: #323232;
  background-color: #8ebfcb;
  font-family: 'Fira Mono', monospace;
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.0625em;
  line-height: 1.8;
}

main {
  display: block;
  width: 100%;
  max-width: 800px;
  padding: 2rem;
}

.about {
  text-align: center;
  padding: 2rem 0;
}

.avatar {
  margin-bottom: 2rem;
}

.avatar img {
  width: 20rem;
  height: 20rem;
  border-radius: 50%;
}

h1,p {
  font-size: 3.6rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 2rem 0;
  text-transform: lowercase;
}

h2 {
  font-size: 1.8rem;
  font-weight: 300;
  line-height: 1.4;
  margin: 0.8rem 0;
  color: #212121;
}

/* Estilos para hipervínculos - sin subrayados ni cambios de color */
a,
a:link,
a:visited,
a:hover,
a:active {
  /* text-decoration: none; */
  color: inherit;
}

/* Cursor parpadeante */
.cursor {
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 49% {
    opacity: 1;
  }
  50%, 100% {
    opacity: 0;
  }
}

/* Responsive */
@media only screen and (max-width: 768px) {
  body {
    font-size: 1.4rem;
  }

  h1 {
    font-size: 2.8rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  .avatar img {
    width: 15rem;
    height: 15rem;
  }
}
