body
{
    background: url("./bg.png") top left repeat;
    font: 12pt 'smw', 'Roboto', monospace;
    font-weight: 200;
}

.musicdleContainer
{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: auto;
    padding: 24px;
    max-width: 900px;
}

.musicdleGame, .musicdleEtc, .musicdleThanks
{
    width: 100%;
    border-radius: 24px;
    margin-bottom: 48px;
}

.musicdleTitle
{
    background: url("./logo.png") center no-repeat;
    width: 528px;
    height: 288px;
    margin-bottom: 32px;
}

#musicdleGameStart::before, #musicdleGameStart::after
{
    display: inline-block;
    content: "";
    width: 16px;
    height: 16px;
    background: url("./favicon.gif") top left no-repeat;
}

.musicdleGame
{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0px 32px;
    background-color: #d4e1f840;
    backdrop-filter: blur(2px);
    border: solid 3px black;
    box-shadow: 0 0 0 6px #00ccff,
                0 0 0 9px black;
}

#musicdleInfo
{
    flex-direction: column;
    align-items: center;
    padding: 8px 48px;
    margin-bottom: 32px;
    border: solid 3px black;
    box-shadow: 0 0 0 6px #00ccff,
                0 0 0 9px black;
    border-radius: 4px;
    background-color: #cbdbfc;
}

#musicdleFail
{
    width: 60%;
    background-color: #d82838a8;
    border-radius: 12px;
    padding: 24px;
    padding-top: 0;
}

#musicdleGuessContainer, #musicdleHintsContainer
{
    display: grid;
    grid-template-areas: "musicdleProperty musicdleCompare"
    "musicdleProperty musicdleCompare"
    "musicdleProperty musicdleCompare"
    "musicdleProperty musicdleCompare"
    "musicdleProperty musicdleCompare"
    "musicdleProperty musicdleCompare";
    text-align: end;
    place-items: center;
    margin-bottom: 12px;
    background: none;
}

#musicdleGuessContainer
{
    grid-auto-columns: calc(100% - 32px) 32px;
}

#musicdleGuessContainer div, #musicdleHintsContainer div
{
    background: none;
    width: 100%;
}

#musicdleGuessContainer div, #musicdleHintsContainer div#musicdleHint3, #musicdleHintsContainer div#musicdleAuthorPower
{
    height: 32px;
    line-height: 32px;
}

.musicdleProperty
{
    margin-right: 20px;
    width: 100%;
}

#musicdleGuessContainer .musicdleCompare, #musicdleHintsContainer div#musicdleAuthorPower
{
    background-position: top right;
    background-size: 32px 32px;
    background-repeat: no-repeat;
}

#musicdleGuessContainer .musicdleCompare
{
    width: 32px;
}

.musicdleEtc, .musicdleThanks
{
    background-color: #d0e8f0d0;
    padding: 0px calc(32px + 3px + 3px + 3px);
}

.musicdleAbout .musicdleAboutHead *::before, .musicdleAbout .musicdleAboutHead *::after
{
    display: inline-block;
    content: "";
    width: 40px;
    height: 16px;
    background: url("./about.png") top center no-repeat;
}

.musicdleRules .musicdleRulesHead *::before, .musicdleRules .musicdleRulesHead *::after
{
    display: inline-block;
    content: "";
    width: 40px;
    height: 16px;
    background: url("./rouxls.png") top center no-repeat;
}

.musicdleRules .musicdleRulesHead *::before, .musicdleRules .musicdleRulesHead *::after
{
    display: inline-block;
    content: "";
    width: 40px;
    height: 16px;
    background: url("./rouxls.png") top center no-repeat;
}

.musicdleAttr .musicdleAttrHead *::before, .musicdleAttr .musicdleAttrHead *::after
{
    display: inline-block;
    content: "";
    width: 40px;
    height: 16px;
    background: url("./attr.png") top center no-repeat;
}

.musicdleHintInfo .musicdleHintInfoHead *::before, .musicdleHintInfo .musicdleHintInfoHead *::after
{
    display: inline-block;
    content: "";
    width: 40px;
    height: 16px;
    background: url("./hint.gif") top center no-repeat;
}

.musicdleToggle
{
    text-align: center;
    cursor: pointer;
    padding: 24px 0;
}

.musicdleSubHead
{
    margin: 0;
}

.musicdleToggleBody
{
    display: none;
    padding-bottom: 16px;
}

.musicdleAttrGrid, .musicdleHintGrid
{
    display: grid;
    grid-template-areas: "name desc"
    "name desc"
    "name desc"
    "name desc"
    "name desc";
}

.musicdleAttrGrid div
{
    padding: 2px 0 2px 12px;
}

.musicdleHintGrid div
{
    padding: 2px 0 2px 6px;
}

.musicdleAttrName
{
    text-align: end;
    font-size: 14pt;
}

.musicdleAttrIconFlex, .musicdleHintIconFlex
{
    display: inline-flex;
    flex-direction: row;
    width: 100%;
}

.musicdleAttrIcon::before, .musicdleHintIcon::before
{
    content: "";
    width: 40px;
    height: 32px;
    display: inline-block;
}

.musicdleAttrIcon
{
    line-height: 32px;
    height: 32px;
    display: flex;
    width: 25%;
}

.musicdleHintIcon
{
    display: flex;
    line-height: 150%;
    width: 33%;
}

.musicdleAttrCorrect::before
{
    background: url("./icons/yes.png") top left/32px 32px no-repeat;
}

.musicdleAttrIncorrect::before
{
    background: url("./icons/no.png") top left/32px 32px no-repeat;
}

.musicdleAttrHigher::before
{
    background: url("./icons/higher.png") top left/32px 32px no-repeat;
}

.musicdleAttrLower::before
{
    background: url("./icons/lower.png") top left/32px 32px no-repeat;
}

.musicdleAttrNone::before
{
    background: url("./icons/power0.png") top left/32px 32px no-repeat;
}

.musicdleAttrClam::before
{
    background: url("./icons/power1.png") top left/32px 32px no-repeat;
}

.musicdleAttrStaff::before
{
    background: url("./icons/power2.png") top left/32px 32px no-repeat;
}

.musicdleAttrLeader::before
{
    background: url("./icons/power3.png") top left/32px 32px no-repeat;
}

.musicdleAttrAdmin::before
{
    background: url("./icons/power4.png") top left/32px 32px no-repeat;
}

.musicdleThanks
{
    font-size: 10pt;
}

.musicdleThanks h3::after
{
    display: inline-block;
    content: "";
    width: 40px;
    height: 16px;
    background: url("./ty.png") top center no-repeat;
}

.musicdleContainer input[type=text]
{
    font-size: 14pt;
    text-align: center;
    padding: 8px 16px;
    margin-bottom: 24px;
    width: 70%;
    border: 1px solid black;
    border-radius: 6px;
}

.musicdleContainer input[type=button]
{
    background-color: #cbdbfc;
    font-size: 12pt;
    border: 2px solid black;
    border-radius: 4px;
    padding: 8px 80px;
    margin-bottom: 32px;
}

hr
{
    border: 1px solid black;
    margin: 0;
}

ul>li
{
    list-style: "⬥" outside;
    line-height: 1.75;
}
