
body {
  font-family: 'Dosis', serif;
  background-color:white;  
}

html {
  scroll-behavior:smooth;
  width: 100%;
}

.txtHome{
  font-size: 20px;
}

.bgImg{
  background-image: url("/images/Index/Novita/tramonto-in-moto.jpg");  
  height: 600px;
  width: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  overflow:hidden;
}

#btnHomeNatale{
  background-color:red; 
  border-radius: 30px; 
  border:10px solid red; 
  padding: 10px;
}

#imgGiftCard{
  width: 60%;
  border-radius: 30px;
}

.parallax-container {
  /*  this is where the magic happens:  */
  background-image: url("/images/Index/Novita/pexels-enric-cruz-lópez-6039250.jpg");
  background-attachment: fixed;
  background-position: center;
  background-size: cover;

  /* dimensions are important, ensure it is tall enough to scroll */ 
  min-height: 90vh;

  /* you are free to lay out the container items with flexbox or whatever means you wish */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}


.bg-text {
  text-align: center;
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #f7f7f7fc;
  font-weight: 900;
  font-size: 46px;
  text-shadow: rgb(122, 122, 122) 4px 3px 0px;
  width: 80%;
  } 

  #btnScopri {
    font-size: 30px !important;
    position: absolute;
    top: 82%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 350px;
    background-color: black; /* Sfondo nero */
    color: white; /* Testo bianco */
    transition: background-color 0.3s ease, color 0.3s ease; /* Aggiunge una transizione per un effetto più fluido */
}

#btnScopri:hover {
    background-color: white; /* Cambia il colore di sfondo a bianco quando si passa con il mouse */
    color: black; /* Cambia il colore del testo a nero per contrastare lo sfondo bianco */
}

a:hover {
  color: #050505;
}

h1{
  margin-top: 20px;
}

#ImgTop{
  position:fixed; 
  bottom:20px; 
  right:20px; 
  z-index:200; 
  display:none; 
  cursor:pointer;
 }

.descrizioni{
  font-size: 20px;
  text-align: justify;
}

#imgBlog {
  object-fit: contain;
  max-height: 400px;
  width:100%; 
}

#imgHome{
  width: 100% !important;
  position:static !important;
  top: 50%;    
}

#header{
  background-color:white;
  align-content: center;
}

.section-header{
  margin: 20px;
}


blockquote {
  font-size: 15px !important;
}

#logo{
  max-width: 100%;
  height: 70px;
  padding: 0;
  margin: 5px;
  background-color: #ffffff00 !important;
}

#loghisocial{  
  margin: 10px;  
 
}

.navbar-brand{
  padding: 10px !important;
  height: 120px;
}


/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

.noPad {
  padding: 0;
}

/* Column */
.column {
  float: left;
  width: 50%;
  padding: 10px;
}

/* navbar */
.navbar {
  overflow:visible;
  background-color: black;
  justify-content: center;
}

.navbar a {
  font-size: 22px;
  color: black;
  text-align: center;

  text-decoration: none;
}

.navbar a:hover, .dropdown:hover .dropbtn {
  background-color: #FFFF00;
  border-radius: 50px;
  
}

.navbar-toggler{
  margin: 30px !important;
} 


/* Dropdown menu */

/* li.nav-item.dropdown{
  padding: 0 20px;
} */

.dropdown {
  float: left;
  overflow: visible;
}

.dropdown-menu{
  border: none !important;
}

.dropdown .dropbtn {
  font-size: 14px;  
  border: none;
  outline: none;
  color:  #FF7878;
  padding: 20px 20px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.dropdown-item{
  width:100% !important;
  /* border-radius:10em ; */
  align-items: center;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 10px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: #7e7a7abb;

}

.dropdown:hover .dropdown-content {
  display: block;
}

.button {
  background-color: #E71F3A !important;
  border: none;
  color: white;
  padding: 20px 34px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 20px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 25rem;
}

.button:hover {
  background-color: white;
  color: black !important;
}

*, ::after, ::before {
  box-sizing: border-box;
}

.clearfix{
  margin: 20px 20px;
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

.card-body{
  font-size: 20px;
}

.card-text{
  font-weight: lighter;
  font-size: 14;
}

.card-title{
  font-size: 20;
}


/* Flexbox */

.flex-container {
  display:flex;
  background-color: white;
  justify-content: center;
  /* align-items: center; */
  flex-direction: column;
  flex-wrap: wrap;  
  
}

/* Carousel */
/* Forza l'immagine a occupare tutta la larghezza dello schermo */
.carousel-full-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1920 / 700;
  object-fit: cover;
  display: block;
}

/* OTTIMIZZAZIONE PER MOBILE */
/* Per schermi più piccoli di 768px... */
@media (max-width: 767px) {
  .carousel-full-img {
    /* ...usiamo un aspect-ratio più "verticale", come 3:2 o 4:3 */
    aspect-ratio: 3 / 2;
  }
}

.carousel-item {
  position: relative;
}


/* Rimuove i margini del body per far sì che l'immagine vada da bordo a bordo */
body {
  margin: 0;
  padding: 0;
}

/* Barra in fondo alla slide, centrata */
.carousel-bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  padding: 20px 15px;
  z-index: 10;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}

