/* ------------------------------------------------------------------------------------ */
/* -------------------------------------- Layout -------------------------------------- */
/* ------------------------------------------------------------------------------------ */
.banner{
  margin-top: 50px !important;
  margin-bottom: 50px !important;
}
.div3{
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
}
.space {
  margin: 10px -5px;
}
.custom-size {
  width: 50px !important;
  height: 50px !important;
}
.contact-color {
  opacity: 0.5;
  background-color: #5c5c5c !important;
}
.contact-color:hover {
  opacity: 1;
  background-color: #0d6efd !important;
}

.btn-color {
  color: #ffffff !important;
  border: #ffffff solid 1px;
  opacity: 0.6;
  background-color: #5c5c5c;
}
.btn-color:hover {
  color: #ffffff !important;
  opacity: 1;
  border: #ffffff solid 1px;
  background-color: #0d6efd;
}
.feature-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 0.75rem;
}
.nav-icon {
    margin-right: 5px;
}
.ms-3 {
    opacity: 0.7;
}
.ms-3:hover {
    opacity: 1;
}
.row.justify-content-center {
  display: flex;
  justify-content: center;
}
.custom-embed-responsive {
  position: relative;
  max-width: 800px !important; /* Larghezza massima del video */
  margin: 0 auto; /* Centrare orizzontalmente il video */
  width: 100%;
  padding: 0 50% 56.25% 50%; /* Rapporto 16:9 (calcolato come 9 / 16 * 100) */
}
.custom-embed-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.contact-header{
  margin-bottom: 20px;
}
#section-1{
margin-top: 20px;
margin-bottom: 20px;
}
/* ------------------------------------------------------------------------------------ */
/* --------------------------------------- nav ---------------------------------------- */
/* ------------------------------------------------------------------------------------ */
.nav-icon{
  width: 45px;
  height: 45px;
}
nav a:hover {
  color: #0d6efd !important;
}
.nav-link:hover {
  color: #0d6efd !important;
  font-weight: 500;
}
.hover-underline-animation {
  display: inline-block;
  position: relative;
}
.hover-underline-animation::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #0087ca;
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}
.hover-underline-animation:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}
.sticky {
  font-size: .95rem;
  top: -10px !important;
  opacity: 98%;
  padding-bottom: 5px;
  transition: all 0.4s ease;
}
.noSticky {
  transition: all 0.4s ease;
}
.moon{
  width: 18px;
  height: 18px;
  margin-left: 5px;
}
.moon-active{
  fill: #0d6efd;
}
.sun-active{
  fill: #ffab2e;
}
.sun{
  width: 22px;
  height: 22px;
  margin-right: 5px;
}
.toggle-switch{
  flex-direction: row;
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}
.toggle-switch input{
  display: none;
}
.slider{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #f3d421;
  border-radius: 34px;
  transition: 0.4s;
}
.slider:before{
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  border-radius: 50%;
  transition: 0.4s;
}
input:checked + .slider{
  background-color: #0d6efd;
}
input:checked + .slider:before{
  transform: translateX(26px);
}
/* ------------------------------------------------------------------------------------ */
/* ------------------------------------- Carousel ------------------------------------- */
/* ------------------------------------------------------------------------------------ */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(75%) sepia(100%) saturate(1000%) hue-rotate(200deg) brightness(1000%) contrast(101%);
}
.carousel-indicators button {
  background-color: #ffffff !important;
}
.carousel-indicators .active {
  background-color: #0d6efd !important;
}
/* ------------------------------------------------------------------------------------ */
/* --------------------------------------- svg ---------------------------------------- */
/* ------------------------------------------------------------------------------------ */
.svg-color {
  fill: #ffffff;
}
/* ------------------------------------------------------------------------------------ */
/* ---------------------------------- Scroll button ----------------------------------- */
/* ------------------------------------------------------------------------------------ */
#scrolled-indicator{
  position: fixed;
  background-color: #999;
  border-radius: 20%;
  right: 2%;
  bottom: 5.5%;
  margin: 0;
  opacity: 0.5;
  display: none;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  transition: opacity 0.3s;
}
#scrolled-indicator a{
  padding: 10px;
}
#scrolled-indicator:hover{
  opacity: 1;
  background-color: #0d6efd;
}
#scrolled-indicator:hover .arrow{
  border: solid #ffffff;
  border-width: 0 5px 5px 0;
}
.arrow{
  border: solid #181818;
  border-width: 0 5px 5px 0;
  display: inline-block;
  padding: 5px;
  margin-top: 10px;
}
.up{
  transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
}
/* ------------------------------------------------------------------------------------ */
/* -------------------------------------- Footer -------------------------------------- */
/* ------------------------------------------------------------------------------------ */
.partners-title {
  margin-top: 10px;
}
.partners-title:hover {
    color:#999 !important;
}
.partners{
  text-decoration: none !important;
  color:#888888 !important;
}
.partner-link:hover{
  color: #0d6efd !important;
}
.dev{
  margin-top: 10px;
}
.bold{
  font-weight: 600;
}
.dislcamer{
  margin: 20px 20% 0 20%;
  font-size: 0.8rem;
  opacity: .6;
  color: #5c5c5c;
}
.footer-link:hover{
  fill: #0d6efd !important;
}
/* ------------------------------------------------------------------------------------ */
/* --------------------------------------- form --------------------------------------- */
/* ------------------------------------------------------------------------------------ */
.maschera{
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.76);
  justify-content: center;
  align-items: center;
  z-index: 100;
}
.maschera.display{
  display: flex;
}
.form-container{
  position: relative; /* per dare riferimento al bottone di chiusura */
  border-radius: 15px;
  background-color: #ffffff;
  padding: 100px 50px 40px 50px;
  margin: 0 10% 0 10%;
  max-width: 800px;
}
.close-btn{
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 0;
  margin: 0;
  cursor: pointer;
  z-index: 2;
}
.close-btn:hover{
  color: rgb(245, 57, 57);
}
.label{
  margin-top: 20px;
}
#send{
  margin-top: 20px;
}
.mail-pic{
  width: 200px;
  position: relative;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -20%);
}
.dark-form{
  background-color: #5c5c5c !important;
  color: #ffffff !important;
}
/* ------------------------------------------------------------------------------------ */
/* ---------------------------------- conferma form ----------------------------------- */
/* ------------------------------------------------------------------------------------ */
.conferma{
  color: #0d6efd;
  position: absolute;
  top: 50%;
  left: 50%;
}
/* ------------------------------------------------------------------------------------ */
/* ------------------------------- Media quarry 1080p ----------------------------- */
/* ------------------------------------------------------------------------------------ */

