@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Libre+Bodoni:ital,wght@0,400..700;1,400..700&family=Lora:ital,wght@0,400..700;1,400..700&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* - - - - - Edicion anotada - - - - - - */

.dos-columnas {
    column-count: 2; 
    column-gap: 40px; 
    column-rule-style: solid; 
    column-rule-width: 1px; 
    column-rule-color: #333; 
    padding-top:40px;
}

.dos-columnas .encabezado {
    padding-bottom: 5rem;
}

.dos-columnas .encabezado h5 {
    text-align: center;
    text-indent: 0;
}

.dos-columnas .cita .autor-cita {
    margin-bottom: 4rem;
}

.dos-columnas .titulo {
    margin: 1rem 0rem;
}

.dos-columnas p {
    text-align: justify;
    text-indent: 3rem;
    font-size: 1.1rem;
}

.dos-columnas .cita, .dos-columnas .autor-cita {
    font-size: 1.1rem;
    text-align: justify;
}

.dos-columnas .correspondencia {
    margin: 2rem 0rem 0rem;
    text-align: center;
}

.dos-columnas .bajada p {
    margin: 2rem 0rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
    text-indent: 0;
}

.dos-columnas .cita {
    margin: 0rem;
}

.dos-columnas .cita p {
    margin: 2rem 0rem;
    text-indent: 0;
}

.dos-columnas .carta {
    margin-bottom: 5rem;
}

.dos-columnas .referencia {
    padding-top: 4rem;
}


.dos-columnas table {
    font-size: medium;
}

.mediohr {
    width: 50%;
}

.tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
    background-color: rgb(248, 248, 250);
    opacity: 1;
    z-index: auto;
    font-family: "lora", serif;
    font-size: 1.1rem;
    font-weight: 400;
    text-indent: 0;
    padding: 0 8px;
    border-radius: 4px;
  }

  .tooltip .tooltiptext {
    visibility: hidden;
    background-color: #DFA75D;
    color: #333;
    text-align: center;
    border-radius: 4px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%; /* Posición sobre el texto */
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap; /* Evita saltos de línea */
    opacity: 0;
    transition: opacity 0.3s, width 0.3s;
    /* box-shadow: 5px 5px 10px 0px #333; */
  }

  .tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
    width: auto; 
  }
  .anotada {
    color: #bd1d1d;
  }

  .anotada .list-group-item {
    border: none;
    border-right: 1px solid #333;
  }
  
  .anotada .list-group-item:last-child {
    border: none;
  }

  .accordion-button:not(.collapsed) {
    background-color: transparent;
  }

  .accordion {
    --bs-accordion-btn-focus-box-shadow: transparent;
  }
  .accordion-header, .accordion-body {
    border-bottom: 1px solid #333;
  }

  a {
    color: blue;
    text-decoration: none;
  }

  a:hover {
    text-decoration: underline;
  }

  .table {
    --bs-table-bg: transparent;
    --bs-table-border-color: #333;
  }
/* - - - - - - - - - - - - */

.editorial {
    font-family: "lora", serif;
    font-size: x-large;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    padding-bottom: 8rem;
}

.newspaper {
    background-color: #f2e3d0;
    /* border: 1px solid #000; */
    box-shadow: inset 0 0 300px rgba(209,142,24,45%), 1px 1px 3px rgba(148,143,134,49%);
}

.ver-traduccion {
    font-family: sans-serif;
    margin-bottom: 1.5rem;
}
.modal-cita {
    margin: 0 3rem;
}
/* modifica los estilos para el modal de landing page */
.modal-content-landing {
    background-color: rgba(255, 239, 213, 0.937);
    border: 0px;
}

/* modifica color de base del menu que se despliega desde la derecha */
.offcanvas {
    background-color: antiquewhite!important;
}

.offcanvas-title a {
    color: black;
    text-decoration: none;
}

.navbar-toggler {
    background-color: burlywood;
}
.navbar-nav .dropdown-menu {
    background-color: #e5c9ab;
}

.dropdown-item:active{
    background-color: dimgrey!important;
    color: #fff;
}

/* modifica color de base del menu de navegacion (header) */
.bg-body-tertiary {
    background-color: antiquewhite!important;
}
/* estilos para el link mailto del modal de landing page */
.btn-mailto {
    background-color: blue;
    border-radius: 10px;
    padding: 15px 20px;
    display: inline-block;
    margin: 30px 0;
    text-indent: initial;
}
a.btn-mailto {
    /* color: #fff; */
    text-decoration: none;
}
a:hover.btn-mailto {
    text-decoration: underline;
}

/* clases que afectan al viewer */

