@font-face{
  font-family: Bagnard;
  src: url(Bagnard.otf);
}

@font-face{
  font-family: Bagnard-sans;
  src: url(BagnardSans.otf);
}

@font-face{
  font-family: Thernaly;
  src: url(Thernaly.ttf);
}

@font-face{
  font-family: Thernaly-italic;
  src: url(ThernalyItalic.ttf);
}

body {
    margin: auto;
    width: 600px;
    font-family: Arial, sans-serif;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

a {
  text-decoration: none;
}

a:link {
  color: #4285f4;
}

a:visited {
  /* color: #fc9b7e; */
  /* color: #f45f42; */
  color: #9561f4;
}

h3 {
  font-family:Thernaly;
  font-weight: lighter;
}

.title {
  font-family: Thernaly, serif;
  text-align: center;
  /* text-decoration: underline; */
}

h1 {
  font-family: Thernaly-italic, serif;
  font-size: 65pt;
  text-align: center;
  /* color: #565656; */
}

.essayImg {
  width: 550px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  font-size: smaller;
  color: #828282;
  text-align: center;
  font-style: italic;
}

.essayImg > a:link {
  color: #7aa9f4;
}

.essayImg > a:visited {
  color: #9561f4;
}

dialog {
  border-radius: 8px;
  border: 2px solid #ddd;
  box-shadow: 0 10px 14px rgba(0,0,0,0.1);
}

dialog::backdrop {
  display: none; /* Hide native backdrop */
}

.essay {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 500;
}

/* Custom backdrop */
.custom-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  backdrop-filter: blur(0px);
  transition: backdrop-filter 1s ease-in-out;
  pointer-events: none;
  z-index: 1;
}

.custom-backdrop.show {
  backdrop-filter: blur(4px);
}

.quote {
  padding-left:7%;
  padding-right:7%;
}

.pagination {
  display: flex;
  justify-content: center;
  list-style: none; /* remove list bullets */
  padding: 0px;
}

.pagination li a {
  display: block; /* let links fill the list item */
  padding: 8px 12px;
  text-decoration: none;
  font-weight: bold;
  color: black;  
  margin: 0 4px;
}

.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
  cursor: pointer;  
}

.tooltiptext {
  visibility: hidden;
  display:inline-block;
  width: 200px;
  font-size: smaller;
  background-color: #7aa9f4;
  color: #ffffff;
  text-align: center;
  border-radius: 6px;
  padding: 5px ;
  position: absolute;
  z-index: 1;
  top: 100%;
  left: 65%;
  margin-left: -65px;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}