@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Matemasie&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Special+Elite&display=swap');
html, body {
    background: linear-gradient(rgb(122, 100, 100), rgb(52, 52, 100));
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    margin: 0;
    padding: 0 0 20px 0;
}

article {
    margin: 2.5px;
    border: 1px solid gray;
    border-radius: 5px;
    transition: .5s;
    width: 30vw;
    display: flex;
    flex-direction: column;
    justify-content:stretch;
    align-items: center;
    padding: 10px;
    
}

article p {
    font-size: 16px;
    font-family: "Roboto", sans-serif;
    text-align: justify;
}

h1 {
    font-size: 38px;
    font-family: "Special Elite", system-ui;
    text-align: center;
}
.subtitulo {
  font-family: 'Roboto', sans-serif; /* Fuente moderna */
  font-size: 1.8em; /* Tamaño de fuente grande */
  font-weight: bold; /* Negrita */
  line-height: 1.4; /* Interlineado más cómodo */
  color: #000000; /* Color oscuro para mejor legibilidad */
  text-align: center; /* Alineación centrada */
  margin: 20px 0; /* Espaciado superior e inferior */
  padding: 10px; /* Espaciado interno */
  border-radius: 8px; /* Bordes redondeados */
}


p {
    font-size: 28px;
    font-family: "Roboto", sans-serif;
    text-align: justify;
}

section {
    display: flex;
    flex-direction:row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: top;
    gap: 20px;
}

section article a {
    text-decoration: none;
    border-radius: 5px;
    background-color: black;
    color: white;
    padding: 10px;
    transition: 0.5s;
    width: 200px;
    text-align: center;
}

section article a:hover {
    background-color: white;
    border: 1px solid black;
    color: black;
}

article:hover {
    background-color: honeydew;
    box-shadow: 5px 5px 10px gainsboro;
}

article div {
    width: 30vw;
    height: 45vw;
}

#revista01 {
    background-image: url('./img/revista_astral.jpg');
    background-size: cover;
    background-position: center;
}

#revista02 {
    background-image: url('./img/revista_butil-autores.jpg');
    background-size: cover;
    background-position: center;
}

#revista03 {
    background-image: url('./img/revista_enredadas.jpg');
    background-size: cover;
    background-position: center;
}

#revista04 {
    background-image: url('./img/revista_escribir.jpg');
    background-size: cover;
    background-position: center;
}

#revista05 {
    background-image: url('./img/revista_suspiros.jpg');
    background-size: cover;
    background-position: center;
}

#revista06 {
    background-image: url('./img/revista_viaje.jpg');
    background-size: cover;
    background-position: center;
}
#revista07 {
    background-image: url('./img/revista_poemas.png');
    background-size: cover;
    background-position: center;
}