@media (max-width: 1600px) {
  .video-container {
    max-width: 1000px !important; /* Larghezza massima del video */
  }
  .carosello{
    max-width: 1000px !important;
  }
  .form-container{
    border-radius: 15px;
    padding: 50px 40px 20px 40px;
    margin: 0 10% 0 10%;
    max-width: 800px;
  }
  .mail-pic{
    width: 150px;
    margin-bottom: -30px;
  }
}
/* ------------------------------------------------------------------------------------ */
/* ------------------------------- Media quarry Portrait ------------------------------ */
/* ------------------------------------------------------------------------------------ */
@media (max-width: 992px) { /* Breakpoint di bootstrap */
  body{
    padding: 0;
  }
  .banner{
    margin-top: 10px !important;
    margin-bottom: 20px !important;
  }
  .description{
    margin: 5%;
  }
  #section-2{
    margin-top: -50px;
    margin-bottom: -40px;
  }
  #carouselIndicators{
    margin-top: -50px;
  }
  .video-container {
    max-width: auto !important; /* Larghezza massima del video */
  }
  .carosello{
    max-width: auto !important;
  }
  /* --------------------------------------------------------------- */
  .form-container{
    border-radius: 10px;
    background-color: #ffffff;
    padding: 60px 15px 20px 15px;
    margin: 0 1% 0 1%;
    max-width: 800px;
  }
  .mail-pic{
    width: 100px;
  }
  /* --------------------------------------------------------------- */
  footer{
    display: flex;
    flex-direction: column;
  }
  .partners-title {
    margin-top: 0px;
  }
  .div1{
    order: 2;
    text-align: center;
    margin: 0px auto 20px auto;
  }
  .div2{
    order: 3;
    text-align: center;
    margin: 0px auto 20px auto;
  }
  .div3{
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: flex-start !important;
    order: 1;
    margin: 20px auto 20px auto;
  }
  .div4{
    order: 4;
    margin: 0px 20% 20px 20%;
  }
  .dev{
    margin-top: 0;
    margin-left: 0px;
  }
  .copy{
    margin-left: 0px;
  }
  /* --------------------------------------------------------------- */
  .sun{
    width: 22px;
    height: 22px;
    margin-right: 5px;
    margin-bottom: 15px;
  }
  .moon{
    width: 18px;
    height: 18px;
    margin-left: 5px;
    margin-bottom: 15px;
  }
}
/* ------------------------------------------------------------------------------------ */
/* ------------------------------- Media quarry Landscape ----------------------------- */
/* ------------------------------------------------------------------------------------ */
@media (max-height: 450px) and (orientation: landscape)  { /* Breakpoint di bootstrap */
  body{
    padding: 0;
  }
  .banner{
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  .contact-link{
    margin-bottom: -50px;
  }
  .form-container{
    border-radius: 10px;
    padding: 0;
    padding: 110px 100px 400px 100px;
    margin-bottom: 0px;
    margin-top: 0px;
    max-width: 800px;
    max-height: 90vh;
  }
  #mail {
    height: 25px;
  }
  #nome{
    height: 25px;
  }
  #textarea {
    height: 100px;
  }
  .label{
    margin-top: 5px;
    font-size: .9rem;
  }
  #send{
    margin-top: 5px;
  }
  .close-btn{
    top: 85px;
    right: 15px;
  }
  /* ------------------------------------------------------------------------------------ */
  .div1{
    margin: 5px auto 20px auto;
  }
  .div2{
    margin: 5px auto 20px auto;
  }
  .div3{
    margin: 10px auto 20px auto;
  }
  .div4{
    margin: 10px auto 0px auto;
  }
  .mail-pic{
    display: none;
  }
 /* ------------------------------------------------------------------------------------ */
  .sun{
    width: 22px;
    height: 22px;
    margin-right: 5px;
    margin-bottom: 15px;
  }
  .moon{
    width: 18px;
    height: 18px;
    margin-left: 5px;
    margin-bottom: 15px;
  }
}