html {
    scroll-padding-top: 4.5rem;
  }
  body {
    font-family: "Poppins", sans-serif;
    /*font-family: "Open Sans", sans-serif;*/
    background: #0c0b09;
    color: #fff;
  }
  
  a {
    color: #cda45e;
    text-decoration: none;
  }
  
  a:hover {
    color: #d9ba85;
    text-decoration: none;
  }

  h1, h2, h3, h4, h5, h6 {
    font-family: "Playfair Display", serif;
  }

  .bi-eye-fill{
    position: absolute;
    top: 28%;
    right: 4%;
    cursor: pointer;
    color: rgb(117, 114, 114);
}



/* per aprire modal nella finestra in cui ci troviamo*/
/* non deve essere presente href nel link <a>        */
body.modal-open {
  overflow: visible;
}


/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 60px 0;
  overflow: hidden;
}

.section-bg {
  background-color: #1a1814;
}

.section-title p {
  margin: 0;
  margin: 0;
  font-size: calc(1.2rem + 1.1vw);
  font-weight: 700;
  font-family: "Playfair Display", serif;
  color: #cda45e;
  text-align: center;
}

@media (max-height: 500px) {
  #galleria .btns {
    margin-top: 5px;
  }  
}

/*--------------------------------------------------------------
# Galleria fotografica Section
--------------------------------------------------------------*/
#galleria {
  background-color: #403e3a;
}

#galleria .btns {
  margin-top: 30px;
}

#galleria .btn-menu {
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  transition: 0.3s;
  line-height: 1;
  color: white;
  border: 2px solid #cda45e;
  background-color: #44300d;
}

#galleria .btn-menu:hover {
  background: #cda45e;
  color: #1a0303;
}

.grid-container {
  columns:4 200px;
  column-gap: 1rem;
  margin: 0 auto;
}
.grid-container div {
    width: 150px;
    /*margin: 0 1.5rem 1.5rem 0;*/
    display: inline-block;
    width: 100%;
    border: solid 2px #ccb2b2;
    background-color: #110101;
    padding: 5px;
    /*box-shadow: 5px 5px 5px rgba(0,0,0,0.5);*/
    border-radius: 5px;
    /*transition: all .25s ease-in-out;*/
}
/*
.grid-container img:hover {
  filter: grayscale(100%);
}
*/
img:hover {
      border-color: coral;
}
img {
      width: 100%;
      filter: grayscale(0);
      border-radius: 5px;
      transition: all .25s ease-in-out;
    }
p {
      margin: 5px 0;
      padding: 3px;
      text-align: center;
      font-style: italic;
    }
    
p.titolo_img {
  text-align: center;
  font-weight: bold;
  font-size: 110%;
}
p.descrizione_img {
  text-align: left;
}

.wrapper {
  max-width: 1280px;
}

.masonry {
  display: grid;
  grid-gap: 1em;
  grid-template-columns: repeat(auto-fill, minmax(260px,1fr));
  grid-auto-rows: 0;
}

.masonry-content {
  overflow: hidden;
}

.masonry-brick {
  color: #2f3640;
  background-color: #f5f6fa;
  transition: opacity .25s ease-in-out;
}

.masonry-brick:hover {
   opacity: .75;
}

.masonry-title,
.masonry-description {
  margin: 0;
}

.masonry-title {
  font-weight: 700;
  font-size: 1.1rem;
  padding: 1rem 1.5rem;
}

.masonry-description {
  padding: 1.5rem;
  font-size: .75rem;
  border-top: 1px solid #eee;
  color: #666;
}


/*************************************/
/* scroll top                        */
/*************************************/
.scroll {
  color: #fff;
  margin-top: 100px
}

#toTopBtn {
  position: fixed;
  bottom: 26px;
  right: 39px;
  z-index: 98;
  padding: 21px;
  background-color: hsla(5, 76%, 62%, .8)
}

.js .cd-top--fade-out {
  opacity: .5
}

.js .cd-top--is-visible {
  visibility: visible;
  opacity: 1
}

.js .cd-top {
  visibility: hidden;
  opacity: 0;
  transition: opacity .3s, visibility .3s, background-color .3s
}

.cd-top {
  position: fixed;
  bottom: 20px;
  bottom: var(--cd-back-to-top-margin);
  right: 20px;
  right: var(--cd-back-to-top-margin);
  display: inline-block;
  height: 40px;
  height: var(--cd-back-to-top-size);
  width: 40px;
  width: var(--cd-back-to-top-size);
  box-shadow: 0 0 10px rgba(0, 0, 0, .05) !important;
  background: url(https://res.cloudinary.com/dxfq3iotg/image/upload/v1571057658/cd-top-arrow.svg) no-repeat center 50%;
  background-color: hsla(5, 76%, 62%, .8);
  background-color: hsla(var(--cd-color-3-h), var(--cd-color-3-s), var(--cd-color-3-l), 0.8)
}


p.modal-title {
  color: black;
  font-size: calc(1.2rem + 0.4vw);
}

.height {
  height: 3000px
}


  hr {
    margin: 1rem 0;
    color: inherit;
    border: 0;
    border-top: 1px solid;
    opacity: 0.25;
  }
  
  
  @media (min-width: 1200px) {  
    h3, .h3 {
      font-size: calc(1.3rem + 0.6vw);
  }
}

  @media (min-width: 1200px) {
  
  p {
    margin-top: 0;
    margin-bottom: 1rem;
  }
  body {
    position: relative;
  }
  
  p {
    line-height: 1.75;
  }
  
  .menu-content p {
    margin-bottom: 0px;
  }

  .btn-xl {
    padding: 1.25rem 2.5rem;
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 1.125rem;
    font-weight: 700;
  }
  
  .btn-social {
    height: 2.5rem;
    width: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 100%;
  }
  
}