* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

html,
body {
    height: 100%;
}

main {
    margin-top: 50px;
    margin-bottom: 40px;
}

body {
    background-image: url("../images/BackGround.webp");
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: 100vh;
    margin: 0;

}

img {
    max-width: 100%;
    height: auto;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: sans-serif;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 12px 20px;
    gap: 12px;
    flex-wrap: wrap;
}

.greeting {
    z-index: 1;
    color: #ddd;
    font-weight: 600;
}

.title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
}

h1,
h2 {
    color: #ddd;
    padding: 5px
}

p,
span {
    font-weight: bold;
}

.containerbouton {
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.bouton {
    margin: 10px 0 10px;
}

.radio-buttons {
    margin: 15px 0 15px;
    color: #ddd;
}

.choices {
    margin-left: 10px;
    margin-right: 25px;
}

/* Slider Styles */
.slider-container {
    margin: 10px 0 10px;
    color: #ddd;
    text-align: center;
}

.slider-label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

#before-end-slider {
    width: 260px;
}

.slider-helper {
    margin-top: 5px;
    font-size: 0.85rem;
    opacity: 0.9;
}

/* Hide the fourth container */
.container4 {
    display: none;
}

/* Button Styles */
button {
    min-width: 140px;
    margin: 0 20px 0 20px;
    padding: 10px 20px;
    cursor: pointer;
    background: rgba(0, 124, 137, 0.2);
    color: white;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

button:hover {
    background: rgba(0, 124, 137, 0.8);
}

.small-button {
    min-width: auto;
    padding: 8px 14px;
}

.glow {
    animation: glow-animation 1.5s infinite alternate;
    box-shadow: 0 0 2.5px #9ecaed, 0 0 5px #9ecaed, 0 0 10px #9ecaed, 0 0 15px #028394, 0 0 20px #028394, 0 0 25px #028394, 0 0 30px #028394, 0 0 35px #028394;
}

@keyframes glow-animation {
    to {
        box-shadow: 0 0 2.5px #9ecaed, 0 0 5px #9ecaed, 0 0 10px #9ecaed, 0 0 15px #028394, 0 0 20px #028394, 0 0 25px #028394, 0 0 30px #028394, 0 0 35px #028394;
    }
}

main {
    width: 100%;
}

.container {
    display: flex;
    width: 100%;
    margin: 15px 0 15px;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.container1,
.container2,
.container3,
.container4,
.container5 {
    flex: 1 1 280px;
    text-align: center;
    opacity: 0.88;
    padding: 10px;
    padding-top: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #125360a1;
    border: 1px solid #ddd;
    border-radius: 10px;
    max-width: 300px;
}

hr {
    height: 1px;
}

.time-input {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9faf49a;
}

#time-input0,
#time-input1,
#time-input2,
#time-input3,
#time-input4,
#time-input5,
#time-input6,
#time-input28,
#time-input29,
#time-input30,
#time-input31,
#time-input32,
#time-input33,
#time-input34 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #aeb3a0a6;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.time-input input {
    padding: 10px;
    width: 40%;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin: 5px;
}

footer {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    align-items: center;
    justify-content: center;
    color: #ddd;
}