.STILE_realizzazioni_dettaglio {
    article{
        display: grid;
        grid-template-columns: 2fr 3fr;
        gap: 4rem;

        @media only screen and (max-width: 850px) {
            grid-template-columns: 1fr;
            gap: 2rem;
        }

    }


    .dati{
        position: relative;
        display: block;
        border-bottom: 1px solid var(--grigio04);
        padding: .6rem 0;
        font-size: .9rem;
        display: grid;
        grid-template-columns: 32px max-content max-content max-content;
        gap: 16px;
        align-items: center;

        &:last-of-type{
            border-bottom: none;
        }

        &::before{
            content: '';
            position: relative;
            display: block;
            top: 50%;
            left: 0;
            transform: translateY(-50%);
            width: 32px;
            height: 32px;
            background: url('/css/images/home-ico.png') no-repeat center center;
            background-size: contain;
        }
        
    }


    .btn_modale{
        position: relative;
        display: block;
        border-bottom: 1px solid var(--grigio04);
        padding: .6rem 0;
        font-size: .9rem;
        
        display: grid;
        grid-template-columns: 32px 1fr;
        gap: 16px;
        align-items: center;
        color: var(--nero);

        &:last-of-type{
            border-bottom: none;
        }

        
    }

}



    
.STILE_realimg {

        position: relative;
        display: block;
        width: 100%;
        max-width: 70svw;

        transition: all 0.5s ease-in-out;

        margin-bottom: 3rem;
        box-sizing: border-box;

        img{
            margin: 0;
            display: block;
            position: relative;
            width: 100%;
        }           
        
}



.side-menu{

    position: absolute;
    top: 1rem;
    right: -2rem;
    padding: 0;

    .cont_btn{
        display: flex;
        flex-direction: column;
        gap: .5rem;
        padding: .5rem;
        border: 1.5px solid var(--bianco);

        @media only screen and (max-width: 850px) {
            grid-template-columns: 1fr;
        }
        
        .btn_modale{

            position: relative;
            overflow: hidden;
            display: block;
            padding: 12px;

            color: var(--grigio06);
            font-size: .7rem;
            font-weight: 500;
            text-transform: uppercase;
            text-align: center;
            background-color: var(--grigio02);


           /*animazione di fadeInUp all'apparizione della pagina*/
            opacity: 0;
            animation: fadeInLeft 0.6s ease-in-out forwards;

            /* animation delay crescente progressivamente in base a nth-child*/
            &:nth-of-type(1){
                animation-delay: 0s;
            }
            &:nth-of-type(2){
                animation-delay: 0.2s;
            }
            &:nth-of-type(3){
                animation-delay: 0.4s;
            }
            &:nth-of-type(4){
                animation-delay: 0.6s;
            }


            .immagine {

                    position: relative;
                    overflow: clip;
                    display: block;
                    width: 32px;
                    margin: 0 auto .5rem;

                    &::before {
                        content: '';
                        position: relative;
                        display: block;
                        padding-top: 100%;
                        background: transparent;
                        transition: all 0.5s ease-in-out;
                        z-index: 1;
                    }

                    picture,
                    #picture {
                        position: absolute;
                        overflow: clip;
                        top: 0%;
                        left: 0%;
                        width: 100%;
                        height: 100%;
                        z-index: 0;

                        img {
                            position: absolute;
                            margin: auto auto;
                            left: -10000%;
                            right: -10000%;
                            top: -10000%;
                            bottom: -10000%;
                            /*queste caratteristiche sotto x effetto COVER
                            max-width: 10000% !important;
                            min-width: 1000%;
                            min-height: 1000%;
                            -webkit-transform: scale(0.1);
                            transform: scale(0.1);
                            object-fit: cover;*/
                            /*queste caratteristiche sotto x effetto CONTAIN*/
                            object-fit: contain;
                            max-width: 100%;
                            max-height: 100%;
                            -webkit-transform: scale(1);
                            transform: scale(1);
                        }
                    }
                }


            &::before{
                content: "";
                position: absolute;
                top: 0;
                left: 0;
                width: 0px;
                height: 100%;
                border-radius: 0;
                background: var(--colore01);
                z-index: 0;
                opacity: 0;
                transition: all .6s ease-in-out;

                mix-blend-mode: color;
            }

            &:hover{

                &::before{
                    width: 100%;
                    opacity: 1;
                }
            }

        }
    }
}


