@charset "UTF-8";
:root {
  --bs-primary: $primary-color;
  --bs-secondary: $secondary-color;
  --bs-tertiary: $tertiary-color;
  --bs-success: $success-color;
  --bs-info: $info-color;
  --bs-warning: $warning-color;
  --bs-danger: $danger-color;
  --bs-light: $light-color;
  --bs-dark: $dark-color;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
}

body {
  color: #212529;
  text-rendering: optimizeLegibility;
  font-weight: 400;
  background-color: rgba(0, 0, 0, 0.03);
}

/* Query dei media per il tema chiaro */
@media (prefers-color-scheme: light) {
  body {
    background-color: #ffffff; /* Sfondo chiaro */
  }
}
/* Query dei media per il tema scuro */
@media (prefers-color-scheme: dark) {
  body {
    background-color: #000000; /* Sfondo scuro */
  }
}
#page {
  margin-top: 4.5rem !important;
  background-color: #ffffff; /* Sfondo chiaro */
}

@media (max-width: 768px) {
  footer {
    padding-bottom: 5.5rem !important;
  }
}
@media (max-width: 390px) {
  footer {
    padding-bottom: 4.3rem !important;
  }
}
main {
  margin-top: 3em !important;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

@media (min-width: 992px) {
  main {
    margin-top: 4rem !important;
  }
}
section {
  margin-bottom: 2rem !important;
}

a {
  color: #0b5ed7;
  text-decoration: none;
}

a:hover {
  color: #96cb2a;
}

h1 {
  font-weight: bold;
  color: #6fc142;
}

#intro {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
#intro .typing-effect {
  display: inline-block;
  color: black;
  white-space: nowrap;
  border-right: 0.15em solid black;
  overflow: hidden;
}

.navbar {
  z-index: 200 !important;
  font-family: "Poppins", sans-serif;
  box-shadow: inset 0 -0.2rem 0 0 #96cb2a;
  -webkit-backdrop-filter: blur(0.2rem);
  backdrop-filter: blur(0.2rem);
  height: auto;
  margin: 0 !important;
  background-color: rgba(0, 0, 0, 0.8823529412);
}

.navbar .nav-item {
  background-color: #212529 !important;
  border: 0.2rem solid #111315;
  border-radius: 0.7rem;
}

.navbar .nav-item:hover {
  background-color: #0c0d0e !important;
}

.navbar .nav-link {
  padding: 0.625rem !important;
  color: #f8f9fa !important;
  letter-spacing: 0.015rem;
  font-size: 105%;
}

.navbar .nav-link.active {
  color: #96cb2a !important;
}

.navbar .nav-link:hover {
  color: #ff7207 !important;
}

footer {
  border-top: 0.3rem solid #171616;
  background-color: #0a0b0c;
  color: white;
}
footer a {
  text-decoration: underline;
  color: #96cb2a;
}
footer a:hover {
  color: rgb(230, 7, 7);
}
footer p {
  margin-bottom: 0.5rem; /* Aggiunge un margine in basso di 0.5rem */
}
footer i {
  display: inline-flex !important; /* Abilita flexbox per il layout */
  align-items: center !important; /* Centra gli elementi verticalmente */
  justify-content: center !important; /* Allinea gli elementi all'inizio del contenitore */
  width: 1.3rem;
  margin-right: 0.1rem;
  font-size: 90% !important;
}
footer .mobile-navbar {
  background-color: #0a0b0c;
  box-shadow: inset 0 0.15rem 0 0 #d0d1cd;
  padding-top: 0.25rem;
  padding-bottom: 0.1rem;
  /* Mobile Navbar Contatti / Torna Su */
}
footer .mobile-navbar .navigation-row {
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.4rem 0.5rem 0.4rem;
}
footer .mobile-navbar .navigation-row .flex-fill {
  flex: 1 1 auto;
}
footer .mobile-navbar .navigation-row .flex-fill a {
  border-radius: 0.4rem;
  padding-top: 0.5rem;
  padding-bottom: 0.3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.2rem;
  height: 100%;
  font-weight: 550;
  color: #0a0b0c;
}
footer .mobile-navbar .navigation-row .flex-fill a .bi {
  font-size: 1.9rem !important;
  margin: 0 !important;
}
footer .mobile-navbar .navigation-row .flex-fill a .text {
  font-size: 0.9rem !important;
  padding: 0 !important;
  margin: 0 !important;
}
@media (max-width: 390px) {
  footer .mobile-navbar .navigation-row {
    gap: 0.4rem;
  }
  footer .mobile-navbar .navigation-row .flex-fill a {
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
  }
  footer .mobile-navbar .navigation-row .flex-fill a .bi {
    font-size: 1.5rem !important;
  }
  footer .mobile-navbar .navigation-row .flex-fill a .text {
    display: none;
  }
}

