/* Stile di base per la container */
.container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    width: 56%;
    /* max-width: 1200px; */
    margin: 0 auto;
    margin-bottom: 15px;
}

h2{
    font-size: 23px;
}

.categoria{
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: black;
    font-size: 22px;
    margin: 30px 0px 10px 22px;
    text-align: left;
}

/* Stile per le colonne */
.column img {
    width: 85%;
    height: auto;
    display: block;
    border-radius: 5px; /* Arrotondamento degli angoli */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Ombra */
    transition: transform 0.3s ease; /* Animazione per effetto hover */
}

/* Effetto hover */
.column img:hover {
    transform: scale(2.0); /* Ingrandimento leggero dell'immagine */
}

.buttonsi{
    font-size: 14px;
    width: auto;
    height: 25px;
    padding: 10px 5px 0px 5px;
    background-color: whitesmoke;
    color: #7b1b02;
    text-decoration: none;
    display: inline-block;
    border: 1px solid #7b1b02;
    border-radius: 6px;
    cursor: default;
}
.buttonsi:hover {
    background-color: #7b1b02;
    color: whitesmoke;
    transition-property:all; transition-duration: 0.5s; transition-timing-function: ease;
    cursor: pointer;
}


/************ SMARTPHONE ******************/
@media only screen and (max-width: 767px) {
    .container {
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
    }
    .column img{
        width: 95%;
    }

    /* Effetto hover */
    .column img:hover {
    transform: none; 
    }
}

/*********************** TABLET *********************************/
@media only screen and (min-width: 768px) and (max-width: 1024px){
    .container {
        /* display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 5px;
        margin: 0 auto;
        margin-bottom: 15px; */
        width: 95%;
    }
    .column img{
        width: 75%;
    }

}
