* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

:root {
    --bg-color: #0f0f0f;
    --text-color: #ececec;
    --accent-color: #ff5e00; /* Un color de acento para el mapeo/bisagra */
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    align-items: stretch;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    box-sizing: border-box;
    font-size: clamp(1rem, 2.2dvh, 1.35rem);
    font-family: 'IBM Plex Sans', serif;
    line-height: 1.5em;
    background-image: url('../img/meteorofonia-bg.png');
    background-size: cover;
    background-position: center;
}

#main-footer,
#main-header {
    width: 100%;
    padding: clamp(0.75rem, 2dvh, 1rem) clamp(1rem, 4vw, 2rem);
    color: var(--text-color);
}
#main-footer svg,
#main-header svg {
    width: auto;
    height: 2.5rem;
    transition: fill 0.2s ease-in-out;
    fill: var(--text-color);
}
@media (max-width: 768px) {
    #main-header span,
    #main-footer span {
        display: none;
    }
}
#main-header a:hover svg {
    width: auto;
    fill: var(--accent-color);
}

#main-footer nav,
#main-header nav {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    gap: 1rem;
}

#main-footer img {
    display: block;
}

a {
    color: var(--text-color);
    text-decoration: none;
    line-height: 1em;
    font-family: 'IBM Plex Mono';
    font-size: 1rem;
    display: flex;
    gap: .5em;
    font-weight: 800;
}

#hero {
    width: 100%;
    min-height: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1em;
    margin: 2em 0;
    display: block;
    padding: 1em;
}

h1 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: clamp(10vw, 9rem, 13.6vw);
  line-height: .9;
  font-weight: 100;
  letter-spacing: -.015em;
  margin: 0;
  padding: 0;
}
i {
   font-family: 'IBM Plex Serif', serif;
   font-style: italic;
}

main {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
}
p {
    line-height: 1.5em;
    margin: 2em 0;
}
#hero h1 + p {
    text-transform: uppercase;
    font-size: clamp(14px, 1.5em, 5vw);
    margin-top: 0;
    text-align: left;
}
#hero p {
    margin: 1em 0;
    text-align: left;
    max-width: 1024px;
    text-wrap-style: balance;
}
