@import url(https://fonts.googleapis.com/css?family=Raleway:400,500);

html, body {
    background-image: url(../html/media/paysage.png);
    background-position: center;
    background-size: cover;
    background-attachment: fixed; /* Maintient le fond fixe lors du défilement */
    text-align: center;
    font-family: Raleway, Helvetica, sans-serif;
    min-width: 330px;
    padding: 0px;
    margin: 0px;
}

header {
    font-size: 2em;
    font-weight: bold;
    margin: 20px;
}

#form-outer {
    background-color: rgba(250, 250, 250, 0.079);
    margin: 0 auto;
    margin-bottom: 50px;
    border-radius: 50px;
    width: 75%;
    color: white;
    max-width: 900px;
    padding: 10px;
    padding-top: 30px;
    border-top: 1px solid rgb(255, 255, 255);
    border-left: 1px solid rgb(255, 255, 255);
    backdrop-filter: blur(5px);
    box-shadow: rgba(255, 255, 255, 0.25) 0px 50px 100px -20px, rgba(255, 255, 255, 0.3) 0px 30px 60px -30px, rgba(255, 255, 255, 0.35) 0px -2px 6px 0px inset;
}

.labels {
    display: inline-block;
    text-align: right;
    width: 40%;
    padding: 5px;
    vertical-align: top;
    margin-top: 10px;
}

.rightTab {
    display: inline-block;
    text-align: left;
    width: 48%;
    vertical-align: middle;
}

.input-field {
    height: 20px;
    width: 280px;
    padding: 5px;
    margin: 10px;
    border: 1px solid #c0c0c0;
    border-radius: 2px;
}

#userAge {
    width: 40px;
}

.userRatings, input[type="checkbox"] {
    float: left;
    margin-right: 5px;
}	

#submit {
    background-color: #59ace0;
    border-radius: 4px;
    color: white;
    font-size: 1em;
    height: 40px;
    margin: 30px;
    border: none;
    cursor: pointer; /* Indique que c'est cliquable */
    padding: 10px 30px;
    transition: background-color 0.3s ease; /* Animation fluide au survol */
}

#submit:hover {
    background-color: #3b8bbd; /* Couleur légèrement plus foncée au survol */
}

.dropdown {
    height: 35px;
    width: 140px;
    padding: 5px;
    margin: 10px;  
    margin-top: 15px;
    border: 1px solid #c0c0c0;
    border-radius: 2px;
}

.radio, .checkbox {
    position: relative;
    left: -43px;
    margin-left: 10px;
    display: block;
    padding-bottom: 10px;
}

/* --- Styles pour la navbar --- */
.navbar {
    background: #000000;
    padding: 20px;
}

.navbar ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 40px;
}

.navbar a {
    text-decoration: none;
    color: white;
    font-size: 20px;
    transition: color 0.3s;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.navbar a:hover {
    color: #eab906;
}

/* --- Styles du message de retour du formulaire --- */
#form-status {
    font-weight: bold;
    font-size: 1.1em;
    padding-bottom: 20px;
}
.success { color: #4CAF50; }
.error { color: #f44336; }

/* --- Media Queries (Responsive) --- */
@media screen and (max-width: 833px) {
    .input-field {
        width: 80%;
    }
    select {
        width: 90%;
    }
}

@media screen and (max-width: 768px) {
    .navbar ul {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .navbar a {
        font-size: 14px;
    }
}

@media screen and (max-width: 520px) {
    .labels {
        width: 100%;
        text-align: left;
    }
    .rightTab {
        width: 80%;
        float: left;
    }
    .input-field {
        width: 100%;
    }
    select {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 10px 5px;
    }
    .navbar a {
        font-size: 12px;
        padding: 5px 0;
    }
}