/* Shared
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.button {
  border-radius: 100px;
}

/* Sopa Specific ----------------------------------*/

.sopasection {
  padding: 3rem 0 7rem;
  /*height: 30vh;*/
  text-align: center;
}
.section-banner{
  height: calc((100vw * 9)/16);
}
.bannerBG {
  /*this stuff is all overwritten by the media stuff*/
  background-image: url('https://sopagame.com/images/store_page_background.png');
  background-position: center top;
  background-size: 100vw;
  background-repeat: no-repeat;
  text-align: top;
  z-index: 0;
}

.sopaLogo{
  position: absolute;
  width: 60%;  /*overridden in media*/
  top: 65%;   /*overridden in media*/
  left: 50%;
  transform: translate(-50%, 5%);
}

.pillShape{

  padding: 13px 30px 13px !important;
  text-align: center center !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 17px !important;
  letter-spacing: .1rem;
  text-transform: uppercase;
  text-decoration: none;
  white-space: normal !important;
  border-radius: 100px !important;
  border: 1px solid #bbb !important;
  box-sizing: content-box !important; 
  color: #FFF;
  background-color: #9a00b2 !important;
  border-color: #9a00b2 !important;
}

.floatAbove{
  transform: translate(0, -1.5rem);
  position: relative;
  height: 0;
  z-index: 1;
  text-align: center;
}



/* Sections
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.section {
  
  padding: 8rem 0 7rem;
  
  text-align: center;
}
.section-heading,
.section-description {
  margin-bottom: 1.2rem;
}

.section-menu{
    position: relative;
    margin: -45px auto 0 auto;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    z-index: 10;
    word-spacing: .5rem;
    font-size: 10% !important;
}


.bg {
  visibility: hidden;
  opacity: 0;
  background: #000;
  width: 100%;
  height: 50px;
}

.section-home{
    margin:auto;
    padding-top: 40vh;
    height: 60vh;
    text-align: center;

    z-index: 5;
    word-spacing: 2rem;
}

a:hover, a:visited, a:link, a:active{
  text-decoration: none;
}


.shortSpacing{
  margin-bottom: 1rem;
  line-height: 120%;
}

/* Hero
–––––––––––––––––––––––––––––––––––––––––––––––––– */

/* Values
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.values {

  overflow: hidden;
  height: 100vh;

  /* bg */
  background: #020306; /* For browsers that do not support gradients */
  background: -webkit-linear-gradient(to bottom, #020306, #020306 08%, #3085e1); /* For Safari 5.1 to 6.0 */
  background: -o-linear-gradient(to bottom, #020306, #020306 08%, #3085e1); /* For Opera 11.1 to 12.0 */
  background: -moz-linear-gradient(to bottom, #020306, #020306 08%, #3085e1); /* For Firefox 3.6 to 15 */
  background: linear-gradient(to bottom, #020306, #020306 08%, #3085e1); /* Standard syntax */
}

#ghostGameText{
  position: absolute;
  top:55vh;
  margin-left: -6vw;
  margin-right:auto;
  z-index: 3;
  width:100%;

    animation:idleSm 1.2s infinite alternate;
          -moz-animation:idleSm 1.2s infinite alternate; /* Firefox */
          -webkit-animation:idleSm 1.2s infinite alternate; /* Safari and Chrome */
}

.ghostGame-title{
  padding-top: 0vh;
  font-size: 7.5rem;
  color:white;
  font-weight: lighter;
  line-height: 90%;
  text-align: center;
}

.ghostGame-subtitle{
  font-size: 3rem;
  color:white;
  font-weight: lighter;
  line-height: 90%;
  text-align: center;
}

#sparkles{
  /*background-image: url('../images/SplashComp/splashGhost.png')*/
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
  top:3vh;
  background-position: top center;
  background-image: url('../images/SplashComp/sparkles.png');
  background-repeat: repeat-x;
  background-size: 100vh;
}

#starburstParent{
  position:absolute;
  left: 50.5%;
  top:40%;
  height:90rem;
}

#starburst{
  position: relative;
  width: 80rem;
  height: 80rem;
  z-index: 2;
  left:-50%;
  top:-50%;
  background-position: center center;
  background-image: url('../images/SplashComp/starBurst.png');
  background-repeat: no-repeat;
  background-size: 80rem;

  animation:spin 13s infinite linear ;
          -moz-animation:spin 13s  infinite linear ; /* Firefox */
          -webkit-animation:spin 13s  infinite linear ; /* Safari and Chrome */
}