/* Regole CSS personalizzate */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: #333; /* colore di sfondo più scuro */
  border-radius: 50%; /* rendi il background circolare */
  display: flex; /* per centrare l'icona verticalmente */
  justify-content: center; /* per centrare l'icona verticalmente */
  align-items: center; /* per centrare l'icona verticalmente */
  padding: 1.8rem;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease; /* effetto di transizione */
}

.carousel-control-prev-icon::before,
.carousel-control-next-icon::before {
  color: #fff; /* colore dell'icona più chiaro */
}

/* Effetto hover */
.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover,
.fullscreen-btn:hover {
  background-color: #555; /* cambiamento del colore di sfondo al passaggio del mouse */
  transform: scale(1.1); /* ingrandimento al passaggio del mouse */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* ombreggiatura al passaggio del mouse */
}

.img-page {
  width: 500px;
  height: auto;
}

#backToTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  z-index: 500;
  color: white;
  background-color: #a8d54f !important;
  border: 0.26rem solid #99cd32 !important;
  box-shadow: none !important;
}
#backToTopBtn:focus {
  background-color: #99cd32 !important;
}
#backToTopBtn:hover {
  background-color: #96cb2a !important;
}

/* Stile per la barra di avanzamento */
#reading-progress-bar {
  position: fixed;
  bottom: 0;
  /* Modificato per spostare la barra in basso */
  left: 0;
  width: 0%;
  height: 4px;
  /* Regola qui l'altezza della barra */
  background-color: yellowgreen;
  /* Colore della barra */
  z-index: 9999;
  /* Assicura che la barra sia visibile sopra gli altri elementi */
  transition: width 0.5s ease-out;
  /* Aggiunge una transizione per rendere il cambiamento di larghezza più fluido */
}

#servizi {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
#servizi .card {
  position: relative;
  border: 0;
  border-radius: 0;
  background-color: #fff;
  box-shadow: 0 12px 20px 1px rgba(64, 64, 64, 0.09);
  text-decoration: none;
}
#servizi .card::after {
  display: block;
  position: absolute;
  bottom: -10px;
  left: 20px;
  width: calc(100% - 40px);
  height: 35px;
  background-color: #fff;
  box-shadow: 0 19px 28px 5px rgba(64, 64, 64, 0.09);
  content: "";
  z-index: -1;
}
#servizi .card .card-body .card-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: 170%;
}
#servizi .card .card-body .card-text {
  color: #8c8c8c;
}
#servizi .card .box-shadow {
  box-shadow: 0 12px 20px 1px rgba(64, 64, 64, 0.09) !important;
}
#servizi .card .rounded-circle {
  border-radius: 50% !important;
}
#servizi .card .bg-white {
  background-color: #fff !important;
}
#servizi .card .head-icon {
  margin-top: 18px;
  color: #6fc142;
}

body {
  background-color: #000;
  margin: 20px 0;
  font-family: Arial, sans-serif;
  overflow-x: hidden;
}

#gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 auto;
  max-width: calc(100% - 40px);
  padding: 0 10px;
}

.gallery-item {
  position: relative;
  background-color: white;
  margin: 10px;
  border-radius: 5px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
  width: calc(33.33% - 20px);
  max-width: 300px;
}
.gallery-item:hover {
  transform: scale(1.05);
}
.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
}
.gallery-item .card-info-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-item .card-info-overlay:hover {
  opacity: 1;
}

@media screen and (max-width: 576px) {
  .gallery-item {
    width: calc(50% - 20px);
  }
}
/* Media query per dispositivi pieghevoli più stretti con ottimizzazioni */
@media (min-width: 0px) and (max-width: 320px) {
  html {
    font-size: 0.75rem !important; /* Utilizzo di unità rem per la dimensione del font */
  }
}
button,
button i {
  font-size: 1.04rem;
}
@media screen and (min-width: 17.5rem) and (max-width: 125rem) {
  button,
  button i {
    font-size: calc(1.04rem + 0.0007906977 * (100vw - 17.5rem));
  }
}
@media screen and (min-width: 125rem) {
  button,
  button i {
    font-size: 1.125rem;
  }
}

