* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*::after,
*::before {
  box-sizing: border-box;
}

body {
    background-color: black;
    color: white;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.42857;
}

h1,
p {
    margin-bottom: 16px;
}

.container-wrapper {
    display: table;
    width: 100%;
    height: 100%;
}

.container {
    display: table-cell;
    color: white;
    padding: 4px;
    vertical-align: middle;
}

@media screen and (min-width: 720px) {
  .c-col--8 {
    width: 100%;
  }
  .c-col--offset-2 {
    padding-left: 16.66666667%;
    padding-right: 16.66666667%;
  }
}

.c-col--6 {
  width: 50%;
}

.button {
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
    background-clip: padding-box;
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857;
    margin-bottom: 0;
    padding: 8px 16px;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
    user-select: none;
    outline: none;
    text-decoration: none;
}

.button.button--huge {
    border-radius: 6px;
    background-clip: padding-box;
    font-size: 1.2em;
    line-height: 1.33333;
    padding: 8px 48px;
}

.button.button--primary {
    background-color: #337ab7;
    border-color: #2e6da4;
    color: #fff;
}

.button.button--primary:hover {
    background-color: #226aa7;
}

.is-centered {
    text-align: center;
}

.hidden {
    display: none;
}

canvas {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
}

.highscore-panel {
    display: flex;
    justify-content: center;
}

.highscore-item {
    padding: 0 16px;
}

#main {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.toolbar {
    position: absolute;
    display: flex;
    top: 0;
    right: 0;
    z-index: 1;
}

.toolbar-item {
    background: rgba(255, 255, 255, .5);
    display: block;
    height: 64px;
    font-size: 36px;
    font-weight: 700;
    line-height: 64px;
    margin: 16px 16px 0 0;
    text-align: center;
    min-width: 64px;
}

.toolbar-item .score {
    padding: 0 8px;
}

.toolbar-button {
    background: transparent;
    border: none;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.toolbar-button:hover {
    background: rgba(255, 255, 255, .5);
}

.pause-icon {
    width: 20px;
    height: 28px;
    border-right: 6px solid white;
    border-left: 6px solid white;
    display: inline-block;
}

#intro,
#paused,
#main,
#finished,
#landscape {
    display: none;
}

.landscape #landscape,
.intro     #intro,
.paused    #paused,
.finished  #finished {
    display: table-cell;
}

.playing   #main {
    display: block;
}

.privacy-policy .container {
    vertical-align: top;
}

.privacy-policy .content {
    padding: 16px;
    background: rgba(255, 255, 255, .5);
    color: black;
    max-width: 800px;
    margin: 0 auto;
}
