body {
  max-width: 640px;
  margin: 0 auto;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.7;
  font-size: 1em;
  color: #2f2f2f;
  background: #efece2; 
}

/* faf9f6  #efece2 */

.sitetitle {
  white-space: nowrap;
  font-size: 1.8em;
  margin-top: 0.5em;
}

.logocontainer {
  display: flex;
  justify-content: center;
}

img {
  max-width: 100%;
  height: auto;
}

.logo {
  width: 3.5em;
  height: auto;
}

.symbolcontainer {
  display: flex;
  justify-content: center;
  flex-direction: row;
}

.symbol {
  font-size: 2em;
  margin: 0;
}

.separator {
  height: 2px;
  background-color: #9c9c9c;
  margin: 1rem 0;
}

.instagramcontainer {
    display: flex;
    justify-content: center;
}

ul {
    padding-left: 40px;
}

.postcontainer {
  display: flex;
  align-content: left;
  gap: 1.5rem;
}

ul.posts li {
  line-height: 1.5;
}

.gradient {
  background: linear-gradient(to right, #e9decb
  , transparent);
}

/* #d6f1ff */

ul.postlist {
  list-style-type: none;
  padding-left: 4px;
  margin: 0;
}


.links-top {
  margin-top: 1em;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  gap: 2em;
  list-style-type: none;
}

/* General */

p {
    font-size: 1rem;
    line-height: 1.5;
}

a {
    color: #253E80;
}

h1 {
  margin-top: 0;
  line-height: 1.3em;
}

/* Gradiente de Posts */

.postcontainerdescription {
  margin-top: 2em;
  justify-self: center;
  font-style: italic;
}

.post {
  display: flex;
  flex-direction: column;
}
.postdate {
  font-size: 0.8125em;
}
.postcontainer {
  border-left: #725b45 solid 4px;
  border-radius: 3px;
}

/* Responsive */

@media screen and (max-width: 640px) {
  body {
    max-width: 44ch;
    padding: 0 5%;
  }
}

@media screen and (min-width: 641px) {
  p, body {
    font-size: 1.1rem; /* aumenta el tamaño base */
  }
}

/* Snavbar */
.snavbar {
  width: 100%;
  height: 2em;
  border-bottom: #2f2f2f 2px solid ;
  margin-top: 0.5em;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-content: baseline;
}

.snavbar-right {
  display: flex;
  flex-direction: row;
}

.snavbar-right a {
  text-decoration: none;
  font-weight: 500;
  padding-right: 0.5em;
}


.snavbarname a {
  text-decoration: none;
  color: inherit;
}

/* Savfooter */
.snavfooter {
  justify-content: center;
  color: #686868;
  margin-top: 4em;
}

.snavfootertext {
  font-size: 0.7em;
  display: flex;
  justify-content: center;
}

/* Preview de Código */
pre {
  background-color: #b2b2b2;
  padding: 1em;
  overflow-x: auto;
  border-radius: 6px;
  border: 1px solid #ddd;
  margin: 1.5em 0;
}

code {
  font-family: Menlo, Consolas, Monaco, monospace;
  font-size: 0.95em;
  line-height: 1.5;
  color: #333;
  display: block;
  white-space: pre-wrap; /* o pre si no quieres salto */
}


:root {
  --shadow-color: 0deg 0% 0%;
  --shadow-elevation-low:
    0.2px 0.8px 0.9px hsl(var(--shadow-color) / 0.1),
    0.3px 1.4px 1.6px -1.2px hsl(var(--shadow-color) / 0.1),
    0.8px 3.3px 3.8px -2.5px hsl(var(--shadow-color) / 0.1);
  --shadow-elevation-medium:
    0.2px 0.8px 0.9px hsl(var(--shadow-color) / 0.11),
    0.6px 2.7px 3.1px -0.8px hsl(var(--shadow-color) / 0.11),
    1.5px 6.8px 7.8px -1.7px hsl(var(--shadow-color) / 0.11),
    3.8px 16.6px 19.2px -2.5px hsl(var(--shadow-color) / 0.11);
  --shadow-elevation-high:
    0.2px 0.8px 0.9px hsl(var(--shadow-color) / 0.1),
    1.1px 4.8px 5.5px -0.4px hsl(var(--shadow-color) / 0.1),
    2px 9px 10.4px -0.7px hsl(var(--shadow-color) / 0.1),
    3.4px 14.8px 17.1px -1.1px hsl(var(--shadow-color) / 0.1),
    5.4px 23.7px 27.3px -1.4px hsl(var(--shadow-color) / 0.1),
    8.4px 37px 42.7px -1.8px hsl(var(--shadow-color) / 0.1),
    12.7px 56.3px 64.9px -2.1px hsl(var(--shadow-color) / 0.1),
    18.8px 82.9px 95.6px -2.5px hsl(var(--shadow-color) / 0.1);
}

pre, code {
  background-color: #afafaf; /* gris muy claro */
  border-radius: 4px;        /* bordes redondeados */
  padding: 10px;             /* espacio interno */
  font-family: monospace;    /* fuente monoespaciada */
  color: #000000;               /* texto gris oscuro */
}
pre {
  white-space: pre-wrap;      /* permite que el texto se divida en líneas */
  word-break: break-word;     /* rompe palabras largas para ajustar */
  max-width: 100%;            /* no excede el ancho del contenedor */
  box-sizing: border-box;     /* incluye padding y borde en el ancho total */
  overflow-x: hidden;         /* oculta cualquier desborde horizontal */
}


/* Asteroide */

#asteroid-info {
  border-radius: 4px;
  background-color: #ffff;
  box-shadow: var(--shadow-elevation-high);
  padding: 1em; 
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  width: 20em;
  height: 8em;
  display: flex;
  justify-self: center;
}


.as1, .as2, .as3 {
  margin: 0;
}

.as1, .as2 {
  white-space: nowrap;
}

.asteroidname {
  font-weight: 800;
  font-size: 23px;
  background: linear-gradient(90deg, #0d47a1, #1976d2, #42a5f5, #81d4fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.2em;
  margin-top: 0.2em;
  white-space: nowrap;
}


.asteroidcontainer {
  display: flex;
  flex-direction: row;
  gap: 3em;
}

.asteroidphoto {
  width: 6em;
  height: auto;
}

.asteroidphotocontainer {
  display: flex;
  justify-content: center;
  align-items: center;
}

.despuesdelasteroide {
  margin-top: 3em;
}

.presentación {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1em;
}

