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

.recherche {
    margin-bottom: 15px;
}

main {
    padding: 20px;
}


/* header / footer */

.header-image {
    background-size: cover;
    background-position: center;
    padding: 40px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    display: flex;
    justify-content: space-between;
    list-style: none;
    margin-top: 15px;
    margin-left: 5px;
    margin-right: 5px;
}

nav ul li {
    margin: 0 20px;
}

nav ul li a {
    text-decoration: none;
    color: black;
    position: relative;
    padding: 5px 0;
    display: block;
    text-align: center;
}


nav ul li a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 8px;
    /*  https://getwaves.io/ */
    background: url('data:image/svg+xml;utf8,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 1440 320%22><path fill=%22%230099ff%22 fill-opacity=%221%22 d=%22M0,64L26.7,90.7C53.3,117,107,171,160,208C213.3,245,267,267,320,256C373.3,245,427,203,480,176C533.3,149,587,139,640,128C693.3,117,747,107,800,117.3C853.3,128,907,160,960,149.3C1013.3,139,1067,85,1120,90.7C1173.3,96,1227,160,1280,165.3C1333.3,171,1387,117,1413,90.7L1440,64L1440,320L1413.3,320C1386.7,320,1333,320,1280,320C1226.7,320,1173,320,1120,320C1066.7,320,1013,320,960,320C906.7,320,853,320,800,320C746.7,320,693,320,640,320C586.7,320,533,320,480,320C426.7,320,373,320,320,320C266.7,320,213,320,160,320C106.7,320,53,320,27,320L0,320Z%22></path></svg>') repeat-x;
    bottom: -3px;
    left: 0;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

nav ul li a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.space {
    height: 20px;
}

footer {
    height: 150px;
    background-color: pink;
    color: grey;
    margin: 0;
    text-align: right;
    padding: 20px;
}



/* logo et slogan */

.logo-slogan {
    background-color: pink;
    padding: 50px 20px;
    text-align: center;
    margin: 20px 0;
}

.logo-slogan h1 a {
    text-decoration: none;
    color: black;
}

.logo-slogan div {
    color: grey;
}








/* Tabs */

.tab-button {
    cursor: pointer;
    background-color:  pink;
    color: grey;
    padding: 5px 10px;
    margin-right: 2px;
}

.selected-tab-button {
    background-color: grey;
    color:  pink;
}

.tab-content {
    display: none;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 5px;
}

.img-responsive {
    max-width: 100%;
    height: auto;
    display: block;
    padding-top: 15px;
    padding-bottom: 15px;
}


/* articles */


.article-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
}

h2 {
    text-align: center;
    margin-bottom: 20px;
}

article {
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 10px;
    max-width: 800px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

article img.fluid {
    width: 400px;
    height: auto;
    margin-right: 20px;
}

article div {
    flex: 1;
}

article a {
    margin-top: 50px;
    font-size: 18px;
    color: blue;
    text-decoration: none;
    transition: color 0.3s;
}

article a:hover {
    color: pink;
}


/* emplacements */

.img-responsive2 {
    width: 150px;
    height: auto;
    padding-left: 50px;
}

.titre-emplacement {
    padding-right: 100px;
}

.lien-emplacement {
    margin-left: 50px;
}

.description-emplacement {
    margin-left: 50px;
}

.conteneur-emplacement {
    display: flex;
    justify-content: center;
}



/* accueil */

.img-accueil {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.presentation-item {
    border: 1px solid grey;
    border-radius: 8px;
    padding: 16px;
    margin: 16px 0;
    transition: box-shadow 0.3s ease-in-out;
}

.presentation-item:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}






@media (max-width: 768px) {

    /* header */

    nav ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 0;
        padding: 0;
    }

    .space {
        height: 125px;
    }

    nav ul li a {
        display: inline-block;
    }

    /* articles */

    article {
        flex-direction: column;
        align-items: center;
    }

    /* emplacements */

    .titre-emplacement {
        padding-right: 0;
    }

    .img-responsive2 {
        padding-left: 0;
    }

    .description-emplacement {
        margin-left: 0;
    }
}