/*@font-face {
    font-family: 'NHaasGroteskTXPro';
    src: url(../fonts/font.woff2) format('woff2'), url(../fonts/font.woff) format('woff');
    font-display: swap;
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    color: #32411a;
    
    font-weight: 400;
}

:root {
    --first-color: #32411a;
    --second-color: white;
    --light-color: rgba(50, 65, 26, 0.4);
}


*/


@keyframes clip_img{ 
    0%   {clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);opacity:0;  }  
    
    100% {clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);opacity:1;  }
}



.anima_slide{ animation:clip_img 1.5s forwards;transition-timing-function: ease-in;}






/*html,
body {
    width: 100%;
    margin: 0;

    overflow-x: hidden;
}

body::-webkit-scrollbar {
    width: 5px;
}*/
.contenitore_gallery .btn{cursor:pointer!important;}

.right-line,
.firstLine,
.secondLine {
    transition: 2s all ease-in-out;
}

.image-wrapper {
    position: relative;
    overflow: hidden;
}

.curtain {
    position: absolute;
    width: 120%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    transition: transform 1.5s ease-in-out;
    transform: translateY(0);
}

.curtain.reveal {
    transform: translateY(100%);
}





.contenitore_gallery {
    display: grid;
    grid-template: auto/repeat(7, 1fr);
}

.wrap_contenuto_gallery {
    
    grid-row: auto;
    width: 100vw;
    grid-column: 1/span 7;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 25px;
    margin-bottom: 50px;
    margin: 0;
}

.info_progetto {
    grid-column: 1/span 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 15px 25px;
    position: relative;
}

.right-line {
    position: absolute;
    width: 0.8px;
    height: 100%;
    top: 0;
    right: 0;
    background-color: #32411a;
}

.sezioni_progetto {
    display: flex;
    flex-direction: column;
}

.tipologia_progetto {
    font-size: 10px;
    color: grey;
}

.titolo_progetto.nav-item {
    width: 100%;
}

.titolo_progetto.nav-item a {
    padding-bottom: 10px;
    font-size: 25px;
    width: 100%;
    text-decoration: none;
}

.gallery_immagini {
    
    grid-column: 3/span 5;
    padding: 25px 25px 25px 0px;
}


.gallery_immagini .image-container {
    height:auto;
    /*height: 450px;*/
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 25px;
    
}

.gallery_immagini .image-wrapper {
    width: 100%;
    height: 100%;
}

.gallery_immagini img {
    /*width: 100%;
    height: 100%;*/
    object-fit: cover;
    
}

