body {
  background: white;
  color: black !important;
  font-family: Arial, Helvetica, sans-serif !important;
}
.fs-15 {
  font-size: 15px;
}
.fs-16 {
  font-size: 16px;
}
.fs-18 {
  font-size: 18px;
}
.font-rosnoc {
  font-family: "Rosnoc";
}
.font-header {
  font-family: "Rephend";
}
.font-rink {
  font-family: "Rink";
}
.font-serif-normal {
  font: normal normal bold 30px/37px impact, impact-w01-2010, sans-serif;
}
.font-grotesk {
  font-family: "DINNeuzeitGroteskLTW01-BdCn";
}
.font-spinnaker {
  font: normal normal normal 15px/18px spinnaker, sans-serif;
}
.color-azzurro {
  color: rgb(5, 119, 162);
}
.text-jusitfy {
  text-align: justify;
}
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px; /* spazio tra i pallini */
  margin-top: 20px;
}

.slider-dots .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #ccc; /* colore non attivo */
  transition: background-color 0.3s, transform 0.3s;
  cursor: pointer;
}

.slider-dots .dot.active {
  background-color: rgb(5, 119, 162); /* colore attivo */
  transform: scale(1.3); /* ingrandisce leggermente il pallino attivo */
}

/***************************
TOPBAR
****************************/
.topbar-home {
  height: 75px;
  background-color: white;
  position: fixed;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.logo-topbar {
  width: 131px;
}

/***************************
HEADER
****************************/
.bg-header-home {
  background: #183a56
    url("https://innovationmotorsummit.com/fs/1/sfondo-header.jpg") no-repeat;
  background-size: auto;
  -webkit-background-size: cover !important;
  -moz-background-size: cover !important;
  -o-background-size: cover !important;
  background-size: cover !important;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding-top: 100px;
  padding-bottom: 100px;
}
.bg-header-home .header-title {
  color: white;
  line-height: 1;
  text-align: center;
}
.font-90 {
  font-size: 90px;
}
.font-45 {
  font-size: 45px !important;
}
@media (max-width: 767px) {
  .font-90 {
    font-size: 60px !important;
  }
  .font-45 {
    font-size: 25px !important;
  }
}
@media (max-width: 600px) {
  .font-90 {
    font-size: 40px !important;
  }
  .font-45 {
    font-size: 25px !important;
  }
}
/***************************
SEZIONE 1
****************************/
.container-section-1 {
  background-color: #e8e8e8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.bg-section-1 {
  background: #e8e8e8 url("https://innovationmotorsummit.com/fs/1/car.png")
    no-repeat;
  background-size: auto;
  -webkit-background-size: cover !important;
  -moz-background-size: cover !important;
  -o-background-size: cover !important;
  background-size: cover !important;
  display: flex;
  justify-content: center;
  flex-direction: column;
  background-position: center;
  min-height: 300px;
  padding: 0 100px;
}
.testo-section-1 {
  padding: 0 100px;
}
@media (max-width: 767px) {
  .bg-section-1 {
    padding: 0 0px;
  }
  .testo-section-1 {
    padding: 0 0;
  }
}

/***************************
SPEAKER
****************************/
.container-speakers {
  padding: 80px 0;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.riga-nera {
  height: 3px;
  width: 20px;
  background-color: black;
  margin-top: 45px;
}
.riga-nera-2 {
  height: 3px;
  width: 20px;
  background-color: black;
}
.container-speaker-people {
  display: flex;
  align-items: center;
}
.people-desc {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: white;
}
.singol-people {
  position: relative;
}
.singol-people:hover .people-desc {
  display: flex; /* flexbox per centratura */
  justify-content: center; /* centro orizzontale */
  align-items: center; /* centro verticale */
  background: rgba(3, 22, 29, 0.8) !important;
  opacity: 1;
  flex-direction: column;
}

/***************************
SEZIONE 2
****************************/
.container-section-2 {
  background-color: #03161d;
  padding: 80px 0;
  color: white;
}
.container-video {
  position: relative;
  height: 500px;
}
.iframe-video {
  width: 100%;
  height: 100%;
}
.video-overlay {
  position: absolute;
  background: black;
  cursor: pointer;
  z-index: 2;
  background: url("https://innovationmotorsummit.com/fs/1/tappo_video.jpg")
    center/cover no-repeat;
  background-color: rgba(0, 0, 0, 0.8);
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

@media (max-width: 767px) {
  .container-video {
    height: 250px;
  }
  .video-overlay {
    height: 250px;
  }
}
/***************************
AGENDA
****************************/
.container-agenda {
  padding: 80px 0px;
}
.desc-agenda {
  color: rgb(5, 119, 162);
  margin-top: 15px;
  font-family: "Rink";
  font-weight: bold;
}
.day-agenda {
  margin-bottom: 60px;
}

/***************************
SEZIONE 3
****************************/
.container-section-3 {
  background: rgb(3, 22, 29)
    url("https://innovationmotorsummit.com/fs/1/sfondo-sez-3.jpg") no-repeat;
  background-size: auto;
  -webkit-background-size: cover !important;
  -moz-background-size: cover !important;
  -o-background-size: cover !important;
  background-size: cover !important;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 130px 0px;
  position: relative;
}
.container-section-3::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(3, 22, 29);
  opacity: 0.7;
  z-index: 1;
}
.container-section-3 > * {
  position: relative;
  z-index: 2;
  color: white;
}

/***************************
LOCATION
****************************/
.container-location {
  padding: 80px 0 0 0;
}
.container-indirizzo {
  background-color: #e8e8e8;
  display: flex;
  align-items: center;
  justify-content: center;
}

/***************************
FOOTER
****************************/
.container-footer {
  background-color: #03161d;
  color: white;
  padding: 80px 0;
}
.footer-logo {
  padding: 50px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.container-arrow-top {
  position: absolute;
  background-color: white;
  width: 169px;
  height: 80px;
  top: -10px;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.logo-footer {
  width: 200px;
}
.top-btn:hover {
  color: #0577a2;
}
/***************************
BOTTONI
****************************/
.btn-outline-primary-custom {
  background-color: transparent;
  border: 3px solid white;
  color: white;
  border-radius: 0;
}
.btn-outline-primary-custom:hover {
  color: var(--colore-primario);
  background-color: white;
}
@media (min-width: 992px) {
  .modal-lg,
  .modal-xl {
    max-width: 983px;
  }
}

/***************************
MODAL
****************************/
.modal-footer {
  border: none;
  justify-content: center;
  margin-top: 30px;
}
.modal-body {
  border: none;
  padding: 10px 80px;
}
@media (max-width: 762px) {
  .modal-body {
    padding: 10px 50px;
  }
}

.modal-header {
  border: none;
}
.arrow-left {
  position: absolute;
  left: 9px;
  top: 50%;
}
.arrow-right {
  position: absolute;
  right: 9px;
  top: 50%;
}
@keyframes slide-in-left {
  0% {
    opacity: 0;
    transform: translateX(-110px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.text-slide {
  opacity: 0; /* parte invisibile */
}

.text-slide.show {
  animation: slide-in-left 1.2s forwards; /* animazione quando aggiungi classe .show */
}
