/* Variabili globali */
:root{
    --main-color: #454545;
    --secondary-color: #A59983;
    --secondary-color-dark: #5a5347;
    --white-color: #FFFFFF;
}

/* Stile */
html {
    height: 100%;
}
body{
    width: 100%;
    font-family: 'Poppins', sans-serif;
   /* overflow-y: scroll;*/
}
html, body{
    overflow-x: hidden;
}

/* Custom */
.dropdown-menu{
    border-radius: 0 !important;
    border-width: 0;
}

.menu-mobile{
    margin: 0 auto !important;
}

.hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
}

.bkg-norepeat{
    background-repeat: no-repeat;
    background-size: cover;
}

.boxed{
    margin-left: 350px;
    margin-right: 350px;
}

.mt-img{
    margin-top: -80px !important;
}

.w-spritz-img{
    width: -webkit-fill-available;
}

.orange-text{
    color: #ff7300;
}

.intestazione-spritz{
    font: normal normal 400 45px 'Raleway';
}

.bg-orange{
    background-color: #ff7300;
}

.w-bottle{
    width: 80%;
}

.text-gold{
    color: var(--secondary-color);
}

.spritz-selection {
    background-image: url("../img/images/Spritz.png");
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 100vh;
    top: 0;
}

.bg-image {
    background-image: url("../img/images/copertina-home.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 100vh;
    top: 0;
}

.bg-opacity{
    background-color: rgba(255, 115, 0, 0.35);
}

ul {
    list-style-type: none;
}

.img-scheda{
    height: 280px;
    width: auto;
}
/*
.bg-image {
    background-image: url("../img/images/copertina-home.webp");
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 100vh;
    top: 0;
}
*/
.bg-image.wine-selection{
    background-image: url("../img/images/copertina-catalogo.jpg");
}
.bg-image.origini{
    background-image: url("../img/images/copertina-le-origini.jpg");
}
.bg-image.cantina{
    background-image: url("../img/images/copertina-cantina.jpg");
}
.bg-image.spritz{
    background-image: url("../img/images/Spritz.png");
}


.navbar-toggler{
    border: 0px;
    box-shadow: 0px !important;
}

.navbar-toggler:focus{
    box-shadow: 0px !important;
}

.w-container-nav{
    width: 83% !important;
}

.color-secondary{
    color: var(--secondary-color);

}

.wine-title{
    font: normal normal 500 23px 'Raleway';
    letter-spacing: 4.5px;
    color: var(--secondary-color);
}

.wines{
    width: 100%;
    background-image: url(/img/images/img-langhe-illustrate.png);
    background-repeat: no-repeat !important;
    object-fit: cover;
    height: 100%;
    background-position: center;
}

/* content image home */
.content{
    padding: 10rem 3rem 0rem 1rem;
    color: var(--white-color);
    width: 83%;
    margin: auto;
}

.content h1{
    text-align: left;
    font: normal normal 600 70px 'Playfair Display';
    letter-spacing: 5px;
    opacity: 1;
    margin-bottom: 38px;
}

.content span{
    text-align: left;
    font: normal normal 500 25px 'Raleway';
    letter-spacing: 4.5px;
    opacity: 1;
    text-transform: uppercase;
    margin-bottom: 34px;
}

.content h3{
    text-align: left;
    font: italic normal 600 70px 'Playfair Display';
    letter-spacing: 5px;
    text-transform: lowercase;
    opacity: 1;
    margin-top: 34px;
}


.content-explore h2{
    text-align: left;
    font: normal normal 400 65px/75px 'Playfair Display';
    letter-spacing: 3.25px;
    color: var(--white-color);
    line-height: 50px;
    align-items: end;
    display: flex;
    align-content: end;
    height: 100%;
    width: 60%;
}


/* Intestazione sections */
.intestazione{
    color: var(--secondary-color);
    font: normal normal 400 25px 'Raleway';
}

.intestazione::after{
    content: "";
    border: 0.5px solid;
    height: 0.3px !important;
    display: inline-block;
    color: var(--secondary-color);
    top: -7px;
    width: 50%;
    position: relative;
    margin-left: 15px;
}

.title{
    font-weight: 500;
    margin-bottom: 20px;
    font-family: serif;
    font-size: 40px !important;
    letter-spacing: 1.5px;
    font: normal normal 500 60px 'Playfair Display';
    line-height: 70px;
}


.desc{
    font-size: 20px !important;
    font-weight: 300;
    font: normal normal 400 19px 'Raleway';
    letter-spacing: 1.5px;
    line-height: 35px;
}

.action{
    margin-top: 3rem;
}

h4{
    font-weight: 300;
}


.wine-banner{
    background-color: #F4F2F0;
    height: 200px;
}


.element-explore{
    background-image: url("../img/images/copertina-home.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center; 
    height: 500px; /* 100% of viewport height */
    margin: 0 auto; 
    position: relative; 
}


.element-explore-contact{
    background-image: url("../img/images/img-parallax-contatti.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center; 
    height: 500px; /* 100% of viewport height */
    margin: 0 auto; 
    position: relative; 
}


.wine-section title{
    color: var(--secondary-color);
}


.end-home img{
    position: sticky;
    right: 50%;
    margin-bottom: 35px;
    height: 80px;
}

.wine-section-item{
    padding: 0 20px;
    color: var(--main-color);
    width: 100%;
    font: normal normal medium 23px Raleway;
    letter-spacing: 3.45px;
}
.wine-section-item .divider{

    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: start;
    text-align: left;
    align-items: center;
}

.wine-section-item .divider::after{
    content: "";
    border-bottom: 1px solid var(--main-color);
    display: inline-block;
    color: var(--main-color);
    height: 50%;
    width: 50%;
    position: relative;
    margin-left: 15px;
}


.wine-lists .item{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.wine-lists .item img{
    width: 220px;
}


.wine-lists .item .item-title{
    font: normal normal 18px Raleway;
    font-weight: 600;
    letter-spacing: 1.25px;
    color: #313131;
    text-transform: uppercase;
    text-align: center;
}

.contact-title{
    font: normal normal 500 18px Raleway;
    letter-spacing: 0px;
}

.contact-items{
    font: normal normal 400 18px Raleway;
    letter-spacing: 0px;
}
.form-check-label{
    font: normal normal 500 14px/21px Raleway;
    letter-spacing: 0px;
}
.form-check-input{
    margin-top: 0;
}

.title-contact{
    display: flex;
    flex-direction: column;
}

.title-contact h4{
    font: normal normal 500 28px 'Playfair Display';
    letter-spacing: 2px;
    color: var(--main-color);
    justify-content: start;
}

.form-label{
    font: normal normal 400 18px/30px Raleway;
    letter-spacing: 0px;
}

.form-control{
    border: 1px solid #352F27;
    background-color: transparent;
}


/* Btn */
.btn-secondary-custom--outline{
    color: var(--main-color);
    border: 2px solid var(--main-color);
    background-color: transparent;
    padding: 10px 60px;
    border-radius: 0px;
    font: normal normal 400 20px/24px 'Raleway';
    text-transform: uppercase;
}

.btn-secondary-custom--outline:hover{
    color: white;
    border: 2px solid #212529;
    background-color: #212529;
}

.btn-secondary-custom--fill{
    font-weight: 500;
    font-family: 'Raleway';
    font-size: 19px;
    text-transform: uppercase;
    letter-spacing: 0px;
    color: #FFFFFF;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    border-radius: 0;
    width: 200px;
    background: #454545 0% 0% no-repeat padding-box;
}

.btn-secondary-custom--fill:hover{

    color: #454545;
    background: #FFFFFF;
    border: 2px solid #212529;
}

.navbar-default{
    transition:500ms ease;
    background:transparent;
}

.navbar-default.scrolled{
    background: #383838;
}

.navbar-default.scrolled img{
    color: black;
    max-width: 85px !important;
}

.navbar-default.scrolled-w{
    background: #FFF;
}

.navbar-default.scrolled-w img{
    color: white;
    max-width: 85px !important;
}

.img-cantina-wine{
    width: 80%;
}



.navbar-collapse {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #3e4149;
  }
/*
  .navbar-toggler,
  .navbar-brand {
    z-index: 1;
  }
  .navbar-brand {
    font-size: 1.8em;
  }
  .navbar-toggler:focus {
    box-shadow: none;
  }
  .navbar-collapse .nav-link {
    font-size: 1.5em;
    letter-spacing: 2px;
    color: #fff;
  }
  .navbar-collapse .nav-link:hover,
  .navbar-collapse .nav-link.active {
    color: darkseagreen;
  }
  .nav-item:not(:last-child) {
    border-bottom: 1px solid gray;
    padding: 0.2em 4em;
  }

 */
  @media screen and (min-width: 768px) {
    .nav-item:not(:last-child) {
      padding: 0.5em 8em;
    }
  }
  .navbar-collapse.show {
    transition: all 0.5s;
  }



    .wine-section-item .divider::after{
        border-bottom: 1px solid var(--main-color);
        display: inline-block;
        color: var(--main-color);
        height: 50%;
        width: 25%;
        position: relative;
        margin-left: 5px;
    }

  .hero-section {
    background: url("https://codingyaar.com/wp-content/uploads/body-bg.jpg")
      no-repeat;
    background-size: cover;
    height: 80vh;
  }
  


/** Menu **/

.menu-items{
    display: flex;
    flex-direction: row;
}

.menu-items .images{
    background-image: url("../img/images/img-menu.jpg");
    background-repeat: no-repeat;
    height: 100%;
    width: 100%;
    background-position-x: center;
    background-position-y: center;
}


.menu.active {
    opacity: 0;
    visibility: hidden;
}
.menu {
    transition: 0.52s;
    z-index: 1111;
    position: fixed;
    top: 0;
    left: 0;
    background: #A59784;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.menu span {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 48px;
    cursor: pointer;
}
.menu .links-container {
    list-style-type: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    width: 100%;
    height: 100vh;
    margin-left: -80px;
    gap: 20px;
    padding-bottom: 75px;
}

.menu .links-container .item .menu-item{
    width: 100%;
    height: 400px;
    font: normal normal 600 43px 'Playfair Display';
    letter-spacing: 3.15px;
    text-decoration: none;
    color: var(--white-color);
    position: relative;
    cursor: pointer;
}
.menu .links-container .item .menu-item:hover {
    font-size: 45px;

}
.menu .links-container .item .menu-item:before {
    color: var(--white-color);
}

.menu .links-container .item.multiple{
    display: flex;
    justify-content: center;
    flex-direction: row;
    height: 57px;
}

.menu .links-container .item.multiple::after{
  margin-right: 0 !important;
}

.menu .links-container .item.multiple .divider::after{
    content: "";
    width: 200px;
    height: 1px;
    border-bottom: 1px solid white;
    height: 50%;
}

.hidden{
    display: none !important;
}

.sub-items{
    font: normal normal 600 20px 'Playfair Display';
    letter-spacing: 1.4px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    width: 47%;
}

.sub-items a{
    text-decoration: none;
    color: var(--white-color);
    position: relative;
    cursor: pointer;
}

.btn-close{
    background: transparent url("../img/icons/hamburger-close.svg") center / 1em auto no-repeat !important;
}

.menu .home:hover:after {
    visibility: visible;
    top: -275%;
}
.menu .home:hover:before {
    visibility: visible;
    right: -1150px;
}

.menu .places:hover:after {
    visibility: visible;
    top: -375%;
}
.menu .places:hover:before {
    visibility: visible;
    right: -1150px;
}

.menu .about:hover:after {
    visibility: visible;
    top: -475%;
}
.menu .about:hover:before {
    visibility: visible;
    right: -1150px;
}

.menu .contact:hover:after {
    visibility: visible;
    top: -575%;
}
.menu .contact:hover:before {
    visibility: visible;
    right: -1375px;
}
.menu .menu-title {
    color: white;
    font-size: 1em;
    opacity: 0.4;
    letter-spacing: 10px;
}

.menu-btn {
    /*position: fixed;
    top: 60px;
    right: 100px;*/
    cursor: pointer;
    letter-spacing: 5px;
    font-weight: bold;
}


.menu-btn:hover span:nth-child(1) {
    width: 70px;
}
.menu-btn:hover span:nth-child(2) {
    width: 65px;
    margin-left: -10px;
}
.menu-btn span {
    display: block;
    margin: 5px 0;
    background: black;
    width: 65px;
    height: 5px;
}
.menu-btn span:nth-child(2) {
    width: 40px;
    transition-delay: 0.1s;
}

.border-img{
    border: 30px solid white;
    position: relative;
}

.bottom{
    margin-bottom: 150px;
}

.top {
    margin-top: 60px;
}

.origini-content{
    font: normal normal 300 35px 'Playfair Display';
    letter-spacing: 1px;
    color: var(--main-color);
    padding: 100px 200px;
    text-align: center;
}



.row-back{
    display: flex;
    width: 100%;
    justify-content: start;
    align-items: center;
}
.row-back a{
    text-decoration: underline;
    font: normal normal medium 20px/24px 'Raleway';
    letter-spacing: 1px;
    color: #454545;
    text-transform: uppercase;
}
.back{
    padding-top: 13vh;
}
.section-prodotto{
    height: 90vh;
}

.content-prodotto{
    
    display: flex;
    flex-direction: row;
}

.titolo-vino{
    text-align: left;
    font: normal normal 300 50px 'Playfair Display';
    letter-spacing: 3.5px;
    color: #313131;
    text-transform: capitalize;
}

.desc-vino{
    text-align: left;
    font: normal normal 300 20px 'Raleway';
    letter-spacing: 0.75px;
    line-height: 32px;
    color: #1C0B00;
    opacity: 1;
}

.items{
    text-align: left;
    font: normal normal 300 18px/45px 'Raleway';
    letter-spacing: 2.5px;
    color: #1C0B00;
}

.items span.bold{
    text-align: left;
    font: normal normal 500 18px/45px 'Raleway';
    letter-spacing: 2.5px;
    color: #1C0B00;
    opacity: 1;
}

.actions{
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.actions a{
    text-align: center;
    font: normal normal 500 16px Raleway !important;
    letter-spacing: 1px;
    color: #454545;
    text-transform: uppercase;
    opacity: 1;
}

.caratteristiche{
    width: 100%;
}

.caratteristiche .titolo{
    text-align: left;
    font: normal normal 600 20px/35px Raleway;
    letter-spacing: 4.5px;
    color: #A59983;
}

.item-caratteristiche .titolo-item{
    text-align: left;
    font: normal normal 600 20px Raleway;
    letter-spacing: 3.45px;
    color: #454545;
    opacity: 1;
}

.item-caratteristiche .desc{
    font-size: 16px !important;
}

.manina{
    cursor:pointer;
}
/*
.container {
    display: flex;
    height: 100%;
    overscroll-behavior: contain !important;
    scroll-snap-type: y mandatory;
    scroll-padding-block: 200px;
    overflow-y: auto;
    scroll-behavior: smooth;
}

.fixed {
    flex: 1;
    overflow: hidden;
    padding: 20px;
    position: fixed !important;
    top: 250px;
    bottom: 0;
}

.scrollable {
    flex: 1;
    background-color: #fff;
    padding: 20px;

}
*/
.container {
    margin: 0 auto;
    padding: 20px;
    position: relative;
    display: flex;
}

.scrollable::-webkit-scrollbar {
    width: 0px;  /* Nascondiamo la barra di scorrimento su Chrome e Safari */
}

.scrollable {
    max-height: 600px;
    padding-top: 10px;
    overflow-y: auto;
    position: relative;
    -ms-overflow-style: none;  /* Nascondiamo la barra di scorrimento su Internet Explorer e Edge */
    scrollbar-width: none;  /* Nascondiamo la barra di scorrimento su Firefox */

}
.fixed {
    position: -webkit-sticky; /* Per Safari */
    position: sticky;
    top: 20px; /* Regola l'altezza iniziale dell'elemento fisso */
}



/*
#sticky-bottle {
    position: sticky;
    position: -webkit-sticky;
    width: auto;
    height: auto;
    top: 235px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}


.extra,
#wrapper {
    width: 100%;
    margin: auto;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: start;
}

#wrapper {
    height: 800px;
}
*/
footer{
    z-index: 99999;
    font-family:'Raleway';
}

/*
body {
    font-family: georgia;
    height: 1000px;
}*/
h4 {
    text-align: center;
}





@media (min-height: 768px) {
/*  #wrapper{
      height: 2000px;
  } */
}


















@media only screen and (max-device-width: 1366px) {
  .parallax {
      background-attachment: scroll;
  }


}


@media only screen and (max-width: 1024px){
  .bottom{
      margin-bottom: 0px !important;
  }

  .top {
      margin-top: 0px !important;
  }

  .origini-content{
      font: normal normal 300 25px 'Playfair Display';
      color: var(--main-color);
      padding: 30px 50px;
      text-align: center;
  }

  .element-explore-contact{
      height: 350px;
  }

  .element-explore{
      height: 350px !important;
  }

  .titolo-vino{
      text-align: left;
      font: normal normal 300 35px 'Playfair Display';
      letter-spacing: 3.5px;
      color: #313131;
      text-transform: capitalize;
  }

  .mt-img{
      margin-top: 0px !important;
  }

  .menu-items{
      flex-direction: column;
  }


  .menu .links-container {
      list-style-type: none;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      align-items: flex-end;
      width: 100%;
      height: 100vh;
      gap: 20px;
      margin-left: 0px !important;
      padding-right: 40px;
      padding-bottom: 75px;
  }

  .btn-secondary-custom--outline{
      padding: 10px 40px;
      font: normal normal 400 16px 'Raleway';
  }

    .wine-banner{
        height: 100px;
    }

    .w-bottle{
        width: 30%;
    }
}


@media only screen and (max-width: 768px) {



  .menu .links-container .item .menu-item{
      font: normal normal 600 25px 'Playfair Display';
      margin-bottom: 155px;
  }

  .menu .links-container .item .menu-item:hover {
      font-size: 26px;
  }
  .menu .links-container .item.multiple .divider::after {
      content: "";
      width: 100px;
      /*gap: 10px;
      height: 40%;*/
  }

  .border-img{
      border: 10px !important;
  }


  .sub-items{
      font: normal normal 600 16px 'Playfair Display';
      width: 70%;
  }

  .menu-btn {
      position: fixed;
      top: 50px;
      right: 30px;
  }

  .content h1{
      font-size: 50px;
      margin-top: 100px;
  }

  .content h3{
      font-size: 42px;
  }

  .content{
      padding: 1rem 0.2rem;
      width: 93%;
  }

  .origini-content{
      font: normal normal 300 20px 'Playfair Display';
      padding: 30px 0px;
  }

  .end-home img {
      right: 45%;
      bottom: 15px;
  }

  .intestazione{
      font-size: 18px;
  }

  .title{
      font-size: 31px !important;
      line-height: 40px;
  }

  .desc{
      font-size: 16px;
  }

  .bg-image{
      height: 90vh;
  }

  .content-explore h2{
      width: 100%;
      line-height: 35px !important;
  }

  .wine-lists .item img {
      width: 190px;
  }

  .navbar-default img{
      max-width: 80px !important;
  }

    .img-cantina-wine{
        width: 90%;
    }


    .scrollable {
        max-height: none !important;
        padding-top: 10px;
        overflow-y: auto;
        position: relative;
        -ms-overflow-style: none;  /* Nascondiamo la barra di scorrimento su Internet Explorer e Edge */
        scrollbar-width: none;  /* Nascondiamo la barra di scorrimento su Firefox */

    }

}