html {
    background: rgb(112 136 184);
    background: linear-gradient(180deg, #9FC3ED 21%, rgb(112 136 184) 75%);
    background-repeat: no-repeat;
    background-attachment: fixed;
}

body {
    font: 400 15px Lato, sans-serif;
    line-height: 1.8;
    color: #687a9c;
    overflow-x: hidden;
}

h2 {
    font-size: 37px;
    color: #303030;
    margin-bottom: 30px;
    font-family: 'Fredoka One';
    text-shadow: 2px 2px #bfbfbf;
}

h4 {
    font-size: 19px;
    line-height: 1.375em;
    color: #303030;
    font-weight: 400;
    margin-bottom: 30px;
}

.navbar-brand {
    /* visibility: hidden; */
}

.GritOuter {
    position: relative;
    display: block;
    z-index: 10;
    color: #545454;
    font-family: 'Fredoka One';
    font-size: 3em;
    text-shadow: 2px 2px #bfbfbf;
}

.main-container {
    min-height: 100%;
    height: 100%;
    overflow: hidden;
    width: 100%;
    position: relative;
    background: linear-gradient(180deg, #9FC3ED 21%, rgba(183, 201, 237, 1) 42%);
}

.Logo_Large {
    width: 27%;
    height: auto;
    position: absolute;
    top: 70px;
    right: 10%;
    z-index: 11;
    min-width: 120px;
    /* max-width: 294px; */
    z-index: -1;
}

.moutain-outer {
    position: absolute;
    bottom: 5%;
    width: 80%;
    right: -11%;
    z-index: -1;
    /* filter: blur(1px); */
}


.mountain {
    width: 90%;
    height: auto;
    z-index: 1;
    margin: 0 auto;
    min-width: 700px;
    max-width: 1157px;
    position: relative;
    left: 8%;
    animation: moveMountain 5s linear;
    animation-fill-mode: forwards;
}

@keyframes moveMountain {
    to {
        transform: translateX(3%)
    }
}

.Cloud_Small {
    background-image: url('/Images/Cloud_Small.png');
    background-position: center center;
    background-repeat: no-repeat;
    width: 100px;
    height: 100px;
    position: absolute;
    z-index: -1;
    opacity: 0.9;
}

.CloudOne {
    top: 21%;
    left: 70%;
    -webkit-animation: animateCloud 35s linear infinite;
    -moz-animation: animateCloud 35s linear infinite;
    animation: animateCloud 35s linear infinite;
    -webkit-transform: scale(1.65);
    -moz-transform: scale(1.65);
    transform: scale(1.65);
    z-index: -1;
}

.CloudTwo {
    top: 1%;
    left: 10%;
    -webkit-animation: animateCloud 35s linear infinite;
    -moz-animation: animateCloud 35s linear infinite;
    animation: animateCloud 35s linear infinite;
    z-index: -1;
}

.CloudThree {
    top: 33%;
    left: 7%;
    -webkit-animation: animateCloud 50s linear infinite;
    -moz-animation: animateCloud 50s linear infinite;
    animation: animateCloud 50s linear infinite;
    -webkit-transform: scale(2.65);
    -moz-transform: scale(2.65);
    transform: scale(1.65);
    opacity: 0.9;
    z-index: -1;
}

@-webkit-keyframes animateCloud {
    to {
        transform: translateX(1300%)
    }
}

@-moz-keyframes animateCloud {
    to {
        transform: translateX(1300%)
    }
}

@keyframes animateCloud {
    to {
        transform: translateX(1300%)
    }
}

.cloudbtm-outer {
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    height: 43%;
    background-color: #ecedf3;
}

.cloudtops {
    position: absolute;
    bottom: -1px;
    right: 0px;
    width: 100%;
    height: 208px;
    min-width: 2215px;
    z-index: -1;
    animation: movecloudtops 30s linear alternate infinite;
}

@keyframes movecloudtops {
    to {
        transform: translateX(250px)
    }
}

.cloudtops_left {
    position: absolute;
    bottom: 0px;
    left: -64px;
    width: 31%;
    height: auto;
    z-index: 10;
}

.cloudtops_right {
    position: absolute;
    bottom: 0px;
    right: -75px;
    width: 30%;
    height: auto;
    z-index: 10;
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
}

.bg-primary {
    background-color: #dee6f5 !important;
}

.bg-dark {
    background-color: #353535 !important;
}

.bg-grey {
    background-color: #ecedf3;
}

.container-fluid {
    padding: 60px 50px;
}

.btn-primary {
    border-color: transparent;
    border-radius: 7px;
    color: #FFF;
    text-decoration: none;
    transition: all 0.1s;
    -webkit-transition: all 0.1s;
    background-color: #c03d3d;
    border-bottom: 10px solid #8b2c2c;
    text-shadow: 0px -2px #8b2c2c;
}

.btn-primary:hover {
    background-color: #c03d3d;
    border-bottom: 10px solid #8b2c2c;
    text-shadow: 0px -2px #8b2c2c;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active,
.show>.btn-primary.dropdown-toggle {
    background-color: #8b2c2c;
    border-bottom: 10px solid #8b2c2c;
}

.btn-primary:not(:disabled):not(.disabled):active:focus,
.btn-primary:not(:disabled):not(.disabled).active:focus,
.show>.btn-primary.dropdown-toggle:focus {
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.btn-primary:focus,
.btn-primary.focus {
    border-color: #8b2c2c;
    background-color: #c03d3d;
    border-bottom: 10px solid #8b2c2c;
    text-shadow: 0px -2px #8b2c2c;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.btn:active {
    transform: translate(0px, 5px);
    -webkit-transform: translate(0px, 5px);
    border-bottom: 1px solid;
}





.logo-small {
    color: #f4511e;
    font-size: 50px;
}

.logo {
    color: #f4511e;
    font-size: 200px;
}

.thumbnail {
    padding: 0 0 15px 0;
    border: none;
    border-radius: 0;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    margin-bottom: 10px;
}

.carousel-control.right,
.carousel-control.left {
    background-image: none;
    color: #f4511e;
}

.carousel-indicators li {
    border-color: #f4511e;
}

.carousel-indicators li.active {
    background-color: #f4511e;
}

.item h4 {
    font-size: 19px;
    line-height: 1.375em;
    font-weight: 400;
    font-style: italic;
    margin: 70px 0;
    background-color: #dee6f5;
    border-radius: 1rem;
    box-shadow: 0px 1px 3px -1px #353535;
}

.item span {
    font-style: normal;
}

.panel {
    border: 1px solid #f4511e;
    border-radius: 0 !important;
    transition: box-shadow 0.5s;
}

.panel:hover {
    box-shadow: 5px 0px 40px rgba(0, 0, 0, .2);
}

.panel-footer .btn:hover {
    border: 1px solid #f4511e;
    background-color: #fff !important;
    color: #f4511e;
}

.panel-heading {
    color: #fff !important;
    background-color: #f4511e !important;
    padding: 25px;
    border-bottom: 1px solid transparent;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

.panel-footer {
    background-color: white !important;
}

.panel-footer h3 {
    font-size: 32px;
}

.panel-footer h4 {
    color: #aaa;
    font-size: 14px;
}

.panel-footer .btn {
    margin: 15px 0;
    background-color: #f4511e;
    color: #fff;
}

.navbar-default .navbar-toggle {
    border-color: transparent;
    color: #fff !important;
}

footer .glyphicon {
    font-size: 20px;
    margin-bottom: 20px;
    color: #f4511e;
}

.demoCard .card-header a {
    top: 1rem;
    right: 1rem;
}

.demoCard .card-body {
    padding: 0;
}


#gameDetails {
    position: relative;
}

#gameDetails .card {
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

#services {
    background-color: #ecedf3;
    margin-top: 0;
    padding-top: 0;
    position: relative;
    overflow: hidden;
}


.custom-modal {
    max-width: 80vw;
    height: 80vh;
}

.custom-modal .modal-content {
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.custom-modal .modal-body {
    height: calc(100% - 56px);
    /* Subtract header height */
    padding: 0;
}

.custom-modal iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.custom-close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2rem;
    color: #1a1a1a;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    z-index: 1051;
    font-size: 30pt;
}

.custom-close-btn:hover {
    background: rgba(255, 0, 0, 0.8);
    transform: scale(1.1);
}

#hiddenQuestions {
    background-color: #ecedf3;
    position: absolute;
    z-index: 10;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(236, 237, 243, 0.25);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    margin-top: -1%;
}

.GameCover {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    opacity: 0.001;
    background-color: #272727;
    cursor: pointer;
}

.GameCover:hover {
    visibility: visible;
    opacity: 0.5;
}


.list-group-flush>.list-group-item {
    border: 0px;
}

#License .card {
    cursor: pointer;
    transition: .3s transform cubic-bezier(.155, 1.105, .295, 1.12), .3s box-shadow, .3s -webkit-transform cubic-bezier(.155, 1.105, .295, 1.12);
}

#License .card:hover {
    transform: scale(1.05);
    z-index: 99;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .12), 0 4px 8px rgba(0, 0, 0, .06);
}

