* {
    box-sizing: border-box; /* Ensures padding and borders are included in element's total width/height */
}
#button-container {
    display: flex;
    justify-content: center;
    gap: 8px; /* Add spacing between buttons */
    width: 100%;
}
#labelObservation{
    margin-top:10px;
    font-size:20px;
}
.emotion-button{
    background-color:black;
    width:80px;
    margin-left:auto;
}
#dateChantier{  
    border: 2px solid #8B0000; /* Dark red borders */
    border-radius: 5px;
    padding:10px;
    font-size:16px;
}
#imageBox{
    display: inline-block;  /* Makes the div behave like a button */
    vertical-align:top;
   /* background-color: white;*/
    margin-left:4px;
    /*border: 2px solid #8B0000;  Dark red borders */
        }
#imageBoxPresentation{
    /*display: inline-block;  Makes the div behave like a button */
    margin:4px;
    /*border: 2px solid #8B0000; */
}
.imageBox{
    margin-left:4px;
    display: inline-block;  /* Makes the div behave like a button */
    vertical-align:top;
        }
#input-alert{
    position:fixed;
    top:0;
    left: 30%;
    right:70%;
    width:100%;
    display:none;
}
#span-input-alert{
    background-color: yellow;}
body{
    background-color:  #E5E5E5; 
    font-family: Arial, sans-serif;
    color: #8B0000;
    margin: 0;
    padding: 0;
    min-height: 100vh; /* Ensure body takes full height */
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Align items at the top, so content can scroll down */
    flex-direction: column;
    overflow-y: auto; /* Enable vertical scrolling */
}
#myForm {
    background-color: white;
    padding: 8px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    width: 94%;
    min-height: 400px; /* Make the form taller than its content */
    overflow: hidden; /* Prevent overflow inside the form */
    margin-bottom: 50px; /* Space between form and other elements */
    margin-left:auto;
    margin-right:auto;
}
label {
    font-size: 18px;
    margin-bottom: 8px;
    margin-top: 8px;
    display: block;
}
input[type="text"] 
{
    width: 100%;
    padding: 12px;
    font-size: 14px;
    margin: 10px 0;
    border: 2px solid #8B0000; /* Dark red borders */
    border-radius: 5px;
    background-color: #fff; /* White background for inputs */
    color: #333; /* Dark text for better readability */
}
input[type="number"] 
{
    width: 80;
    padding: 12px;
    font-size: 16px;
    margin: 10px 0;
    border: 2px solid #8B0000; /* Dark red borders */
    border-radius: 5px;
    background-color: #fff; /* White background for inputs */
    color: #333; /* Dark text for better readability */
}
textarea {
    min-height: 100px; /* Set a minimum height */
    width: 100%;
    padding: 12px;
    margin-top: 12px;
    margin-bottom: 4px;
    border: 2px solid #8B0000; /* Dark red borders */
    border-radius: 5px;
    background-color: #fff; /* White background for inputs */
    color: #333; /* Dark text for better readability */
}
input[type="file"] {
    width:150px;
    padding: 5px;
    padding-top:10px;
    padding-bottom:10px;
    margin-left:10px; 
    border: 2px solid #8B0000; /* Dark red borders */
    border-radius: 5px;
    background-color: #8B0000; /* White background for inputs */
    color: #8B0000; 
}
button {
    color: #8B0000; /* Dark red text */
    border: 2px solid #8B0000; /* Dark red borders */
    border-radius: 5px;
    font-size: 18px;
    padding: 12px 20px;
    cursor: pointer;
    margin: 10px 0;
    width: 100%;
    max-width: 200px;
    transition: background-color 0.3s ease;
}
#submitButton {
    background-color: #8B0000;
    color: white;
    border: none;
    margin-left:auto;
    margin-right:auto;
    margin-bottom:200px;
}
#add-input, #remove-input {
    font-size: 16px;
    width: 30%; /* Smaller width to fit side by side */
}
#button-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    width: 100%;
    margin: 10px 0;
}
#firstEmotion {
    font-size: 16px;
    margin-top: 5px;
}
.menu-item {
    margin-right:auto;
    margin:10px;
    background-color: #b91a1a;
    color: white;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    text-decoration: none;
    font-size: 1.2em;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, background-color 0.2s;
}
.menu-item:hover {
    background-color: #484848;
    transform: translateY(-5px);
}
h1 {
    font-size: 1.8em;
    color: #8B0000;
    margin-left:auto;
    margin-right:auto;
    margin-bottom: 20px;
    text-align: center;
}
hr {
  border: 4px solid #8B0000;  /* Change only the thickness and color */
}
#visitor-block{
    display: inline-block;
}
#visitor{
    width: auto;
    margin-left:14px;
}
/* Footer */
footer {
    background-color: #8B0000;
    padding: 10px;
    text-align: center;
    color: white;
    font-size: 14px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    width: 100%;
    bottom: 0;
    left: 0;
}
