/* Fonts */
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap");

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

/* Variables */
:root {
  --var-text-sans: "Inter", serif;
  --var-font-mono: "Roboto Mono", monospace;
  --var-h1: 3rem;
  --var-color-dark: rgba(0, 0, 0, 1);
  --var-color-grey: rgba(127, 127, 127, 1);
  --var-color-light: rgba(255, 255, 255, 1);
  --var-text-small: 14px;
  --var-text-medium: 17px;
  --var-text-large: 20px;
}

/* Estilos Generales */
body {
  background-color: var(--var-color-dark);
  color: var(--var-color-light);
  font-family: var(--var-text-sans);
}

.container {
  max-width: 1200px;
  height: 50vh;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

h1 {
  font-size: var(--var-h1);
  font-weight: 400;
}

h2 {
  font-size: var(--var-text-large);
  font-weight: 200;
  color: var(--var-color-grey);
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

p {
  font-weight: 300;
  letter-spacing: 0.1px;
  font-size: var(--var-text-medium);
  color: var(--var-color-grey);
}

p small {
  color: var(--var-color-light);
}

.encabezados a {
  font-family: var(--var-font-mono);
  font-weight: 300;
  text-decoration: none;
  font-size: var(--var-text-large);
  color: var(--var-color-light);
  transition: color 0.5s ease;
  -webkit-transition: color 0.5s ease;
  -moz-transition: color 0.5s ease;
  -ms-transition: color 0.5s ease;
  -o-transition: color 0.5s ease;
}

.encabezados a:hover {
  color: #dbe7a5 !important;
}

.encabezados img {
  width: 50px;
  display: block;
  margin-bottom: 20px;
}

/* Menu */
header {
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1rem 0;
}

nav {
  display: flex;
  justify-content: center;
}

nav a {
  margin: 0 0.2rem;
}

/* Footer */
footer {
  width: 100%;
  padding: 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* Transicion entre paginas */
.transition {
  animation: fade 1.25s backwards;
  -webkit-animation: fade 1.25s backwards;
}

@keyframes fade {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* Utilidades */
.text-center {
  text-align: center;
}

.text-mono {
  font-family: var(--var-font-mono);
}
