/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #f5f5f5;
    color: #333;
    text-align: center;
    margin: 0;
    padding: 0;
}

h1 {
    font-size: 3em;
    margin-top: 20px;
}

#game-container {
    max-width: 800px;
    margin: auto;
    padding: 20px;
}

.hidden {
    display: none;
}

/* Intro Styles */
#intro-container {
    margin: 20px 0;
}

#player-name {
    padding: 10px;
    font-size: 1.2em;
    width: 60%;
    margin-right: 10px;
}

#start-game {
    padding: 10px 20px;
    font-size: 1.2em;
    cursor: pointer;
}

/* Box Styles */
.box {
    background-color: white;
    border: 1px solid #ddd;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    text-align: left;
}

#statement-box {
    text-align: center;
}

/* Status Banner */
#status-banner {
    display: flex;
    justify-content: space-around;
    padding: 10px;
    background-color: #eee;
    border-radius: 10px;
    margin-bottom: 20px;
}

/* Battle and Enemies */
#battle-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

#box1, #box2 {
    width: 48%;
    height: 400px;
}

#battle-log {
    height: 350px;
    overflow-y: auto;
    padding-right: 10px;
}

h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

/* Enemies List */
#enemies-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

#enemies-list li {
    margin: 5px 0;
}

/* Action Buttons */
#action-buttons {
    margin-top: 20px;
}

.action-button {
    padding: 10px 20px;
    font-size: 1em;
    margin: 5px;
    cursor: pointer;
    border: none;
    background-color: #007bff;
    color: white;
    border-radius: 5px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s;
}

.action-button:hover {
    background-color: #0056b3;
}

/* Footer */
footer {
    position: fixed;
    bottom: 0;
    right: 0;
    font-size: small;
    color: lightgray;
    padding: 10px;
}

/* End Game Styles */
.end-game {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.end-game div {
    padding: 50px;
    font-size: 2em;
    text-align: center;
}

.end-game button {
    display: block;
    margin: 20px auto;
    padding: 10px;
    font-size: 1.5em;
    background-color: yellow;
    cursor: pointer;
    border: none;
}
