@font-face {
    font-family: 'minimal';
    src: url('minimal.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'minimal', sans-serif;
    max-width: 100%;
}

html, body {
    height: 100%;
    width: 100%;
    background-color: #f9f3f4;
    overflow-x: hidden;
    padding-top: 60px;
    font-size: 16px; 
    line-height: 1.6;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center; /
}

.navbar {
    background-color: rgba(249, 243, 244, 0.8) !important;
    padding: 10px 0;
    z-index: 1000;
    width: 100%;
}

.navbar-nav {
    display: flex;
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
}

.navbar-brand {
    color: #8C3052;
    font-weight: 600;
}

.nav-link {
    color: #8C3052;
    margin: 0 15px;
    font-weight: 500;
    text-transform: uppercase;
    transition: all 0.3s ease-in-out;
}

.nav-link:hover, .nav-link.active {
    color: #360a1b;
    border-bottom: 2px solid #8C3052;
}

.navbar-toggler {
    border: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

#imgaccueil {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: contain; 
    object-position: center; 
}






table {
    width: 100%;
    margin: 20px auto;
    border-collapse: collapse;
    text-align: center;
    table-layout: fixed;
}

td {
    padding: 20px;
    border: none;
    text-align: center;
    vertical-align: middle;
    width: 100%; 
    box-sizing: border-box;
}

td img {
    width: 100%;
    max-height: 300px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 10px;
}

td p {
    margin-top: 10px;
    font-size: 18px;
    color: #333;
    font-weight: bold;
}


@media (min-width: 576px) {
    body {
        font-size: 18px; 
    }

    .navbar-nav {
        justify-content: space-between;
    }

    .nav-link {
        padding: 10px 15px;
    }

    #imgaccueil {
        height: auto;
        padding: 20px 0;
    }

    #imageaccueil {
        width: 100%;
        height: auto;
    }

    .tabfleur {
        height: 40vh;
    }
}

@media (min-width: 768px) {
    body {
        font-size: 20px; 
    }

    td {
        width: 50%;
    }

    #imgaccueil {
        height: 80vh;
    }

    .navbar-nav {
        justify-content: space-between;
    }

    .nav-link {
        padding: 10px 20px;
    }
}

@media (min-width: 1024px) {
    body {
        font-size: 22px; 
    }

    td {
        width: 33%;
    }

    #imgaccueil {
        height: 70vh;
    }

    .navbar-nav {
        justify-content: space-between;
    }

    .nav-link {
        padding: 15px 20px;
    }
}

#page-recherche {
    background-image: url('/images/background-recherche.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; 
    min-height: 100vh;
}
