.container {
  margin-right: auto;
  margin-left: auto;
  padding-right: 20px;
  padding-left: 20px;
  width: 100%;
  max-width: 700px;
}

#title, #subtitle {
   font-family: 'Atkinson Hyperlegible';
   text-align: center;
   text-transform: uppercase;
}

#action-button {
  border: 1px solid black;
  border-radius: 8px;
  /* Adjust the value for more or less rounding */
  color: black;
  padding: 5px 10px;
  font-family: 'Atkinson Hyperlegible';
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.3s;
  text-transform: uppercase;
}

#action-button:hover {
  background-color: #111111;
  color: #FFFFFF;
  transition: background-color 0.3s;
  /* Slightly darker on hover */
}

body.quarto-dark #subtitle {
  color: white !important;
}

body.quarto-dark #action-button {
  border-color: white;
  color: white;
  
}

body.quarto-dark #axis-title {
  fill: white;
}

body.quarto-dark .left-axis-line { 
  stroke: white;
  stroke-width: 1;
}

body.quarto-dark g.work-bar text {
  fill: white;
}
#year-value { 
  font-family: 'Atkinson Hyperlegible';
  font-size: 25px;
  font-weight: bold;
}

.left {
  float: left;
}

.right {
  float: right;
}

#caption { 
  font-size: 16px;
  margin: 15px 35px;
  font-style: italic; 
}
#caption a {
  text-decoration: none;
  transition: box-shadow 0.2s ease-out;
  padding: 2px;
}

#caption a:hover, #caption a:focus {
  transition-timing-function: ease-in;
  paddind: 2px;
}

body.quarto-light #caption a {
  color: #111111;
  box-shadow: inset 0 -5px 0 0 rgba(17, 17, 17, 0.95);
}

body.quarto-light #caption a:hover,body.quarto-light #caption a:focus {
  color: #FFFFFF;
  box-shadow: inset 0 -25px 0 0 rgba(17, 17, 17, 0.95);
}

body.quarto-dark #caption a {
  color: #FFFFFF;
  box-shadow: inset 0 -5px 0 0 #FFFFFF;
}

body.quarto-dark #caption a:hover,body.quarto-dark #caption a:focus {
  color: #111111;
  box-shadow: inset 0 -25px 0 0 #FFFFFF;
}