@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

body {
    font-family: 'Montserrat';
  
}

header {
    width: 100%;
}

header h1 {
    text-align: center;
}



.photo{
    display: flex;
    flex-wrap: wrap;
    padding: 10px;
    justify-content: center;
    flex-direction: row;
}

.photo img {
    border-radius:15px;
    display: block;
    width: 20%;
    height: auto;
    margin-bottom: 5px; 
    transition: 1s ease
}


.photo p {
    text-align: center;
    font-size: 14px;
    color: #333;
    margin: 0;
    width: 100%; 
}

#filter-select,#subcategory-select {
    border-radius: 15px;
    height: 30px;
    font-family: 'Montserrat';
    font-size: 12px;
}



.image-card {
    width: 250px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    background-color: #ffffff;
    padding : 10px;
}


.image-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}


.image-card:hover img {
    transform: scale(1.1);
}


.image-card p {
    padding: 15px;
    margin: 0;
    text-align: center;
    font-weight: bold;
    color: #333;
 
}

/* Effet de survol sur la carte */
.image-card:hover {
    transform: translateY(-10px);
}

@media only screen and (max-width: 600px) {
  h1 {
   font-size : 14px;
  }
  
  #filter-select,#subcategory-select {
     display : flex;
     flex-direction : column;
     width : 70%;
     
  }
  
}


.image-item-card {
    width: 280px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    background-color: #ffffff;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    padding : 15px;
}


.image-item-card .image-item {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}


.image-item-card:hover .image-item {
    transform: scale(1.05);
}


.image-item-card p:first-of-type {
    font-weight: bold;
    font-size: 1.2em;
    color: #333;
    padding: 10px 15px;
    margin: 0;
    background-color: #f4f4f4;
    text-align: center;
}


.image-item-card p:last-of-type {
    font-size: 0.9em;
    color: #666;
    padding: 10px 15px;
    margin: 0;
    text-align: center;
    background-color: #f9f9f9;
}


.image-item-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}



