#main-section{
    min-height: 350px;
    height: calc(100vh - 230px) !important;
    display: flex;
    background-image: url("/static/img/copertina.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#main-section .section{
    display: flex;
    margin-top: 0;
}

#main-section-title{
    width: 100%;
    text-align: center;
    flex: 1;
}


.b-animated{
    position: absolute;
    top: -200px;
    justify-content: center;
    width: 100%;
    left:0;
    right: 0;
    align-items: center;
    flex-direction: column;
}

.b-animated img{
    height: 50px;
    width: auto;
}




.b-animated .icon-container{
    width: 100%;
    flex: 1;
    text-align: center;
}

.b-animated .text-container{
    width: 100%;
    flex: 1;
    text-align: center;
    margin-top: 10px;
    color: white;
}

.b-animated .text-container span{
    position: absolute;
    right: 0;
    left: 0;
    text-transform: uppercase;
    opacity: 1;
    transition: top 0.25s ease-out, opacity 0.25s ease-out;
    font-family: var(--alt-font-family);
    font-weight: bold;
    letter-spacing: 2px;
    font-size: 30px;
}

.b-animated .text-container .animated{
    top: 10px;
    opacity: 0;
}

.b-animated .text-container .spawned{
    top: -10px;
    opacity: 0;
}



.icons-row{
    display: flex;
    justify-content: space-between;
    width: 100%;
 }

 .icons-row .icon-container{
     display: flex;
     flex: 1;
     justify-content: center;

 }

 .icons-row .icon-container:first-child{
     justify-content: flex-start;
 }

 .icons-row .icon-container:last-child{
     justify-content: flex-end;
 }

 .icons-row .icon-container .icon-text{
     margin: 10px;
     display: flex;
     align-items: center;

 }

 .icons-row .icon-container .icon{
     display: flex;
     align-items: center;
 }

 .icon-container .icon img{
    height: 40px;
    width: auto;
 }


#eco-card{
    width: 100%;
    display: flex;
    z-index: 3;
}

#eco-card > div{
    flex: 1;
}

.eco-content{
    margin-left: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.eco-img{
    width: 500px;
}


.eco-body{
    margin-top: 40px;
}

.eco-title{
}

.eco-button{
    margin-top: 50px;
    height: auto;
    text-align: center;
    width: 100%;
    display: block;
}

.action-button{
    padding: 15px 20px;
    background-color: var(--accent-color);
    margin: auto;
    width: auto;
    border-radius: var(--border-radius);
    cursor: pointer;
    text-decoration: none;
    color: black;
}

.one-edition-button{
    padding: 15px 20px;
    background-color: var(--primary-color);
    color: white;
    width: auto;
    border-radius: var(--button-radius);
    cursor: pointer;

}


.background-absolute-panel{
    position: absolute;
    top: 0;
    bottom: 350px;
    width: 100%;
    background-color: var(--secondary-color);
    z-index: -1;
    left: 0;
}

.button-panel button{
    font-size: var(--medium-font-size);
    font-family: var(--alt-font-family);
    font-weight: 500;
    background-color: var(--accent-color);
    border: 0;
    border-radius: var(--border-radius);
    color: var(--primary-color);
    padding: 20px 40px ;
    z-index: 20;
    display: flex;
    margin-top: 15px;
    align-items: center;
}

.button-panel button img{
    margin-left: 20px;
    transition: margin-left 0.25s ease-in-out;
}

.button-panel button:hover{
    cursor: pointer;
    transform: translateZ(2) ;
    -webkit-transform: translateZ(2);
}

.button-panel button:hover img{
    margin-left: 40px;

}

.background-card{
    position: absolute;
    /*height: 350px; */
    background-color: transparent !important;
    background-size: contain !important;
    border-radius: var(--border-radius);
}




#functionalities{
    width: 100%;
    margin: 50px 100px;
    margin: auto;
    display: flex;
    z-index: 3;
    flex-direction: column;
    overflow: hidden;
    background: white;
    max-width: var(--max-width-alt);
}

#functionalities .nav-bar{
    color: white;

}

.functionality-image img{
    max-width: 300px;
    height: auto;
}

