body {
    font-family: Arial, sans-serif;
    margin: 20px;
    background-color: #f5f5f5;
    color: #333;
}

h2 {
    color: #007bff;
}

input[type="number"], input[type="text"] {
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
}

input[type="radio"] {
    margin: 0 5px;
}

label {
    margin-right: 20px;
}

button {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
}

button:hover {
    background-color: #0056b3;
}

div {
    margin-top: 20px;
}

#additionResult, #multiplicationResult, #alloResult, #soustraction {
    background-color: #e9ecef;
    padding: 10px;
    border-radius: 4px;
}

.button-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
}

/*Provient du code original*/

table, th, td {
    border: 1px solid black;
    border-collapse: collapse;
    padding: 10px;
}

.flex-parent-element {
    display: flex;
    width: 100%;
}

.flex-child-element {
    flex: 1;
    margin: 10px;
}

.flex-child-element:first-child {
    margin-right: 20px;
}

.formulaire {
    display: inline-block;
}

#customers {
    font-family: Arial, Helvetica, sans-serif;
    border-collapse: collapse;
    width: 100%;
}

#customers td, #customers th {
    border: 1px solid #ddd;
    padding: 8px;
}

#customers tr:nth-child(even) {
    background-color: #f2f2f2;
}

#customers tr:hover {
    background-color: #ddd;
}

#customers th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: left;
    background-color: #04AA6D;
    color: white;
}

/* Media query for tablet and mobile devices */
@media (max-width: 1024px) {
    .flex-parent-element {
        flex-direction: column; /* Stacks the child elements vertically */
        align-items: center; /* Centers the child elements */
    }

    .flex-child-element {
        margin: 10px 0; /* Adjust margins to keep elements centered */
        width: 90%; /* Set full width with some padding from the screen edges */
        max-width: 100%; /* Ensure it doesn't exceed the screen width */
    }

    .button-container {
        position: fixed; /* Keeps the buttons fixed at the bottom */
        bottom: 20px; /* Positioning from the bottom */
        left: 50%; /* Positioning from the left */
        transform: translateX(-50%); /* Centers the buttons horizontally */
        display: flex;
        justify-content: center;
        z-index: 1000; /* Ensures the buttons stay on top of other content */
    }
}
