

.category-page {
   display: flex;
   flex-wrap: wrap;
   justify-content: space-between;
}

.category-page p {font-size:110%; margin-bottom:20px;}

.category-page h2 {font-size: 18px;line-height: 1;margin-bottom: 10px;}

.category-page h2.header {width:100%; text-align:center; font-size:180%;margin-bottom:20px;}

.category-page div {
    width: 32%;
    text-align: center;
    border-radius: 15px;
    position: relative;
    margin-bottom: 28px;
}


.category-page div.four {
    width: 22%;

}


.category-page div img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-page div:hover img {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.category-page div span {display:block;position: absolute;bottom: 20px;padding: 14px;width: 50%;margin: 0px 25%;background: #fff;opacity: 0.95;border-radius: 20px;font-weight: bold;font-size: 140%;line-height: 100%;}


.category-page section {background: #f4f1ee;border-radius: 15px;padding: 30px;margin-top: 10px;box-sizing: border-box;}
        



@media only screen and (max-width: 479px) {

  .category-page div {
    width: 48%;
    margin-bottom: 15px;
  }

  .category-page div span {
    width: 70%;
    margin: 0px 15%;
    font-size: 130%;
    bottom: 10px;
    padding: 8px;
  }


.category-page h2 {font-size: 15px;line-height: 1;margin-bottom: 5px;}

.category-page p {font-size:120%; margin-bottom:20px;}
    
}
