
@font-face {
    font-family: 'Noto Serif';
    src: url('fonts/NotoSerif/static/NotoSerif-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

body {
    text-align: justify;
    font-family: "Noto Serif", Georgia, serif;
    font-size: 1rem;
    background-color: white;
}

header img {
    width: 125px; /* Ajustá el tamaño que prefieras */
    margin: 0px;
    height: 125px;
}

header {
    font-family: 'Times New Roman', Times, serif;
    text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.5);
}

.text-container {
    width: 100%; /* Ajusta el ancho al del contenedor padre */
    max-width: 800px; /* Máximo igual al ancho de la imagen */
    margin: 0 auto;
    background-color: white;
}

span {
    background-color: grey;
    color: white;
    padding: 4px;
}

/* View Transition (SPA) */

@view-transition {
    navigation: auto;
}

.transicion-noticia-239{aspect-ratio: 933 / 622; view-transition-name:Noticia-239;}



img {
    max-width: 800px;
}

/* figure y figcaption */

figure {
    border: thin #c0c0c0 solid;
    display: flex;
    flex-flow: column;
    padding: 5px;
    max-width: 800px;
    margin: auto;
}
  
/*img {
    max-width: 220px;
    max-height: 150px;
}*/
  
figcaption {
    background-color: #222;
    color: #fff;
    font: italic smaller sans-serif;
    padding: 3px;
    text-align: center;
}

/* Enlaces */

.images {
    display: flex;
    justify-content: center;
    gap: 10px;
}
  
.images img {
    max-width: 30px;
    margin-top: 20px;
    pointer-events: auto;
}

.container {
    text-align: center;
}

/* Formulario de comentarios */

.comentario-form {
    max-width: 20px;
    margin: auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}
textarea {
    width: 800px;
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    display: flex;
    flex-direction: column; /* Alinea en columna */
    align-items: center; /* Centra horizontalmente */
    justify-content: center; /* Centra verticalmente (si el contenedor tiene altura) */
    height: auto; /* Opcional: centra verticalmente en toda la pantalla */
}

input {
    width: 800px;
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    display: flex;
    flex-direction: column; /* Alinea en columna */
    align-items: center; /* Centra horizontalmente */
    justify-content: center; /* Centra verticalmente (si el contenedor tiene altura) */
    height: auto; /* Opcional: centra verticalmente en toda la pantalla */
}

button {
    font-family: 'Times New Roman', Times, serif;
    font-size: 18px;
    font-weight: normal;
    color: black;
    background: #f7f7d4;
    /*border: 2px solid #c0c0c0;*/
    border-radius: 2.5px;
    padding: 10px;
    box-shadow: 2px 2px 5px #888888;
    transition: all 0.5s ease;
    border: 0px solid black;
    /* nav ul
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: center;*/
}
button:active {
    box-shadow: inset 2px 2px 5px #888888;
    background: #e0e0b0;
    /*transform: translateY(2px);*/
}
.comentario {
    background: #f1f1f1;
    padding: 10px;
    margin-top: 10px;
    border-radius: 5px;
}
.usuario {
    font-weight: bold;
    color: #333;
}

button {
    position: relative;
    cursor: pointer;
    font-weight: normal;
    margin-top: 10px;
    margin-bottom: 0px;
    padding: 10px;
}

.form-background {
    background-color: #f7f7d4;
    padding: 20px;
}

.buttons-background {
    background-color: #f7f7d4;
    padding: 10px;
}

p {
    direction: ltr;
    unicode-bidi: isolate;
 }

[dir="ltr" i] {
    unicode-bidi: isolate;
}

/*@media (max-width: 800px) {
    iframe {
        width: 100%;
        height: 100%;
    }
}*/

.leer-voz-alta {
    margin-top: 0px;
    margin-bottom: 0px;
}

.detener-voz {
    margin-top: 0px;
    margin-bottom: 0px;
}

/* Media Queries */

@media (max-width: 768px) {

    figure {
        border: none;
        display: flex;
        flex-flow: column;
        padding: 0px;
        max-width: 800px;
        margin: auto;
    }
}

@media (max-width: 768px) {
    textarea, input {
        width: 100%;
    }
}

@media (max-width: 768px) {
    body {
    text-align: justify;
    font-family: "Noto Serif", Georgia, serif;
    font-size: 1rem;
    background-color: white;
}
}













@media (max-width: 768px) {
  .transicion-noticia-239 {
    aspect-ratio: 933 / 622;
  }
}


/* Bold */
@font-face {
    font-family: 'Noto Serif';
    src: url('fonts/NotoSerif/static/NotoSerif-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

/* Italic */
@font-face {
    font-family: 'Noto Serif';
    src: url('fonts/NotoSerif/static/NotoSerif-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
}

/* Bold Italic */
@font-face {
    font-family: 'Noto Serif';
    src: url('fonts/NotoSerif/static/NotoSerif-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
}

/* Extra Condensed ExtraBold Italic */
@font-face {
    font-family: 'Noto Serif Extra Condensed';
    src: url('fonts/NotoSerif/static/notoserif_extracondensed-extrabolditalic.ttf') format('truetype');
    font-weight: 800; /* ExtraBold */
    font-style: italic;
}
