h1{
    background-color: #606161    ;
}
/* ,rgb(153, 153, 153),rgb(110, 106, 106),rgb(83, 83, 83),rgb(94, 55, 5),rgb(218, 200, 178),rgb(199, 195, 191),rgb(32, 31, 30) */.card-image {
	display: block;
	min-height: 20rem; /* layout hack */
	background: #fff center center no-repeat;
	background-size: cover;
	filter: blur(3px); /* blur the lowres image */
}

.card-image > img {
	display: block;
	width: 100%;
	opacity: 0; /* visually hide the img element */
}

.card-image.is-loaded {
	filter: none; /* remove the blur on fullres image */
	transition: filter 1s;
}




/* Layout Styles */
body , html{
          font-family: 'Sniglet', cursive;
        }

.card-list {
	display: block;
	margin: 1rem auto;
	padding: 0;
	font-size: 0;
	text-align: center;
	list-style: none;
}

/* .card {position: relative;
            
            height: auto;
            width: 90%;
            
            margin: 1rem;
            font-size: 1rem;
            text-decoration: none;
            overflow: hidden;
            box-shadow: 0 0 3rem -1rem rgba(0,0,0,0.5);
            transition: transform 0.1s ease-in-out, box-shadow 0.1s;
        } */
        
        .card-body {
            padding: 15px;
            text-align: center; /* Centrer le texte */
        }
        
        .card-title {
            font-size: 16px;
            font-weight: bold;
            color: #333;
        }
        
        .card-text {
            font-size: 14px;
            color: #666;
        }
        .card{
            margin: 0.2rem;
        }
.card:hover {
	transform: translateY(-0.5rem) scale(1.0125);
	box-shadow: 0 0.5em 3rem -1rem rgba(0,0,0,0.5);
}

.card-description {
	display: block;
	padding: 1em 0.5em;
	color: #515151;
	text-decoration: none;
}

.card-description > h2 {
	margin: 0 0 0.5em;
}

.card-description > p {
	margin: 0;
}
        
        /* Couleurs principales */
        .primary-blue {
            color: #0056b3;
        }
        .bg-primary-blue {
            background-color: #0056b3;
        }
        .highlight-yellow {
            color: white;
        }
        .highlight-green {
            color: #4caf50;
        }
        /* Styles spécifiques */
        .banner {
            background: url('jeuxpage.png') center center / cover no-repeat;
            height: 100px;
            color: black;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        #search-section {
            display: none; /* Hide initially */
            transition: display 0.3s ease; /* Optional smooth transition */
        }
        .img-category {
        width: 100%; /* Makes the image full width of the card */
        height: 100%; /* Set a fixed height for the images */
        object-fit: cover; /* Ensures the image covers the space without distortion */
        display: block;
        object-position: center;
        }
        
.page {
            display: none;
        }
        .page.active {
            display: block;
        }
        h3{
            text-align:center;
        }
        
        .page, .page2, .page3 {
            display: none;
        }
        .active {
            display: block;
        }
        
        
        .product-card {
            border: 1px solid #ddd;
            border-radius: 8px;
            padding: 15px;
            text-align: center;
            height: 100%;
        }
        .product-image img {
            width: 100%;
            max-height: 200px;
            object-fit: contain;
        }
        .status-badge {
            background-color: #e0f3ff;
            color: #007bff;
            border-radius: 15px;
            padding: 5px 10px;
            font-size: 0.9rem;
            margin-bottom: 10px;
            display: inline-block;
        }
        .out-of-stock {
            background-color: #e8f5e9;
            color: #4caf50;
        }
        .product-title {
            font-weight: bold;
            margin: 10px 0;
            font-size: 1.1rem;
        }
       
        .product-link {
            color: #007bff;
            font-weight: 500;
            text-decoration: none;
        }
        .carousel-control-prev-icon,
        .carousel-control-next-icon {
            background-color: rgba(0, 0, 0, 0.2);
            border-radius: 50%;
        }
        .search-item {
    padding: 10px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

.search-item img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
    border-radius: 4px;
}

.search-item:last-child {
    border-bottom: none;
}
#search-input{
    height: 30px;
    width:580px;
    margin-left:825px;
    padding-right: 70px; 
}
#clear-icon {
    cursor: pointer;
    margin-top:28px;
    margin-right:120px;
    color: #888;
    font-size: 20px;
}
#search-results {
    margin-left:825px;
    position: absolute;
    top: 80px;
    width: 630px;
    max-width: 500px;
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 10;
}
/* .nav {
    list-style-type: none;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    padding: 10px;
    display: block;
    color: white;
} */

/* Dropdown menu style */
.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    list-style-type: none;
    padding: 0;
    margin: 0;
    background-color: #333;
}