/* botonera del viewer de publicaciones */
.btn-publicaciones {
    font-family: sans-serif;
    background-color: #e5c9ab!important;
    color: #212529;
    border: 0;
    font-weight: 400;
    text-decoration: none;
}

.btn-publicaciones:hover {
    background-color: sienna!important;
    color: #fff;
}

.btn-publicaciones.active {
    background-color: dimgrey!important;
    color: #fff!important;
}

.border-top {
    border-top: 0.4em #000 solid!important;
    opacity: 0.6!important;
}

.border-top-span{
    padding-bottom: 30px;
    position:relative;
    top:1px;
    display:inline-block;
    border-bottom:1px solid #000;
}
.genero {
    font-family: "Bebas Neue", serif;
    font-weight: 400;
    font-style: normal;
    text-align: center;
}

.titulo {
    font-family: "lora", serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 5rem;
}

.dedicatoria {
    margin: 2rem 0rem;
    font-family: "lora", serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    text-align: center;

}

.cita {
    margin: 5rem 0rem;
    font-family: "Libre Bodoni", serif;
    font-size: x-large;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: italic;    
}

.autor-cita {
    font-family: "lora", serif;
    font-weight: 700;
    text-align: right;
}

.align-content {
    text-align: right;
}

.texto-decorrido {
    text-align: justify;
    font-size: 1.6rem;
    text-indent: 6rem;
    letter-spacing: unset;
    word-spacing: unset;
    word-break: unset;
}

.texto-decorrido.centrar-separador {
    text-align: center; 
    text-indent: 0px;
}

.texto-decorrido.firma {
    text-align: right; 
    font-style: italic;
}

.frst-pa::first-letter {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 2.4rem;
}

ul.sin-sangria {
    list-style-type: none;
    padding-left: 6em;
    text-indent: 0em;
}

ul.sin-sangria li>p.texto-decorrido {
    text-indent: 0em;
}

.img-centrada {
    margin: 5rem 0;
}

.img-centrada img{
    width: 80%;
}

.flourish-embed {
    width: 100%!important;
}

.tabla-guerra td, .tabla-guerra thead>tr>th{
    text-align: right;
}

.referencia {
    padding-top: 8rem;
}

.referencia p {
    font-size: 1.1rem;

}

.descarga{ 
    text-align: right;
    margin: 5rem 0;
}

.descarga-badge {
    padding: .5rem 0.8rem;
}

@media (max-width: 575.98px) {
    .editorial {

        font-family: "lora", serif;
        font-size: small;
    }

    .titulo {
        font-size: x-large;

    }

    .dedicatoria {
        margin: 1rem 0rem;    
    }
    .italica {
        margin: 3rem 0rem;
        font-size: large;
     }

    .texto-decorrido {
        text-align: justify;
        font-size: 1.1rem;
        text-indent: 2rem;
    }
    .frst-pa::first-letter {
        font-size: 2.5rem;
        // font-weight: 700;
        line-height: 2.4rem;
    }
    .img-centrada img{
        width: 90%;
    }
    .dedicatoria, .buffon {
        font-size: 0.9rem;
    }

    .tooltip {
        position: relative;
        display: inline-block;
        cursor: pointer;
        background-color: #000;
      }

      .tooltip .tooltiptext {
       visibility: hidden;
        background-color: black;
        color: #fff;
        text-align: center;
        border-radius: 5px;
        padding: 5px;
        position: absolute;
        z-index: 1;
        bottom: 125%; /* Posición sobre el texto */
        left: 50%;
        transform: translateX(-50%);
        white-space: nowrap; /* Evita saltos de línea */
        opacity: 0;
        transition: opacity 0.3s, width 0.3s;
      }

      .tooltip:hover .tooltiptext {
        visibility: visible;
        opacity: 1;
        width: auto; 
      }

      a {
        color: blue;
        text-decoration: none;
      }

      a:hover {
        text-decoration: underline;
      }


    /* estilos iconos en dispositivos moviles */

    .icon {
        width: 25%; /* Ajusta según el tamaño del icono */
    }

    .map-container {

        width: 150%;
       
      }

    .map-background {
        width: 200%;
        height: auto;
      }


    .hummus-area {
        position: absolute;
        top: 60%; /* Ajustar según la ubicación del dibujo */
        left: 78%; /* Ajustar según la ubicación del dibujo */
        /* width: 200px;  Ancho del área interactiva */
        /* height: 200px;  Alto del área interactiva */
        background-color: rgba(96, 216, 31, 0.2); /* Semitransparente para pruebas */
        cursor: pointer;
        transition: background-color 0.3s ease;
        background: url('assets/img/iconos/hummus-rojo.png') center top no-repeat;
        background-size: contain; /* Escala la imagen para que se ajuste al área */
    }


}