/*!
 * Start Bootstrap - Business Casual Bootstrap Theme (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

body {
    font-family: "Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif;
    background: url('../img/bg.jpg') no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Josefin Slab","Helvetica Neue",Helvetica,Arial,sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
}

p {
    font-size: 1.25em;
    line-height: 1.6;
    color: #000;
}

hr {
    max-width: 400px;
    border-color: #999999;
}

.brand,
.address-bar {
    display: none;
}

.navbar-brand {
    font-weight: 900;
    letter-spacing: 2px;
}

.navbar-nav {
    font-weight: 400;
    letter-spacing: 3px;
}

.img-full {
    min-width: 100%;
}

.brand-before {
    margin: 15px 0;
}

.brand-name {
    margin: 0;
    font-size: 4em;
}

.tagline-divider {
    margin: 15px auto 3px;
    max-width: 250px;
    border-color: #999999;
}

.box {
    margin-bottom: 20px;
    padding: 30px 15px;
    background: #fff;
    background: rgba(255,255,255,0.9);
}

.intro-text {
    font-size: 1.25em;
    font-weight: 400;
    letter-spacing: 1px;
}

.img-border {
    float: none;
    margin: 0 auto 0;
    border: #999999 solid 1px;
}

.img-left {
    float: none;
    margin: 0 auto 0;
}

footer {
    background: #fff;
    background: rgba(255,255,255,0.9);
}

footer .copyright {
    margin: 0;
    padding: 20px 0;
}

ul.icons {
    padding: 20px 0;
    list-style: none;
}

ul.icons li {
    display: inline-block;
    padding: 0 1.25em 0 0;
    font-size: 1.75em;
}

ul.icons li a {
    text-decoration: none;
}

@media screen and (min-width:768px) {
    .brand {
        display: inherit;
        margin: 0;
        padding: 30px 0 10px;
        text-align: center;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
        font-family: "Josefin Slab","Helvetica Neue",Helvetica,Arial,sans-serif;
        font-size: 5em;
        font-weight: 700;
        line-height: normal;
        color: #fff;
    }

    .top-divider {
        margin-top: 0;
    }

    .img-left {
        float: left;
        margin-right: 25px;
    }

    .address-bar {
        display: inherit;
        margin: 0;
        padding: 0 0 40px;
        text-align: center;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
        font-size: 1.25em;
        font-weight: 400;
        letter-spacing: 3px;
        color: #fff;
    }

    .navbar {
        border-radius: 0;
    }

    .navbar-header {
        display: none;
    }

    .navbar {
        min-height: 0;
    }

    .navbar-default {
        border: none;
        background: #fff;
        background: rgba(255,255,255,0.9);
    }

    .nav>li>a {
        padding: 35px;
    }

    .navbar-nav>li>a {
        line-height: normal;
    }

    .navbar-nav {
        display: table;
        float: none;
        margin: 0 auto;
        table-layout: fixed;
        font-size: 1.25em;
    }
}

@media screen and (min-width:1200px) {
    .box:after {
        content: '';
        display: table;
        clear: both;
    }
}

#commit-history {
    max-height: 20em;
    overflow-y: auto;
    white-space: pre-wrap;
    font-family: monospace;
    font-size: 13px;
    text-align: left;
}

.ragui-area-images {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
}

.ragui-area-images img {
    width: 200px;
    height: auto;
}

.ragui-area-images-height img {
    width: auto;
    height: 360px;
}

.ragui-movement-video {
    display: block;
    width: 200px;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.special-tiles {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
}

.special-tile {
    width: 180px;
    text-align: center;
}

.special-tile h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.special-tile img {
    display: block;
    width: 128px;
    height: auto;
    margin: 0 auto 12px;
}

.special-tile p {
    text-align: left;
}

.game-areas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 24px;
}

.game-area {
    width: 320px;
    padding: 18px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 4px;
}

.game-area h3 {
    margin-top: 0;
    margin-bottom: 4px;
}

.unlock-rule {
    margin-bottom: 16px;
    font-size: 0.9em;
    font-style: italic;
}

.example-pieces {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.example-pieces img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}
.movement-legend {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 30px;
    max-width: 700px;
    margin: 20px auto;
}

.movement-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.movement-item img {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
}

@media (max-width: 600px) {
    .movement-legend {
        grid-template-columns: 1fr;
    }
}

.completion-rules {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.completion-rules > div {
    flex: 1;
}

.completion-rules strong {
    display: block;
    margin-bottom: 6px;
}

@media (max-width: 600px) {
    .completion-rules {
        display: block;
    }
}

.status-bar-guide {
    max-width: 900px;
    margin: 25px auto;
}

.status-bar-map {
    position: relative;
}

.status-bar-image {
    display: block;
    width: 100%;
    height: auto;
}

.status-hotspot {
    position: absolute;
    top: 0;
    height: 100%;

    padding: 0;
    border: 2px solid transparent;
    background: transparent;
    cursor: pointer;
}

.status-hotspot:hover,
.status-hotspot:focus,
.status-hotspot.active {
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.12);
    outline: none;
}

.status-explanation {
    min-height: 75px;
    margin-top: 12px;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.15);
}

.status-explanation-title {
    font-weight: bold;
    margin-bottom: 4px;
}

.status-explanation-text {
    margin: 0;
}

.info-panel-screenshots {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    margin: 20px auto;
}

.info-panel-screenshots img {
    display: block;
    width: auto;
    height: auto;
    max-height: 600px;
    max-width: 100%;
    object-fit: contain;
}

.info-panel-screenshots figure {
    margin: 0;
    text-align: center;
}

.info-panel-screenshots figcaption {
    margin-top: 8px;
    font-size: 0.9em;
}


.info-panels {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
}

.info-panel {
    display: table;
    width: min-content;
    max-width: 100%;
    margin: 15px;
    text-align: center;
}

.info-panel h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.info-panel img {
    display: block;
    width: auto;
    height: 360px;
    margin: 0 auto 12px;
}

.info-panel p {
    text-align: left;
}

