
body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
    margin: 0;
    padding: 0;
    color: #333;
}

header, footer {
    background: #003366;  /* Same color for header and footer */
    color: #fff;
    padding: 20px 0;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

footer {
    bottom: 0;  /* Position footer at the bottom */
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

#logo-link, #instrucciones-link {
    display: flex;
    align-items: center;
}

#logo, #instrucciones-icon {
    height: 40px;
    cursor: pointer;
}

h1 {
    margin: 0;
    font-weight: 700;
    font-size: 24px;
    color: white;
}

#giftText {
    font-size: 14px;
    color: #f2f2f2;
}

main {
    padding-top: 120px;
    padding-bottom: 60px;  /* Add space for footer */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.content {
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    margin: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 600px;
    text-align: center;
}

button {
    background-color: #005cbf;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

button:hover {
    background-color: #004085;
    transform: translateY(-2px);
}

button#mostrarRoles,
button#reinicio {
    background-color: #6c757d; /* Gray */
    color: #fff;
    margin: 10px; /* Add margin to separate buttons */
}

button#mostrarRoles:hover,
button#reinicio:hover {
    background-color: #5a6268; /* Darker gray */
}

button-container {
    display: flex;
    justify-content: center;
}

input[type='number'] {
    width: 80%;
    padding: 10px;
    margin: 10px 0;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 16px;
    text-align: center;
}

.story {
    font-size: 18px;
    margin-bottom: 20px;
    line-height: 1.6;
    color: #444;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    max-width: 560px;
    border-radius: 8px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

#rolesList {
    text-align: left;  /* Justify the list of players and roles to the left */
    padding-left: 0;
}

#rolesList li {
    list-style: none;
    padding: 5px 0;
}

@media (max-width: 600px) {
    h1 {
        font-size: 28px; /* Significantly increase font size for mobile devices */
    }

    .content, .modal-content {
        padding: 20px; /* Slightly smaller padding for mobile */
        width: 95%; /* Use more screen width on mobile devices */
    }

    #logo, #instrucciones-icon {
        height: 40px; /* Slightly smaller icons for mobile */
    }

    p, label, input, button, .story, #rolesList li {
        font-size: 24px; /* Significantly increase font size for other elements */
    }

    input[type='number'] {
        font-size: 22px; /* Significantly increase font size for input */
    }
}
