@media all and (max-width: 1919px) and (min-width: 1600px) {
    html {
        font-size: 28px;
    }
}
@media all and (max-width: 1599px) and (min-width: 1280px) {
    html {
        font-size: 24px;
    }
}
@media all and (max-width: 1279px) and (min-width: 960px) {
    html {
        font-size: 18px;
    }
}

@media all and (max-width: 959px) and (min-width: 600px) {
    html {
        font-size: 16px;
    }
} 
@media all and (max-width: 599px) and (min-width: 320px) {
    html {
        font-size: 12px;
    }
}

html {
    background-color: #473441;  
    color: white;
    font-family: "Noto Sans CJK JP", Osaka, "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}
body {
    margin: 0;
}

#container {
    width: 90%;
    max-width: 1600px;
    margin: auto;
    position: relative;
    font-size: 500%;
    font-weight: bold;
}
#container:before {
    display: block;
    content: "";
    width: 100%;
    padding-top: 56.25%;
}
#container > #rins {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.rin {
    position: absolute;
    font-size: 1em;
    overflow: visible;
    white-space: nowrap;
    cursor: default;
    -webkit-transition: all .05s linear;
    transition: all .05s linear;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.rin.big {
    font-size: 1.5em;
}
.rin.latin {
    font-family: sans-serif;
}
.rin.text:before {
    content: attr(alt);
    position: absolute;
    -webkit-text-stroke: 10px #4E7CFF;
    left: 0;
    z-index: -1;
}
.rin.text:after {
    content: attr(alt);
    position: absolute;
    color: rgba(255,255,255,0);
    text-shadow: 15px 15px 0 #333333;
    left: 0;
    z-index: -2;
}
.rin.emote {
    width: 1.75em;
    height: 1.75em;
    background-size: contain;
}

#rin1 {
    transform: rotate(10deg);
    left: 10%;
    top: 7%;
}
#rin1:hover, #rin1:focus {
    outline: none;
    transform: rotate(-10deg) scale(1.25, 1.25);
}

#rin2 {
    transform: rotate(-7deg);
    left: 33%;
    top: 7%;
}
#rin2:hover, #rin2:focus {
    outline: none;
    transform: rotate(7deg) scale(1.25, 1.25);
}

#rin3 {
    transform: rotate(10deg);
    left: 55%;
    top: 7%;
}
#rin3:hover, #rin3:focus {
    outline: none;
    transform: rotate(-10deg) scale(1.25, 1.25);
}

#rin4 {
    transform: rotate(-7deg);
    left: 37.5%;
    top: 37%;
}
#rin4:hover, #rin4:focus {
    outline: none;
    transform: rotate(7deg) scale(1.25, 1.25);
}

#rin5 {
    transform: rotate(-7deg);
    left: 77.5%;
    top: 3%;
    background-image: url('/static/img/rin_tereru.png');
}
#rin5:hover, #rin5:focus {
    outline: none;
    transform: rotate(5deg) scale(1.25, 1.25);
}

#rin6 {
    transform: rotate(-5deg);
    left: 10%;
    top: 37%;
    background-image: url('/static/img/rin_odoroku.png');
}
#rin6:hover, #rin6:focus {
    outline: none;
    transform: rotate(7deg) scale(1.25, 1.25);
}

#rin7 {
    transform: rotate(-10deg);
    left: 10%;
    top: 67%;
}
#rin7:hover, #rin7:focus {
    outline: none;
    transform: rotate(10deg) scale(1.25, 1.25);
}

#rin8 {
    transform: rotate(-7deg);
    left: 66%;
    top: 37%;
}
#rin8:hover, #rin8:focus {
    outline: none;
    transform: rotate(7deg) scale(1.25, 1.25);
}

#rin9 {
    transform: rotate(10deg);
    left: 27.5%;
    top: 64%;
    background-image: url('/static/img/rin_normal2.png');
}
#rin9:hover, #rin9:focus {
    outline: none;
    transform: rotate(-10deg) scale(1.25, 1.25);
}

#rin10 {
    transform: rotate(-10deg);
    left: 47%;
    top: 67%;
}
#rin10:hover, #rin10:focus {
    outline: none;
    transform: rotate(10deg) scale(1.25, 1.25);
}

#rin11 {
    transform: rotate(15deg);
    left: 72.5%;
    top: 71%;
}
#rin11:hover, #rin11:focus {
    outline: none;
    transform: rotate(-15deg) scale(1.25, 1.25);
}

#audio-container {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0.5em;
}
#audio-container:hover {
    text-shadow: 
      1px 1px 0 #4E7CFF,
     -1px 1px 0 #4E7CFF,
     -1px -1px 0 #4E7CFF,
      1px -1px 0 #4E7CFF,
      3px 3px 0 #000000;
}