body {
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    margin: 0;
}

.logo {
    width: 200px;
    margin-top: 20px;
    margin-bottom: 40px;
}

h1 {
    font-size: 1.4em;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.2;
}

.candidat-vote-p
{
    color: #e63939;
    font-size: 1.2em;
}

.key-input {
    margin-bottom: 20px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 400px;
}

.key-label {
    color: #e63939;
    font-size: 1.2em;
    margin-right: 10px;
}

.key-field {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 80%;
    margin-top: 10px;
}

.candidates {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    width: 100%;
    max-width: 400px;
}

.candidates label {
    font-size: 1em;
}

.vote-button {
    display: block;
    margin: 0 auto;
    background-color: #ff4b4b;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.2em;
    width: 100%;
    max-width: 200px;
    margin-top: 20px;
}

.vote-button:hover {
    background-color: #e63939;
}

#message {
    color: red;
    font-size: 1.2em;
    display: none;
    text-align: center;
    width: 100%;
    max-width: 400px;
}

/* Media Queries for responsiveness */
@media (max-width: 600px) {
    body {
        padding: 10px;
    }

    .key-input {
        flex-direction: column;
        align-items: flex-start;
    }

    .key-label {
        margin-bottom: 5px;
        margin-right: 0;
    }

    .key-field {
        max-width: none;
    }

    .vote-button {
        width: 100%;
    }
}
