@import url('https://fonts.googleapis.com/css?family=Raleway:800&display=swap');
@import url('https://fonts.googleapis.com/css?family=Kavoon:400&display=swap');
header, nav, #n, .d, dt {
    font-family: 'Raleway';
    font-weight: 800;
}
h1, h2, h3 {
    font-family: 'Kavoon';
    font-weight: 400;
}



html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}option{font-family:sans-serif}button,input{overflow:visible}button,select{text-transform:none}button,[type="button"],[type="reset"],[type="submit"]{-webkit-appearance:button}button::-moz-focus-inner,[type="button"]::-moz-focus-inner,[type="reset"]::-moz-focus-inner,[type="submit"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type="button"]:-moz-focusring,[type="reset"]:-moz-focusring,[type="submit"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type="checkbox"],[type="radio"]{box-sizing:border-box;padding:0}[type="number"]::-webkit-inner-spin-button,[type="number"]::-webkit-outer-spin-button{height:auto}[type="search"]{-webkit-appearance:textfield;outline-offset:-2px}[type="search"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}



body {
    width: 100%;
    margin: 0 auto;
    font-family: sans-serif;
    text-rendering: optimizeLegibility;
}

img, object, embed, video {
    max-width: 100%;
}

img {
    height: auto;
}

fieldset {
    border: 0px;
}

div {
    outline: none;
}


.btn {
    display: inline-block;
    width: 1.8em;
    height: 1.8em;
    border-radius: 50%;
    text-align: center;
    line-height: 1.8em;
}




header, nav, #hud, article, footer {
    width: 100%;
    max-width: 64em; /*56.1em*/
    margin: 0 auto;
    overflow: hidden;
}





header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 0.2em 0;
}
header .logo {
    width: 100%;
}
header a {
    text-decoration: none;
}
header svg {
    display: inline-block;
}
header h1 {
    display: inline-block;
    margin: 0em;
}
header h2 {
    font-size: 0.9em;
    margin: 0 0 0 0.2em;
}

header .menu {
    flex: 1;
    text-align: right;
}

header .menu div {
    position: relative;
    width: 25em;
    height: 2.5em;
}
header .menu div a {
    position: absolute;
    display: inline-block;
}
.menu-series, .menu-bonus {
    right: 14em;
    width: 10em;
}
.menu-cast, .menu-rpg {
    right: 8em;
    width: 6em;
}
.menu-mit, .menu-social {
    right: 0em;
    width: 9em;
}
.menu-sss {
    right: 0em;
    border-bottom-left-radius: 0.2em;
    border-bottom-right-radius: 0.2em;
    padding: 0 0.2em;
}
.menu-series .btn:before {
    content: "A";
}
.menu-bonus .btn:before {
    content: "X";
}
.menu-cast .btn:before {
    content: "B";
}
.menu-rpg .btn:before {
    content: "Y";
}
.menu-mit .btn:before {
    content: "Z";
}
.menu-social .btn:before {
    content: "C";
}




#strip {
    display: block;
    margin: 0 auto;
}


.stripsection {
    width: 100%;
    margin: 0 auto;
    padding: 1.5em 0;
    color: #fff;
    background: #000;
}
#caption {
    max-width: 754px; /* strip width */
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
}
.dida {
    flex: 1;
    margin: 0.5em 0 0 1em;
}





nav {
    display: flex;
    align-items: flex-start;
    padding-bottom: 1em;
}
.btn-l {
    width: 4em;
    order: 0;
    text-align: center;
    font-size: 2.5em;
    text-decoration: none;
    border-bottom-left-radius: 0.5em;
    border-bottom-right-radius: 0.1em;
}
.links  {
    width: 100%;
    order: 1;
    text-align: center;
}
.links select {
    width: 20em;
}
.links a {
    display: inline-block;
    margin: 0 1em;
}
.btn-r {
    width: 4em;
    order: 2;
    text-align: center;
    font-size: 2.5em;
    text-decoration: none;
    border-bottom-right-radius: 0.5em;
    border-bottom-left-radius: 0.1em;
}
nav a {
    text-decoration: none;
}
.btn-s .btn:before {
    content: "1P";
}




