.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently supported by Chrome and Opera */
}

body {
    background: #ffffff;
    max-width: 1000px;
    margin: 0 auto;
}

.c-icon {
    width: 32px;
    height: 32px;
    background: #454545;
    display: inline-block;
    border-radius: 50%;
    margin: 0 5px;
    line-height: 30px;
    text-align: center;
    vertical-align: middle;
}
.c-icon i {
    color: white;
    font-size: 17px;
    line-height: 32px;
}
a.c-icon:not([href]) {
    opacity: 0.4
}

/****************************** NAVIGNATION BAR *****************************/
header {
    width: 100%;
}
header .content {
    width: 90%;
    max-width: 680px;
    margin: 40px auto 0;
    display: block;
    border-bottom: 1px solid #e5e5e5;
    text-align: center;
}
header h1 {
    /* font-family: myLogoFont; */
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 30px;
}
header h1 a {
    color: #4a4a4a;
}
header h1 a:hover {
    text-decoration: none;
}

header p a{
    font-size: 1.05rem;
    color: #6a6a6a;
    margin-top: -1px;
}

header p label {
    padding: 0 10px;
    color: #8a8a8a;
}

/***************************       MAIN CLASS      ****************************/
main {
    margin: 15px auto 4rem;
    -webkit-transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease-out;
    -ms-transition: all 0.5s ease-out;
    -o-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
    color: #261F1F;
}
main > .row {
    margin: 0;
}

/********** GAME LIST ******/
.c-item h1 {
    font-size: 1.5rem;
}
.c-item h2 {
    font-size: 1.1rem;
    margin-top: 10px;
}
.c-item h1 a, .c-item h2 a{
    color: #242424;
}
.c-item {
    margin-bottom: 1rem;
}
@media (min-width: 992px) {
    .col-lg-3.c-item{
        max-width: 20% !important;
    }
}
.c-item .item_logo {
    text-align: center;
}
.c-item .item_logo img {
    width: 100%; 
    max-width: 150px;
    margin-top: 20px;
    border-radius: 25%;
    box-shadow: 0 0 2px #868686;
}
.c-game-list {
    padding: 40px 0;
}

.c-logo span {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    display: none;
    position: absolute;
    top: 0;
}
.c-game-info h2 {
    margin-bottom: 20px;
}
.c-stores a:hover {
    opacity: 0.7;
}

/************** GAME DETAIL ***/
.c-game-detail {
    padding: 15px 0 0 0;
    margin-bottom: 100px;
}
/** Game info **/
.c-logo-cover {
    padding: 0 20px;
}
.c-game-detail .c-logo{
    width: 100%;
    text-align: center;
}
.c-game-detail .c-logo a{
    max-width: 210px;
    margin: 0 auto;
}
.c-game-detail .c-logo img{
    width: 100%; 
    max-width: 190px;
    border-radius: 25%;
    box-shadow: 0 0 2px #868686;
    /* width: 220px; height: 220px; */
}
.c-game-detail .c-game-info h1 {
    padding-left: 10px; font-size: 1.68rem;
    margin-top: 5px;
    color: #454545;
}
.c-game-info .c-game-rate > label {
    position: relative;
    color: #c8c8c8;
    padding: 0 1px;
}
.c-game-info .c-game-rate>label>span {
    position: absolute;
    top: 0; left: 0;
    background-position: 0 -36px;
    color: #5a5a5a;
    font-size: 1.05rem;
}
.c-game-info .c-game-rate {
    padding: 0 0 0 10px;
}
.c-game-info .c-game-rate .c-rate-score{
    font-size: 1.45rem;
    padding-left: 10px;
    color: #ff9b1d;
}
.c-user-ratings {
    padding: 10px;
}
.c-game-info p.download {
    opacity: 0.8;
}
.c-game-detail .c-game-info .c-stores a {
    display: inline-block;
    width: auto;
}
.c-game-detail .c-game-info .c-stores a img{
    height: 2.8rem;
    max-width: 144px;
    margin: 0.25rem 0.5rem;
}
.c-game-detail .c-game-info .c-stores a:not(.unactive):hover > img {
    opacity: .68 !important;
}
.c-game-detail .c-game-info .c-stores a.unactive img{
    opacity: .3;
}

