body {
    font-family: "Helvetica", sans-serif;
    font-size: 10px;
    line-height: .35;
}
html {
    overflow-x: hidden;
    overflow-y: auto;
}

html * {
    box-sizing: border-box;
}

#board {
    position: absolute;
    left: 0; top: 0; bottom: 0; right: 30%;
    overflow: hidden;
    cursor: pointer;
}

#pt {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#page {
    position: absolute;
    right: 0; top: 0; bottom: 0; left: 70%;
    overflow: auto;
    padding: 0 10px 0 5vw;
    background-color: whitesmoke;
    display: flex;

    -webkit-box-shadow: 0px 0px 4px -1px rgba(0,0,0,0.5);
    -moz-box-shadow: 0px 0px 4px -1px rgba(0,0,0,0.5);
    box-shadow: 0px 0px 4px -1px rgba(0,0,0,0.5);
}

#cover {
    display: inline-block;
    /* vertical-align: middle; */
    width: 90%;
    white-space: normal;
    margin-bottom: 5vh;
    text-overflow: ellipsis;
}


    #menu>span {
      display: inline-block;
      font-size: 1.5em;
      padding-right: 30px;
      margin-top: 20px;
      font-family: "Roboto Slab", sans-serif;
      color: #667;
      line-height: 1.4em;
      text-indent: 2px;
    }

    #menu>span.title {
      font-size: 4em;
      color: #605ACD;
      margin-top: 34px;
      line-height: 1em;
      text-indent: 0px;
    }

    hr {
      border: 0;
      height: 0;
      border-top: 2px solid rgba(0, 0, 0, 0.1);
      border-bottom: 1px solid rgba(255, 255, 255, 0.3);
      margin-top: 1em;
    }

    #hint {
      position: absolute;
      bottom: 30px;
      left: 5vw;
      right: 5vw;
      font-size: 12px;
      color: #666;
      line-height: 1.35;
      word-wrap: normal;
      max-width: 350px;
    }

    #hint a {
      border: none;
      text-decoration: none;
      color: #334fff;
    }

    #hint a:hover {
      color: #4a11df;
    }

    h1 {
      font-family: "Roboto Slab", sans-serif;
      font-size: 8em;
      color: #fff;
      font-weight: 300;
      margin: 0;
    }

    p {
      font-size: 1.4em;
      color: rgba(255, 255, 255, .8);
    }

    h3 {
      font-weight: 400;
      font-size: 1.6em;
      color: #605ACD;
      letter-spacing: .2px;
      font-family: Roboto Slab;
    }

    a {
      color: #605ACD;
      font-weight: 500;
      text-decoration: none;
      display: inline-block;
    }

    a:hover {
      color: #95a3fb;
    }

    .demo,
    .section {
      cursor: pointer;
      line-height: 1.5;
      margin: 0;
      color: #667;
      white-space: nowrap;
    }

    .demo>span {
      font-size: 10px;
    }

    .demo>strong {
      font-weight: 400;
    }

    .section .demo a {
      color: #334fff;
    }

    .demo:hover {
      color: #334fff;
    }

    .section a {
      font-family: Roboto Slab;
      font-weight: 400;
      margin-top: 2px;
      color: #667;
    }

    .section a:hover {
      color: #99A;
    }

    iframe {
      width: 100%;
      height: 100%;
    }


@media only screen and (max-device-width : 800px) {
    #board {
        bottom: 40%;
        left: 0; right: 0;
    }

    #hint {
        bottom: auto; top: 30px; left: 30%;
        max-width: 100%;
    }

    #menu {
        background-color: transparent;
    }

    #menu span {
      font-size:1.5em;
    }

    #menu .title {
        display: inline-block;
    }

    #cover {
        display: block;
        top: 22vh;
        position: absolute;
    }

    #page {
        top: 60%;
        left: 0; right: 0;
    }
}

@media only screen and (max-device-width : 600px) {
    #cover {
    }

    .demo {
        padding: 3px 0;
    }
}

@media only screen and (max-device-width : 320px) {
    #cover {
        top: 25vh;
    }
}

@media (max-height: 500px) {
    .demo, #hint {
        font-size: 10px;
        line-height: 1.2;
    }
}