#hud {
    height: 4em;
    position: relative;
    overflow: visible;
}
#n {
    text-align: center;
    font-size: 2em;
    width: 100%;
    margin-top: 0.5em;
    position: absolute;
}
#player1, #player2 {
    position: absolute;
    width: 35%;
}
#player1 {
    left: 0.5em;
    top: 1.6em;
}
#player2 {
    right: 0.5em;
    top: 1.6em;
}
#lifebar1p, #lifebar2p {
    width: 100%;
    height: 0.9em;
    border: 1px solid;
    position: relative;
}
#gauge1p, #gauge2p {
    height: 100%;
    position: absolute;
}
#gauge1p {
    left: 0%;
}
#gauge2p {
    right: 0%;
}
#name1p, #name2p {
    height: 2em;
}
#name1p {
    margin-left: 1em;
}
#name2p {
    margin-right: 1em;
    text-align: right;
}




.eds {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    overflow-x: auto;
}
.lo, .cy {
    width: 50%;
    /*min-width: 20em; / for horizontal scrolling / */
    padding-bottom: 2em;
}
.cy {
    flex: 1;
}

.lo .d {
    text-align: left;
    margin: 1em 0 0 1em;/* top margin for lifebar offset */
}
.cy .d {
    text-align: right;
    margin: 1em 1em 0 0;/* top margin for lifebar offset */
}

.lo h3, .cy h3 {
    font-size: 1.5em;
    text-align: center;
}

.lo p, .cy p, address, .lo ul, .cy ul {
    hyphens: auto;
    margin: 1em;
    line-height: 1.7em;
}
address {
    margin-top: 4em;
    font-size: 0.85em;
    font-style: normal;
    font-weight: bold;
}
blockquote {
    margin: 4em 2em 0 2em;
    font-style: italic;
}




nav {
    border-top: 0.5em solid;
}
footer p {
    margin: 2em 0 4em 0;
    text-align: right;
    font-size: 0.85em;
    line-height: 1.7em;
}
footer nav .links a {
    padding: 0.4em;
}



/*******************************************/
/***** Pages ***/

.page {
    margin-bottom: 6em;
}
.page dd, .page p, .page ul, .page ol {
    line-height: 1.7em;
}
.page h2 {
    font-size: 285%;
}
.page dt, .page h3 {
    font-size: 1.4em;
}
.page h3 {
    margin-top: 3em;
}
.page dt a {
    text-decoration: none;
}
.page dd {
    margin: 0.2em 0 2em 1.6em;
}
.page .count {
    font-size: 0.85em;
}
.page .lo, .page .cy {
    text-align: center;
    padding: 0.4em;
}

.art {
    display: grid;
    width: 100%;
    grid-gap: 1em;
    grid-template-columns: repeat(3, 33%);
    grid-auto-rows: 1fr;
}
.art div {
    text-align: center;
}
.art ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}
.art span {
    display: block;
}
.artcol div {
    margin: 2em 0;
}



/*******************************************/
/**** Color ********************************/

/*******************************************/
/**** Color creme caramel ***************/

body.s1 {
    color: #3b231d;
    background: #f2e8c4;
}
.s1 header, .s1 nav, .s1 #hud, .s1 footer {
    background: #f2e8c4;
}

.s1 header svg {
    fill: #fff;
    background-color: #C04528;
}

.s1 h1, .s1 h2 {
    color: #3b231d;
    text-shadow: 1px 1px 0px #fff;
}

.s1 a {
    color: #3b231d;
}
.s1 a:hover {
    color: #C04528;
}
.s1 .links a, .s1 .menu a {
    color: #C04528;
}
.s1 .links a:hover, .s1 .menu a:hover {
    color: #000;
}

.s1 .btn {
    color: #fff;
    background: #C04528;
}
.s1 a:hover .btn {
    color: #fff;
    background: #000;
}

.s1 a.menu-sss {
    color: #fff;
    background-color: #C04528;
}
.s1 a.menu-sss:hover {
    color: #fff;
    background-color: #000;
}

.s1 .btn-l, .s1 .btn-r {
    color: #fff;
    background: #C04528;
}
.s1 .btn-l svg, .s1 .btn-r svg {
    fill: #fff;
}
.s1 .btn-l:hover svg, .s1 .btn-r:hover svg {
    fill: #fff;
}

