@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css");
@import url("settings.css");
@import url("testo.css");

html,
body {
  position: relative;
  min-height: 100%;
  width: 100%;
  font-size: 10px;
  font-weight: 500;
  font-family: "Inter", sans-serif;
  color: #000;
}

#site {
  min-height: 100vh;
}

.bold {
  font-weight: 700;
}

.bolder {
  font-weight: 900;
}

.semibold {
  font-weight: 600;
}

.light {
  font-weight: 300;
}

a,
a:hover {
  text-decoration: none;
  color: inherit;
}

.clear {
  clear: both;
}

.list-footer {
  list-style: none;
  position: relative;
}

.list-footer li {
  display: inline-block;
  position: relative;
}

.list-footer li + li {
  margin-left: 2rem;
}

.list-footer li a {
  line-height: 1em;
}

.list-footer li + li:before {
  content: "";
  position: absolute;
  left: -1rem;
  top: 0;
  height: 100%;
  width: 1px;
  background: #fff;
  opacity: 0.5;
}

#footer {
  background: #262626;
}

#snackbar {
  visibility: hidden; /* Hidden by default. Visible on click */
  min-width: 250px; /* Set a default minimum width */
  margin-left: -125px; /* Divide value of min-width by 2 */
  background-color: #ec7404; /* Black background color */
  color: #fff; /* White text color */
  text-align: center; /* Centered text */
  border-radius: 2px; /* Rounded borders */
  padding: 16px; /* Padding */
  position: fixed; /* Sit on top of the screen */
  z-index: 1; /* Add a z-index if needed */
  left: 50%; /* Center the snackbar */
  bottom: 30px; /* 30px from the bottom */
  font-size: 1.6rem;
}

.error-bg {
  background: rgb(221, 44, 0) !important;
}

/* Show the snackbar when clicking on a button (class added with JavaScript) */
#snackbar.show {
  visibility: visible; /* Show the snackbar */

  /* Add animation: Take 0.5 seconds to fade in and out the snackbar. 
    However, delay the fade out process for 2.5 seconds */
  -webkit-animation:
    fadein 0.5s,
    fadeout 0.5s 3.5s;
  animation:
    fadein 0.5s,
    fadeout 0.5s 3.5s;
}

/* Animations to fade the snackbar in and out */
@-webkit-keyframes fadein {
  from {
    bottom: 0;
    opacity: 0;
  }
  to {
    bottom: 30px;
    opacity: 1;
  }
}

@keyframes fadein {
  from {
    bottom: 0;
    opacity: 0;
  }
  to {
    bottom: 30px;
    opacity: 1;
  }
}

@-webkit-keyframes fadeout {
  from {
    bottom: 30px;
    opacity: 1;
  }
  to {
    bottom: 0;
    opacity: 0;
  }
}

@keyframes fadeout {
  from {
    bottom: 30px;
    opacity: 1;
  }
  to {
    bottom: 0;
    opacity: 0;
  }
}

#container-team-home {
  height: 50rem;
  width: 100%;
  background: #f1f1f1;

  background-image: url(../../img/team.jpeg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.line {
  height: 0.2rem;
}

#box-middle::before,
#box-middle::after {
  content: "";
  position: absolute;
  width: 25%;
  height: 40%;
}

#box-middle::before {
  left: 0;
  top: 0;
  border-left: 2px solid #fff;
  border-top: 2px solid #fff;
}

#box-middle::after {
  right: 0;
  bottom: 0;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
}

.card-servizi {
  transition: all 0.3s cubic-bezier(0.455, 0.03, 0.515, 0.955);
  -webkit-transition: all 0.3s cubic-bezier(0.455, 0.03, 0.515, 0.955);
  -moz-transition: all 0.3s cubic-bezier(0.455, 0.03, 0.515, 0.955);
  -ms-transition: all 0.3s cubic-bezier(0.455, 0.03, 0.515, 0.955);
  -o-transition: all 0.3s cubic-bezier(0.455, 0.03, 0.515, 0.955);
}

.container-icon {
  width: 7.5rem;
  height: 7.5rem;
  padding: 1.75rem;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}