.gameImg {
    transition: .3s transform cubic-bezier(.155, 1.105, .295, 1.12), .3s box-shadow, .3s -webkit-transform cubic-bezier(.155, 1.105, .295, 1.12);
}

.gameImg:hover {
    transform: scale(1.05);
    z-index: 500;
}

.videoFrame {
    box-shadow: 0 10px 20px rgb(0 0 0 / 38%), 7px 4px 8px rgb(0 0 0 / 61%);
}

#License .list-group {
    min-height: 200px;
}

#License .card-title {
    font-size: 30px;
    background-color: grey;
    border-radius: 50px;
}

#License .free {
    background-color: #ffe0cc;
}

#License .oneMon {
    background-color: #fff4c5;
}

#License .oneYr {
    background-color: #ffbbf1;
}

#License .single {
    background-color: #e7fff1;
}


.question-card {
    position: relative;
    width: 100%;
    padding-top: 60%;
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.quesiton-card-inner {
    position: absolute;
    top: 0;
    left: 5%;
    bottom: 0;
    right: 5%;
}

.cardMask {
    background-color: #ecedf3;
    position: absolute;
    z-index: 10;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000000;
    background: linear-gradient(0deg,
            rgb(236 237 243) 10%,
            rgba(255, 255, 255, 0) 100%);
    margin: 5% -8% -2% -8%;
}

.question-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}


