* {
    margin: 0;
    padding: 0;
    user-select: none;
}
body {
    width: 100vw;
    height: 100vh;
}
ul {
    list-style: none; 
     
}
.backgroundImage{
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../assets/images/Sky.png');
    background-size: cover;
    background-position: center;
    z-index: 1;
}
.background{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}
.root {
    display: flex;
    flex-direction: column;
    height: 60%;
    align-items: center;
    z-index: 222;
}
.root img {
    position: relative;
    margin-bottom: 50px;
    transition: transform 0.6s;
}
.root img:hover {
    transform: scale(1.1);
}
.root button {
    margin-bottom: 50px;
    width: 200px; 
    height: 60px;
    border-radius: 50px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 22px;
    letter-spacing: 5px;
    background-color: #FCD24F;
    border: 4px solid #5669A5;
    color: #5669A5;
    box-shadow: 0px 8px 0px #FCD24F;
    transition: transform 0.5s;
}
.root button:hover {
    transform: scale(1.1);
    cursor: pointer;
}
.root p {
    margin-top: 50px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}
.audio {
    position: absolute;
    top: 30px;
    left: 30px;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
    z-index: 2;
}
.audio:hover i {
    transform: scale(1.2);
    transition: transform 0.5s;
}
.move {
    animation: moving 2s ease infinite;
}
@keyframes moving {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-25px);
    }
}

@media (max-width: 440px){ 
    .root img{
        width: 400px;
    }
}
@media (min-width: 441px) and (max-width: 800px){
    body{
        width: 100vw;
        height: 100vh;
    }
    .root{
        height: 100%;
    }
    .root img{
        margin-top: 40px;
        margin-bottom: 0;
        width: 300px;
    }
    .root button{
        margin-bottom: 0;
        width: 120px;
        height: 40px;
    }
}
/* Batalha */
.dialog_batalha{
    width: 70vw;
    height: 40vw;
    margin: auto;
    background-color: #C6FFD9;
    display: flex;
    flex-direction: column;
    border: none;
}
#barra-acoes{
    z-index: 10;
    box-sizing: border-box; 
    display: flex;
    justify-content: end; 
    width: 100%;
    height: 35%;
    border: 5px solid white; 
    box-shadow: 0 0 0 3px #434343; 
    background-color:#5E99FF;
    
}

#acoes{
    border-left:5px solid black ;
    width: 40%;
    height: 100%;
    background-color: #2F7CFE;
    display: flex;
    align-items: center;
    justify-content: center;
}
#div1{
    width: 95%;
    height: 85%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: space-around;
}
.menu-esquerdo li{
    margin: 5px 0;
    font-size: 18px;
    text-align: left;
}
.menu-direito li{
    margin: 5px 0; 
    font-size: 18px;
    text-align: left;
}
#oponente{
    width: 100%;
    height: 50%;
}
#user{
    width: 100%;
    height: 50%;
    display: flex;
    align-items: end;
}
#pokemon-espaco{ 
    display: flex;
    align-items: center;      
    justify-content: center;    
    position: absolute;
    bottom: 20%;
    left: 10%;
    width: 23%;                  
    height: 10%;                 
}
#pokemon-sprite {
    display: flex;
    align-items: end;      
    justify-content: center;
    background-image: url("../assets/images/grama-user.png");
    background-size: cover;
    background-position: center left;
    position: absolute;
    bottom: 13%;
    left: 3%;
    width: 43%;                  
    height: 10%;                 
    border-radius: 50%;        
}
#sprites {
    width: 500%;    
    z-index: 10;            
    height: 500%; 
    animation: spritesAnimation 2s ease-in infinite;            
            
}
.pokemon-detail {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 35%;
    height: 20%;
    background-color: #F5F9D6;
    border-radius: 20px 0 20px 0;
    border: 3px solid #26430C;
    box-shadow: 0 0 0 2px #57735F;
    position: absolute;
    z-index: 15; 
    bottom: 21%;
    left: 60%;
}
.hp-container-opponent {
    position: absolute;
    bottom: 70%;
    left: 5%; /* Placement à gauche du Pokémon adverse */
    width: 35%;
    height: 20%;
    background-color: #F5F9D6;
    border-radius: 20px 0 20px 0;
    border: 3px solid #26430C;
    box-shadow: 0 0 0 2px #57735F;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    z-index: 15;
}

#pokemon-espaco-op{ 
    display: flex;
    align-items: center;      
    justify-content: center;    
    position: absolute;
    bottom: 67%;
    left: 66%;
    width: 23%;                  
    height: 10%;                 
}
#pokemon-sprite-op {
    background-image: url("../assets/images/chao.png");
    background-size: cover;
    background-position: 0 -20px;
    display: flex;
    align-items: end;      
    justify-content: center;    
    position: absolute;
    bottom: 58%;
    left: 63%;
    width: 30%;                  
    height: 13%;                 
    border-radius: 50%;        
}
#sprites-op {
    width: 300%;    
    z-index: 10;            
    height: 300%; 

}
@keyframes spritesAnimation {
    0% {
        transform: translateY(0);
    }
    25% {
        transform: translateY(3px);
    }
    50% {
        transform: translateY(0);
    }
    75% {
        transform: translateY(-3px);
    }
    100% {
        transform: translateY(0);
    }
}

.borda-detail{
    width: 37%;
    height: 80px;
    position: absolute;
    bottom: 18.5%;
    left: 59%;
    background-color: #434343;
    border-bottom-right-radius: 15px ;
    border-top-right-radius: 5px;
    border-top-left-radius:20px ;
}
.name{
    width: 100%;
    height: 30%;
}
.hp{
    width: 100%;
    height: 70%;
}
/* Batalha */
.hp-container-opponent {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Aligner le texte à gauche */
    padding: 10px;
}

#name-opponent {
    font-size: 18px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.level {
    font-size: 16px;
    color: #444;
    margin-left: 10px;
}


