@font-face {
font-family: 'Webvetica';
font-style: normal;
font-weight: normal;
src: local('Webvetica'), url('../font/Helvetica.woff') format('woff');
}

@font-face {
font-family: 'Webvetica';
font-style: bold;
font-weight: bold;
src: local('Webvetica'), url('../font/Helvetica-Bold.woff') format('woff');
}

body {
    margin: 0 !important;
    font-family: Webvetica, Helvetica, Arial, sans-serif;
    color: #000000;
    font-size: 14px
}

a{
    transition: .15s ease;
    -webkit-transition: .15s ease;
}

a:hover{
    color:#C1C3C6;
}

.hide {
    display: none;
}

.header section {
    height: 184px;
    padding-bottom: 75px;
}

.box {
    padding: 0 30px;
}

.menu {
    display: none;
}


.black-bar {
    height: 18px;
    background-color: #000000;
    width: 100%;
    position:fixed;
}

.box>section {
    width: 100%;
    max-width: 1109px;
    margin: 0 auto;
}

.descrizione section {
    padding-top: 10px;
}

.menu ul li {
    margin-left: 45px;
}

p {
    width: 1109px;
    font-size: 20px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.33;
    letter-spacing: -0.2px;
    text-align: justify;
}

.menu-xs ul li {
    margin-left: 30px;
}

p {
    width: 1109px;
    font-size: 20px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.33;
    letter-spacing: -0.2px;
    text-align: justify;
}

.portfolio {
    padding-top: 85px;
}

.tooltip {
    position: fixed;
    width: 370px;
    left: 50%;
    margin-left: -189px;
    bottom: 45px;
    text-align: center;
    font-size: 16px;
    letter-spacing: 0.2px;
    padding:18px 4px;
    color:#FFF;
    background-color:rgba(0,0,0,1);
    border-radius: 30px;
}

.footer section {
    height: 190px;
}

.copyright {
    font-size: 13px;
}

.logo-name {
    font-size: 16px;
}

.logo-description {
    font-size: 13px;
}

.work-info {
    position: absolute;
    text-align: left;
    opacity: 0;
    bottom: 24px;
    left: 24px;
    transition: ease-in-out .3s;
}

.work-info2 {
    position: absolute;
    text-align: left;
    color: #FFFFFF;
    opacity: 0;
    bottom: 24px;
    left: 24px;
    transition: ease-in-out .3s;
}

    .work:hover .work-info{
        opacity: 1;
    }
    
    .work:hover .work-info2{
        opacity: 1;
    }

.work {
    position: relative;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 85%;
}

.grid {
    display: grid;
    grid-template-columns: 1fr;
    place-items: start;
}

.grid>div {
    width: 100%;
}

.grid>[style^='--aspect-ratio']::before {
    content: "";
    display: inline-block;
    width: 1px;
    height: 0;
    padding-bottom: calc(100% / (var(--aspect-ratio)));
}

@media only screen and (min-width: 885px) {
    .grid {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .header section {
    height: 195px;
    padding-bottom: 45px;
    }

    body {
    margin: 0 !important;
    font-family: Webvetica, Helvetica, Arial, sans-serif;
    color: #000000;
    font-size: 16px
    }

    p {
    width: 1109px;
    font-size: 27px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.33;
    letter-spacing: 0px;
    text-align: justify;
    }

    .descrizione section {
    padding-top: 65px;
    }

    .portfolio {
    padding-top: 126px;
    }

    .copyright {
    font-size: 16px;
    }

    .box {
    padding: 0 65px;
    }

    .menu-xs {
        display: none;
    }

    .menu {
        display: block;
    }

}



.news-popup {
	width:100%; 
	height: 100%; 
	position: fixed; 
	top:0; 
	right:0; 
	bottom:0; 
	left:0; 
	z-index:90000; 
	background-color: rgba(255,255,255,.8);
}

.news-popup-close {
	width:100%; 
	height:70px; 
	position:absolute; 
	z-index:90000;
}

.closeButton {
	position:absolute; 
	right:0; 
	padding:10px; 
	margin: 10px; 
	width:34px; 
	height:34px; 
	background: #2a2c2e; 
	border-radius:4px; 
	cursor: pointer;
}

.news-popup-box-image {
	width: 100%; 
	height: 100%; 
	min-height: 250px; 
	position: relative;
}

.news-popup-image {
	max-height: 100%; 
	max-width: 96%; 
	height: auto; 
	width: auto; 
	display: block; 
	position: absolute; 
	top: 0; 
	bottom: 0; 
	left: 0; 
	right: 0; 
	box-sizing: border-box; 
	margin: auto; 
	border-radius:10px;
}





/* ====================================== */


.sfondo-nero {
	background-color: #000000;
}


.trailer {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	z-index: 1000;
	/*background: rgba(0,0,0,0.95);*/
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	opacity: 0;
}

.trailer-active {
  opacity: 1;
  transition: all 1s;
}

.trailer iframe {
	position: relative;
	width: 90%;
	max-width: 900px;
	outline: none;
	height: 50%;
}

.close {
	position: absolute;
	top: 40px;
	right: 40px;
	cursor: pointer;
	max-width: 30px;
}

@media screen and (max-width: 991px) {
	.trailer iframe {
	max-width: 90%;
}
}


/* BLACK VERSION  */

.bodyblack {
	color: #ffffff;
	background-color: #000000;
}

.black-bar-white {
	background-color: #ffffff;
	position: fixed;
}

.portfolio-black {
	margin-top: 126px;
	display: none;
	-webkit-transition-duration: 1s;
	transition-duration: 1s;
}


.logo-dark-mode {
	display: none;
}

.show-div {
	display: block;
    padding-bottom: 4px;
	transition-delay: 2s;
}

@media screen and (max-width: 400px) { 
	.tooltip {
		display: none !important;
	}
}