.dettagli_progetto {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.dettagli_progetto h5 {
    font-size: 10px;
    opacity: 0.8;
    text-transform: uppercase;
}

.dettagli_progetto p {
    font-size: 12px;
}

.numero_img_gallery {
    display: flex;
    font-size: 10px;
    gap: 80px;
    color: grey;
}

.numero_img_gallery p{

    font-size: 10px;
  
}


.contenitore_gallery .btn {
    display: flex;
    gap: 40px;
	padding:0px!important;
    margin-top: 30px!important;
    margin-left: 20px!important;
}

.contenitore_gallery .btn:hover {
    margin-left: 20px!important;
   padding-left: 0px!important;
}


.button-a, .button span{
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    text-decoration: none;
    z-index: 99;
    color: var(--first-color);
}


.button-a span {
    opacity: 0.4;
    text-transform: uppercase;
    
}


.bottom-lineOp {
    grid-column: span 7;
    border-bottom: 1px solid var(--first-color);
    transition: 2s all ease-in-out;
}

.button {
    width: fit-content;
    background-color: transparent;
    padding: 2px 18px;
    border: 1px solid #000000;
    border-radius: 50px;
    transition: 0.4s all ease-in-out 0.s;
    overflow: hidden;
    position: relative;
    font-size: 10px;
}

.button a {
    text-decoration: none;
    z-index: 9;
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.button a span {
    opacity: 0.7;
}

.button::after {
    content: '';
    position: absolute;
    top: 0%;
    left: 0;
    width: 100%;
    height: 0%;
    background-color: #000000;
    transition: 0.3s;
    transition: 0.4s all ease-in-out 0.s;
}

.button:hover::after {
    bottom: 0;
    top: unset;
    height: 100%;
}

.button:hover a {
    color: white;
}

.button:hover a span {
    color: white;
}

.button:hover span {
    color: white;
}

.bottom-line {
    border-top: 1px solid var(--first-color);
}

@media screen and (max-width:1024px) {
    
    
    .lines {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: 1fr;
        gap: 15px;
    }
    
    .verticalLine {
        border-right: 1px solid black;
        opacity: 0;
        justify-self: end;
        grid-row: span 4;
        animation-name: bordAnimeTitle;
        animation-timing-function: linear;
        animation-duration: 2s;
    }
    
    .verticalLine:nth-child(6) {
        display: none;
    }
    
    .verticalLine:nth-child(2) {
        display: none;
    }
    
    
    .contenitore_gallery {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
    }
    
    .wrap_contenuto_gallery {
        grid-column: span 4;
        display: flex;
        flex-direction: column;
        gap: 0;
        max-width:100%;
        box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;
    }
    
    .info_progetto {
        width: 100%;
        border-right: 0!important;
        padding: 5px 15px;
        box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;
        
    }
    
    
    .sezioni_progetto {
        display: flex;
        gap: 0;
        padding-bottom: 0;
    }
    
    .sezioni_progetto .tipologia_progetto {
        font-size: 10px;
    }
    
    .sezioni_progetto .nav-item {
        padding: 0;
    }
    
    .sezioni_progetto .nav-item a {
        font-size: 12px;
        width: fit-content;
        padding: 0;
    }
    
    .hideImg {
        display: none;
    }
    
  .contenitore_gallery .gallery_immagini {
        width: 100%;
        padding: 0 15px;
        padding-bottom: 15px;
    }
    
   .contenitore_gallery .gallery_immagini div {
        width: 100%;
    }
    
    
  .contenitore_gallery .gallery_immagini div img {
        width: 100%;
    }
    
    .dati_progetto_box {
        display: none;
    }
    
    
    
}



.showAnime .titleLine {
    transform: translate(0%, 0);
    
}

/*section {
    overflow: hidden;
    
}
*/
.gridSec {
    grid-column: span 7;
    grid-row: auto;
}

.showAnime .inp,
.showAnime .para1 {
    animation-name: opacAnime;
    animation-duration: 1s;
    animation-timing-function: linear;
}

@keyframes opacAnime {
    0% {
        opacity: 0;
    }
    
    100% {
        opacity: 1;
    }
}



.showAnime .right-line,
.showAnime .firstLine,
.showAnime .secondLine {
    animation-name: transformAnm;
    animation-duration: 1s;
    animation-timing-function: linear;
}

@keyframes transformAnm {
    to {
        transform: translate(0, 0%);
    }
    
    from {
        transform: translate(0, -100%);
    }
}

.showAnime .bottom-line,
.showAnime .bottom-lineOp,
.showAnime .top-line {
    animation-name: scaleAnm;
    animation-duration: 1s;
    animation-timing-function: linear;
    /* animation-delay: 0.5s; */
}

@keyframes scaleAnm {
    to {
        scale: 1;
    }
    
    from {
        scale: 0;
    }
}




.wrap_dettagli_progetto {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}






.contenitore_gallery .swiper-container {
    width: 100%;
    height: 75vh;
	
	
	margin-left: auto;
	margin-right: auto;
	
	/* Center slide text vertically */
/*			display: -webkit-box;
			display: -ms-flexbox;
			display: -webkit-flex;
			display: flex;
			-webkit-box-pack: center;
			-ms-flex-pack: center;
			-webkit-justify-content: center;
			justify-content: center;
			-webkit-box-align: center;
			-ms-flex-align: center;
			-webkit-align-items: center;
			align-items: center;*/
	
	
	
	
	
    
}


.contenitore_gallery .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    width: auto;
    
    
}

@media screen and (orientation: landscape) {
   .contenitore_gallery .swiper-slide img{
        width:100%; 
        height:75vh;
        object-fit: cover!important;
        
    }
}

@media screen and (orientation: portrait) {
    
  .contenitore_gallery  .swiper-slide {
        text-align: center;
        font-size: 18px;
     
        width: 100%;
        height: auto;
     
    }
    
    
    
    
 .contenitore_gallery .swiper-container {
        width: 96%; 
        height: 50vh!important;
        margin-left:2%;
    }
    
  .contenitore_gallery .swiper-wrapper{
        max-width:96%;
        }
    
    
    .contenitore_gallery{
        box-sizing:border-box!important;
        -webkit-box-sizing:border-box!important;
        -moz-box-sizing:border-box!important;
        width:100% ;
    }
    
   .contenitore_gallery .gallery_immagini {
        width: 100%;
        
        padding: 0px;
        padding-bottom: 15px;
    }
    
    
  .contenitore_gallery  .swiper-slide img{
        width:100% !important;
        height:50vh;
        object-fit: cover!important;
        
        
    }
    
    
    .info_progetto {
        width: 100%;
        border-right: 0!important;
        padding: 1vh !important;
        
        
    }
    
    .right-line{display:none!important;}
    
    
}

.contenitore_gallery .swiper-slide{clip-path:polygon(0 0, 100% 0, 100% 0, 0 0);opacity:1;}
