/* @font-face {
  font-family: woodstamp;
  src: url("../font/Woodstamp.otf") format("opentype");
} */

:root {
  --primary-color: #E7AD2F;
  --secondary-color: #836140;
  --secondary-color-light: #c4a27f;
  --secondary-color-light-hover: #c49d76;
  --secondary-color-light-active: #af9173;
  --bs-black: #1c1c1c;
  --tertiary-color-rgb: 253, 229, 205, 0.7;
  --bs-primary-rgb: 196, 162, 127;
}

html {
  font-size: 17px;
}

html,
body {
  height: 100%;
}

body {
  font-family: 'Cabin', sans-serif;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6,
button[type="submit"],
.lobster {
  font-family: 'Lobster', cursive;
}

/* ===== Scrollbar CSS ===== */
/* Chrome, Edge, and Safari */
*::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  background-color: transparent;
}

*::-webkit-scrollbar {
  width: 6px;
  background-color: transparent;
}

*::-webkit-scrollbar-thumb {
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
  background-color: var(--primary-color);
}

/* Fine Scrollbar */

b,
strong {
  font-weight: 600;
}

.fs-10 {
  font-size: 10px;
}

.fs-11 {
  font-size: 11px;
}

.fs-12 {
  font-size: 12px;
}

.fs-14 {
  font-size: 14px;
}

.fs-16 {
  font-size: 16px;
}

.fs-17 {
  font-size: 17px;
}

.fs-18 {
  font-size: 18px;
}

.fs-20 {
  font-size: 20px;
}

.fs-21 {
  font-size: 21px;
}

.fs-22 {
  font-size: 22px;
}

.fs-23 {
  font-size: 23px;
}

.fs-24 {
  font-size: 24px;
}

.fs-25 {
  font-size: 25px;
}

.fs-30 {
  font-size: 30px;
}

.fs-36 {
  font-size: 36px;
}

.fs-40 {
  font-size: 40px;
}

.fs-47 {
  font-size: 47px;
}

.fs-50 {
  font-size: 50px;
}

.hv-100 {
  height: 100vh;
}

.mt-80 {
  margin-top: 80px;
}

.mb-80 {
  margin-bottom: 80px;
}

.mt-90 {
  margin-top: 90px;
}

.mb-90 {
  margin-bottom: 90px;
}

.pt-90 {
  padding-top: 90px;
}

.mw-50 {
  max-width: 50px;
}

.mw-80 {
  max-width: 80px;
}

.mw-150 {
  max-width: 150px;
}

.px-40 {
  padding-left: 40px;
  padding-right: 40px;
}

.top-90 {
  top: 90px;
}

.semibold {
  font-weight: 500;
}

.bold {
  font-weight: 600;
}

p {
  font-size: 16px;
}

a,
a:hover {
  color: var(--bs-black);
  text-decoration: none;
}

.text-underline {
  text-decoration: underline;
}

.img-avatar {
  border: 1px solid #1c1c1c;
  border-radius: 50%;
  padding: 1px;
}

.loader {
  position: fixed;
  background: rgba(0, 0, 0, 0.8);
  z-index: 999999;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: none;
}

.loader.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader.active img {
  animation: fade 2s linear infinite;
}

.text-wa {
  color: #25D366 !important;
}

.btn-secondary {
  --bs-btn-bg: var(--secondary-color-light);
  --bs-btn-border-color: var(--secondary-color-light);
  --bs-btn-disabled-bg: var(--secondary-color-light);
  --bs-btn-disabled-border-color: var(--secondary-color-light);
  --bs-btn-hover-bg: var(--secondary-color-light-hover);
  --bs-btn-active-bg: var(--secondary-color-light-active);
  --bs-btn-hover-border-color: var(--secondary-color-light-hover);
  --bs-btn-active-border-color: var(--secondary-color-light-active);
}

.bs-2 {
  border-left: 2px solid;
}

/* Navbar */
.navbar {
  font-family: 'Lobster', cursive;
  z-index: 100;
}

.navbar-collapse {
  transform: scale(0);
  transition: 0.25s linear;
}

.navbar-collapse.show:before {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  opacity: 0.98;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.navbar-collapse.collapsing {
  display: block;
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  min-height: 100vh;
  height: 100%;
}

.navbar-collapse.show {
  display: block;
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  min-height: 100vh;
  height: 100%;
  transform: scale(1);
}

.navbar-toggler-icon {
  --bs-navbar-toggler-icon-bg: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30"><path stroke="rgba(231, 173, 47, 1)" stroke-linecap="round" stroke-miterlimit="10" stroke-width="2" d="M4 7h22M4 15h22M4 23h22"/></svg>');
}

.navbar-collapse.show .mobile-menu {
  height: 100%;
}

#menu-icons a {
  font-size: 24px;
  color: var(--secondary-color);
}

.navbar-close-button {
  transform: translate(-1rem, .5rem);
}

.mobile-menu .navbar-nav {
  margin-top: 100px;
}

.mobile-menu .nav-link {
  position: relative;
  color: var(--bs-white);
  z-index: 10;
}

.mobile-menu .nav-link:hover,
.mobile-menu .nav-item.active .nav-link {
  color: var(--primary-color);
}

/* Fine Navbar */

.logo {
  background-color: rgba(var(--tertiary-color-rgb));
  margin-top: 55px;
}

.logo img {
  max-width: 300px;
  max-height: 90px;
}

#carousel-home {
  margin-left: calc(-.5 * var(--bs-gutter-x));
  margin-right: calc(-.5 * var(--bs-gutter-x));
  height: 300px;
}

