@charset "utf-8";
/* CSS Document */
@font-face {
  font-family:"mitga";
  src: url("../fonts/BwMitga-Regular.ttf") format("truetype");
  font-weight: 400;
}
@font-face {
  font-family:"mitga";
  src: url("../fonts/BwMitga-Bold.ttf") format("truetype");
  font-weight: 700;
}
@font-face {
  font-family:"mitga";
  src: url("../fonts/BwMitga-Black.ttf") format("truetype");
  font-weight: 900;
}

body{
font-family: "mitga"!important;
}
#portfolio .img-fluid {
    width: 100%;
    min-height: 350px;
    max-height: 350px;
    object-fit: cover;
}

.page-section {
    overflow-x:hidden;
}
h6, .h6, h5, .h5, h4, .h4, h3, .h3, h2, .h2, h1, .h1 {
   font-family: "mitga";
}
header.masthead{
overflow:hidden;
position:relative;
height:100vh;
transition: background-image 2s ease, background-position 4s ease;
background-size: auto 330vh;
}
#mainNav .navbar-nav .nav-item .nav-link {
    font-family: "mitga";
}

hr.divider {
    background-color:transparent;
    border-top:2px solid #000000AA;
}
.btn-xl {
    padding: 10px 30px;
    font-size: 15px;
    background-color: #ca9e67;
    color: #000000;
    border-radius: 0;
}
.btn-xl:hover{
background-color:#ca9e67;
color:#000000;
opacity:0.8;
}
#mainNav.navbar-shrink .navbar-nav .nav-item .nav-link:hover {
    color: #ca9e67;
}
#mainNav .navbar-nav .nav-item .nav-link.active {
    color: #ca9e67 !important;
}
.parallasse {
    background-size: cover;
    background-position:50% 50%;
    background-repeat: no-repeat;
    background-attachment: fixed!important;
    transition: all 0.05s ease;
}
.hparallasse {
    background-size: cover;
    background-position:50% 50%;
    background-repeat: no-repeat;
    background-attachment: fixed!important;
    transition: all 0.05s ease!important;
}
.owl-carousel .item {
    height: 450px;
    background: transparent;
    padding:  0px;
    position:relative;
    cursor:pointer;
    transition: all 0.5s ease;
}

.owl-carousel .owl-stage-outer{
overflow:visible!important;
}
.owl-carousel .item:hover{
transform: scale(1.2) translatey(-30px)!important;
}
.owl-carousel .selezionato .item{
opacity:1;
transform: scale(1.2) translatey(-30px);
}
.owl-carousel .deselezionato .item{
opacity:1;
}
.owl-carousel .selezionato h4 {
    font-weight: bold;
    font-size:15px;
}
.owl-carousel img{
    position:absolute;
    top:0px;
    left:0px;
    width:100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    z-index: 10;
}

.iombra{
    filter: drop-shadow(20px 30px 10px rgba(0, 0, 0, 0.5));
}
.iombra::after{
content: "";
/* background-image: url("../img/ombra.png"); */
background-size:contain;
background-position:center;
background-repeat: no-repeat;
opacity:0.6;
width:100%;
height:100%;
position:absolute;
bottom:-3px;
    z-index: 9;
}

#vini .iombra{
position:relative;
}
#vini .iombra img{
    z-index: 10;
    position: relative;
}

#vini .iombra::after{
left: auto;
    right: 10%;
    max-height: 600px;
    top: 5px;
    position: absolute;
}

.owl-carousel p{
    display:none;
}
.owl-carousel h4{
    bottom: -50px;
    width: 100%;
    padding: 10px;
    font-size: 15px;
    text-align: center;
    position: absolute;
    color: #ffffff;
    z-index: 15;
}
.anima-wb{
color:white;
transition: all 1s ease;
}
.centrato .anima-wb{
color:black;
}
.animato{
transition: all 1s ease;
transform: scale(0.9);
}
.anizoom{
transform: scale(0.9);
}
.aniopac{
opacity:0;
}
.aniscor{
transition: all 1.5s ease;
transform:translateX(100vw);
}
.aniscoropa{
transition: all 1.5s ease;
opacity:0;
transform:translateX(30vw);
}
.anifoto{
transition: all 3s ease;
opacity:0;
transform:scale(1.4) rotate(20deg);
}
.centrato {
transform: scale(1.0) rotate(0deg);
opacity:1;
}
.centrato.anifoto{
transform: scale(1.0) rotate(-1deg);
}

#navlogo{
 background-image: url("../foto/logo_viricaw.svg");
opacity:0.8;
background-size:contain;
background-position:center;
background-repeat: no-repeat;
width:150px;
height:50px;
}
.navbar-shrink #navlogo{
opacity:1;
 background-image: url("../foto/logo_virica.svg");
}


#carosello {
background-size:cover;
background-position:center;
transition: background-image 1.5s ease, background-position 0.05s linear;
min-height: 680px;
padding-top:100px;
padding-bottom:10px;
overflow:hidden;
}
#services h3{
font-size:20px;
}


#carodes{
display:flex;
flex-wrap: wrap;
    border-left: 15px solid #00000000;
    padding-left:15px;
}
#carodes span{
padding:10px;
display:block;
width:33%;
}
#carodes span.triplo {
    width: 100%;
}
#carodes span.doppio {
    width: 66%;
}
.nodesk{
display:none;
}

header.masthead .htesto{
transition: opacity 3s ease;
}
header.masthead .htesto p{
    font-size:17px;
color:#FFFFFF;  
    text-align: justify;
}
#carotit {
    color: #ca9e67;
    font-size:50px;
}
#carodes img{
    width:100%;
    max-height:350px;
    object-fit: cover;
    object-position: center;
}
@media (max-width:450px){
    #carotit {
        font-size:30px;
    }
    #services h3{
font-size:15px;
}
}



@media (max-width:1400px){

    header.masthead .htesto p{
        transition opacity 2s ease;
        font-size:11px;
        backdrop-filter: blur(10px);
        background-color:#33333344;
    }

    #vini .iombra::after{
     right:4%
    }
}

@media (max-width:1400px) and (max-height:800px){
    header.masthead .htesto p{
        font-size:10px;
        max-height: 50vh;
        overflow: auto;
    }
    .btn-xl {
        padding: 7px 30px;
        font-size: 12px;
    }
}


@media (max-width:1200px){
    #vini .iombra::after{
display:none
    }
}
    
@media (max-width:991px){
#carosfo{
    left:110px!important;
    top: -170px!important;
}

#vini{
    padding: 3rem 1rem!important;
}
#carodes{
    padding-left:0px;
}

    .page-section {
    padding: 4rem 0;
}
body .hparallasse {
    background-position:center bottom!important;
        background-attachment: unset!important;
    }

body .parallasse {
    background-size: cover!important;
    background-position:50% 50%!important;
        background-attachment: unset!important;
    }
    body .miniparallasse {
    background-size: cover!important;
    background-position:50% 50%!important;
        background-attachment: unset!important;
    }
    .owl-carousel .item {
    height: 300px;
    }
    #carosello {
    min-height: 500px;
    }
    .nodesk{
    display:block;
    }
    .nomobile{
    display:none;
    }
#carodes span{
width: 100% !important;
}
    
    
    
#navlogo{
opacity:1;
 background-image: url("../foto/logo_virica.svg");
}
    .container p{
    font-size:13px;
    }
}
    

