/* Style général */
* {
    margin: 0;
    padding: 0;
}

html {
    background-color: #080D16;
}

body {
    font-family: 'Lexend', sans-serif;
    color: #ffffff;
}

/* Barre de navigation */
header {
    position: fixed;
    margin: 0;
    padding: 0;
    background-color: #121019;
    width: 100%;
    height: 64px;
    margin-bottom: 30px;
}

#menu {
    border-bottom: thin solid #777160;
    height: 64px;
}

ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    height: 64px;
}

#log {
    background-color: #E7B783;
    color: #000000;
    font-size: 16px;
    font-family: 'Lexend', sans-serif;
    font-weight: bold;
    width: 135px;
    height: 35px;
    border-radius: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

li {
    list-style-type: none;
}

button {
    background-color: #121019;
    border-style: none;
}

a {
    font-family: 'Lexend', sans-serif;
    text-decoration: none;
    color: #ffffff;
    font-size: 16px;
    transition: color 300ms;
}

a:hover {
    color: #E7B783;
}

h1 {
    text-transform: uppercase;
    font-family: 'Lexend', sans-serif;
    font-weight: bold;
    display: flex;
    color: #ffffff;
    justify-content: center;
    padding-top: 6%;
    font-size: 40px;
}

/* Conteneur principal */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 3%;
    margin: 20px;
}

/* Barre de recherche */
.search-bar {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    width: 100%;
}

/* Barre de filtres */
.filtre-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    padding: 15px;
    background-color: #121019;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    border: 1px solid #404040;
    width: 60%;
}

/* Labels des filtres */
.filtre-bar label {
    font-size: 16px;
    color: #ffffff;
    font-family: 'Lexend', sans-serif;
    font-weight: bold;
}

/* Sélecteurs des filtres */
.filtre-bar select {
    padding: 10px;
    font-size: 14px;
    font-family: 'Lexend', sans-serif;
    color: #ffffff;
    background-color: #121212;
    border: 1px solid #404040;
    border-radius: 5px;
    width: 200px;
    transition: border-color 0.3s ease;
}

.filtre-bar select:hover {
    border-color: #E7B783;
}

.filtre-bar select:focus {
    outline: none;
    border-color: #E7B783;
    box-shadow: 0 0 5px rgba(231, 183, 131, 0.8);
}

/* Bouton d'application des filtres */
.filtre-bar button {
    padding: 10px 20px;
    background-color: #E7B783;
    border: none;
    color: #121212;
    font-size: 16px;
    font-family: 'Lexend', sans-serif;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.filtre-bar button:hover {
    background-color: #d6a66a;
}



















.search-bar input {
    width: 60%;
    padding: 10px;
    border: 1px solid #404040;
    border-radius: 5px 0 0 5px;
    background-color: #121212;
    color: #ffffff;
    font-family: 'Lexend', sans-serif;
}

.search-bar button {
    padding: 10px 20px;
    background-color: #E7B783;
    border: none;
    color: #121212;
    font-size: 16px;
    cursor: pointer;
    border-radius: 0 5px 5px 0;
    font-family: 'Lexend', sans-serif;
}

.search-bar button:hover {
    background-color: #d6a66a;
}

/* Résultats */
.results {
    padding-top: 2%;
    padding-bottom: 2%;
    display: flex;
    flex-wrap: wrap;
    gap: 35px;
    justify-content: center;
    width: 80%;
}

.result-item {
    width: 500px;
    height: 225px;
    background-color: #121019;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    border: 1px solid #404040;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.result-item:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

.result-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #ffffff;
    font-weight: bold;
    font-family: 'Lexend', sans-serif;
}

.result-item p {
    font-size: 14px;
    margin: 5px 0;
    color: #ffffff;
    font-family: 'Lexend', sans-serif;
}

.result-item a {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #E7B783;
    color: #121212;
    text-decoration: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: bold;
    font-family: 'Lexend', sans-serif;
    transition: background-color 0.3s ease;
}

.result-item a:hover {
    background-color: #d6a66a;
}

.image-container {
    padding-top: 4%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@media screen and (max-width: 1500px) {
    h1{
        padding-top: 9%;
    }

    p{
        font-size : 14px;
    }
    h2{
        font-size : 30px;
    }
}

@media screen and (max-width: 1300px) {
    p{
        font-size : 14px;
    }

    h1{
        padding-top: 10%;
    }

    h2{
        font-size : 23px;
    }
}