.faceoffHeader{
    width: 96%;
    text-align: center;
    background-color: #160d1f;
    padding: 2%;
    padding-bottom: 0px;
    position: absolute;    
}

.faceoffHeader h1 img {    
    width: 300px;
}

.faceoffQueens{
    width: 90%;    
    text-align: center;
    background-color: #160d1f;
    padding: 5%;  
    margin: 0;  
    position: absolute;
    top:210px;

}

.faceoffQueens h2{
    color:#f1efe8;
}

input[type=text] {
    color: #f1efe8;
}
input[type=text]::placeholder {
    color:#ff01de;
}

.battle{
    height: 775px;        
    display: none;    
    opacity: 0;
    text-align: center;        
    padding: 0;
    margin: 0;
    position: absolute;
    min-width:450px;
    max-width:450px;
    color:#f1efe8;    
    transition: opacity 0.5s, box-shadow 1s;  
}

.battle .logo {
    height: 0px;
    margin-top: 10px;    
}

#wrapper{
    display: inline-block;
    width: 100%;
    position: relative;
    min-height: 775px;  
    text-align: center;  
    background-color: #160d1f;
}

.battlemode {
    background-image: url('/assets/img/faceoff-bg.webp');
    background-position: center;
    background-repeat: no-repeat;
}

#queen-1{
    position: absolute; 
    top:120px;  
    left:10px;
    width:185px;
    height:185px;  
    opacity: 0; 
    text-align: center;            
}

#queen-1-wins {
    font-family: 'Yanone Kaffeesatz', sans-serif;
    display: inline-block;
    color: #f1efe8;
    font-weight: 500;
    background-color: #ff01de;
    border:1px solid #f1efe853;
    padding: 4px 12px;
    border-radius: 50%;
    opacity: 0;
    position: absolute;
    bottom: 2px;
    left: 70px;
    transition: opacity 1s, box-shadow 1s;
    -webkit-box-shadow: 0px 5px 18px 1px rgba(0,0,0,0.5); 
    box-shadow: 0px 5px 18px 1px rgba(0,0,0,0.5); 
}

#queen-2{
    position: absolute;   
    top:120px; 
    right:10px;
    width:185px;
    height: 185px; 
    opacity: 0;             
}

#queen-2-wins {
    font-family: 'Yanone Kaffeesatz', sans-serif;
    display: inline-block;
    color: #f1efe8;
    font-weight: 500;
    background-color: #ff01de;
    border:1px solid #f1efe853;
    padding: 4px 12px;
    border-radius: 50%;
    opacity: 0;
    position: absolute;
    bottom: 2px;
    left: 70px;
    transition: opacity 1s, box-shadow 1s; 
    -webkit-box-shadow: 0px 5px 18px 1px rgba(0,0,0,0.5); 
    box-shadow: 0px 5px 18px 1px rgba(0,0,0,0.5); 
}

.battle .queen .imageWrapper {
    width:171px;
    height:171px;
}

.battle #fireworks {
    width:100%;
    height:400px;
    position: absolute;
    top:0px;
    left: 0px;
}

.versus {
    font-family: 'Yanone Kaffeesatz', sans-serif;
    font-size: 30px;    
    background-color:#471b79;
    padding:8px 20px;    
    border-radius:50%;
    z-index: 10;
    -webkit-box-shadow: 0px 5px 18px 1px rgba(0,0,0,0.5); 
    box-shadow: 0px 5px 18px 1px rgba(0,0,0,0.5); 
    transition: width 2s, height 2s, border-color 1s, transform 2s;    
    position: absolute;
    top:190px;
    left: 0px;    
    color:#FFF; 
    opacity: 0;   
}

#challengeWrapper {
    position: absolute;
    top:380px;
    text-align: center;
    margin: 0;
    padding: 0;
    width: 100%; 
    opacity: 0;   
    transition: opacity 1s, box-shadow 1s;    
}

#challenge {
    display: inline-block;
    width:70%;
    padding: 17px;
    border-radius: 10px;   
    background-color:#ff01de;
    color:#FFF;
    font-family: 'Yanone Kaffeesatz', sans-serif;
    font-size: 28px;
    line-height: 30px;
    opacity: 0.8;   
    transition: opacity 1s, box-shadow 1s;     
}

#challenge.selected{
    opacity:1;
    -webkit-box-shadow: 0px 5px 18px 1px rgba(0,0,0,0.5); 
    box-shadow: 0px 5px 18px 1px rgba(0,0,0,0.5); 
}
#challengeDesc {
    position: absolute;
    top:350px;
    width: 70%;
    left: 15%;
    text-align: center;
    font-family: 'Yanone Kaffeesatz', sans-serif;
    font-size: 20px;
    line-height: 22px;
    opacity: 0;
    transition: opacity 1s, box-shadow 1s;
}

#challengeDetails{
    display: inline-block;
    width: 65%;
    background-color: #471b79;
    padding: 10px;
    border-radius:5px;
    color:#f1efe8;
    position: relative;
    font-size: 14px;
    display: none;
}

#progress{
    display: inline-block;
    width:70%;
    padding: 30px 15px;
    font-size: 30px;
    font-family: 'Yanone Kaffeesatz', sans-serif;
    line-height: 32px;
    height: 70px;  
    opacity: 0;
    transition: opacity 0.5s, box-shadow 1s;   
}

#progress span {
    border-radius: 10px;
    background-color: #ff01ddc8;
    color: #f1efe8;
    padding: 5px 10px;
    padding-top: 8px;
}

#winnerMsg {
    position: absolute;
    top: 350px;
    width: 85%;
    left: 7.5%;
    font-size: 35px;
    line-height: 35px;
    font-family: 'Yanone Kaffeesatz', sans-serif;
    background-color: #160d1f8c;
}

#again_btn{      
    opacity: 0;  
}

#over_btn{      
    background-color: #471b79;
    opacity: 0;
}

#bottomBanner{
    position: absolute;
    bottom: 40px;
}

.flipX {
    animation: 1s anim-flipX ease infinite;
  }
  @keyframes anim-flipX {
    0% {
      opacity: 0;
      transform: rotateX(90def);
    }
    50% {
      opacity: 1;
      transform: rotateX(720deg);
    }
    100% {
      /* animate nothing to pause animation at the end */
      opacity: 1;
      transform: rotateX(720deg);
    }
  }
  

@media only screen and (max-width: 768px) {
    .battle{
        width: 100%;
        margin: 0;
        max-width: auto;
        min-width: auto;
    }
}