html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
body {
    width: 100%;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
}
header {
    width: 100%;
    height: 40px;
    line-height: 40px;
    color: white;
    background-color: #333;
    padding: 10px 0 10px 0;
}
footer {
    margin-top: -60px;
    flex-direction: row;
    display: flex;
}
#headerIcon > img {
    width: 100px;
    height: 100px;
    border-radius: 18px;
    filter: drop-shadow(0 0 4px black);
}
#headerSub {
    font-size: 18px;
}
@media only screen and (max-width: 600px) {
    #shijimaHeader {
        text-align: center;
    }
    #headerIcon {
        padding: 15px 0 5px 0;
    }
    #headerMain {
        margin-top: 0;
        margin-bottom: 0;
    }
    #headerSub {
        margin-top: 10px;
    }
    #headerDescription {
        padding: 10px 0 0 0;
    }
}
@media only screen and (min-width: 600px) {
    #shijimaHeader {
        width: 475px;
        height: 149px;
    }
    #headerIcon {
        padding: 23px 20px 20px 30px;
        float: left;
    }
    #headerDescription {
        width: 475px;
        padding: 9px 20px 20px 30px;
    }
    #headerMain {
        margin-bottom: 10px;
    }
}
#headerMain {
    font-size: 22px;
    font-weight: bold;
}
#bannerImage {
    background-image: url("header-bg.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    width: 100%;
    height: 15vw;
    max-height: 100px;
}
#shijimaHeader {
    top: 10px;
    position: relative;
    margin: 0 auto;
    background-color: white;
}
.platformImage {
    display: block;
    width: 100%;
    object-fit: contain;
}
.platformVideoContainer {
    display: flex;
    align-items: center;
    padding: 15px 6px;
    width: calc(100% - 12px);
    justify-content: center;
}
.platformVideoContainer > iframe {
    padding: 0 20px;
    width: 100%;
    height: 270px;
}
.platformContainer {
    display: grid;
    max-width: 800px;
    margin: auto;
    grid-auto-rows: max-content;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
}
.platformDescription {
    display: block;
    width: 90%;
}
#siteIcon {
    display: inline-block;
    position: relative;
    left: 10px;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    vertical-align: top;
}
@media only screen and (min-width: 800px) {
    .limitedWidth {
        width: 800px;
        margin: auto;
    }
}
@media only screen and (max-width: 800px) {
    .limitedWidth {
        width: 100%;
    }
}
@media only screen and (min-width: 700px) {
    #features {
        grid-template-columns: repeat(3, 1fr);
    }
    .platformContainer {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media only screen and (max-width: 700px) {
    .platformContainer {
        grid-template-columns: repeat(1, 1fr);
    }
    #shijimaWii {
        padding-top: 30px;
    }
    #shijimaSwitch {
        padding-top: 30px;
    }
    .platformDescription {
        padding: 0 20px;
    }
}
#shijimaSwitch {
    padding-bottom: 30px;
}
@media only screen and (min-width: 500px) and (max-width: 700px) {
    #features {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media only screen and (max-width: 500px) {
    #features {
        grid-template-columns: repeat(1, 1fr);
    }
}
@media only screen and (max-width: 1056px) {
    .shimejiPreviewContainer {
        display: none;
    }
}
@media only screen and (min-width: 1056px) {
    footer {
        width: 1056px;
        margin: -60px auto 0 auto;
    }
}
.myButton {
    cursor: pointer;
    background-color: #0d6efd;
    -webkit-transition: background-color 0.2s;
    -moz-transition: background-color 0.2s;
    -o-transition: background-color 0.2s;
    transition: background-color 0.2s;
    padding: 8px;
    user-select: none;
    border-radius: 6px;
    margin-bottom: 4px;
    color: white;
    text-decoration: none !important;
    display: inline-table;
}
a {
    color: blue;
}
.myButton:hover {
    background-color: #0a58ca;
}
@keyframes eeveeFrames {
    0% { object-position: 0 0; }
    8% { object-position: -256px 0; }
    17% { object-position: 0 0; }
    25% { object-position: -384px 0; }
    33% { object-position: 0 0; }
    42% { object-position: -256px 0; }
    50% { object-position: 0 0; }
    58% { object-position: -384px 0; }
    67% { object-position: -128px 0; }
    75% { object-position: -256px 0; }
    83% { object-position: 0 0; }
    92% { object-position: -384px 0; }
    100% { object-position: 0 0; }
}
#eevee {
    position: absolute;
    left: 0;
    top: 350px;
    width: 128px;
    height: 128px;
}
#eevee img {
    animation-duration: 2.88s;
    animation-iteration-count: infinite;
    animation-timing-function: step-end;
    animation-name: eeveeFrames;
}
@keyframes serialDesignationNFrames {
    0% { object-position: 0 0; }
    21% { object-position: -128px 0; }
    42% { object-position: -256px 0; }
    68% { object-position: -384px 0; }
    100% { object-position: 0 0; }
}
#serialDesignationN {
    position: absolute;
    right: 0;
    top: 800px;
}
#serialDesignationN img {
    animation-duration: 0.76s;
    animation-iteration-count: infinite;
    animation-timing-function: step-end;
    animation-name: serialDesignationNFrames;
}
#ralsei {
    position: absolute;
    left: -60px;
    top: 1300px;
}
.rightPopup:hover {
    width: 335px !important;
}
.rightPopup div {
    left: 130px;
    top: -110px;
    width: 170px;
    height: 50px;
}
.leftPopup:hover {
    width: 280px !important;
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
}
.leftPopup:hover img {
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
}
.leftPopup div {
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    left: 128px;
    top: -128px;
    width: 120px;
    height: 90px;
}
.rightPopup img {
    width: 128px;
    height: 128px;
}
.leftPopup img {
    width: 128px;
    height: 128px;
}
#jenny img {
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
}
.topPopup {
    margin-top: 128px;
    height: 128px;
    width: 128px;
}
.topPopup:hover {
    margin-top: 0px;
    height: 256px;
}
.topPopup div {
    top: -210px;
    left: 4px;
    width: 100px;
    height: 70px;
}
.topPopup:hover img {
    height: 256px;
}
.topPopup img {
    height: 128px;
    width: 128px;
    object-position: bottom;
}
.leftPopup {
    width: 128px;
    height: 128px;
}
.rightPopup {
    width: 128px;
    height: 128px;
}
#features {
    display: grid;
    max-width: 800px;
    margin: auto;
    grid-auto-rows: 1fr;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    padding: 30px 20px 10px 20px;
}
.shimejiPreview {
    object-fit: none;
    overflow: hidden;
}
.shimejiPreviewContainer {
    object-fit: none;
    overflow: hidden;
}
.shimejiPreviewContainer div {
    display: none;
    border-radius: 5px;
    background-color: white;
    justify-content: center;
    align-items: center;
    padding: 10px;
    filter: drop-shadow(0 0 3px black);
}
.shimejiPreviewContainer:hover div {
    position: relative;
    display: flex;
}
.footnote {
    color: gray;
    font-size: 10px;
}
.footnote > a {
    color: gray !important;
}
.feature {
    display: flex;
}
.featureIcon {
    color: #1d63ea;
    background-color: #e6e6e6;
    border-radius: 18px;
    height: 36px;
    line-height: 36px;
    margin-top: 4px;
    text-align: center;
    margin-right: 15px;
    width: 36px;
    flex: 0 0 36px;
    user-select: none;
    font-variation-settings:
    'FILL' 1,
    'wght' 500,
    'GRAD' 0,
    'opsz' 24;
}
.sep {
    display: block;
    height: 5px;
}
#footerContent {
    height: 108px;
    vertical-align: bottom;
    display: table-cell;
    padding: 36px 20px 20px 20px;
}
#socials {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 60px;
    margin: 0 auto;
    height: 32px;
}
.socialButton {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e6e6e6;
    width: 32px;
    height: 32px;
    text-align: center;
    border-radius: 16px;
    margin: 0 4px;
}
#socials a {
    text-decoration: none !important;
    color: black;
}
#mail span {
    font-variation-settings:
    'FILL' 0,
    'wght' 250,
    'GRAD' 0,
    'opsz' 16
}
.flathubButton {
    display: block;
}
.googlePlayImage {
    object-fit: cover;
    margin-left: -10px;
}
