/**
Theme Name: Dubsmash 2
Theme Description: Dubsmash Website
*/


/* general styles */

/*

main color: #49DDD1
sceondary color: #21B8AC

z indices:
white cover:    10 000 000
splash screen:     100 000
DL buttons:        100 001, then 10
fb like btn:       100 001, then 10
navbar1:            10 000
navbar2:             1 000
mobile nav:         11 000
video:           1 000 000*/

/*font*/

@font-face {
  font-family: 'Lane Narrow';
  src: url('css/LANENAR_.ttf');
}

html, body {
  height: 100%;
  width: 100%;
  font-family: 'Source Sans Pro';
  font-weight: 300;
  font-size: 20px;
}

h2, h1 {
  font-family: 'Lane Narrow';
  color: #49DDD1;
  font-weight: 100;
  font-size: 70px;
}
a,  a:hover, a:hover:visited, a:visited {
  text-decoration: none;
  color: #49DDD1;
}

/* loading/splash screen */

#whiteCover {
  position: fixed;
  background-color: white;
  width: 100%;
  height: 100%;
  z-index: 10000000;
}

.stop-scrolling {
  height: 100%;
  overflow: hidden;
}

#loadingDiv {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  z-index: 100000;
  color: black;
}

#loadingLogo {
  background-image: url("pics/logo.png");
  background-size: auto 100%;
  background-repeat: no-repeat;
  background-position: center;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  top: 30%;
  height: 200px;
}

#loadingText {/*
  background-image: url("pics/logoText.png");
  background-size: 100% 100%;*/
  color: grey;
  font-size: 30px;
  font-weight: 100;
  text-align: center;
  margin-top: 20px;
  position: relative;
  top: 30%;
  width: 100%;
}

@media all and (max-height: 600px) {
  #loadingLogo {
    top: 20%;
  }
  #loadingText {
    top: 20%;
  }
}

#loadingBanner {
  background-image: url("pics/loadingBanner.png");
  background-size: auto 100%;
  background-repeat: repeat-x;
  position: fixed;
  bottom:0;
  height: 100px;
  width: 100%;
}

/* facebook and download app buttons (both stage and splash)*/
#fb-stage {
  position: absolute;
  right: 60px;
  bottom:24px;
  width: 85px;
  z-index: 100001;
}

@media all and (max-width: 500px) {
  #fb-stage {
    display: none;
  }
}

#downloadiOS {
  position: absolute;
  bottom: 27.5px;
  left: 27.5px;
  z-index: 100001;
}

#downloadAndroid {
  position: absolute;
  bottom: 27.5px;
  left: 207px;
  z-index: 100001;
}

@media all and (max-width: 375px) {
  #downloadiOS {
    position: absolute;
    left: 5px;
    bottom: 10px;
  }
  #downloadAndroid {
    position: absolute;
    right: 5px;
    left: auto;
    bottom: 10px;
  }
}

/*video overlay + popup*/


#videoOverlayDiv {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  background-color: rgba(0,0,0,0.2);
  text-align: center;
}

#playButtonDiv {
  position: absolute;
  top: 40%;
  left: 50%;
  width: 140px;
  margin-left: -70px;
  text-align: center;
  font-size: 25px;
  color: white;
  cursor: pointer;
}

#playButtonDiv:hover {
  color: #49DDD1;
}

#playButtonImg {
  margin-bottom: 20px; 
}


#sloganDiv {
  position: absolute;
  top: 70%;
  font-size: 72px;
  font-family: 'Lane Narrow';
  color: white;
  text-align: center;
  width: 100%;
  bottom: 150px;
}
/*@media all and (max-height: 420px){
  #sloganDiv {
    display: none;
  }
  #playButtonDiv {
    top: 30%;
  }
}*/
@media all and (max-width: 522px){
  #playButtonDiv {
    font-size: 18px;
  }
  #sloganDiv {
    font-size: 40px;
  }
}


#playerWrapper {
  width: 100%;
  height: 100%;
  margin: 80px 20px; /* change this in the .js as well */
}

/*#playerWrapper iframe, #playerWrapper object, #playerWrapper embed {
  position:relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}*/

#popupVideoDiv {
  background-color:rgba(0,0,0,0.5);
  z-index: 1000000;
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  display: none;
}