.overlay-dark {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
}

.object-fit-cover {
  object-fit: cover;
}

#carousel-home .carousel-caption h5 {
  font-size: 24px;
}

#carousel-home .carousel-caption p {
  width: fit-content;
  font-family: 'Lobster', cursive;
}

.bottom-widget {
  position: relative;
  padding-bottom: 1rem;
}

.bottom-widget::after {
  content: "";
  display: block;
  height: 3px;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100px;
  right: 0;
  margin: auto;
  background-color: #fde5cd;
}

.bg-img {
  position: relative;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 250px;
}

.txt {
  padding: 10px 15px;
  text-align: justify;
}

.h6 {
  font-size: 18px;
}

.w-95 {
  width: 95%;
}

.block-bg-gray {
  padding: 25px 15px;
  background: #f3f3f3;
  margin-top: -40px;
  margin-left: 5%;
  z-index: 1;
  position: relative;
  height: 100%;
}

.block-bg-gray.reverse {
  margin-left: 0;
  width: 95%;
}

img.reverse {
  margin-left: 5%;
}

.block-bg-gray h3 {
  background-color: rgba(var(--bs-primary-rgb));
  padding: 4px 10px;
  display: inline-block;
  color: #ffffff;
}

.block-bg-gray p {
  font-size: 14px;
}

.block-img {
  height: 250px;
}

.block-img h2 {
  position: absolute;
  width: 100%;
  left: 0;
  bottom: -3px;
  background-color: rgba(255, 255, 255, 0.6);
  padding: 15px 0;
  margin-bottom: 0;
}

.lente {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  width: 100px;
  border-radius: 50%;
  color: #fff;
  font-size: 30px;
}

.fs-14 {
  font-size: 14px;
}

footer {
  background-color: var(--secondary-color);
}

.swiper .swiper-button-next,
.swiper .swiper-button-prev {
  --swiper-navigation-color: var(--primary-color);
  top: initial;
  left: auto;
  right: initial;
  margin-top: 0;
}

.swiper .swiper-button-next::after,
.swiper .swiper-button-prev::after {
  font-weight: 600;
  font-size: 25px;
}

.swiper .bottom-widget {
  width: 90%;
  left: 50%;
  bottom: initial;
  background-color: #fff;
  top: 100%;
  transform: translate(-50%, -50%);
}

.swiper .bottom-widget::after {
  display: none;
}

#back-to-top {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  width: 40px;
  position: fixed;
  bottom: 40px;
  right: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  opacity: 0;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
  z-index: 999;
  background-color: rgba(196, 162, 127, 1);
}

#back-to-top.visible {
  opacity: .6;
}

#back-to-top.visible:hover {
  background-color: rgba(196, 162, 127, 1);
  opacity: 1;
}

.image-wrap {
  margin-bottom: 1rem;
}

.galleria {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
}

.galleria a {
  flex: 1;
}

.galleria a img {
  height: 100%;
  object-fit: cover;
}

body.dintorni .carousel-caption {
  left: 5%;
  right: 5%;
}

@media screen and (min-width: 768px) {

  .fs-md-16 {
    font-size: 16px;
  }

  .logo img {
    max-width: 400px;
    max-height: 100px;
  }

  #carousel-home {
    height: 450px;
  }

  .block-bg-gray:not(.block-bg-gray-2) {
    margin-top: 0;
    margin-left: 0;
  }

  .block-bg-gray-2 {
    margin-top: 15px;
    margin-left: -10%;
  }

  img.reverse {
    margin-left: 0%;
    width: 100%;
  }

  .block-bg-gray.reverse {
    width: 105%;
  }
}

@media screen and (min-width: 992px) {

  /* Navbar */
  .navbar-collapse {
    transform: scale(1) !important;
  }

  .navbar-collapse.show:before {
    display: none;
  }

  .navbar-collapse.collapsing,
  .navbar-collapse.show {
    position: relative;
    height: auto;
    min-height: auto;
  }

  .navbar-collapse.show .mobile-menu {
    height: auto;
  }

  .mobile-menu .nav-link {
    color: var(--secondary-color);
  }

  /* Fine Navbar */

  .logo {
    margin-top: 60px;
  }

  #carousel-home {
    height: 550px;
  }

  .bg-img.home1 {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    height: auto;
    width: 50%;
  }

  .bg-img.home1.order-1 {
    left: 0;
    right: initial;
  }

  .bg-img.home1+* {
    width: 50%;
  }

  .bg-img.home1.order-1+* {
    margin-left: 50%;
  }

  .block-bg-gray:not(.block-bg-gray-2) {
    margin-top: -80px;
    margin-left: 5%;
  }

  .block-bg-gray-2 {
    margin-top: 25px;
    margin-left: -5%;
    height: auto;
  }

  .camere .block-bg-gray-2 {
    margin-top: 12px;
  }

  .block-bg-gray-2 p {
    font-size: 16px;
  }

  .image-wrap {
    max-width: 40%;
    margin-left: 2rem;
    float: right;
    width: 100%;
  }

  .image-wrap img {
    width: 100%;
    object-fit: cover;
  }

  .ps-lg-100 {
    padding-left: 100px;
  }

  .col-lg-30 {
    flex: 0 0 auto;
    width: 30%;
  }
}

@media screen and (min-width: 1200px) {

  .block-bg-gray:not(.block-bg-gray-2) {
    margin-top: 20px;
    margin-left: -10%;
  }
}