.carousel-text {
  display: inline-block;
  background-color: rgba(0, 0, 0, 0.5); /* sfondo scuro trasparente */
  padding: 15px 30px;
  border-radius: 8px;
}


/* Testo centrale su sfondo trasparente */
.carousel-text h2,
.carousel-text p {
  color: #fff;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
  margin-bottom: 10px;
}

.carousel-text h2 {
  font-size: 2em;
}

.carousel-text p {
  font-size: 1.1em;
}

.carousel-text .button {
  margin-top: 5px;
  background-color: #E71F3A;
  color: white;
  padding: 10px 25px;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}

.carousel-text .button:hover {
  background-color: #ffc107;
  color: #000;
}

/* ================================================ */
/* INIZIO STILI FOOTER - Incolla questo in base.css */
/* ================================================ */

.footer-principale {
  background-color: #CFDC50;
  padding: 25px 15px;
  text-align: center;
  color: black;
  /* NON usare 'height' fissa, l'altezza sarà automatica */
}

.footer-container {
  display: flex;
  flex-direction: row; /* Su schermi grandi, le colonne sono affiancate */
  justify-content: space-around;
  align-items: center;
  gap: 20px; /* Spazio tra le colonne */
}

.footer-colonna {
  flex: 1; /* Le colonne si dividono lo spazio */
  min-width: 300px; /* Larghezza minima per evitare che si schiaccino troppo */
}

.footer-colonna p {
  margin: 8px 0;
}

.footer-copyright {
  margin-top: 25px;
  padding-top: 15px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 0.8em;
}

.footer-principale a {
  color: #007bff;
  text-decoration: none;
}
.footer-principale a:hover {
  text-decoration: underline;
}

/* REGOLE PER SMARTPHONE E SCHERMI PICCOLI */
@media (max-width: 670px) {
  .footer-container {
    flex-direction: column; /* Impila le colonne una sopra l'altra */
  }
}

/* ================================================ */
/* FINE STILI FOOTER                              */
/* ================================================ */


/* Responsivo su schermi piccoli */
@media (max-width: 768px) {
  .carousel-full-img {
    aspect-ratio: 16 / 6; /* equivalente a 1920x720 */
    max-height: 400px;
  }
  .carousel-text h2 {
    font-size: 1.4em;
  }
  .carousel-text p {
    font-size: 0.95em;
  }
  .carousel-text .button {
    padding: 8px 16px;
    font-size: 0.9em;
  }
}

@media (max-width: 768px) {
  .carousel-full-img {
    height: 70vh;
    object-position: center center;
  }
}


/* Cookies */
/* Styling for the cookie banner */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #333333e0;
  color: #fff;
  padding: 10px;
  text-align: center;
  z-index: 999;
}

/* Styling for the accept button */
.accept-button {
  background-color: #FF7878;
  border-radius: 26px;
  color: #fff;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
}
/* Media queries */

@media (min-width: 392px) and (max-width:575px) {
  #imgGiftCard{
    width: 30%;
    margin: 5px;
  }

  .row{
    --bs-gutter-x:0
  }
}

@media only screen and (max-width: 700px) {
  .responsive {
    width: 49.99999%;
    margin: 6px 0;
  }
}

@media (min-width: 708px) {
  .card-img{
    width: 100%; 
    object-fit:cover;
  }
}

@media (max-width:768px) {

  .bg-text {
    text-align: center;
    position: absolute;
    top: 40%;
    left: 50%;
    line-height: 1.2;
    transform: translate(-50%, -50%);
    color: #f7f7f7;
    font-weight: 900;
    font-size: 30px;
    text-shadow: rgb(122, 122, 122) 4px 3px 0px;
    width: 70%;
    } 

    #btnHomeNatale{
      background-color:red; 
      border-radius: 30px; 
      border:10px solid red; 
      padding: 5px;
      margin: 10px;
      font-size: 25px;
    }

    #imgGiftCard{
      width: 80%;
      margin: 10px;
    }

    .bgImg{
      background-color: antiquewhite;
      height: 500px;
      width: 100%;
      background-position: center;
      background-repeat: no-repeat;
      background-size: cover;
      position: relative;
    }

    #btnScopri{
      font-size: 20px !important;
       position: absolute;
       top: 85%;
       left: 50%;
       background-color:#E71F3A ;
       transform: translate(-50%, -50%);
       min-width: 150px;
     }

  .dropdown-item{
    /* width:30% !important; */
    border-radius:10em ;
  }

  #imgChisono{
    width: 70% !important;
    position:static !important;  
  }

  .navbar{
    justify-content: space-around !important;
  } 

}

@media screen and (max-width:1200px) {
  .column {
    width: 100%;
  }

}

@media (min-width:1200px) {
  #imgGiftCard{
    width: 70%;
    margin: 20px;
  }

  #btnHomeNatale{
    background-color:red; 
    border-radius: 30px; 
    border:10px solid red; 
    padding: 5px;
    margin: 10px;
    font-size: 40px;
  }

  

}










