* {
  font-family: "Montserrat", sans-serif;
}

/* Navbar settings */
.navbar-nav {
  text-transform: uppercase;
}

nav {
  min-height: 15vh;
  z-index: 1 !important;
}

nav .nav-link {
  text-decoration: none;
  background-image: linear-gradient(#c6b46d, #c6b46d),
    linear-gradient(#121111, #121111);
  background-size: 0 2px, 100% 2px, 0 2px;
  background-position: -100px 100%, 100% 100%, 0 100%;
  background-repeat: no-repeat;
  transition: background-size 1s linear, background-position 1s linear;
}

nav .nav-link:hover {
  background-size: 100% 2px;
  background-position: 100% 100%, 100% 100%, 0 100%;
}

nav .navbar-nav a {
  color: #c6b46d !important;
  font-size: 13pt;
}

.bg-darkest {
  background-color: #121111;
}

/* Show more info */
.mostra-altro {
    color: #c6b46d;
    background-color: rgb(18, 17, 17);
    padding: 1vw;
}

/* Main content */
/* Central image */
[alt="funeral"] {
  margin-top: 15vh;
  min-height: 85vh;
}

/*Icons*/
.w-15 {
  width: 15% !important;
}

.bolder {
  font-weight: bolder;
}

#servizi img{
  cursor: pointer;
}

/*Effetto hover immagini*/
.hover08 img {
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}
.hover08 img:hover {
  -webkit-filter: grayscale(0);
  filter: grayscale(0);
}

.hover08 img{
  cursor: pointer;
}

/*Footer*/
footer,
footer a {
  color: #c6b46d !important;
}

/*Sezione contattaci*/
#contattaci span {
  display: block;
}

.contact {
  max-width: 15vw;
  left: 1%;
  bottom: 20px;
}

.tooltip{
  z-index: 1 !important;
}

.border-darkest{
  border: 1px solid rgb(18, 17, 17);
}

.contact a img, .contact img {
  cursor: pointer;
  height: 70px;
  padding: 5px !important;
  width: 70px;
}

/*Tasto contatti*/
.info {
  font-size: 3vw;

  font-weight: bolder;
  color: #c6b46d !important;
}

.info a{
  font-size: 3vw;

  font-weight: bolder;
  color: #c6b46d !important;
}

.go-top{
  right: 1vw;
  bottom: 20px;
  font-size: 3vw;
  box-shadow: none !important;
  min-height: 80px;
}

/* Banner */
.banner span {
  font-size: 3.5vw;
  font-family: 'Sansita Swashed', cursive;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 2; /* Sit on top */
  padding-top: 100px; /* Location of the box  */
  align-items: center;
  flex-direction: column;
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.85); /* Black w/ opacity */
}

#more-about-services{
  flex-direction: row;
  padding-top: 50px;
}

/* Modal Content (Image) */
.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 600px;
}

.c-modal-image{
  margin-left: 2.5vw;
  width: 45vw;
  display: block;
  max-height: 70vh;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

.c-modal-text{
  margin-left: 5vw;
  margin-right: 2.5vw;
  min-width: 45vw;
  text-align: justify;
  color: #ccc;
  max-height: 70vh;
  overflow: scroll;
}

.c-modal-text h3{
  text-transform: capitalize;
  padding-left: 5%;
  color: black;
}

.c-modal-text p{
  padding-left: 5%;
  padding-right: 5%;
  color: black;
}

/* Add Animation - Zoom in the Modal */
.modal-content,
#caption,
.c-modal-image,
.c-modal-text {
  animation-name: zoom;
  animation-duration: 0.6s;
}

@keyframes zoom {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

.btn-outline-gold{
  border-radius: 50%;
  border: 1px solid #c6b46d;;
}

.btn-outline-gold:hover{
  border: 1px solid white;
  color: white !important;
  background-color: #c6b46d;;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
  .hover08 img {
    -webkit-filter: grayscale(0%);
    filter: grayscale(0%);
  }

  .modal-content {
    width: 100%;
  }

  #more-about-services{
    flex-direction: column;
  }

  #more-about-services img {
    width: 90%;
    margin: auto;
  }

  .c-modal-text{
    min-width: 90vw;
    max-height: 45vh;
    margin: auto;
  }

  .c-modal-text h3{
    font-size: 4vw;
  }

  .c-modal-text p{
    font-size: 3vw;
  }

  .mostra-altro{
    font-size: 2.5vw;
  }

  footer{
    font-size: 2vw;
  }

  .banner img{
    width: 100% !important;
    padding: 1%;
  }

  .go-top{
    padding-top: 5%;
    font-size: 10vw;
  }

  [alt="funeral"] {
    margin-top: 15vh;
    min-height: unset !important;
  }

}

/* Selezione testo */
*::-moz-selection {
  background-color: rgb(18, 17, 17);
  color: #c6b46d;
}

/* Motore Webkit*/
*::-webkit-selection {
  background-color: rgb(18, 17, 17);
  color: #c6b46d;
}

/* Altri Browser */
*::selection {
  background-color: rgb(18, 17, 17);
  color: #c6b46d;
}
  
  