p,
ul,
ol,
blockquote {
  font-size: 1.1rem;
}
@media screen and (min-width: 17.5rem) and (max-width: 125rem) {
  p,
  ul,
  ol,
  blockquote {
    font-size: calc(1.1rem + 0.0013953488 * (100vw - 17.5rem));
  }
}
@media screen and (min-width: 125rem) {
  p,
  ul,
  ol,
  blockquote {
    font-size: 1.25rem;
  }
}

a {
  font-size: 1.1rem;
}
@media screen and (min-width: 17.5rem) and (max-width: 125rem) {
  a {
    font-size: calc(1.1rem + 0.0000930233 * (100vw - 17.5rem));
  }
}
@media screen and (min-width: 125rem) {
  a {
    font-size: 1.11rem;
  }
}

nav a {
  font-size: 1.2rem;
}
@media screen and (min-width: 17.5rem) and (max-width: 125rem) {
  nav a {
    font-size: calc(1.2rem + 0 * (100vw - 17.5rem));
  }
}
@media screen and (min-width: 125rem) {
  nav a {
    font-size: 1.2rem;
  }
}

input,
figcaption {
  font-size: 1.04rem;
}
@media screen and (min-width: 17.5rem) and (max-width: 125rem) {
  input,
  figcaption {
    font-size: calc(1.04rem + 0.0002093023 * (100vw - 17.5rem));
  }
}
@media screen and (min-width: 125rem) {
  input,
  figcaption {
    font-size: 1.0625rem;
  }
}

h1 {
  font-size: 2.2rem;
}
@media screen and (min-width: 17.5rem) and (max-width: 125rem) {
  h1 {
    font-size: calc(2.2rem + 0.0202325581 * (100vw - 17.5rem));
  }
}
@media screen and (min-width: 125rem) {
  h1 {
    font-size: 4.375rem;
  }
}

h2 {
  font-size: 1.5rem;
}
@media screen and (min-width: 17.5rem) and (max-width: 125rem) {
  h2 {
    font-size: calc(1.5rem + 0.0037209302 * (100vw - 17.5rem));
  }
}
@media screen and (min-width: 125rem) {
  h2 {
    font-size: 1.9rem;
  }
}

h3 {
  font-size: 1.8rem;
}
@media screen and (min-width: 17.5rem) and (max-width: 125rem) {
  h3 {
    font-size: calc(1.8rem + 0.0111627907 * (100vw - 17.5rem));
  }
}
@media screen and (min-width: 125rem) {
  h3 {
    font-size: 3rem;
  }
}

h4 {
  font-size: 1.6rem;
}
@media screen and (min-width: 17.5rem) and (max-width: 125rem) {
  h4 {
    font-size: calc(1.6rem + 0.0027906977 * (100vw - 17.5rem));
  }
}
@media screen and (min-width: 125rem) {
  h4 {
    font-size: 1.9rem;
  }
}

h5 {
  font-size: 1.4rem;
}
@media screen and (min-width: 17.5rem) and (max-width: 125rem) {
  h5 {
    font-size: calc(1.4rem + 0.0027906977 * (100vw - 17.5rem));
  }
}
@media screen and (min-width: 125rem) {
  h5 {
    font-size: 1.7rem;
  }
}

.progress-bar {
  font-size: 1.04rem;
}
@media screen and (min-width: 17.5rem) and (max-width: 125rem) {
  .progress-bar {
    font-size: calc(1.04rem + 0.0002093023 * (100vw - 17.5rem));
  }
}
@media screen and (min-width: 125rem) {
  .progress-bar {
    font-size: 1.0625rem;
  }
}

footer,
footer a,
footer p,
footer span,
footer i {
  font-size: 1.04rem;
}
@media screen and (min-width: 17.5rem) and (max-width: 125rem) {
  footer,
  footer a,
  footer p,
  footer span,
  footer i {
    font-size: calc(1.04rem + 0.0007906977 * (100vw - 17.5rem));
  }
}
@media screen and (min-width: 125rem) {
  footer,
  footer a,
  footer p,
  footer span,
  footer i {
    font-size: 1.125rem;
  }
}

/* Nasconde l'elemento su schermi più piccoli di 480px */
@media (max-width: 480px) {
  .hide-on-small {
    display: block !important;
  }
}/*# sourceMappingURL=light.css.map */