body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: url('../background.webp') no-repeat center center;
    background-size: cover;
    z-index: -1;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: url('../background.webp') no-repeat center center fixed;
    background-size: cover;
    overflow: hidden; /* Prevent scrolling */
    height: 100vh; /* Ensure it covers the full viewport height */
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

html, body {
    height: 101vh; /* Slightly taller than the viewport */
    overflow: hidden;
}

.container {
    width: 90%;
    max-width: 600px;
    border-radius: 8px;
    overflow: hidden;
    margin: 0 auto;
}

.form-input{
    padding: 0.5rem 1rem;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    width: 100%;
    margin-bottom: 10px;
    text-align: center;
    box-sizing: border-box;
}

.title {
    text-align: center;
    font-size: 2rem;
    margin: 1rem 0;
}

.stats {
    display: flex;
    justify-content: space-around;
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 8px;
    margin: 0 1rem;
}

.stat {
    text-align: center;
}

.stat-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #555;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0.5rem auto;
    position: relative;
}

.stat-circle span {
    font-size: 1.2rem;
    color: #0f0;
}

.buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
}

.button {
    padding: 0.5rem 1rem;
    font-size: 1rem;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    text-align: center;
}

.action-item {
    width: 70%;
}

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

.log-screen {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 0.5rem;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
}

.log-screen p {
    margin: 0.5rem 1rem;
}

.log-item {
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.6);
}

.hidden-div {
    display: none;
    text-align: center;
    margin: 1rem auto;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 1rem;
    border-radius: 8px;
    width: 80%;
}

.reveal-button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    cursor: pointer;
}

.reveal-button img {
    width: 30px;
    height: 30px;
}

#role-assignment{
    position: absolute;
    background-color: rgba(0, 0, 0, 0.6);
    width: 90%;
    text-align: center;
}