/* 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-display: swap;
    font-family: "Nerko One";
    font-style: normal;
    font-weight: 400;
    src: url('/fonts/nerko-one-v16-latin-regular.woff2') format('woff2');
}

#vocaring {
    width: 100%;
    max-width: 320px;
    font-family: "Nerko One";
    --scale-factor: 1;
    font-size: 1.5em;
    color: #70cdb3;
}


#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 {
    margin: 6px;
    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 {
    border-radius: 10px;
    background: linear-gradient(to right, #70cdb3 38%, #f8da64);
    color: #f2f3f4;
    font-size: calc(1.6em * var(--scale-factor));
    text-align: center;
    padding: calc(5px * var(--scale-factor)) 0;
    font-weight: normal;
    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.5em * var(--scale-factor));
}

.vocaring-links-top a:hover {
    text-decoration: underline;
    color: #70cdb3;
}

.vocaring-links-top a {
    text-decoration: none;
    color: #f8da64;
}

.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(30px * var(--scale-factor)) solid #70cdb3;
}

.arrow-right {
    border-left: calc(30px * var(--scale-factor)) solid #70cdb3;
}

.arrow-left:hover,
.arrow-right:hover {
    opacity: 1;
    transform: scale(1.2);
}

.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; */
}