/*reset*/
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 100%;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    line-height: 1.5;
}

img, picture, svg, video, canvas {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

button, input, textarea, select {
    font: inherit;
}

button, a {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
}

button, input, textarea, select {
    border: 0;
}

textarea {
    resize: vertical;
}
/*fin reset*/

:root{
    --fondo-principal: #0F172A;
    --fondo-tarjeta: #1E293B;    
    --texto-principal: #F8FAFC; 
    --texto-secundario: #94A3B8;
    --acento-verde: #10B981;   
    --acento-azul: #0EA5E9;     
}

@font-face{
    font-family:"Lato";
    src:url(Lato/Lato-Regular.ttf);
    font-weight:400;
}

@font-face{
    font-family:"Lato";
    src:url(Lato/Lato-Bold.ttf);
    font-weight:700;
}

@font-face{
    font-family:"Playfair Display";
    src:url(Playfair_Display/static/PlayfairDisplay-Regular.ttf);
    font-weight:400;
}

@font-face {
    font-family:"Playfair Display";
    src: url(Playfair_Display/static/PlayfairDisplay-Bold.ttf);
    font-weight:700;
}

body{
    font-family:"Lato", sans-serif;
    background-color:var(--fondo-principal);
    color:var(--texto-secundario);
}

h1, h2, h3, h4, h5, h6{
    font-family:"Playfair Display", serif;
}

header {
    text-align: center;
    padding: 3rem 1.5rem;
}

header h1{
    font-size:2.5rem;
    margin-bottom:0.5rem;
    color:var(--texto-principal);
    font-weight:700;
}

header p:first-of-type{
    font-size:1.2rem;
    font-weight:700;
}

.contacto ul{
    display:flex;
    justify-content:center;
    gap:3rem;
    flex-wrap:wrap;
}

.contacto a{
    display:inline-flex;
    align-items:center;
    gap:0.5rem;
    padding:0.25rem 0;
    font-weight:700;
    text-decoration:underline;
}

.contacto a img{
    width:20px;
    height:20px;
    filter: invert(1)
}

main {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem 3rem;
}

main h2{
    font-size:2rem;
    color:var(--texto-principal);
    margin-bottom:1rem;
    text-align:center;
}

article{
    background-color:var(--fondo-tarjeta);
    padding:1.5rem;
    border-radius:12px;
    margin-bottom:1.5rem;
}

article h3{
    font-size:1.4rem;
    color:var(--acento-verde);
    margin-bottom:1rem;
}

article img{
    width:100%;
    max-width:700px; /*tamaño de la imagen*/
    height:auto;
    border-radius:8px;
    margin-bottom:1rem;
}

footer {
    text-align: center;
    padding: 1rem 1.5rem;
    background-color: var(--fondo-tarjeta);
    color:var(--fondo-principal);
}

footer p {
    margin-bottom: 0.5rem;
}

footer p:last-child {
    margin-bottom: 0;
}

a:focus-visible{
    outline:2px solid var(--texto-principal);
    outline-offset:3px;
}