.dropdown-link {
    text-decoration: none;
    padding: 10px;
    display: block;
    color: white;
    width: 150px;
}

.dropdown-link:hover {
    background-color: #555;
}

/* Show dropdown on hover */
.nav-item:hover .dropdown {
    display: block;
}


.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 colonnes */
    gap: 15px; /* Espace entre les images */
    padding: 15px;
}

.gallery-grid .card {
    position: relative;
            
            height: 380px;
            width: 90%;
            
            margin: 1rem;
            font-size: 1rem;
            text-decoration: none;
            overflow: hidden;
            box-shadow: 0 0 3rem -1rem rgba(0,0,0,0.5);
            transition: transform 0.1s ease-in-out, box-shadow 0.1s;
}

.gallery-grid .card:hover {
    transform: scale(1.05); /* Zoom au survol */
}

.gallery-grid img {
    width: 100%; /* Makes the image full width of the card */
        height: 100%; /* Set a fixed height for the images */
        object-fit: cover; /* Ensures the image covers the space without distortion */
        display: block;
        object-position: center;
}

.gallery-grid h3 {
    font-size: 18px;
            font-weight: bold;
            color: #333;
}


h1{
    
	font-weight: normal;
	font-size: 4em;
	font-family: 'Raleway', sans-serif;
	margin: 0 auto;
	margin-top: 30px;
	width: 500px;
	color: #F90;
	text-align: center;

}

#success-message {
  opacity: 0;
}

.col-xs-12.col-sm-12.col-md-12.col-lg-12 {
  padding: 0 20% 0 20%;
}

.margin-top-25 {
  margin-top: 25px;
}

.form-title {
  padding: 25px;
  font-size: 30px;
  font-weight: 300;
  font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
}

.form-group .form-control {
  -webkit-box-shadow: none;
  border-bottom: 1px;
  border-style: none none solid none;
  border-radius:0; 
  border-color: #000;
}

.form-group .form-control:focus {
	box-shadow: none;
  border-width: 0 0 2px 0;
  border-color: #000;
  
}

textarea {
  resize: none;
}

.btn-mod.btn-large {
    height: auto;
    padding: 13px 52px;
    font-size: 15px;
}

.btn-mod.btn-border {
    color: #000000;
    border: 1px solid #000000;
    background: transparent;
}

.btn-mod, a.btn-mod {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 4px 13px;
    color: #fff;
    background: rgba(34,34,34, .9);
    border: 1px solid transparent;
    font-size: 11px;
    font-weight: 400;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 2px;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    -webkit-transition: all 0.2s cubic-bezier(0.000, 0.000, 0.580, 1.000);
    -moz-transition: all 0.2s cubic-bezier(0.000, 0.000, 0.580, 1.000);
    -o-transition: all 0.2s cubic-bezier(0.000, 0.000, 0.580, 1.000);
    -ms-transition: all 0.2s cubic-bezier(0.000, 0.000, 0.580, 1.000);
    transition: all 0.2s cubic-bezier(0.000, 0.000, 0.580, 1.000);
}

.btn-mod.btn-border:hover, .btn-mod.btn-border:active, .btn-mod.btn-border:focus, .btn-mod.btn-border:active:focus {
    color: #fff;
    border-color: #000;
    background: #000;
    outline: none;
}

@media only screen and (max-width: 500px) {
    .btn-mod.btn-large {
       padding: 6px 16px;
       font-size: 11px;
    }
  
    .form-title {
        font-size: 20px;
  }
}

@media (min-width: 1200px) {
    .car-tm {
        min-width: calc(100% / 6); /* 6 images visibles */
    }
}

@media (max-width: 1200px) {
    .car-tm {
        min-width: calc(100% / 3); /* 3 images visibles */
    }
}

@media (max-width: 768px) {
    .car-tm {
        min-width: calc(100% / 2); /* 2 images visibles */
    }
}

@media (max-width: 480px) {
    .car-tm {
        min-width: 100%; /* 1 image visible */
    }

    #details-img {
        max-width: 300px; /* Réduction de la taille de l'image de la page 3 */
    }
}
#details-img {
    width: 100%;
    height: auto;
    max-width: 600px; /* Vous pouvez ajuster la largeur si nécessaire */
    
     /* Espacement sous l'image */
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.pagination-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    
}

.pagination-buttons button {
    background: none;
    border: none;
    font-size: 2rem;
    color: #007BFF;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
}

.pagination-buttons button:hover:not(:disabled) {
    color: #0056b3;
    transform: scale(1.2);
}

.pagination-buttons button:disabled {
    color: #ccc;
    cursor: not-allowed;
    transform: none;
}

