*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



/*******DEFINIZIONE ELEMENTI BASE*************/

body {
    font-family: 'Ubuntu', sans-serif;
    font-size: 100%;
}

h1 {
    font-size:32px;
    font-weight: 800;
    line-height: 45px;
}

h2 {
    font-size: 22px;
    font-weight: 800;
    line-height: 25px;
    text-align: center;
}

p {
    font-size: 16px;
    font-weight: 400;
}


a {
    font-size: 18px;
    font-weight: 400;
    text-decoration: none;
    margin: auto;
    color: limegreen;
}

img {
    margin: 20px;
    width: 100px;
    height: 100px;
    mix-blend-mode: multiply; /*Rende il background trasparente*/
}



link:hover {
    color: limegreen;
}

button {
    background-color: limegreen;
    color: white;
    font-size: 18px;
    font-weight: 400;
    padding: 10px 16px;
    border: solid;
    border-color: limegreen;
    border-radius: 15px;
    margin: 16px;
    transition: all 0.3s ease 0s;
}

button:hover {
    background-color: white;
    color: limegreen;
    cursor: pointer;
}

/*************************************************************/



/*********************** MAIN SECTION ***********************/
/*La main section è la section che contiene le 5 card statiche della pagina*/

.mainSection {
    display: flex;
}

.cardUser {
    /*Card user, card statica che contiene le info dell'utente*/
    max-width:20%;
    margin: 20px;
    border-radius: 20px;
    padding: 20px;
    background-color: #f1f1f1;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items:center;
}


.divEquipaggiamento {
    /*Questo div contiene le 4 card statiche della pagina*/
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}


.cardEquipaggiamento {
    width: 100%;
    margin: 20px;
    text-align: left;
    background-color: #f1f1f1;
    border-radius: 20px;
    padding: 20px;
}


.cardCategoria {
    /*Card che serve per la scelta della categoria dei prodotti da mostrare*/
    margin: 20px;
    background-color: #f1f1f1;
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}


@media screen and (max-width: 768px) {
    .mainSection{
        flex-direction: column;
    }
    .cardUser{
        max-width: 100%;
    }
}

@media screen and (min-width:1024px) {
    .cardCategoria {
        width: 28%;
    }
}


.cardCategoria p {
    flex-grow: 1;
}


/*******************************************************************/

/***********************BOTTOM SECTION******************************/
/*La bottomSection contiene le card dinamiche dei prodotti, quando scelgo una categoria
questa section mi mostra i prodotti in base alla categoria scelta*/


.bottomSection {
    width: 100%;
    display: none;
    flex-wrap: wrap;
    justify-content: space-between;
}



.cardProdotto {
    /*Card dinamica per mostrare il prodotto in base alla categoria scelta*/
    min-width: 50%;
    background-color: #f1f1f1;
    border-radius: 20px;
    margin: 20px;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    flex-grow: 1;
}

@media screen and (min-width: 768px) {
    .cardProdotto{
        min-width: unset;
    }
}



.cardProdotto a {
    background-color: limegreen;
    color: white;
    font-size: 18px;
    font-weight: 400;
    padding: 10px 16px;
    border: solid;
    border-color: limegreen;
    border-radius: 15px;
    margin: 16px;
    transition: all 0.3s ease 0s;
}

a:hover {
    background-color: white;
    color: limegreen;
    cursor: pointer;
}

/********************************************************************/