#ghost{
  /*background-image: url('../images/SplashComp/splashGhost.png')*/
  position: absolute;
  z-index: 3;
  top: -23vh;
  width: 100%;
  height: 100%;
  background-position: center center;
  background-image: url('../images/SplashComp/splashGhost.png');
  background-repeat: no-repeat;
  background-size: 25vh;

  animation-timing-function: ease-in-out;
  -moz-animation-timing-function: ease-in-out;
  -webkit-animation-timing-function: ease-in-out;

  animation:idle 1s  infinite alternate;
          -moz-animation:idle 1s  infinite alternate; /* Firefox */
          -webkit-animation:idle 1s  infinite alternate; /* Safari and Chrome */
}


.circle {
    background: #f00;
    width: 200px;
    height: 200px;
    border-radius: 50%;
}

.clouds{

}



body .particletext {
  text-align: center;
  font-size: 48px;
  position: absolute;
  height:50vh;
  width:50vw;
  top:15%;
  left:25%;
}
body .particletext.bubbles > .particle {
  opacity: 0;
  position: absolute;
  background-color: white;
  -webkit-animation: bubbles 1s ease-in infinite;
          animation: bubbles 1s ease-in infinite;
  border-radius: 100%;
}
body .crosses > .particle {
  opacity: 0;
  position: absolute;
  background-image: url('../images/SplashComp/sparkle.png');
  background-position: center center;
  background-repeat: no-repeat;

    -webkit-background-size: contain;
    -moz-background-size: contain;
    -o-background-size: contain;
    background-size: contain;

  height: 100%;
  width:100%;

  -webkit-animation: bubbles 1s ease-in infinite;
          animation: bubbles 1s ease-in infinite;
}




@-webkit-keyframes bubbles {
  0% {
    opacity: 0;
    -webkit-transform: scale(0,0);
            transform: scale(0,0);
  }
  50% {
    opacity: 1;

    -webkit-transform: scale(1,1);
            transform: scale(1,1);

  }
  100% {
    opacity: 0;

    -webkit-transform: scale(0,0);
            transform: scale(0,0);
  }
}

@keyframes bubbles {
  0% {
    opacity: 0;
    -webkit-transform: scale(0,0);
            transform: scale(0,0);
  }
  50% {
    opacity: 1;

    -webkit-transform: scale(1,1);
            transform: scale(1,1);

  }
  100% {
    opacity: 0;

    -webkit-transform: scale(0,0);
            transform: scale(0,0);
  }
}
@-webkit-keyframes crosses {
  0% {
    opacity: 0;
    -webkit-transform: translate(0, 0%) ;
            transform: translate(0, 0%) ;
  }
  20% {
    opacity: 0.8;
    -webkit-transform: translate(0, -20%) ;
            transform: translate(0, -20%) ;
  }
  100% {
    opacity: 0;
    -webkit-transform: translate(0, -1000%) ;
            transform: translate(0, -1000%) ;
  }
}
@keyframes crosses {
  0% {
    opacity: 0;
    -webkit-transform: translate(0, 0%) ;
            transform: translate(0, 0%);
  }
  20% {
    opacity: 0.8;
    -webkit-transform: translate(0, -20%) ;
            transform: translate(0, -20%) ;
  }
  100% {
    opacity: 0;
    -webkit-transform: translate(0, -1000%) ;
            transform: translate(0, -1000%) ;
  }
}

@keyframes idle {
    0% {
        transform: translate3d(0px, 0px, 0px);
        animation-timing-function: ease-in-out;
    }
    50% {
        transform: translate3d(0px, 8px, 0px);
        animation-timing-function: ease-in-out;
    }
    100% {
        transform: translate3d(0px, 0px, 0px);
        animation-timing-function: ease-in-out;
    }
}

@-moz-keyframes idle{
  0% {
      transform: translate3d(0px, 0px, 0px);
      animation-timing-function: ease-in-out;
  }
  50% {
      transform: translate3d(0px, 8px, 0px);
      animation-timing-function: ease-in-out;
  }
  100% {
      transform: translate3d(0px, 0px, 0px);
      animation-timing-function: ease-in-out;
  }
}

