/* CSS Reset */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Altro CSS */
body{
    background-color: #000;
    color: #0f0;
    font-family: Arial, sans-serif;
    text-align: center;
    padding: 50px 0;
}
header{
    color: rgb(0,225,0);
    font-size: 60px;
    font-weight: bold;
    margin-top: 50px;
    padding: 5px;
    padding-bottom: 1px;
    width: 100%;
}
footer{
    position: fixed;
    color: gray;
    background-color: #000;
    border-radius: 10px 0 0 0;
    font-size: 15px;
    bottom: 1px;
    right: 1px;
    padding: 2px;
}
.homepage-btn{
    background-color: #0f0;
    cursor: pointer;
    border: 1px solid #333;
    border-radius: 20px;
    padding: 5px;
    position: absolute;
    left: 2%;
    top: 2%;
}
img{
    display: none;
}
h3{
    font-size: 18px;
    margin-bottom: 25px;
}
ul{
    margin-top: 50px;
    list-style-type: square;
    padding-left: 50px;
    font-size: 16px;
}
li{
    margin-bottom: 20px;
}
p{
    font-size: 16px;
    margin: 20px 0;
}
hr{
    border: #0f0 solid 2px;
    border-radius: 2px;
    margin: 50px 0;
}
strong{
    font-size: 1.5em;
    font-weight: bold;
    font-style: italic;
    color: #0f0;

}
.container {
    background-color: #333;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    text-align: left;
    margin: 0 auto;
    margin-top: 40px;
    padding: 50px;
    width: 80%;
}
.titolo-categoria{
    font-size: 40px;
    font-weight: bold;
    color: rgb(0, 200, 0);
    margin-bottom: 40px;
}
.titolo-sottocategoria{
    font-size: 30px;
    font-weight: bold;
    color: rgb(0,200,0);
    margin-bottom: 50px;
}


/*----------  Style per le categorie  --------*/
.dropdown {
    position: fixed;
    top: 80px;
    right: 0;
    width: 150px;
}
.dropbtn {
    background-color: #333;
    color: rgb(0,200,0);
    position: fixed;
    top: 0;
    right: 0;
    border: 1px solid #000;
    padding: 16px;
    font-size: 20px;
    cursor: pointer;
    height: 80px;
    width: 150px;
}
.dropdown-content {
    background-color: #4d4d4d;
    position: absolute;
    border: 1px solid #000;
    border-radius: 0 0 0 10px;
    display: none;
    width: 100%;
    padding: 2px;
}
.dropdown:hover .dropdown-content {
    display: block;
}
.dropdown-content a {
    display: block;
    padding: 12px 16px;
    text-decoration: none;
    color: black;
}
.dropdown-content a:hover {
    transition: 500ms;
    background-color: #0f0;
}
.dropdown-content a:not(:last-child) {
    margin-bottom: 10px;
}
.a-categorie {
    border-radius: 8px;
    border: 2px solid #88888855;
    background-color: #88888822;
}
.up-btn{
    display: flex;
    justify-content: center;
    text-align: center;
    color: #0f0;
    background-color: #222;
    border: #000 solid 2px;
    box-shadow: 0 0 20px #0f0;
    border-radius: 10px;
    text-decoration: none;
    font-size: 20px;
    cursor: pointer;
    width: 20px;
    height: 20px;
    margin: 20px auto;
}

/* Ridimensionamenti */
@media only screen and (max-width: 900px) {
    header{
        font-size: 50px;
    }
    .titolo-categoria{
        font-size: 35px;
    }
    .titolo-sottocategoria{
        font-size: 25px;
    }
    strong{
        font-size: 20px;
    }
}
@media only screen and (max-width: 750px) {
    .dropdown{
        font-size: 10px;
        width: 100px;
        top: 70px;
    }
    .dropbtn{
        font-size: 15px;
        width: 100px;
        height: 70px;
    }
    .container{
        width: 90%;
    }
    .titolo-sottocategoria{
        font-size: 20px;
    }
}
@media only screen and (max-width: 600px) {
    .homepage-btn{
        scale: 0.9;
    }
    .container{
        box-shadow: 0 0 30px rgba(0, 255, 0, 0.6);
        border: #000 solid 1px;
        width: 95%;

    }
    ul{
        margin-left: -20px;
    }
}
@media only screen and (max-width: 500px) {
    header{
        font-size: 40px;
    }
}
@media only screen and (max-width: 400px) {
    ul{
        margin-left: -40px;
    }
}
