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

/* Stile generale */
body {
    font-family: Arial, sans-serif;
    background-color: #333;
    color: #0f0;
}

/* Header */
header{
    background-color: #444;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 9999;
}
.btn-homepage{
    display: block;
    position: absolute;
    color: #000;
    top: 0;
    left: 0;
    text-align: center;
    font-size: 10px;
    width: 90px;
    height: 100px;
    padding: 10px;
}
.btn-homepage img{
    display: block;
    cursor: pointer;
    border: #000 solid 4px;
    border-radius: 18px;
    height: 70px;
    margin-bottom: 4px;
}
.btn-homepage img:hover{
    transition: 0.5s;
    transition-delay: 0.2s;
    border: #0f0 solid 1px;
}
.txt-header{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 100%;
    margin-left: 150px;
    padding: 10px;
    font-size: 40px;
}
.txt-header a{
    text-decoration: none;
    color: #0f0;
}
.txt-header p{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
}
.txt-header p a:hover{
    text-decoration: underline;
}
.txt-header p span{
    display: none;
    cursor: default;
    text-decoration: none !important;
}

/* Categorie */
.category_btn_container{
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #000;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
.category_btn{
    background-color: rgb(100, 255, 100);
    border: #000 solid 2px;
    box-shadow: 3px 3px 5px #0f0;
    border-radius: 10px;
    cursor: pointer;
    width: 500px;
    margin: 20px;
    padding: 5px;
    transition: 500ms;
}
.category_btn:hover{
    box-shadow: 0px 0px 5px #0f0;
}
.category_title{
    font-size: 30px;
    text-align: center;
    margin-top: 150px;
    margin-bottom: 50px;
}

.services_container {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.products_container a,
.services_container a{
    text-decoration: none;
    color: #0f0;
}
.service {
    margin: 20px 0;
    padding: 30px;
    background-color: #000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    transition: 200ms;
}
.service:hover{
    padding-left: 40px;
}
.service h2 {
    margin-top: 0;
    color: #0f0;
}
.service p {
    line-height: 1.6;
}

.products_container{
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.products_container div{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}
.products_container hr{
    border: #0f0 solid 1px;
    margin: 20px 0;
}
.products_subcategory_container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 15px;
    overflow: hidden;
    background-color: #444;
    border: #000 solid 2px;
    border-left: 0;
    border-radius: 0 0 10px 0;
    position: fixed;
    top: 100px;
    left: 0;
    width: 130px;
    height: 20px;
    padding: 10px 10px 10px 30px;
    transition: 500ms;
}
.products_subcategory_container:hover{
    height: 110px;
}
.products_subcategory_container ul{
    margin-top: 5px;
}
.products_subcategory_container ul li{
    list-style: circle;
    margin-top: 5px;
}
.products_subcategory_container li:hover{
    list-style: disc;
}
.product{
    cursor: pointer;
    text-align: center;
    background-color: #222;
    box-shadow: 10px 10px 5px rgba(0, 0, 0);
    border-radius: 20px;
    margin: 20px;
    padding: 10px;
    width: 200px;
    transition: 500ms;
}
.product:hover{
    background-color: #000;
    box-shadow: 0 0 5px rgba(0, 0, 0);
}
.product a{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.product img{
    border: #000 solid 2px;
    border-radius: 30px;
    width: 100%;
    margin-bottom: 5px;
    transition: 500ms;
}
.product img:hover{
    border-radius: 15px;
    border: #0f0 solid 2px;
}
.product span{
    color: #ffffff70;
    margin-top: 5px;
}

/* Footer */
footer {
    background-color: #333;
    color: #999;
    font-size: 15px;
    text-align: right;
    padding: 10px 0;
    margin-top: 20px;
    margin-right: 5px;
}
footer p {
    margin: 0;
}

/* Ridimensionamenti width */
@media only screen and (max-width: 1300px) {
    .product{
        width: 180px;
    }
}
@media only screen and (max-width: 1200px){
    header{
        height: 80px;
    }
    .btn-homepage{
        height: 80px;
        width: 72px;
        padding: 8px;
    }
    .btn-homepage img{
        height: 56px;
        margin-bottom: 3px;
    }
    .txt-header{
        font-size: 30px;
        margin-left: 100px;
    }
    .products_subcategory_container{
        font-size: 14px;
        top: 80px;
    }
    .products_subcategory_container:hover{
        height: 100px;
    }
}
@media only screen and (max-width: 600px) {
    .category_btn{
        width: 350px;
    }
}
@media only screen and (max-width: 500px) {
    header{
        height: 60px;
    }
    .btn-homepage{
        cursor: default;
        width: 60px;
        height: 60px;
        padding: 5px;
    }
    .btn-homepage:hover{
        background-color: #444;
    }
    .btn-homepage img{
        height: 53px;
        cursor: pointer;
        border: #000 solid 3px;
        border-radius: 15px;
    }
    .btn-homepage span{
        display: none;
    }
    .txt-header{
        font-size: 25px;
        margin-left: 70px;
    }
    .txt-header p span{
        display: none;
    }
    .products_subcategory_container{
        font-size: 12px;
        top: 60px;
        width: 100px;
        height: 20px;
        padding: 10px;
        padding-left: 20px;
    }
    .products_subcategory_container:hover{
        height: 80px;
    }
    .product{
        font-size: 12px;
        width: 150px;
        min-height: 220px;
        margin: 10px;
    }
}
