body{
    font-family: sans-serif;
    background-color: rgb(255, 248, 240);
    background-image: url("../images/fond.jpg");
    background-size: cover;
}

h1, h2 {
    text-align: center;
}

div{
    text-align: left;
}

img {
    width: 150px;
    height: auto;
    position: absolute;
    top: 10px;
    left: 10px;
    padding-top: 8px;
}

nav{ 
    display: flex;
    flex-direction: row;
    justify-content: end;
    background-color: #7ad5ff;
    padding-top:15px;
    padding-bottom:10px;    
}

.simg {
    display: block;
    width: 500px;
    font-size: 100%;
    padding: 15px;
    text-align: center;
    background-color: #4a90e2;
    color: white;
    border-radius: 25px;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-left: 12%;
}

.simg:hover {
    background-color: #357abd;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

#map {
    height: 500px; 
    margin-top: 2%;
    margin-left: 20%;
    margin-right: 20%;
    border-radius: 15px;
}

form {
    margin-bottom: 30px;
}

fieldset {
    margin-left: auto;
    margin-right: auto;
    width: 50%;
    background-color: #7ad5ff;
    border: 2px solid #4a90e2;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    line-height: 2.5;
}

legend {
    font-weight: bold;
    font-size: 1.2em;
}

.text {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
    width: 90%;
    background-color: #7ad5ff;
    border: 2px solid #4a90e2;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

label {
    display: inline-block;
    width: 12em;
    font-weight: 500;
    color: #333;
}

input[type="text"],
input[type="email"] {
    padding: 8px 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    width: 250px;
}

input[type="text"]:focus,
input[type="email"]:focus {
    outline: none;
    border-color: #4a90e2;
}

.red {
    color: #e74c3c;
    font-weight: bold;
}

h3 {
    color: #012652;;
    margin-top: 10px;
    margin-bottom: 15px;
}

#champs {
    font-style: italic;
    color: #666;
    margin-bottom: 20px;
}


#valid {
    text-align: center;
    margin-top: 20px;
}

input[type="button"] {
    background-color: #4a90e2;
    color: white;
    padding: 12px 40px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

input[type="button"]:hover {
    background-color: #357abd;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

table { 
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 10px;
    overflow: hidden;
    margin: 50px auto;
    table-layout: fixed;
    width: 90%;
}

th {
    background-color: #7ad5ff;
    color: rgb(0, 0, 0);
    padding: 15px;
    font-size: 18px;
}

td {
    padding: 20px;
    text-align: center;
    font-size: 20px;
    background-color: #f0f0f0;
}

/*liste des lignes*/

.arrets{
    background-color: #f0f0f0;
    padding: 5px;
    display: none;
}

.menu{
    background-color: #7ad5ff;
    padding: 7px; 
}