.functionality-qr{
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.functionality-qr div{
    margin-left: 20px;
    font-family: var(--alt-font-family);
    font-weight: 500;
    font-size: var(--base-font-size);

}

.functionality-qr img{
    flex-grow: 0;
    height: 100px;
}

.nav-bar .nav-bar-title{
    padding-bottom: 50px;
    text-align: center;
    padding-top: 40px;
}

.nav-bar-links{
    display: flex;
    justify-content: space-between;
}

.nav-bar-links .nav-bar-link{
    text-align: center;
    flex: 1;
    font-family: var(--alt-font-family);
    text-transform: uppercase;
    border-right: 1px solid var(--secondary-color);
    padding: 10px 0;
    cursor: pointer;
}

.nav-bar-link:last-child{
    border-right: 0;
}

.functionality{
    padding: 20px;
    display: none;
}

.functionality-visible{
    display: flex !important;
}

.functionality-content{
    display: flex;
    flex-grow: 1;
    flex-direction: column;
}

.functionality-title{
    margin-top: 50px;
}

.functionality-body{
    margin-top: 40px;
    font-size: var(--base-font-size);
    flex-grow: 1;
}

.functionality-image{
    margin-left: 100px;
}

.functionality-action{
    width: 100%;
    padding: 10px;
    color: var(--primary-color);
    border-radius: var(--border-radius);
    text-align: center;
    background: var(--accent-color);

}

.functionality-action{
    width: 100%;
    font-family: var(--alt-font-family);
    font-weight: 500;
    font-size: var(--base-font-size);
    text-decoration: none;

}

.functionality-content .button{
    text-decoration: none;
}

#target{
    display: flex;
    flex-direction: column;
    color: var(--primary-color);
}

.target-header{
    display: flex;
    width: 100%;
}

.header-title{
    flex-grow: 1;
}

#target{
    display: flex;
    flex-direction: row;
}

#target > div {
}

.target-left{
    width: 100%;
    flex-grow: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-right: 100px;
}

.target-left > div{
    max-width: 500px;
}


.target-left .target-header{
    font-weight: 500;
}

.target-right{
    flex-grow: 1;
    display: flex
}

.target-left-2{
    width: 100%;
    flex-grow: 2;
    display: flex;
    flex-direction: column;
}

.target-left-2 > div{
    max-width: 500px;
}


.target-left-2 .target-header{
    font-weight: 500;
}

.target-right-2{
    flex-grow: 1;
    margin-right: 100px;

}

.target-body{
    margin-top: 50px;
    font-size: var(--base-font-size);
}


.target-list{
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 100px;
}


.target-list .list-row{
    display: flex;
    width: 100%;
    padding-bottom: 10px;
    align-items: center;
}

.list-row .element-title{
    flex-grow: 1;
}

.list-row .element-icon{
    height: 25px;
    width: 25px;
    margin-right: 10px;
}

.element-icon img{
    height: 100%;
    max-width: 25px;
    width: auto;
}

.list-row .element-expand-button{
    height: 100%;
    width: 25px;
    margin-left: 10px;
    margin-top: 10px;
    cursor: pointer;
    transition: transform 0.35s ease-in-out;
}

.list-row .rotated-button{
    transform: rotate(180DEG);
}

.element-expand-button img {
    height: 100%;
    width: auto;
    pointer-events: none;
}

.list-expandable{
    height: 0;
    overflow: hidden;
    transition: height 0.35s ease-in-out;
    margin-bottom: 20px;
    margin-left: 35px;
}

.expanded{
    height: 100%;
}


.powered-by-header{
    display: block !important;
}

.footer-image-container{
    width: 100%;
    height: auto;
    bottom: -220px;
}

.footer-image-container img{
    width: 100%;
}



@media only screen and (max-width: 600px) {
    .icons-row{
        display: flex;
        flex-direction: column;
    }

    .icon-container{
        flex: 1;
        align-items: center !important;
        display: flex;
        flex-direction: column;
        margin-bottom: 50px;
        text-align: center;
    }

    .icon-container:last-child{
        margin-bottom: 0;
    }

    #eco-card{
        flex-direction: column-reverse;
        margin: 0;
    }

    .eco-content{
        margin-left: 0;
        padding: 20px;
    }

    .eco-button{
        text-align: center;
    }

    .eco-img{
        width: 100% !important;
    }

    .functionalities-container{
        padding: 0 !important;
    }

    .functionalities-container .section-title{
        font-size: var(--medium-font-size);
    }

    .functionality-qr{
        margin-top: 30px;
    }

    #target{
        display: flex;
        flex-direction: column !important;
    }



}