.container-icon img {
  max-width: 100%;
  max-height: 100%;
  -webkit-filter: invert(98%) sepia(3%) saturate(210%) hue-rotate(287deg)
    brightness(118%) contrast(100%);
  filter: invert(98%) sepia(3%) saturate(210%) hue-rotate(287deg)
    brightness(118%) contrast(100%);
}

.card-servizi:hover {
  -webkit-box-shadow: 0px 0px 5px 4px rgba(255, 255, 255, 0.2);
  box-shadow: 0px 0px 5px 4px rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
  -webkit-transform-origin: center;
  -ms-transform-origin: center;
  transform-origin: center;
}

.title-spacing {
  letter-spacing: 3px;
}

.text-justify {
  text-align: justify;
  text-justify: inter-word;
}

.bg-banner {
  /*background: #f1f1f1;*/
}

.title-banner {
  /*color: #fff;
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);*/
}

.container-punti::before {
  content: "";
  z-index: 0;
  position: absolute;
  left: 1.5rem;
  top: 0;
  bottom: 0;
  max-height: 0;
  width: 2px;
  background: var(--secondcolor);
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  transition: all 0.3s cubic-bezier(0.455, 0.03, 0.515, 0.955);
  -webkit-transition: all 0.3s cubic-bezier(0.455, 0.03, 0.515, 0.955);
  -moz-transition: all 0.3s cubic-bezier(0.455, 0.03, 0.515, 0.955);
  -ms-transition: all 0.3s cubic-bezier(0.455, 0.03, 0.515, 0.955);
  -o-transition: all 0.3s cubic-bezier(0.455, 0.03, 0.515, 0.955);
  -webkit-transition-delay: 0.5s;
  -o-transition-delay: 0.5s;
  transition-delay: 0.5s;
}

.punto {
  -webkit-flex-shrink: 0;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}

.w-iconbox-icon svg {
  width: 3rem;
  height: auto;
}

.linea {
  transition: all 0.2s cubic-bezier(0.455, 0.03, 0.515, 0.955);
  -webkit-transition: all 0.2s cubic-bezier(0.455, 0.03, 0.515, 0.955);
  -moz-transition: all 0.2s cubic-bezier(0.455, 0.03, 0.515, 0.955);
  -ms-transition: all 0.2s cubic-bezier(0.455, 0.03, 0.515, 0.955);
  -o-transition: all 0.2s cubic-bezier(0.455, 0.03, 0.515, 0.955);
  width: 100%;
  max-width: 0;
  height: 1px;
  background: #000;
}

.flip-card {
  position: relative;
  width: 100%;
  padding-top: 150%;
  cursor: pointer;

  -webkit-perspective: 800px;
  perspective: 800px;
}

.inner-card {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;

  -webkit-transition: all 0.3s cubic-bezier(0.455, 0.03, 0.515, 0.955);
  -o-transition: all 0.3s cubic-bezier(0.455, 0.03, 0.515, 0.955);
  transition: all 0.3s cubic-bezier(0.455, 0.03, 0.515, 0.955);

  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

.face {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 1.5rem;
  -webkit-border-radius: 1.5rem;
  -moz-border-radius: 1.5rem;
  -ms-border-radius: 1.5rem;
  -o-border-radius: 1.5rem;
  -webkit-box-shadow: 0px 0px 5px 2px rgba(0, 0, 0, 0.5);
  box-shadow: 0px 0px 5px 2px rgba(0, 0, 0, 0.5);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
}

.front {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.back {
  border: 4px solid;
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
}

.container-nome {
  padding: 5rem 1rem 1.5rem;
  background: #000;

  background: -o-linear-gradient(
    bottom,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0) 100%
  );

  background: -webkit-gradient(
    linear,
    left bottom,
    left top,
    from(rgba(0, 0, 0, 0.8)),
    to(rgba(0, 0, 0, 0))
  );

  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0) 100%
  );
}

.container-nome p {
  color: #fff;
  text-shadow: 0 0 18px rgba(0, 0, 0, 0.35);
}

.descrizione-card {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  -webkit-flex: 1;
  flex: 1;
  padding: 0;
}

.flip-card .container-icon {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 3.5rem;
  height: 3.5rem;
  padding: 0.7rem;
}