/** Game description **/
.c-game-content {
    line-height: 28px;
    color: #474747;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    margin: 2rem 0 3rem;
}
.c-game-content .c-description {
    padding: 2rem 1.5rem;
}
.c-game-content .card {
    border-radius: 0;
}
.c-game-content .card-header {
    background-color: rgb(68 66 65);
    border-radius: 0;
}
.c-game-content .card-header button {
    font-weight: bold;
    color: #f3f0ee;
}

/** Game video **/
.c-game-video {
    width: 425px; height: 860px;
    margin: 0 auto; margin-bottom: 60px;
    position: relative;
    background-image: url(../img/iphone-cover.svg);
    background-size: contain;
}
.c-shadow {
    margin-top: 10px;
    pointer-events: none;
    position: absolute;
    z-index: -1;
    content: '';
    top: 100%;
    left: 5%;
    height: 20px;
    width: 90%;
    opacity: 1;
    background: -webkit-radial-gradient(center, ellipse, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 80%);
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 80%);
    /* W3C */
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: transform, opacity;
    transition-property: transform, opacity;
}
.c-video-content {
    width: 367px;
    height: 650px;
    margin: 0 auto;
    display: block;
    position: absolute;
    left: 29px;
    top: 105px;
    overflow: hidden;
    border: 1px solid #363636;
}
.c-video-content .c-video-cover {
    width: 372px; height: 654px; margin: -2px;
}
.c-video-content .c-video-cover iframe {
    width: 370px; height: 652px;
}

/*** detail responsive ***/
@media (max-width: 992px) {
    .c-game-detail .c-detail-info {
        display: block;
    }
    .c-game-detail .c-detail-info .c-logo-cover {
        max-width: 100%;
    }
    .c-game-detail .c-game-info {
        text-align: center;
        margin-top: 20px;
    }
    .c-game-detail .c-game-info .c-stores a span {
        width: 180px; height: 65px;
    }
}
@media (max-width: 480px) {
    .c-game-video {
        width: 90vw; height: calc(90vw * 860 / 425);
        background-size: 90vw, calc(90vw * 860 / 425);
        margin-bottom: 100px;
    }
    .c-video-content {
        width: calc(90vw * 367 / 425); 
        height: calc(90vw * 650 / 425);
        left: calc((90vw - 90vw * 367 / 425) * 0.974 /2); 
        top: calc((90vw * 840 / 425 - 90vw * 650 / 425) * 1.104 / 2);
    }
    .c-video-content .c-video-cover {
        width: calc(90vw * 372 / 425); 
        height: calc(90vw * 654 / 425);
    }
    .c-video-content .c-video-cover iframe {
        width: calc(90vw * 370 / 425); height: calc(90vw * 652 / 425);
    }
}

/***************************************** FOOTER **/
footer { width: 100%; margin: 0 auto; margin-bottom: 20px; }
footer .line {
    max-width: 680px;
    margin: 0 auto 35px;
    border-top: 1px solid #e5e5e5;
}
footer .content {
    width: 95%;
    margin: 0 auto;
}
footer .signature {
    float: right;
}
footer .signature img{
    width: 108px;
    opacity: 0.8;
}
footer .signature p {
    margin-top: 10px;
    text-indent: -23px;
}

/** --------------------------- 404 PAGE ---------------------------*/
.wrapper_404 {
    padding: 80px 0 90px;
    margin: 0;
}
.wrapper_404 h1 {
    margin-bottom: 42px;
    line-height: 162px;
    font-size: 10rem;
    color: #9da9ad !important;
}
.wrapper_404 h3 {
    margin-bottom: 25px;
    line-height: 50px;
}

/** --------------------------- PRIVACY/TERMS ---------------------------*/
.c-privacy h2 {
    font-size: 1.8rem;
    opacity: 0.8;
}

.c-privacy p.update {
    opacity: 0.5;
    padding-left: 5px;
}

.c-privacy h5 {
    padding-top: 1.04rem;
    font-size: 1.15rem
}

@media screen and (max-width: 576px) {
    .c-privacy {
        box-shadow: none;
        background: rgba(0, 0, 0, .0);
        margin-top: 20px;
    }
}