/*light*/
:root
{
    --gruppo-title-font-color: var(--logo-color-2);
    --gruppo-title-border-color: var(--logo-color-2);
    --sezione-item-font-color: var(--logo-color-1);
    --sezione-item-background: #ddd;
    --sezione-item-background-hover: #71a5b9;
    --sezione-item-font-color-hover: white;
    --sezione-item-fav-font-color: var(--logo-color-1);
    --sezione-item-fav-background: #ebcf5350;
    --sezione-item-fav-font-color-hover: var(--logo-color-1);
    --sezione-item-fav-background-hover: rgba(230, 199, 61, 0.658);
    --logo-color: var(--logo-color-1);
}
/*dark*/
[data-theme="dark"]
{
    --gruppo-title-font-color: var(--logo-color-2);
    --gruppo-title-border-color: var(--logo-color-2);
    --sezione-item-font-color: #ddd;
    --sezione-item-background: rgba(92, 92, 92, 0.635);
    --sezione-item-background-hover: var(--logo-color-2);
    --sezione-item-font-color-hover: white;
    --sezione-item-fav-font-color: white;
    --sezione-item-fav-background: #ebcf5350;
    --sezione-item-fav-font-color-hover: white;
    --sezione-item-fav-background-hover: rgba(230, 199, 61, 0.658);
    --logo-color: var(--logo-color-2);
}
@media (min-width:0px)  {:root{--sezioni-container-width: 90vw;}} /* smartphones, iPhone, portrait 480x320 phones */ 
@media (min-width:320px)  {:root{--sezioni-container-width: 90vw;}} /* smartphones, iPhone, portrait 480x320 phones */ 
@media (min-width:481px)  {:root{--sezioni-container-width: 80vw;}} /* portrait e-readers (Nook/Kindle), smaller tablets @ 600 or @ 640 wide. */ 
@media (min-width:641px)  {:root{--sezioni-container-width: 80vw;}} /* portrait tablets, portrait iPad, landscape e-readers, landscape 800x480 or 854x480 phones */ 
@media (min-width:961px)  {:root{--sezioni-container-width: 50vw;}} /* tablet, landscape iPad, lo-res laptops ands desktops */ 
@media (min-width:1025px) {:root{--sezioni-container-width: 50vw;}} /* big landscape tablets, laptops, and desktops */ 
@media (min-width:1281px) {:root{--sezioni-container-width: 50vw;}} /* hi-res laptops and desktops */ 
@media (min-width:1800px) {:root{--sezioni-container-width: 50vw;}} /* hi-res laptops and desktops */ 
@media (min-width:2000px) {:root{--sezioni-container-width: 50vw;}} /* hi-res laptops and desktops */ 
.logo-container
{
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    height: 7rem;
    max-height: 7rem;
    min-height: 7rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.logo-container i
{
    color: var(--logo-color);
    font-size: 6rem;
}
.homepage-outer-container
{
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 2rem;
    margin-top: 1rem;
    flex: 1;
    overflow: hidden;
}
.sezioni-container
{
    width: var(--sezioni-container-width);
    min-width: var(--sezioni-container-width);
    max-width: var(--sezioni-container-width);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    overflow: hidden;
    box-sizing: border-box;
    overflow-y: auto;
    overflow-x: hidden;
}
.gruppo-outer-container
{
    width: calc(100% - 1.6rem);
    min-width: calc(100% - 1.6rem);
    max-width: calc(100% - 1.6rem);
    margin: 0.8rem;
    border: .15rem solid var(--gruppo-title-border-color);
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}
.gruppo-outer-container:first-child
{
    margin-top: 0.3rem;
}
.gruppo-outer-container:last-child
{
    margin-bottom: 0;
}
.gruppo-title-container
{
    background-color: var(--body-background);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    height: 1rem;
    min-height: 1rem;
    max-height: 1rem;
    box-sizing: border-box;
    padding-left: 0.4rem;
    padding-right: 0.4rem;
    padding-bottom: 0.2rem;
    margin-left: 0.8rem;
    margin-right: 0.8rem;
    margin-top: -0.5rem;
    overflow: hidden;
}
.gruppo-title-span
{
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    font-size: 0.8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
    color: var(--gruppo-title-font-color);
    text-transform: uppercase;
    letter-spacing: .1rem;
}
.gruppo-inner-container
{
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    box-sizing: border-box;
    padding: 0.4rem;
    padding-top: 0rem;
}
.sezione-item
{
    text-decoration: none;
    margin: 0.4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    color: var(--sezione-item-font-color);
    background-color: var(--sezione-item-background);
    height: 6rem;
    width: 6rem;
    overflow: hidden;
    border-radius: 0.6rem;
    box-sizing: border-box;
    padding: 0.4rem;
    transition: 0.3s cubic-bezier(.25,.8,.25,1);
}
.sezione-item-fav
{
    color: var(--sezione-item-fav-font-color);
    background-color: var(--sezione-item-fav-background);
}
.sezione-item:hover
{
	box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22);
    color: var(--sezione-item-font-color-hover);
    background-color: var(--sezione-item-background-hover);
}
.sezione-item-fav:hover
{
    color: var(--sezione-item-fav-font-color-hover);
    background-color: var(--sezione-item-fav-background-hover);
}
.sezione-item-icon
{
    font-size: 1.5rem;
}
.sezione-item-span
{
    font-family: 'Montserrat', sans-serif;
    font-weight: normal;
    font-size: 0.8rem;
    word-wrap: break-word;
    text-align: center;
}