/********** Template CSS **********/
:root {
    --primary: #FFFFFF;
    --secondary: #525368;
    --light: #E8F5E9;
    --dark: #0F4229;
}
h1, h2, h3{font-family: 'Montez', cursive;}
h5,h4, h6 {font-family: 'Quattrocento', cursive;}
body{font-family: 'Quattrocento', sans-serif;
 background-color:#effcf5}
.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

h1 {
    font-size: 3.5rem;    color:#B59965;

  }
  
  h2 {
    font-size: 4.5rem;
    color:#B59965;
    
  }
  
  h3 {
    font-size: 2rem;
    
  }
  
  h4 {
    font-size: 18px;
  }
  

h5,
.h5,
h6,
.h6,
.fw-semi-bold {
    font-weight: 500 !important;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--light);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.bg-top{ background-color: #1B3A56;}
.navbar{ background-color: #B59965;}
.navbar h1{ color: #ffffff;}
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand,
.navbar a.btn {
    height: 80px
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 25px 0;
    font-size: 18px;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


video#bgvideo {
    position: absolute;
   height: auto;
   width: auto;
   min-height: 100%;
   min-width: 100%;
   left: 50%;
   top: 50%;
   -webkit-transform: translate3d(-50%, -50%, 0);
   transform: translate3d(-50%, -50%, 0);
   z-index: 1;
 
 }
 .contiene{position: relative;
     overflow: hidden;
      width: 100%;
   height: 100vh;}
   .contiene .contenitore {
    position: absolute;
    z-index: 1;
    text-align: center;
    display: table-cell;
    vertical-align: middle;
    width: 100%;
    bottom:25%;
  }
  
  .contiene .container img {
    display: inline-block;
  }
  .contiene .btn {
    background-color: #B59965;
    font-family: "Roboto", Helvetica, Arial, sans-serif;
    font-weight: 800;
    color: #ffffff;
    padding: 15px 45px;
    border-radius: 50px;
  }
  .hero-brand:hover {
    opacity: .75;
  }
  /* ==================================================
  Elements
  ================================================== */
  .btn-call{
	background-image: url(img/bnt_sfondo.jpg);
	background-repeat: repeat;
}

.btn-alternative {
  background-color: #ffffff;
  font-family: "Roboto", Helvetica, Arial, sans-serif;
  font-weight: 800;
  color: #0099cc;
  padding: 15px 45px;
  border-radius: 50px;
}


.btn:hover {
  background-color: #E04F00;
  color: #fff;
}

.btn:focus {
  color: #fff;
}

.btn-ghost {
  border: 3px solid #fff;
  background-color: transparent;
}

.btn-ghost:hover {
  background-color: #fff;
  color: #199EB8;
}

section {
  padding: 0.5rem 0;
}

.card {
  position: relative;
  padding: 0;
  border: 0;
  border-radius: 0;
  margin: 0;
  overflow: hidden;
}

a:hover {
  text-decoration: none !important;
}

.scrolltop {
  display: none;
  position: fixed;
  bottom: 15px;
  right: 15px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #199EB8;
  color: #fff;
  text-align: center;
  font-size: 24px;
}

.scrolltop:hover, .scrolltop:active, .scrolltop:focus {
  color: #fff !important;
  opacity: .75;
}

/***
sezione about
**/
@media (max-width: 767px) {
    .block {
      padding-left: 30px;
      padding-right: 30px;
    }
  }
  .menu-1{
          left:-80px;
          opacity:0;
      position:relative;
  
  }
  .menu-2{
          right:-80px;
          opacity:0;
      position:relative;
  
  }
  .menu-4{
          bottom:-80px;
          opacity:0;
  
  }
  .about p{ font-size:1.5rem; padding-top:1rem}
  .about .img_border{    content: "";
     display: block;
     position: absolute;
     left:2.8vw;
     top: -1vw;
     width: 86%;
     height: 100%;
     border: 3px solid #B49865;
     box-sizing: border-box;
     z-index: 3;
     opacity:0;
     
       -webkit-transition: width 2s, height 2s,-webkit-transform 2s; /* For Safari 3.1 to 6.0 */
      transition: width 2s, height 2s,transform 1s;;
  }
  
/* ==================================================
  Call-to-action Styling
  ================================================== */
  .cta {
    background-color: #B59965;
    padding: 25px 0;
  }
  
  .cta h2 {
    margin-bottom: 5px;
  }
  
  .cta h2,
  .cta p {
    color: #000;
  }
  
  .cta p {
    margin-bottom: 0;
    opacity: .75;
  }
  
  .cta .btn-ghost {
    position: relative;
    top: 13px;
  }
  .btn-call{
	background-image: url(img/bnt_sfondo.jpg);
	background-repeat: repeat;
}
/* ==================================================
  recensioni Styling
  ================================================== */
  #recensioni .card{ background-color:transparent}
    #recensioni .card .card-body{ background-color: #FFF;  padding-top:1.5rem;color:#000}
	  #recensioni .card .card-text{ color:#000;}
	    #recensioni .card .card-img-top{ width:25%; top:1.5rem; position: relative;     border: 4px solid #fff;    border-radius: 55px;}
  #recensioni .card hr{ width:15%;
    margin-bottom: 1rem;
    border: 0;
    border-top: 1px solid #003367;}
/*** Project Portfolio ***/


.portfolio-inner {
    position: relative;
    overflow: hidden;
}

.portfolio-inner::before,
.portfolio-inner::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(15, 66, 41, .6);
    transition: .5s;
}

.portfolio-inner::after {
    left: auto;
    right: 0;
}

.portfolio-inner:hover::before,
.portfolio-inner:hover::after {
    width: 50%;
}

.portfolio-inner .portfolio-text {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .5s;
    z-index: 3;
    opacity: 0;
}

.portfolio-inner:hover .portfolio-text {
    transition-delay: .3s;
    opacity: 1;
}

.portfolio-inner .portfolio-text .btn {
    background: #1B3A56;
    color: var(--primary);
}

.portfolio-inner .portfolio-text .btn:hover {
    background: #1B3A56;
    color: var(--light);
}
#interna p{ font-size:1.1rem}