@font-face {
  font-family: "EB Garamond";
  src: url('/static/ebgaramond/EBGaramond-VariableFont_wght.ttf') format("truetype-variations");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "EB Garamond";
  src: url('/static/ebgaramond/EBGaramond-Italic-VariableFont_wght.ttf') format("truetype-variations");
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
}

html {
  font-size: 20px
}

body {
  font-family: 'EB Garamond', serif;
  line-height: 1.2;
  margin: 0 auto;
  max-width: 40em;
  padding: 0 1em;
  background-color: gainsboro;
}
h1, h2, h3, h4, h5, h6 {
  margin: 1em 0 0.5em 0;
}
a:link, a:visited {
  color: black;
  text-decoration: underline;
}
a:hover, a:active, a:focus {
  color: darkblue;
  text-decoration: none;
}
img {
  max-width: 100%;
}
figure {
  margin: 1em 0;
  text-align: center;
}
figcaption {
  font-size: small;
}
pre, code, samp, kbd {
  color: #009;
  font-family: monospace, monospace;
  font-size: 0.9em;
}
pre code, pre samp, pre kbd {
  font-size: 1em;
}
pre kbd {
  color: #060;
}
pre {
  background: #eee;
  padding: 0.5em;
  overflow: auto;
}
blockquote {
  background: #eee;
  border-left: medium solid #ccc;
  margin: 1em 0;
  padding: 0.5em;
}
blockquote :first-child {
  margin-top: 0;
}
blockquote :last-child {
  margin-bottom: 0;
}

table {
  border-collapse: collapse;
}
th, td {
  border: thin solid #999;
  padding: 0.3em 0.4em;
  text-align: left;
}

/*navbar customizations*/
.navbar h1 {
  margin: 0.5em 0 0 0;
}
.navbar h1 a {
  text-decoration: none;
}
.navbar h4 {
  margin: 0 0 0 0;
  font-style: italic;
  color: gray;
}
.navbar nav a {
  margin-right: 0.5em;
}

/*header customizations*/
header h3 {
  margin-bottom: 0;
}

header p {
  color: #404040;
  margin-top: 0;
  margin-bottom: 0;
  font-size: smaller;
  font-style: italic
}

/*footer time*/
footer {
  font-size: x-small;
  margin-top: 3em;
  margin-bottom: 0;
}

footer p {
  margin-top: 0;
}

/* Button styles */
button {
  padding: 12px 24px;
  border-radius: 12px;
  border: none;
  font-family: inherit;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.5s ease;
  color: #333;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  background: linear-gradient(135deg, #2d89e5, #48a6f1);
}
/* Gold shadow on hover */
button:hover {
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}
#richyRugpull:hover {
  background: linear-gradient(135deg, #FF5F6D, #FFC371, #FFD700);
}
/* Button animation on click */
button:active {
  transform: scale(0.95);
  box-shadow: 0px 0px 10px rgba(255, 215, 0, 0.8);
}

/* borders for "web3" */
.web3 {
  border: 2px solid #ddd;
  border-radius: 4px;
  box-shadow: 0px 0px 10px #ddd;
  background: linear-gradient(135deg, #f5f5f5, #e5e5e5);
  color: #333;
  padding: 1em;
}

/* floaty tulip for "web3" */
.web3 {
  overflow: hidden; /* clear floats */
  position: relative;
}
.web3 #loadingIndicator {
  /* Center the loading indicator in the parent div */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* Make the loading indicator semi-transparent */
  opacity: 0.5;
  /* Set a high z-index so it appears on top of the content */
  z-index: 9999;
}
.web3 figure {
  float: right;
  max-width: 10%;
  margin-left: 12px;
}
.web3 figure img {
  width: 100%;
  height: auto;
}
.web3 figcaption {
  text-align: center;
}
/* slight adjustment to web3 header */
.web3 h3 {
  margin: 0.25em 0 0.5em 0;
}

/* adding paragraph margin for web3 */
.web3 p {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  font-style: normal;
}

/* audio download text */
.audio-download {
  font-style: italic;
  font-size: smaller;
}

/*dank mode*/
@media (prefers-color-scheme: dark) {
  body {
    color: #bbb;
    background: #222;
  }
  a:link, a:visited {
    color: white;
    text-decoration: underline;
  }
  a:hover, a:active, a:focus {
    color: lightblue;
    text-decoration: none;
  }
  pre, code, samp, kbd {
    color: #6cf;
  }
  pre kbd {
    color: #9c9;
  }
  pre, blockquote {
    background: #111;
  }
  blockquote {
    border-color: #444;
  }
  header p {
    color: gray;
  }
  .web3 {
    border: 2px solid #444;
    border-radius: 4px;
    box-shadow: 0px 0px 10px #444;
    background: linear-gradient(135deg, #222, #111);
    color: #fff;
    padding: 1em;
  }
}
