
:root {
    --primary: #2C3E50;
    --secondary: #7F8C8D;
    --accent: #3498DB;
    --background: #ECF0F1;
    --text: #7b8894;
    --highlight: #B8A27A;
    --blanc: #ffffff;
}


* {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background-color: var(--background);
}


.header-bleu,
.footer-bleu {
    display: flex;
    align-items: center;
    background-color: var(--primary);
    height: 110px;
    clear: both;

}

.header-bleu {
    display: flex;
    padding: 10px 20px;
}

.footer-bleu {
    gap: 70px;
    padding-inline: 5%;
    color: var(--blanc);
}



.header-bleu a {
    color: var(--background);
}


.search-container {
    display: flex;
    flex-grow: 1;
    margin: 0 40px;
    border-radius: 4px;
    overflow: hidden;
}

.search-container input {
    width: 100%;
    padding: 12px;
    border: none;
    outline: none;
    background-color: var(--blanc);
}

.search-btn {
    border: none;
    padding: 0 15px;
    cursor:crosshair;
    background-color: var(--background);
}


.logo img{
    width: 50px;
    height: 50px;
    animation: spin 3s linear infinite;
    transition: scale 0.3s;
}

.logo:hover img {
    animation: none;
    transform: rotate(0deg);
    scale: 1.3;
}


.cotegauche{

    width: 400px;
    height: auto;
    float: left;
    margin-right: 15px;

}

.cotedroit {
    width: 60%;       
    float: right;      
    margin-right: 15px;
}

.cotedroitar {
    width: 60%;       
    float: right;      
    margin-right: 15px;
}


h1 {
    margin-bottom: 20px;
    color: var(--accent);
}

h2 {
    margin-bottom: 15px;
    color: var(--secondary);
}

h3 {
    color: red;
}

#tktfrr {
    text-align: center;
    margin: 0 auto;
    background-color: var(--primary);
    height: 120px;
}

#tktfrr h1 {
    font-size: 50px;
    font-family: "Comic Sans MS", cursive;
}


nav {
    display: flex;
}

nav ul li {
    list-style: none;
    display: inline-block;
}

nav ul li a .nav-txt{
    font-family: 'Montserrat', sans-serif;
    margin-right: 15px;
    padding: 10px;
    border: 2px solid var(--highlight);
    border-radius: 10px;
    transition: all 0.3s;
}

nav ul li:hover a .nav-txt{
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}


.produits-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
}

.produits-container a {
    text-decoration: none;
    color: inherit;
}

.produits-container a:hover {
    text-decoration: underline solid var(--accent) !important;
}

.produit {
    padding: 40px 20px;
    margin: 0 auto;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-align: center;
    box-sizing: border-box;
}

.produits-container .produit {
    flex: 1 1 calc(20% - 20px);
    max-width: calc(20% - 20px);
}

.produit img {
    width: 300px;
}

.produits-container .produit img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 10px;
}

.prix {
    margin-top: 16px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--accent);
}


.conteneur {
    max-width: 1200px;
    min-width: 100vh;
    margin: 0 auto;
    padding: 20px;
    min-height: calc(100vh - 400px);
}


p {
    color: var(--text);
    line-height: 1.6;
}

a {
    color: var(--highlight);
    text-decoration: none;
}

details {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid var(--secondary);
    border-radius: 8px;
    background-color: var(--blanc);
    transition: all 0.3s;
    cursor:crosshair;
}

details:hover {
    transform: scale(1.1);
    border-color: var(--accent);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

details summary {
    font-weight: bold;
    color: var(--primary);
    padding: 5px 0;
}

details summary:hover {
    color: var(--accent);
}

details p {
    border-top: 1px solid var(--background);
}


.avis-client {
    border: 1px solid var(--primary);
    margin: 20px;
    padding: 20px;
}


#erreur {
    border: 5px solid red;
}


@keyframes spin {
    from {
        transform: rotate3d(1, 1, 1, 0deg);
    }
    to {
        transform: rotate3d(1, 1, 1, 360deg);
    }
}

@keyframes slide {
    from {
        background-position: 0px;
    }
    to {
        background-position: 1000px;
    }
}

.categorie {
    display: flex;
    align-items: center;
    justify-content: center;
}

.categorie img {
    width: 100px;
    height: 100px;
    margin: 0 10px;
    border-radius: 4px;
}