@-webkit-keyframes idle{
  0% {
      transform: translate3d(0px, 0px, 0px);
      animation-timing-function: ease-in-out;
  }
  50% {
      transform: translate3d(0px, 8px, 0px);
      animation-timing-function: ease-in-out;
  }
  100% {
      transform: translate3d(0px, 0px, 0px);
      animation-timing-function: ease-in-out;
  }
}

@keyframes idleSm {
    0% {
        transform: translate3d(0px, 0px, 0px);
        animation-timing-function: ease-in-out;
    }
    50% {
        transform: translate3d(0px, 3px, 0px);
        animation-timing-function: ease-in-out;
    }
    100% {
        transform: translate3d(0px, 0px, 0px);
        animation-timing-function: ease-in-out;
    }
}

@-moz-keyframes idleSm{
  0% {
      transform: translate3d(0px, 0px, 0px);
      animation-timing-function: ease-in-out;
  }
  50% {
      transform: translate3d(0px, 3px, 0px);
      animation-timing-function: ease-in-out;
  }
  100% {
      transform: translate3d(0px, 0px, 0px);
      animation-timing-function: ease-in-out;
  }
}

@-webkit-keyframes idleSm{
  0% {
      transform: translate3d(0px, 0px, 0px);
      animation-timing-function: ease-in-out;
  }
  50% {
      transform: translate3d(0px, 3px, 0px);
      animation-timing-function: ease-in-out;
  }
  100% {
      transform: translate3d(0px, 0px, 0px);
      animation-timing-function: ease-in-out;
  }
}

@keyframes spin {
    from {transform:rotate(0deg);}
    to {transform:rotate(360deg);}
}
@-moz-keyframes spin {
    from { -moz-transform: rotate(0deg); }
    to { -moz-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
    from { -webkit-transform: rotate(0deg); }
    to { -webkit-transform: rotate(360deg); }
}



#splashScreen{
  position: relative;
  top: 8vh;
  height: 100vh;
}

#ghostGamePage{
  position: relative;
  height: 100vh;
  top:-100vh;
}

.value-multiplier {
  margin-bottom: .5rem;
  color: #11DFC7;
}
.value-heading {
  margin-bottom: .3rem;
  line-height: 99%;
  margin-bottom: 1.1rem;
}
.value-description {
  opacity: .8;
  font-weight: 300;
}
.job-description {
  opacity: .8;
  font-weight: 300;
  margin-top: -5px;
  line-height: 99%;
}

/* Game-Description
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.game-description {

  opacity: .9;
  font-weight: 500;

}

.left{
  text-align: left;

  background-color: rgba(255,255,255,.65);
  background-blend-mode: screen;
  border-radius: 50px;
  margin-left: -50px;
  padding-left: 50px;
  padding-right: 50px;
  padding-bottom: 30px;
}

.screenshots{
  margin-top: 5rem;
}

/* Categories
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.categories {
  /*background-image: url('../images/longbanner.png'); */

  background-size: cover;
  color: #fff;

}
.categories .section-description { 
  margin-bottom: 4rem;
}

.mainTitle{
  font-size: 5rem;
  font-weight: lighter;
  line-height: 90%;
}

.tablecenter{
  position: relative;
  text-align: center;
  vertical-align: text-top;
  align-content: center;
  border: none;
  border-color: transparent;
  border-bottom-color: transparent;
  width: 220px;

}

.portraits{
  max-height: 128px;
  padding-left: 5px;
  padding-right:5px;
  margin-left: 5px;
  margin-right: 5px;
}

.studioBandoDesc{
  padding-left: 3rem;
  text-align: left;
}

.footer{
  position: relative;
  top:2.5em;
}

.teamText{
  color:black;
}

.mailLink{
  color: black;
}

.mailLink a:hover{
  color:blue;
}

a.mailLink:hover{
  color:blue;
}

a.section-menu:hover{
  color:black;
}

.iconImg{
  max-height: 32px;
  max-width: 32px;
  padding-left: .5rem;
  padding-right: .5rem;
  margin: auto;
}

.icons{
  position: relative;
  top: -1.5rem;
}


/* if portrait iPhone7-8 */



