body {
    padding-top:10px;
    background-color: black;
    background-image: url(/img/home/bg-sky.jpg);
    background-attachment: fixed;
    background-size: cover;
    -webkit-background-size: cover;
    height: 100vh;
    background-position: 50% 95px;
    transition: 0s linear;
    transition-property: background-position;
}

a, a:hover, a:visited, a:active {
    color: skyblue;
}

.top-badge-container {
    display: inline-block;
    vertical-align: top;
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

@media (max-width: 500px) {
    .top-badge-container {
        display: block;
    }
}

.navbar-fixed-top {
    background: rgba(0,0,0,0);
    border: 0;
    height: 160px;
    padding-top: 30px;
    margin-top: 0;
    -webkit-backdrop-filter: initial;
    backdrop-filter: initial;
    -webkit-transition: height .3s ease-out, background .3s ease-out;
    transition: height .3s ease-out, background .3s ease-out;
}

.navbar-fixed-top-small {
    height: 70px;
    background: rgba(0,0,0,0.8);
}

.navbar-fixed-top .container {
    position: relative;
    overflow: visible;
}

.navbar-fixed-top .container .navbar-header {
    position: absolute;
    left: calc(50% - 200px);
    top: 20px;
    transition: all .3s ease-out;
}

.navbar-fixed-top .container .navbar-header img {
    width: 400px;
    -webkit-transition: -webkit-transform .3s ease-out;
    transition: transform .3s ease-out;
}

@media (max-width: 768px) {
    .navbar-fixed-top-small .container .navbar-header img {
        -webkit-transform: scale(0.5) translateY(-146px);
        transform: scale(0.5) translateY(-146px);
    }

    .navbar-fixed-top .container .navbar-header img {
        width: 280px;
    }

    .navbar-fixed-top .container .navbar-header {
        left: calc(50% - 140px);
    }
}

@media (max-width: 768px) and (max-height: 500px) {
    .navbar-fixed-top .container .navbar-header img {
        width: 140px;
        -webkit-transform: translateY(-20px);
        transform: translateY(-20px);
    }
    
    .navbar-fixed-top-small .container .navbar-header img {
        -webkit-transform: translateY(-48px);
        transform: translateY(-48px);
    }

    .navbar-fixed-top .container .navbar-header {
        left: calc(50% - 70px);
    }
}

@media (min-width: 768px) {
    .navbar-fixed-top-small .container .navbar-header {
        left: -80px;
        top: 0px;
    }

    .navbar-fixed-top-small .container .navbar-header img {
        -webkit-transform: scale(0.35) translateY(-210px);
        transform: scale(0.35) translateY(-210px);
    }
}

.hero-image {
    position: fixed;
    left: 0;
    right: 0;
    top: 30px;
    text-align: center;
    z-index: -1;
    height: 90%;
}

@media (max-width: 768px) {
    .hero-image {
        height: 65%;
    }
}

.hero-image > div {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

@keyframes fade-in-out-lights {
    0% { opacity: 0.5; } 
    5% { opacity: 0.5; } 
    45% { opacity: 0.9; }
    55% { opacity: 0.9; }
    95% { opacity: 0.5; }
    100% { opacity: 0.5; }
}

.hero-image-main > div {
    background-image: url(/img/home/foreground-main.png);
}

.hero-image-lights > div {
    background-image: url(/img/home/foreground-lights.png);
    animation: fade-in-out-lights 6s infinite;
}

.hero-image-stars > div {
    background-image: url(/img/home/foreground-stars.png);
}

hr {
    border: 0;
}

h1#page-title {
    margin-bottom: 15px;
    margin-top: 0;
    text-align: center;
    display: none;
}

.top-head{
    overflow: hidden;
    height: 100vh;
}

@media (max-height: 525px) and (max-width: 768px) {
    /* Landscape mode on mobile */
    .top-head {
        height: 120vh;
    }
}

.top-head .buttons-container {
    margin-top: 66vh;
}

@media (max-width: 768px) {
    .top-head .buttons-container {
        margin-top: 60vh;
    }
}

@media (max-width: 500px) {
    .top-head .buttons-container {
        margin-top: 43vh;
    }
}

.header-text {
    color: #eee;
    margin-top: 0px;
    padding: 8px;
    text-align: center;
    text-shadow: 2px 2px #000;
    background-color: rgba(40,40,80,0.3);
}
.logo-bkgrnd {
    background: url('/img/percity-logo.png') no-repeat center;
    height: 130px;
    margin-bottom: 300px;
}
@media (min-width:768px) {
    .header-text {
        font-size: 40px;
    }
}
@media (min-width:400px) and (max-width:768px) {
    .header-text {
        font-size: 30px;
    }
}
@media (max-width:500px) {
    .header-text {
        font-size: 25px;
    }
    .logo-bkgrnd {
        background-size: 260px auto;
    }
}
.logo-bkgrnd h2{
    text-indent: -99999px;
    margin: 0;
    padding: 0;
}
.download {
    box-shadow: 0 2px 4px 1px rgba(0, 0, 0, 0.8);
    font-size: 25px;
}
.top-head .dl-cont, .bottom-downloads .dl-cont {
    margin-top: 10px;
}

.dl-cont img {
    -webkit-filter: drop-shadow(0px 0px 10px rgba(255,255,255,0.4));
    filter: drop-shadow(0px 0px 10px rgba(255,255,255,0.4));
    margin-left: 8px;
    margin-right: 8px;
    margin-bottom: 8px;
    height: 62px;
}

.second-download-cont img {
    -webkit-filter: drop-shadow(5px 5px 5px #222);
    filter: drop-shadow(5px 5px 5px #222);
}

.box-container {
    background-color: rgba(0,0,8,0.3);
    /* box-shadow: 0 0px 40px 0 rgba(255, 255, 255, 0.15); */
    border-radius: 6px;
}

.box-container-blur {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.screenshot-cont {
    padding: 30px
}
.screenshot-cont .devs {
    padding: 20px;
    width: 100%;
    font-size: 30px;
    color: #ddd;
    font-weight: bold;
    text-shadow: 0px 1px rgb(0, 0, 0);
}

.screenshot-cont .scrsht-img {
    display: block;
    margin: 0 auto;
    width: 100%;
    -webkit-transition: transform ease-out .2s;
    transition: transform ease-out .2s;
}

@media (min-width: 768px) {
    .screenshot-cont .scrsht-img:hover {
        -webkit-transform: scale(1.15) rotate(2deg);
        transform: scale(1.15) rotate(2deg);
    }
}

.char-cont {
    padding: 30px;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}
.char-cont h3{
    color: white;
    height: 40px;
}
.char-cont .char-img{
    display: block;
    margin: 0 auto;
}
.screenshot-cont .col-md-4, .char-cont .col-md-4 {
    padding:20px;
}
.last-step {
    background: #440076 url('/img/home/gems.png') no-repeat bottom left;
    padding: 50px;
}

.second-download-cont {
    background-color: #cc7000;
    padding: 30px
}

#subscribe h3, #free-gems {
    color: white;
    text-shadow: 2px 2px #000;
}
#free-gems {
    font-size: 38px;
}
#subscribe-submit {
    box-shadow: 0 2px 4px 1px rgba(0, 0, 0, 0.8);
    font-size: 25px;
}
#subscribe-loader, #subscribe-message {
    display:none;
}
#email-input {
    direction: ltr
}
#subscribe .form-group-lg {
    margin-top: 10px;
}
.heart {
    color: #f00;
    padding: 0 5px;
    font-size: 20px;
}

