body {
    font-family: 'Comic Sans MS', cursive, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: url("./img/fondo.jpg");
    color: #5d5c61;

}


.pokemon img{
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffcccc;
    font-weight: bold;
    color: #ff6666;
}


.pokemones{
    display: flex;
    justify-content: space-around;
    
}

.game-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 900px;
    background-color: #fff5ee;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.player-section {
    text-align: center;
    background-color: #e6e6fa;
    padding: 20px;
    border-radius: 10px;
}

.pokemon-container {
    display: flex;
    justify-content: space-around;
    margin-bottom: 10px;
}

.pokemon {
    width: 60px;
    height: 60px;
    border: 3px solid #ff9999;
    border-radius: 50%;
    margin: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffcccc;
    font-weight: bold;
    color: #ff6666;
}

.pokemon-health {
    font-size: 12px;
    margin-top: 5px;
    color: #ff6666;
}

.life-bar {
    width: 100%;
    height: 20px;
    background-color: #ffcccc;
    border-radius: 10px;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
}

.life-bar::after {
    content: 'vida';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #66cc66;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
}

.character-box {
    width: 240px;
    height: 200px;
    border: 3px solid #99ccff;
    border-radius: 15px;
    margin-top: 20px;
    background-color: #e6f2ff;
}

.buttons {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 20px;
}

.buttons button {
    margin: 10px 0;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    
}

.buttons button:first-child {
    background-color: #ff9999;
    color: white;
}

.buttons button:last-child {
    background-color: #99ccff;
    color: white;
}

.buttons button:hover {
    transform: scale(1.05);
}

.spawn-area {
    width: 100%;
    height: 50px;
    border: 2px dashed #ff9999;
    margin-top: 20px;
    text-align: center;
    line-height: 50px;
    border-radius: 10px;
    background-color: #fff0f5;
}

h1 {
    color: #ff6666;
    font-size: 3em;
    text-shadow: 2px 2px #ffcccc;
}

h2 {
    color: #6666ff;
}