@media (min-width: 400px) {
  /* Sopa ----------------------------------*/

  .bannerBG{
    background-size: 230vw;
    background-position: 48% top;
  }
  .sopaLogo{
    width: 80%;
    top: 135%;
  }
  .section-banner{
    height: calc((100vw * 688)/532);
  }

  /* -------------------------------------*/

  #ghostGameText{
    margin-left: auto;
  }
}

/* Bigger than 550 */
@media (min-width: 550px) {

  /* Sopa ----------------------------------*/

  .sopasection {
    padding: 12rem 0 11rem;
  }
  .bannerBG{
    background-size: 200vw;
    background-position: center top;
  }
  .sopaLogo {
    width: 80%;
    top: 175%;
  }
  .section-banner{
    height: calc((100vw * 823)/733);
  }

  /* -------------------------------------*/

  .section {
    /*
    padding: 12rem 0 11rem;
    */
  }
  .hero {
    padding-bottom: 12rem;
    text-align: left;
    height: 165px;
  }

  .hero-heading {
    font-size: 2.4rem;
  }

  .mainTitle{
  font-size: 7rem;
  }

  .section-menu{
    font-size: 100%;
    word-spacing: 2rem;
  }

  .values{
    background-size: auto 100%;
  }

  .portraits{
  max-height: 64px;
  padding-left: 5px;
  padding-right:5px;
  margin-left: 5px;
  margin-right: 5px;
  }

  #ghostGameText{
    top:61vh;
  }
  #starburstParent{
    top:40%;
  }
  #ghost{
    top: -18vh;
  }

}

/* Bigger than 750 */
@media (min-width: 750px) {

/* Sopa ----------------------------*/

  .sopasection {
    padding: 14rem 0 15rem;
  }
  .bannerBG{
    background-size: 140vw;
    background-position: center top;
  }
  .sopaLogo{
    width: 60%;
    top: 150%;
  }
  .section-banner{
    height: calc((100vw * 770)/983);
  }

  .pillShape{
    font-size: 14px;
    border: 1px;
  }


/*--------------------------------------*/

  .hero {
    height: 190px;
  }
  .hero-heading {
    font-size: 2.6rem;
  }
  .section {
    /*
    padding: 14rem 0 15rem;
    */
  }
  .hero {
    padding: 16rem 0 14rem;
  }
  .section-description {
    max-width: 60%;
    margin-left: auto;
    margin-right: auto;
  }
  .categories {
    /*
    padding: 15rem 0 8rem;
    */
  }


  .mainTitle{
    font-size: 10rem;
  }

  .portraits{
      max-height: 128px;
  }

}

/* Bigger than 1000 */
@media (min-width: 1000px) {


/*Sopa Specific--------------------------------------*/

  .sopasection {
    padding: 20rem 0 19rem;
  }

  .bannerBG {
    background-size: 100vw;
    background-position: center top;
  }
  .section-banner{
    height: calc((100vw * 9)/16);
  }

  .sopaLogo{
    width: 35vw;
    top: 60%;
  }

  .pillShape{
    font-size: 24px !important;
    border: 4px !important;
  }

/*------------------------------------*/


      /*
  .section {
    padding: 20rem 0 19rem;
  }
      */
  .hero {
    padding: 22rem 0;
  }
  .hero-heading {
    font-size: 3.0rem;
  }

}

/* If iPad Aspect Ratio */
@media  (device-aspect-ratio: 3/4){
  .ghostGame-title{
    font-size: 10.0rem;
    padding-bottom: 1.5rem;
  }

  .ghostGame-subtitle{
    font-size: 5.0rem;
  }
}

  /* iPhone6 landscape */
 @media screen and (orientation:landscape) and (width:667px){
  .ghostGame-title{
    font-size: 4rem;
    padding-bottom: .3rem;
  }
  .ghostGame-subtitle{
    font-size: 1.8rem;
  }

  #ghostGameText{
    top:56vh;
  }

  #ghost{
    top: -23vh;
  }
}

/* if landscape ipad Pro */
@media (orientation:landscape) and (min-height:1366px) and (min-width:1024px){
  .ghostGame-title{
    font-size: 20rem;
    padding-bottom: .3rem;
  }
  .ghostGame-subtitle{
    font-size: 4rem;
  }
}

