@import url(https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap);
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* c mon code ici */

html {
    box-sizing: border-box;
    overflow-x: hidden;
}

body {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #000000;
    background-color: #ffffff;
    overflow-x: hidden;
}

header {
    background-color: rgb(255, 255, 255);
    box-shadow: 0 8px 8px #0000001a, 0 8px 16px -16px #00000052;
    position: relative;
    width: 100%;
    overflow: hidden;
}

header .body {
    align-items: center;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}


.container {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 78em) {
    .container {
        max-width: 78em;
    }
}


h1 {
    font-size: 2.5rem;
    line-height: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    line-height: 2.5rem;
}

h3 {
    font-size: 1.5rem;
    line-height: 2rem;
}

h4 {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

h2,
h3 {
    font-weight: 700;
}

p {
    font-size: 1rem;
    line-height: 1.5rem;
    margin-bottom: 1rem;
}

input[type="text"] {
    width: 100%;
    border: 0;
    border-bottom: 2px solid #3a3a3a;
    border-radius: 0.15rem;
    font-size: 1rem;
    line-height: 1.5rem;
    padding: .5rem 1rem;
    background-color: #eeeeee;
    margin-bottom: 1rem;
}

input[type="text"]:focus {
    outline: none;
}

input[type="text"]::placeholder {
    color: #6c757d;
    font-style: italic;
}

button {
    background-color: #3434b9;
    color: #ffffff;
    border: 0;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    line-height: 1.5rem;
    cursor: pointer;
}

button:hover {
    background-color: #2929a3;
}

.name-input {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

@media (max-width: 600px) {
    .name-input {
        flex-direction: column;
        gap: 0.5rem;
    }

    .container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal .modal-content {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.modal .modal-content p {
    margin: 0;
}

.result {
    padding-top: 1rem;
}

.result table {
    width: 100%;
    border-collapse: collapse;
}

.result table th,
.result table td {
    border: 1px solid #dee2e6;
    padding: 0.5rem;
    text-align: left;
}

.result table th {
    background-color: #e9ecef;
    font-weight: bold;
}

.result table td {
    background-color: #ffffff;
}

.result table tr:nth-child(even) {
    background-color: #f2f2f2;
}

.result table tr:hover {
    background-color: #e9ecef;
}

.result table th,
.result table td {
    padding: 0.5rem;
    text-align: left;
}


strong {
    font-weight: 700;
}

footer {
    margin-top: 2rem;
    background-color: #3434b9;
    color: #ffffff;
    padding: 1rem 0;
    text-align: center;
}

small {
    font-size: 0.5rem;
    color: #ffffff;
}
