/* 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: 1;
    font-size: 1.1em;
}


#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 #74acd4;
}

.vocaring-title {
    background-color: #0099ff;
    color: #fafeff;
    font-size: calc(1.6em * var(--scale-factor));
    text-align: center;
    padding: calc(10px * var(--scale-factor)) 0;
    font-weight: bold;
    text-shadow: calc(2px * var(--scale-factor)) calc(2px * var(--scale-factor)) calc(2px * var(--scale-factor)) rgba(0, 26, 122, 0.7);
}

.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: underline;
    color: #69a5ff;
}

.vocaring-links-top a {
    text-decoration: none;
    color: #0056d6;
}

.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 #0042b5;
}

.arrow-right {
    border-left: calc(24px * var(--scale-factor)) solid #0042b5;
}

.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://file.garden/Z3nf4eZzZUtRPfhK/bg_hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    opacity: 0.5;
}