/* if portrait ipad Pro */
@media (height:1366px) and (width:1024px){
  .ghostGame-title{
    font-size: 15rem;
    padding-bottom: .3rem;
  }
  .ghostGame-subtitle{
    font-size: 4rem;
  }
}

/* if portrait iPhone5 */
@media (height:568px) and (width:320px){
  .ghostGame-title{
    font-size: 5rem;
    padding-bottom: .2rem;
  }
  .ghostGame-subtitle{
    font-size: 3rem;
  }
}
/* if landscape iPhone5 */
@media (height:320px) and (width:568px){
  .ghostGame-title{
    font-size: 3rem;
    padding-bottom: .2rem;
  }
  .ghostGame-subtitle{
    font-size: 1.4rem;
  }

  #appStoreBadges{
    margin-top: -1rem;
  }
}

/*account for navbars and shit */
@media (orientation:portrait) and (max-height:645px){


  .ghostGame-title{
    font-size:16vw;
    padding-bottom: .2rem;
  }
  .ghostGame-subtitle{
    font-size: 5vw;
  }

  #appStoreBadges{
    margin-top: -1rem;
  }

  .particletext {
    height:50vh;
    width:50vw;
    top:0%;
  }

  #ghost{
    top: -23vh;
    background-size: 24vh;
  }

}

@media (orientation:portrait) and (max-height:540px){


  .ghostGame-title{
    font-size:14vw;
    padding-bottom: .2rem;
  }
  .ghostGame-subtitle{
    font-size: 5vw;
  }
    #appStoreBadges{
    margin-top: 0;
  }

  .androidBadge{
    max-width: 70%;
    align-items: center;
  }

  .appleBadge{
    max-width: 70%;
    box-sizing: border-box;
    padding: 2.1rem;
    align-items: center;
  }

  #iOS{
    text-align: center;
  }

  #Android{
    text-align: center;
  }
}
/* if landscape iPad */
/*
@media screen and (orientation:landscape) and (min-width:667px) and (min-height:1024px){
  .ghostGame-title{
    font-size: 20rem;
    padding-bottom: .3rem;
  }
  .ghostGame-subtitle{
    font-size: 1.8rem;
  }

  #ghostGameText{
    top:56vh;
  }

  #ghost{
    top: -23vh;
  }
}
*/

.show {
  visibility: visible;
  opacity: 0.2;
}

.transition {
  transition: all 0.5s ease-in-out;
}

#header {
  position: fixed;
  padding: 0;
  margin: 0 auto;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  height: auto;
  border: none;
  background: none;
}

.img-circle {
    border-radius: 50%;
}

.grad {
    background: #130919; /* For browsers that do not support gradients */
    background: -webkit-linear-gradient(to right bottom,#b3d9ed, #83cbf1 25%,#6f3e95); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(to right bottom,#b3d9ed, #83cbf1 25%,#6f3e95); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(to right bottom,#b3d9ed, #83cbf1 25%,#6f3e95); /* For Firefox 3.6 to 15 */
    background: linear-gradient(to right bottom,#b3d9ed, #83cbf1 25%,#6f3e95); /* Standard syntax */
}

.gradWhite {

  background: white; /* For browsers that do not support gradients */
  background: -webkit-linear-gradient(to right bottom, white, #F5F5F5 60%, #C0C0C0); /* For Safari 5.1 to 6.0 */
  background: -o-linear-gradient(to right bottom, white, #F5F5F5 60%, #C0C0C0); /* For Opera 11.1 to 12.0 */
  background: -moz-linear-gradient(to right bottom, white, #F5F5F5 60%, #C0C0C0); /* For Firefox 3.6 to 15 */
  background: linear-gradient(to right bottom, white, #F5F5F5 60%, #C0C0C0); /* Standard syntax */

}

.imgBg{
    background-image: url('../images/screenshots/screenshot_01_tx.png');
    background-position: left center;

    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.appleBadge{
  max-width: 100%;
  box-sizing: border-box;
  padding: 2.1rem;


}

.androidBadge{
  max-width: 100%;
  box-sizing: border-box;


}

img.appleBadge:hover, img.appleBadge:active {cursor:pointer;}
img.androidBadge:hover, img.androidBadge:active {cursor:pointer;}