/* Slide Images */

.slideanim {
    visibility: hidden;
}

.slide {
    animation-name: slide;
    -webkit-animation-name: slide;
    animation-duration: 1s;
    -webkit-animation-duration: 1s;
    visibility: visible;
}

@keyframes slide {
    0% {
        opacity: 0;
        transform: translateY(70%);
    }

    100% {
        opacity: 1;
        transform: translateY(0%);
    }
}

@-webkit-keyframes slide {
    0% {
        opacity: 0;
        -webkit-transform: translateY(70%);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateY(0%);
    }
}

@media screen and (max-width: 1024px) {
    .Logo_Large {
        /* width: 53%;
        min-width: 150px;
        top: 10px;
        left: 34px; */
    }

    .mountain {
        width: 110%;
        left: 15%;
    }
}

@media screen and (max-width: 768px) {
    .col-sm-4 {
        text-align: center;
        margin: 25px 0;
    }

    .btn-lg {
        width: 100%;
        margin-bottom: 35px;
    }

    .Logo_Large {
        /* width: 53%;
        min-width: 150px;
        top: 10px;
        left: 34px; */
    }

    .mountain {
        width: 159%;
        left: -17%;
    }

    .cloudbtm-outer h1 {
        font-size: 1.5em;
    }

    .cloudbtm-outer h3 {
        font-size: 1.1em;
    }

    .cloudtops {
        min-width: 2200px;
    }

    #myCarousel .item {
        padding: 0 !important;
    }

    #License .card {
        margin-bottom: 2em;
    }

    .hiddenCardRow {
        display: none;
    }

    .question-container {
        grid-template-columns: repeat(2, 1fr);
    }
}



@media screen and (max-width: 480px) {
    .logo {
        font-size: 150px;
    }

    .Logo_Large {
        /* width: 53%;
        min-width: 150px;
        top: 10px;
        left: 34px; */
    }

    .mountain {
        width: 227%;
        left: -54%;
    }

    .question-container {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* 
@media only screen and (max-width: 600px) {

} */

@keyframes bounceIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    60% {
        transform: scale(1.1);
        opacity: 1;
    }

    80% {
        transform: scale(0.95);
    }

    100% {
        transform: scale(1);
    }
}

.bounce-in {
    animation: bounceIn 1.0s ease-out;
}