.s1 #hud {
    background: #C04528;
}
.s1 #n {
    color: #fff;
}
.s1 #lifebar1p, .s1 #lifebar2p {
    background: #3b231d;
}
.s1 #gauge1p, .s1 #gauge2p {
    background: #fff;
}
.s1 #name1p svg, .s1 #name2p svg {
    fill: #fff;
}

.s1 .lo {
    background: #fffefe;
}
.s1 .cy {
    background: #fafae3;
}

.s1 nav {
    border-color: #C04528;
}

.s1 .orientation-tip {
    color: #fff;
    background: #C04528;
}


.s1 .page h2, .s1 .page dt a {
    color: #C04528;
    text-shadow: 1px 1px 0px #fff;
}
.s1 .page dt a:hover {
    color: #000;
}
.s1 .page svg {
    fill: #C04528;
}
.s1 .page-logo {
    background: #C04528;
}
.s1 .page-logo svg {
    fill: #fff;
}
.s1 .count {
    color:#C04528;
}


/*******************************************/
/**** Color verde drago ********************/

body.s2 {
    color: #fff;
    background-color: #0c6667;
}

.s2 header, .s2 nav, .s2 #hud, .s2 footer {
    background-color: #0c6667;
}

.s2 h1, .s2 h2, .s2 .page h2, .s2 .menu a, .s2 .links a, .s2 .page dt a {
    text-shadow: 1px 1px 0px #053738;
}
.s2 .btn, .s2 a.menu-sss {
    text-shadow: none;
}


.s2 header svg {
    fill: #fff;
    background-color: #c61a1a; 
}

.s2 .btn {
    color: #0c6667;
    background-color: #fff;
}

.s2 a {
    color: #fff;
}
.s2 a:hover {
    color: #fff;
}

.s2 a:hover .btn {
    color: #fff;
    background-color: #c61a1a;
}
.s2 .menu-sss {
    color: #0c6667;
    background-color: #fff;
}
.s2 .menu-sss:hover {
    color: #c61a1a;
}

.s2 .btn-l, .s2 .btn-r {
    background: #fff;
}
.s2 .btn-l svg, .s2 .btn-r svg {
    fill: #0c6667;
}
.s2 .btn-l:hover svg, .s2 .btn-r:hover svg {
    fill: #c61a1a;
}

.s2 #hud {
    background: #fff;
}
.s2 #n {
    color: #c61a1a;
}
.s2 #lifebar1p, .s2 #lifebar2p {
    background: #50936a;
}
.s2 #gauge1p, .s2 #gauge2p {
    background: #c61a1a;
}
.s2 #name1p svg, .s2 #name2p svg {
    fill: #c61a1a;
}


.s2 .lo {
    color: #000;
    background: #e2faf2;
}
.s2 .cy {
    color: #000;
    background: #dbfcf4;
}
.s2 .lo a, .s2 .cy a {
    color: #000;
}
.s2 .lo a:hover, .s2 .cy a:hover {
    color: #c61a1a;
}


.s2 nav {
    border-color: #fff;
}
.s2 .links select {
    color: #0c6667;
}

.s2 .orientation-tip {
    color: #fff;
    background: #c61a1a;
}


.s2 .page {
    color: #000;
}
.s2 .page h2 {
    color: #fff;
}
.s2 .page dt a {
    color: #fff;
}
.s2 .page dt a:hover {
    color: #fff;
}
.s2 .page svg {
    fill: #fff;
}
.s2 .page-logo {
    background: #c61a1a;
}
.s2 .page-logo svg {
    fill: #fff;
}
.s2 .content {
    color: #fff;
}
.s2 .count {
    color:#c61a1a;
}


/*******************************************/
/**** Color fuoco d'autunno ********************/

body.s3 {
    color: #f8d091;
    background-color: #3b233b;
}

.s3 header, .s3 nav, .s3 #hud, .s3 footer {
    background-color: #3b233b;
}

.s3 h1, .s3 h2, .s3 .menu a, .s3 .links a {
    text-shadow: 1px 1px 0px #2e112d;
}
.s3 .btn, .s3 a.menu-sss {
    text-shadow: none;
}


.s3 header svg {
    fill: #f8d091;
    background-color: #f88058; 
}

