body {
    font-family: Arial, sans-serif;
    background: rgb(11, 1, 77);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: auto;
}

.boite {
    background: rgb(3, 213, 245);
    width: 600px;
    padding: 2rem;
    text-align: center;
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

p {
    margin-top: 10px;
    text-align: left;
    line-height: 1em;
}

h1 {
    margin-top: 20px;
    text-align: center;
    line-height: 2em;
}

h2 {
    margin-top: 10px;
    text-align: center;
    line-height: 2em;
}

h3 {
    margin-top: 15px;
    text-align: center;
    line-height: 1.5em;
}

a {color: rgb(1, 1, 220);}

a:visited {
    color:  rgb(1, 1, 220);
}

input {
    width: 200px;
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

textarea {
    font-size: 1.1em;
}

select {
    font-size: medium;
}

button {
    background: rgb(3, 213, 245);
    width: 80px;
    padding: 10px;
    margin-top: 10px;
    /*background: rgb(2, 169, 43);*/
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* colonnes*/
.contenant {
    display: flex; /* crée deux colonnes flexibles */
    gap: 1rem;     /* espace entre les colonnes */
    padding-top: 10px;
}

.col {
    flex: 1;  /* chaque colonne prend la même largeur */
}
/*
button:hover {
    background: #1b6a2c;
}*/

fieldset {
    margin-top: 0px; 
    margin-bottom:20px; 
    text-align:left; 
    border-color: black; 
    border-width: 3px; 
    padding-left: 40px;
}

legend {
    font-size: 1.4em
}

ol {
    margin-left: 4em; 
    margin-right: 2em;
}

textarea {
    width: 97%;
}

.error {
    color: red;
    text-align: center;
    margin-bottom: 10px;
}


/* barre de navigation */
nav {
    background-color: #333;
    padding: 10px;
    position: relative;
}
nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-around;
}
nav a {
    text-decoration: none;
    color: white;
    font-weight: bold;
}

nav a:visited {
    color: white;
}

nav a:hover {
    color: #ff6347;
}
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}
.hamburger div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 4px 0;
}
@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        align-items: center;
    }
    nav ul li {
        margin-bottom: 10px;
    }
    .hamburger {
        display: flex;
    }
}
nav.active ul {
    display: flex;
}


/* footer */
footer {
    color: white;
    text-align: center;
}

footer h5{
    text-align: center;
    margin-bottom:-20px;
}

footer a {
    color: #ff9900;
    text-decoration: none;
    margin: 0 20px;
}

