@charset "UTF-8";
@import "comun.css";
@import url('https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible:ital,wght@0,400;0,700;1,400;1,700&display=swap');

/*
    Archivo: grande.css
    Autor: Assila Karoum Hajoubi
    Descripción: Estilo alternativo de letra grande para baja visión.
*/

:root {
  
  --texto-parrafo: 1.25rem;       
  --texto-interfaz: 1.375rem;     
  --texto-subtitulo: 2.1rem;      
  --texto-titulo: 2.75rem;        
}

html {
  font-size: 112.5%; 
}

body {
  line-height: 1.9; 
  font-family: 'Atkinson Hyperlegible', var(--fuente-texto), system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

p, li {
  font-size: var(--texto-parrafo);
  text-align: left;
  text-wrap: pretty;
}

h1 {
  font-size: var(--texto-titulo);
}
h2 {
  font-size: var(--texto-subtitulo);
}
h3 {
  font-size: 1.6rem;
}

label {
  font-size: var(--texto-interfaz);
  line-height: 1.6;
}

input, select, textarea {
  font-size: var(--texto-interfaz);
  padding: 0.8rem 1rem;
  min-height: 44px; 
}

:where(button, .btn, input[type="submit"], input[type="button"]) {
  font-size: var(--texto-interfaz);
  padding: 0.9rem 1.2rem;
  min-height: 48px;
  border-radius: 6px;
  cursor: pointer;
}

a {
  font-size: var(--texto-parrafo);
}

main, article, section, .contenido, .texto {
  max-width: 75ch;
  margin-inline: auto;
}

.a-z {
  display: flex;
  justify-content: space-around;
  align-items: center;
  text-wrap: wrap;
  overflow: scroll;
}

.a-z a {
  display: block;
  text-decoration: none;
  padding: 5px;
}

table {
  font-size: 1.1rem;
  border-collapse: collapse;
}
th, td {
  padding: 0.6rem 0.8rem;
}

figure {
  margin-block: 1.4rem;
}

figcaption {
  font-size: 1.05rem;
  line-height: 1.6;
}