.s3 .logo svg {
    fill: #f88058;
    background-color: #3b233b;
}
.s3 h1, .s3 h2 {
    color: #f88058;
}

.s3 .btn {
    color: #3b233b;
    background-color: #f88058;
}

.s3 a {
    color: #f8d091;
}
.s3 a:hover {
    color: #f88058;
}

.s3 a:hover .btn {
    color: #f8d091;
    background-color: #f88058;
}
.s3 .menu-sss {
    color: #3b233b;
    background-color: #f88058;
}
.s3 .menu-sss:hover {
    color: #f8d091;
}

.s3 .btn-l, .s3 .btn-r {
    background: #f88058;
}
.s3 .btn-l svg, .s3 .btn-r svg {
    fill: #3b233b;
}
.s3 .btn-l:hover svg, .s3 .btn-r:hover svg {
    fill: #f8d091;
}

.s3 #hud {
    background: #f88058;
}
.s3 #n {
    color: #3b233b;
}
.s3 #lifebar1p, .s3 #lifebar2p {
    background: #c04048;
}
.s3 #gauge1p, .s3 #gauge2p {
    background: #f8d091;
}
.s3 #name1p svg, .s3 #name2p svg {
    fill: #3b233b;
}

.s3 .lo {
    color: #fef9f5;
    background: #2e212b;
}
.s3 .cy {
    color: #fef9f5;
    background: #251b25;
}
.s3 .lo a, .s3 .cy a {
    color: #fdf4ee;
}
.s3 .lo a:hover, .s3 .cy a:hover {
    color: #f88058;
}

.s3 nav {
    border-color: #f88058;
}
.s3 .links select {
    color: #3b233b;
}

.s3 .orientation-tip {
    color: #3b233b;
    background: #f88058;
}




.s3 .page {
    color: #530030;
}
.s3 .page h2 {
    color: #f88058;
}
.s3 .page dt a {
    color: #f88058;
}
.s3 .page dt a:hover {
    color: #f88058;
}
.s3 .page svg {
    fill: #f88058;
}
.s3 .page-logo {
    background: #f88058;
}
.s3 .content {
    color: #f8d091;
}
.s3 .count {
    color:#f8d091;
}



/*******************************************/
/*** Media queries *************************/

@media screen and (min-width: 1025px) {
    .lo p, .lo ul, .cy p, .cy ul, .page dd, .page p, .page ul, .page ol address {
        letter-spacing: 0.2px;
    }
}

@media screen and (max-width: 1024px) {
    .page dd, .page p, .page ul, .page ol {
        font-size: 1.1em;
    }

    footer p {
        margin-right: 0.5em;
    }

    .page {
        margin-right: 0.5em;
        margin-left: 0.5em;
    }
}

.orientation-tip {
    display: none;
}
@media screen and (max-width: 1024px) and (orientation: portrait) {
    .orientation-tip {
        display: block;
        width: 100%;
        height: 4em;
        line-height: 4em;
        text-align: center;
    }
    .orientation-tip:before {
        content: "(forse è meglio se giri lo schermo?)"
    }
}

@media screen and (max-width: 512px) {
    /* lower links on other line */
    nav {
        flex-wrap: wrap;
        justify-content: space-between;
    }
    nav .btn-r {
        order: 1;
    }
    nav .links {
        order: 2;
    }
    nav .btn-l, nav .btn-r {
        width: 3em;
    }
    .links select {
        width: 12em;
        margin-top: 0.5em;
    }

}
@media screen and (max-width: 639px) {
    /* column menu */
    header .menu div {
        position: unset;
        width: 10em;
        height: auto;
    }
    header .menu div a {
        position: unset;
        display: block;
        margin: 0.2em;
    }
    .menu-series, .menu-bonus, .menu-cast, .menu-rpg, .menu-mit, .menu-social, .menu-sss {
        right: unset;
        width: auto;
    }

    .art {
        display: block;
        width: 100%;
    }
    .art div {
        margin: 2em 0;
    }
}




/******************************************/
/**** Non-semantic elements and hacks ****/
/******************************************/

html { overflow-y: scroll; }

a:hover, a:active { outline: none; }

.invisible {
    display: block;
    position: absolute;
    height: 0;
    width: 0;
    margin: 0;
    padding: 0;
    border: none;
    overflow: hidden;
}