#closeVideo {
  position: absolute;
  color: white;
  font-size: 50px;
  top: 10px;
  right: 40px;
  cursor: pointer;
}

/*sections general */

/*some differentiation in width for large screens*/
@media all and (min-width: 1500px) {
  .container {
    width: 1470px;
  }
}

@media all and (min-width: 1950px) {
  .container {
    width: 1650px;
  }
}

.down-number {
  position: absolute;
  bottom: -40px;
  border-radius: 100px;
  width: 90px;
  height: 90px;
  color: #49DDD1;
  font-family: 'Lane Narrow';
  font-weight: 100;
  font-size: 60px;
  text-align: center;
  background: white;
    left:0;
    right:0;
    margin-left:auto;
    margin-right:auto;
}

.onePageIcons {
  text-align: center;
  overflow: hidden;
  padding-bottom: 30px;
}

.onePageIcons img{
  padding-bottom: 3px;
}



/* main stage */

#stage {
  padding: 0px;
  height: 100%;
}

/*section 1*/
#iphone-1-wrapper {
  text-align: right;
  overflow: hidden;
  height: 500px;
}

@media all and (max-width: 992px) {
  #iphone-1-wrapper {
    display: none;
  }
}

#iphone-1 {
  position: relative;
  top: 40px;
}

/*section 2*/

#iphone-2 {
  position: relative;
  top: 40px;
}
#iphone-2-wrapper {
  text-align: right;
  overflow: hidden;
  height: 500px;
}

@media all and (max-width: 992px) {
  #iphone-2-wrapper {
    display: none;
  }
}

/*section 3*/

#iphone-3 {
  position: absolute;
  right: -430px;
  top: -100px;
  z-index: -1000;
}
#iphone-3-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  min-height: 500px;
  overflow: hidden;
}

@media all and (max-width: 992px) {
  #iphone-3-wrapper {
    display: none;
  }
}
/* section press */
.pressSection {
  text-align: center;
  padding: 30px;
}

/*section worldmap*/
.worldSection {
  text-align: center;
  background-color: #49DDD1;
}

#worldMap {
  width: 700px;
  margin-top: 20px;
  margin-bottom: 150px;
}

#worldMapLogo {
  width: 80px;
  margin: 50px;
}

#usernumberText {
  position: absolute;
  top: 250px;
  left: 50%;
  margin-left: -547px;
  font-size: 230px;
  color: white;
  text-shadow: 5px 5px 3px rgba(0,0,0,0.1);
}

#worldMapDescription {
  font-family: 'Lane Narrow';
  position: absolute;
  bottom: 40px;
  left: 50%;
  width: 746px;
  margin-left: -373px;
  font-size: 26px;
  font-weight: 200;
  color: white;
}

@media all and (max-width: 1100px) {
  #usernumberText {
    top: 40%;
    margin-left: -285px;
    font-size: 120px;
  }
  #worldMapDescription {
    font-size: 16px;
    width: 600px;
    margin-left: -300px;
  }
  #worldMap {
    width: 70%;
    margin-bottom: 80px;
  }
  #worldMapLogo {
    width: 10%;
    margin: 20px;
  }
}

@media all and (max-width: 600px) {
  #usernumberText {
    margin-left: -143px;
    font-size: 60px;
  }
  #worldMapDescription {
    font-size: 12px;
    max-width: 400px;
    margin-left: -200px;
  }
  #worldMap {
    width: 100%;
    margin-bottom: 20px;
  }
}



@media all and (max-width: 400px) {
  #worldMapDescription {
    font-size: 12px;
    max-width: 100%;
    margin-left: -50%;
  }
}



/*TOS etc.*/
.toUppercase {
  text-transform: uppercase;
}

.upButton {
  /*general button*/
  border: 2px solid;
  background-color: white;
  color: #49DDD1;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 100;
  font-size: 21px;
  /*up button specific*/
  background-image: url("pics/upBlue.png");
  background-repeat: no-repeat;
  background-position: 15px 15px;
  padding: 7px 20px 7px 40px;
  margin-top: 100px;
  /*center*/
  position: relative;
  left: 50%;
  margin-left: -45px;
}

.upButton:hover {
  background-image: url("pics/upWhite.png");
  background-color: #49DDD1;
  color: white;
}




