@font-face {
  src: url(fonts/cpb.ttf);
  font-family: 'CPB';
  font-weight: 300;
}
body{
    font-family: 'CPB', sans-serif;
    background: url(images/bg.jpeg) no-repeat;
    background-size: cover;
    color: #fff;
    text-transform: uppercase;
    padding: 0;
    margin: 0;
}

.wrapper{
    max-width: 100%;
    margin: 0 auto;
}

.blue {
    color:#3f7abe;
}

h1{
    margin: auto;
    margin-top: 50px;
    margin-bottom: 50px;
    color: #08a3d9;
    text-transform: uppercase;
    font-size: 32px;
    letter-spacing: 1px;
    color: #000380;
}
.popup h1 {
    color: #fff !important;
}
#holder-1 p {
    line-height: 45px;
}
#popped-count {
    text-align: center;
    color: #fff;
    padding: 40px 0;
    font-size: 30px;
    display: none;
}
#balloon-gallery {
    /*height: 480px;
    overflow: hidden;*/
    max-width: 800px;
    margin: auto;
    padding: 0 15px;
    display: none;
}
.popup {
    text-align: center;
    font-size: 30px;
    height: 90vh;
    display: flex;
    background: url(images/questions-bg.png) no-repeat bottom;
    background-size: contain;
}
.popup a {
    background: url(images/button.png) no-repeat;
    background-size: cover;
    width: 60px;
    height: 60px;
    color: #000;
    text-align: center;
    line-height: 65px;
    display: inline-block;
    text-decoration: none;
}
.popup a.close {
    background: url(images/close.png) no-repeat !important;
    background-size: cover !important;
    width: 120px;
    height: 66px;
    line-height: 74px;
}
.popup a + a {
    margin-left: 40px;
}
#popup-question {
    display: none;
}
.popup .in-logo {
    width: 70%;
    height: auto;
    padding: 120px 0 50px 0;
}
.popup p {
    text-shadow: 0px 0px 22px rgba(0,0,0,0.78);
    font-size: 32px;
    letter-spacing: 1px;
}
.popup p span {
    display: block;
    padding-left: 35px;
}
.holder-2 p {
    line-height: 45px;
}
.inline-gum {
    position: absolute;
    max-height: 60px !important;
    margin-top: -10px;
    margin-left: -40px;
    width: auto !important;
}
.holder-2 .inline-gum, .prize-four .inline-gum {
    max-height: 50px !important;
    margin-top: -5px;
    margin-left: 0;
}
.prize-four span {
    line-height: 35px !important;
}
.prize-four .inline-gum {
    margin-top: -12px;
}
#popped-count .inline-gum {
    margin-left: -10px;
    margin-top: 0;
    position: relative;
    max-height: 40px !important;
    margin-bottom: -10px;
}
#balloon-gallery .balloon {
    padding-top: 18%;
    width: 18%;
    text-align: center;
    color: #ff3300;
    font-size: 40px;
    font-family: sans-serif, arial;
    border-radius: 100%;
    margin-top: 1%;
    display: inline-block;
    /* float: left; */
    margin: 2.5px 1% 2.5px 0px;
    -webkit-box-shadow: 0px 0px 20px 10px rgba(0,0,0,0.60); 
    box-shadow: 0px 0px 20px 10px rgba(0,0,0,0.60);
}
#balloon-gallery .balloon.red {
    background: url(images/red.png) no-repeat;
    background-size: contain;
}
#balloon-gallery .balloon.orange {
    background: url(images/orange.png) no-repeat;
    background-size: contain;
}
#balloon-gallery .balloon.blue {
    background: url(images/blue.png) no-repeat;
    background-size: contain;
}
#balloon-gallery .balloon.lightblue {
    background: url(images/lightblue.png) no-repeat;
    background-size: contain;
}
#balloon-gallery .balloon.purple {
    background: url(images/purple.png) no-repeat;
    background-size: contain;
}
#balloon-gallery .balloon.green {
    background: url(images/green.png) no-repeat;
    background-size: contain;
}
#balloon-gallery .balloon.grey {
    background: url(images/grey.png) no-repeat;
    background-size: contain;
}
#balloon-gallery .balloon.hitted {
    background: url(images/five.png) no-repeat;
    background-size: contain;
}
.balloon, .hitted {
    transition: all 0.3s ease 0s;
}
#balloon-gallery .balloon.popped {
    background: #343434 !important;
}
#balloon-gallery .balloon.hitted.popped {
    background: url(images/five-popped.png) no-repeat !important;
    background-size: contain !important;
    -webkit-box-shadow: none; 
    box-shadow: none;
}
#balloon-gallery .balloon.orange.popped {
    background: url(images/orange-popped.png) no-repeat !important;
    background-size: contain !important;
    -webkit-box-shadow: none; 
    box-shadow: none;
}
#balloon-gallery .balloon.grey.popped {
    background: url(images/grey-popped.png) no-repeat !important;
    background-size: contain !important;
    -webkit-box-shadow: none; 
    box-shadow: none;
}
#balloon-gallery .balloon.red.popped {
    background: url(images/red-popped.png) no-repeat !important;
    background-size: contain !important;
    -webkit-box-shadow: none; 
    box-shadow: none;
}
#balloon-gallery .balloon.blue.popped {
    background: url(images/blue-popped.png) no-repeat !important;
    background-size: contain !important;
    -webkit-box-shadow: none; 
    box-shadow: none;
}
#balloon-gallery .balloon.green.popped {
    background: url(images/green-popped.png) no-repeat !important;
    background-size: contain !important;
    -webkit-box-shadow: none; 
    box-shadow: none;
}
#balloon-gallery .balloon.purple.popped {
    background: url(images/purple-popped.png) no-repeat !important;
    background-size: contain !important;
    -webkit-box-shadow: none; 
    box-shadow: none;
}
#balloon-gallery .balloon.lightblue.popped {
    background: url(images/lightblue-popped.png) no-repeat !important;
    background-size: contain !important;
    -webkit-box-shadow: none; 
    box-shadow: none;
}
#pop-all-balloons {
    text-align: center;
    color: #fff;
    padding: 20px 10px;
    font-size: 30px;
    line-height: 50px;
    display: none;
    text-shadow: 0px 0px 22px rgba(0,0,0,0.78);
}
#pop-all-balloons img {
    display: inline-block;
    max-height: 50px;
    margin-top: -5px;
    position: absolute;
    margin-left: -30px;
}
#yay-no-balloons {
    display: none;
    color:#ff3300;
    font-size: 50px;
    position: absolute;
    text-align: center;
    color: #fff;
    font-size: 30px;
    width: 100%;
    padding: 0 30px;
    box-sizing: border-box;
    transition: all 0.5s ease 0s;
    text-shadow: 0px 0px 22px rgba(0,0,0,0.78);
}
#yay-no-balloons span, #youwon span {
    font-size: 30px;
    display: block;
    line-height: 28px;
    text-shadow: 0px 0px 40px rgba(0,0,0,1);
}
.big-balloon {
    width: 90%;
    padding-top: 90%;
    background: url(images/big-ballon.png) no-repeat;
    background-size: cover;
    border-radius: 100%;
    transition: all 0.5s ease 0s;
    margin: 10px auto 30px auto;
    -webkit-box-shadow: 0px 0px 20px 10px rgba(0,0,0,0.60); 
    box-shadow: 0px 0px 20px 10px rgba(0,0,0,0.60);
    position: relative;
}
#yay-no-balloons .big-balloon span {
    font-size: 50px;
    text-shadow: none;
    line-height: 100px;
    position: absolute;
    top: calc(50% - 40px);
    width: 100%;
}
#youwon {
    position: absolute;
    top: 0;
    text-align: center;
    text-shadow: 0px 0px 22px rgba(0,0,0,0.78);
    color: #fff;
    font-size: 38px;
}
#youwon div {
    font-size: 30px;
}
#youwon img {
    width: 100%;
    height: auto;
}
.prize-three .inline-gum {
    margin-left: 5px;
}
#yay-no-balloons .big-balloon.startanimate span {
  animation: growUp 1s;
  -webkit-animation: pulsate 0.6s ease-out;
  -webkit-animation-iteration-count: infinite; 
}
#yay-no-balloons.animate, #youwon.animate {
    animation: growUp 0.4s;
}
#yay-no-balloons span.later {
    display: none;
}
#yay-no-balloons span.later.animate {
    display: block;
    transition: all 0.5s ease 0s;
    animation-delay: 3s;
    animation: growUp 0.4s;
}
@keyframes growUp {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}
@-webkit-keyframes pulsate {
    0% { 
        opacity: 0.5;
    }
    50% { 
        opacity: 1.0;
    }
    100% { 
        opacity: 0.5;
    }
}
/*@-webkit-keyframes animateBalloon {
    0% {
        margin-top: 0;
    }
    100% {
        margin-top: -400%;
    }
}
.balloon-content {
    -webkit-animation: animateBalloon 40s linear infinite;
    -moz-animation: animateBalloon 40s linear infinite;
    animation: animateBalloon 40s linear infinite;
}
*/
.disclaimer {
    position: absolute;
    bottom: 10px;
    left: 10px;
    font-size: 18px;
    letter-spacing: 1px;
    color: #fff;
}
@media only screen and (max-height: 700px) {
    .popup .in-logo {
        padding: 80px 0 0 0;
    }
    #popped-count {
        padding: 10px 0;
    }
    #pop-all-balloons {
        padding: 0 10px 10px 10px;
    }
    #youwon div {
        margin-top: -80px;
    }
}