.spine-player {
    width: 100%;
    height: 100%;
}

.spine-player-canvas {
    width: 100%;
    height: 100%;
}

.spine-player-controls, .spine-player-error {
    display: none;
}

.character-group-container {
    height: 300px;
}

.character-container-parent {
    position: relative;
    float: left;
    height: 150px;
}

.character-container {
    width: 300px;
    height: 300px;
    margin-left: auto;
    margin-right: auto;
    pointer-events: none; /* Allow touch scroll on character on mobile devices */

    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
}

.character-container > div {
    width: 440px;
    height: 440px;
    margin-left: -70px;
    margin-top: -70px;
    float: left;
}

@media (max-width: 1100px) {
    .character-group-container {
        height: 250px;
    }

    .character-container {
        transform: translateX(-50%) scale(0.75);
        -webkit-transform: translateX(-50%) scale(0.75);
    }
}

@media (max-width: 768px) {
    .character-group-container {
        height: 250px;
    }

    .character-group-container-footer {
        height: 500px;
    }

    .character-container {
        transform: translateX(-50%) scale(0.75);
        -webkit-transform: translateX(-50%) scale(0.75);
    }

    .character-container-parent {
        height: 230px;
    }
}


@media (max-width: 600px) {
    .character-group-container {
        height: 200px;
    }

    .character-group-container-footer {
        height: 400px;
    }

    .character-container {
        transform: translateX(-50%) scale(0.5);
        -webkit-transform: translateX(-50%) scale(0.5);
    }

    .character-container-parent {
        height: 150px;
    }
}

.footer {
    border: 0;
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.container {
    overflow: hidden;
}