/* onionring.js is made up of five files - onionring-widget.js, onionring-index.js, onionring-variables.js, onionring.css (this one!), and onionring-images.js
// it's licensed under the cooperative non-violent license (CNPL) v4+ (https://thufie.lain.haus/NPL.html)
// it was originally made by joey + mord of allium (è’œ) house, last updated 2020-10-24

/* === ONIONRING.CSS === */
/* this file affects the style of the widget. remember to replace all instances of #vocaring with whatever value you have for ringID in the onionring-widget.js file. make sure it still has the # at the front, though! */

@font-face {
  font-family: "legacy";
  src: url("https://file.garden/Z3nf4eZzZUtRPfhK/itc-legacy-sans-std-book.ttf");
}

#vocaring {
  margin: 0 auto;
  width: 100%;
  max-width: 320px;
  font-family: "legacy";
  --scale-factor: 0.7;
  font-size: 1em;
  color: #65b2ff;
}

#vocaring.small {
  --scale-factor: 0.7;
  max-width: calc(320px * 0.7);
}

#vocaring.medium {
  --scale-factor: 0.85;
  max-width: calc(320px * 0.85);
}

#vocaring.large {
  --scale-factor: 1.2;
  max-width: calc(320px * 1.2);
}

.vocaring-container {
  position: relative;
  background-color: transparent;
  border-radius: calc(15px * var(--scale-factor));
  border: calc(2px * var(--scale-factor)) dotted #00000000;
  overflow: hidden;
}

.vocaring-title {
  color: #65b2ff;
  font-size: calc(1.6em * var(--scale-factor));
  text-align: center;
  padding: calc(10px * var(--scale-factor)) 0;
  position: relative;
  z-index: 5;
}

.vocaring-links-top {
  text-align: center;
  padding: calc(8px * var(--scale-factor)) 0;
  font-size: calc(1.3em * var(--scale-factor));
}

.vocaring-links-top a:hover {
  text-decoration: none;
  color: #00f;
}

.vocaring-links-top a {
  text-decoration: none;
  color: #00f;
}

.vocaring-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: calc(10px * var(--scale-factor));
  position: relative;
}

.vocaring-character {
  flex: 0 0 60%;
  text-align: center;
  z-index: 2;
}

.vocaring-character img {
  max-width: 100%;
  max-height: calc(510px * var(--scale-factor));
}

.vocaring-prev,
.vocaring-next {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 20%;
  z-index: 3;
}

.arrow-left,
.arrow-right {
  width: 0;
  height: 0;
  border-top: calc(20px * var(--scale-factor)) solid transparent;
  border-bottom: calc(20px * var(--scale-factor)) solid transparent;
  opacity: 0.8;
  transition: all 0.2s ease;
  margin-top: calc(-50px * var(--scale-factor));
}

.arrow-left {
  border-right: calc(24px * var(--scale-factor)) solid #65b2ff;
}

.arrow-right {
  border-left: calc(24px * var(--scale-factor)) solid #65b2ff;
}

.arrow-left:hover,
.arrow-right:hover {
  opacity: 1;
  transform: scale(1.15);
}

.vocaring-links-top,
.vocaring-main {
  position: relative;
  z-index: 1;
}

.vocaring-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: none;
  z-index: 0;
}
