/* 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 {
  src: url('https://bugkisser.neocities.org/fonts/CHERI___.TTF');
  font-family: "cheri";
        }

#vocaring {
    margin: 0 auto;
    width: 100%;
    max-width: 320px;
    font-family: "cheri";
    --scale-factor: 1;
    font-size: 1em;
    color: #ff78a5;
}

#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));
    box-shadow: 0 0 calc(10px * var(--scale-factor)) rgba(0, 0, 0, 0.2);
    overflow: hidden;
    border: calc(2px * var(--scale-factor)) outset #ff78a5;
}

.vocaring-title {
    color: #ff78a5;
    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: hotpink;
}

.vocaring-links-top a {
    text-decoration: none;
    color: hotpink;
}

.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 #ff78a5;
}

.arrow-right {
    border-left: calc(24px * var(--scale-factor)) solid #ff78a5;
}

.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-image: url('https://bugkisser.neocities.org/backgrounds/background_starry.gif');
    background-position: center;
    z-index: 0;
}