* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
}

.general {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

main {
    flex: 1; /* Le contenu principal occupe l'espace disponible */
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

/** HEADER **/
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #2c3e50;
    padding: 10px 20px;
}

.navbar a {
    color: #ecf0f1;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 16px;
    transition: background-color 0.3s;
}

.navbar a:hover {
    background-color: #34495e;
}

/* Search bar styling */
.search-bar {
    display: flex;
    align-items: center;
}

.search-bar input[type="text"] {
    padding: 8px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
}

.search-bar button {
    padding: 8px 12px;
    margin-left: 5px;
    background-color: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-bar button:hover {
    background-color: #c0392b;
}

/** MAIN **/


/** FOOTER **/
footer {
    background-color: #2c3e50;
    color: white;
    padding: 0px 10px;
    bottom: 0;
    left: 0;
    right: 0;
    margin-top: 20px;
}

.footer-container {
    display: flex;
    justify-content: space-evenly;
    position: relative;
    margin: 0 auto;
    bottom: 0;
    left: 0;
    right: 0;
}

.co {
    color: grey;
}

.footer-item {
    margin-bottom: 10px;
}

.footer-item h2 {
    font-size: 25px;
    margin-bottom: 25px;
    text-align: center;
}

.footer-item p,
.footer-item ul {
    margin-bottom: 15px;
    font-family: 'apple', Arial, Helvetica, sans-serif;
}



.footer-item ul li a {
    color: #ffffff;
    text-decoration: none;

}

.footer-item ul li a:hover {
    color: #A79E9E
;
}

footer .social-icons {
    margin-top: 25px;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

footer .social-icons a {
    width: 45px;
    height: 45px;
    background-color: white;
    color: #ffffff;
    text-align: center;
    margin-right: 8px;
    margin-bottom: 5px;
    border-radius: 5px;
}

footer .social-icons img {
    margin-top: 2px;
    width: 40px;
    height: 40px;
}

footer .social-icons a:hover {
    background-color: #A79E9E;
}
