
body{
    background-color: #9ebaf3;
    background-image: url(background-index.png);
    background-position: center;
    backdrop-filter:blur(5px) brightness(.7);;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;

}


.input-container{

    

    position: relative;
    display: inline-block;
    margin-left: 20px;
}

input[type="checkbox"]{
    cursor: pointer;
    width: 40px;
    height: 70px;
    content: "\f111";
    


}

.input-img{
    position: absolute;
    top: 50%;
    left: 20%;
    margin-left: 20px;
    margin-right: 20px;
    transform: translate(-50%,-50%);
    pointer-events: none;
    width: 55px;
    height: 55px;   
    border-radius: 20px;
    box-shadow: 4px 4px 8px  rgb(0, 0, 0, .5) ;
    transition: 0.5s ease-in-out ;
}



.surface{

    position: relative;
    top:50%;
    left: 50%;
    transform: translate(-65%,-90%);
    flex-wrap: nowrap;
    display: flex;
    
}




#surface{
    
    padding: 20px 25px;
    margin: 10px;
    border: none;
    background-color: rgb(60, 0, 255);
    flex: 1 1 30px;
    
}

.logo-fixe{
    position: absolute;
    top: 4%;
    left: 4%;
    margin-left: 20px;
    margin-right: 20px;
    transform: translate(-50%,-50%);
    pointer-events: none;
    width: 60px;
    height: 60px;   
  
    animation:  ping 4.5s infinite;
    overflow: hidden;

}

@keyframes ping {
    0% , 100% {
        opacity: 1;
    }
    50%{
        opacity: 0;
    }
}





.wrapper{
    padding-top: 20px;
    padding-bottom: 10px;
   
    display: none;
   
    
}


.up{
    display: block;    
      position: absolute;
    top: 48%;
    left: 50%;
    margin-left: 20px;
    margin-right: 20px;
    transform: translate(-50%,-50%);
    animation: slideOn.4s linear ;

}

@keyframes slideOn{
    0%{
        opacity: 0;
        
    }
    55%{
        opacity: .3;
    }
    100%{
        opacity: 1;
       
    }


}


.card{
    background: linear-gradient(to bottom,#8e8e8e 0%,#ffffff50  45%, #ffffff 45%, #ffffff 100% );
    width: 350px;
    height: 550px;
    padding: 2px;
    position: fixed;
   
    border-top-left-radius: 20px;    
    border-top-right-radius: 20px;    

}



@media only screen and (min-width: 100px) {
    .card{
      top: 8%; 
      transform: translate(-56%,-56%);
      
    }
   
.card__unit-stats{
   
    height: 80px;
   
}


    
}

.info{
    position: fixed;
    bottom: 100px ;
    left: 35px;

    
}

.card img{
    position: fixed;
    top: 25%;
    left: 50%;
    transform: translate(-50%,-50%);
    padding-top: 10px;
    height: 230px;
    margin-bottom: 10px;
    border-top-left-radius: 14px ;
    border-top-right-radius:14px;
    border-color: black;

}

.card__level{
    
    position: fixed;
    top: 49%;
    left: 50%;
    transform: translate(-50%,-50%);
    padding: 10px;
    margin-bottom: 5px; 
    text-transform: lowercase;
    font-style: italic;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #ffffff;
    background-color: hsl(122, 100%, 21%);

    border-top-left-radius: 20px;    
    border-top-right-radius: 20px;    
    border-bottom-right-radius: 20px;
    


   
    
    

}

.card__level--firstItem{
    color: #970300;
}

.card__unit-name{

    position: fixed;
    top: 55%;
    left: 50%;
    transform: translate(-50%,-50%);
    padding: 10px;
    margin-bottom: 5px;
   
    font-size: 26px;
    color: rgb(0, 0, 0);
    font-weight: 900;
    margin-bottom: 5px;
    
    
}

.card__Item-description{
   
    position: fixed;
    top: 77%;
    left: 50%;
    transform: translate(-50%,-50%);
    padding: 10px;
    margin-bottom: 5px;
    width: 300px;
    height: auto;
    font-family: 'Courier New', Courier, monospace;
    font-size: 22px;
    text-align: center;
  
    
    
}

.card__unit-stats{
    background: #14336f;
    position: absolute;
    width: 350px;
    height: 62px;

}

.one-third{
    border-right: 1px solid #fffafa28;
    width: 33%;
    float: left;
    padding: 10px 15px;

} 

.no-bored{
    border-right: none;
}

.stat-value{
    text-transform: uppercase;
    font-weight: 400;
    font-size: 11px;
    white-space: nowrap;
    text-align: center;
    

}

.pas{
    position: absolute;
    left: 70%;
}

sup{
    position: absolute;
    bottom: 4px;
    font-size: 45%;
    margin-left: 2px;
}

.stat{
     

    position: relative;
    font-size: 24px;
    margin-bottom: 5px;
    text-align: center;
    

}

.no{
    
    text-decoration: line-through red ;
}

.card__unit-stats{
    color: white  ;
    top:100%;
    font-weight: 600;
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.up.surface{
    visibility: hidden;
    opacity: 0;

}

