/*!*************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./resources/assets/scss/app.scss ***!
  \*************************************************************************************************************************/
@charset "UTF-8";
:root {
  --primary-color-text: rgb(0 60 115);
  --primary-color-section:rgb(230 236 241);
  --dark-blue: rgb(0 60 115);
  --light-blue: rgb(230 236 241);
}

* {
  font-family: "Roboto Flex", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  line-height: normal;
}

.btn {
  text-decoration: none;
  padding: 10px 20px; /* Spaziatura interna */
  font-size: 1rem; /* Dimensione del testo */
  border: none; /* Rimuove il bordo */
  border-radius: 50px; /* Rende i bordi tondi */
  cursor: pointer; /* Cambia il cursore al passaggio */
  transition: 0.3s; /* Effetto di transizione */
}

.txt1rem {
  margin-block-start: 0;
  margin-block-end: 0;
  font-weight: 400;
  font-size: 1rem; /* Scegli la dimensione che preferisci */
}

.txt1-2rem {
  margin-block-start: 0;
  margin-block-end: 0;
  font-weight: 400;
  font-size: 1.2rem; /* Scegli la dimensione che preferisci */
}

.txt1-5rem {
  margin-block-start: 0;
  margin-block-end: 0;
  font-weight: 400;
  font-size: 1.3rem; /* Scegli la dimensione che preferisci */
}

.txt2rem {
  margin-block-start: 0;
  margin-block-end: 0;
  font-weight: 600;
  font-size: 2rem; /* Scegli la dimensione che preferisci */
}

section {
  padding: 2.5rem 0;
  color: var(--primary-color-text);
}

.container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: baseline;
  justify-content: center;
  margin: auto;
}

.container-video {
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translateY(-8rem);
}

.my-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--dark-blue);
  border-radius: 1rem;
  padding: 4rem;
  color: white;
  gap: 2rem;
}

.content {
  display: block;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

header {
  flex-direction: column;
  background: rgba(0, 0, 0, 0.3);
  flex-wrap: nowrap;
}

#become-ambassador .background-image {
  background: url(../img/header-ambassador.jpg) no-repeat center center;
  background-size: cover;
  content: "";
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  position: absolute;
  z-index: -1;
}

#safety-fad .background-image {
  background: url(../img/header-safety-fad.jpg) no-repeat center center;
  background-size: cover;
  content: "";
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  position: absolute;
  z-index: -1;
}

#safety-fad-plus .background-image {
  background: url(../img/header-safety-fad-plus.jpg) no-repeat center center;
  background-size: cover;
  content: "";
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  position: absolute;
  z-index: -1;
}

.menu {
  width: 70%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 10px 0px;
}

.logo img {
  max-height: 50px;
  width: auto;
  max-width: unset;
}

.navbar {
  display: flex;
  align-items: center;
}
.navbar li {
  list-style: none;
}
.navbar li img {
  max-height: 50px;
  width: auto;
  max-width: unset;
}

.jumbo-tron {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.jumbo-tron h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 2rem;
}
.jumbo-tron h1 strong {
  display: block;
  font-size: 3rem;
  font-weight: bold;
}
.jumbo-tron p {
  margin-top: 10px;
}
.jumbo-tron button:hover {
  background-color: lightgray;
}

.mobile-navbar {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: white;
}

.mobile-menu {
  display: none;
  background-color: rgba(0, 0, 0, 0.9);
  list-style: none;
  padding: 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  max-height: 100vh;
  transition: transform 0.3s ease-in-out;
  transform: translateY(-100%);
}
.mobile-menu li a {
  text-decoration: none;
  display: block;
  padding: 7px;
}
.mobile-menu li a:hover {
  background-color: var(--light-blue);
  color: #000;
}

.mobile-menu.active {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  transform: translateY(0);
  position: fixed;
  top: 0px;
  left: 0px;
  max-height: 100vh;
  z-index: 1000;
}

.close-menu i {
  color: white;
  cursor: pointer;
}

/* Accordion styles */
.accordion {
  min-width: 100%;
  max-width: 100%;
  margin: 20px auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-item {
  max-width: 100%;
  border: 2px solid var(--dark-blue);
  border-radius: 1.5rem;
  margin-bottom: 2rem;
  padding: 1rem;
  text-align: left;
}

.accordion-header {
  padding: 15px;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}
.accordion-header span {
  font-size: 24px;
  font-weight: bold;
}

.accordion-content {
  display: none;
  padding: 15px;
  background: #fff;
  font-size: 16px;
}

.active .accordion-content {
  display: block;
}

@media (max-width: 900px) {
  .menu {
    width: 100%;
    justify-content: space-between;
  }
  .navbar {
    display: none;
  }
  .mobile-navbar {
    display: block;
  }
}
/* Carousels */
.carosel-container {
  background-color: #f5f5f5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40vw;
  padding: 3rem 0;
  overflow: hidden;
  position: relative;
}

.carosel-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.carosel {
  display: flex;
  width: 100%;
  position: relative;
}
.carosel i {
  font-size: 24px;
  cursor: pointer;
  color: #333;
  z-index: 10;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 10px;
}

.carosel-track {
  display: flex;
  width: 100%;
  transition: transform 0.5s ease-in-out;
}

.carosel-content {
  flex: 0 0 100%;
  width: 100%;
  box-sizing: border-box;
  padding: 4rem;
  text-align: center;
  text-align: start;
}
.carosel-content ul {
  list-style-type: disc;
  padding-left: 20px;
  font-size: 20px;
}
.carosel-content ul li {
  margin-top: 20px;
}

#prev {
  left: 10px;
}

#next {
  right: 10px;
}

.indicators {
  display: flex;
  justify-content: center;
  margin-top: 15px;
}
.indicators i {
  font-size: 12px;
  margin: 0 5px;
  cursor: pointer;
  color: #fff;
}

.fa-solid.fa-circle {
  color: #000;
}

@media (max-width: 968px) {
  .carosel-container {
    width: 70vw;
  }
}
@media (max-width: 768px) {
  .carosel-container {
    width: 80vw;
    height: 80vh;
  }
}
@media (max-width: 450px) {
  .carosel-container {
    padding: 1rem 0;
  }
  .carosel-content {
    padding: 1rem 4rem;
  }
}
/* Scroll to top button */
#scrollTop {
  z-index: 9999999;
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 36px;
  height: 36px;
  background: #af2a1d;
  color: white;
  border: 1px solid white;
  border-radius: 5px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-size: 22px;
  line-height: 1.5;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  cursor: pointer;
}

@media (max-width: 1500px) {
  .container {
    width: 80%;
  }
}
@media (max-width: 900px) {
  .form-container .item {
    flex: 1 1 calc((100% - 2rem) / 2);
    max-width: calc((100% - 2rem) / 2);
  }
  .container {
    width: 80%;
  }
  .my-form {
    padding: 3rem;
  }
  .container-video {
    flex-direction: column;
    transform: translateY(0px);
    margin-bottom: 2rem;
    gap: 1rem;
  }
  .video {
    width: 50vw;
    height: 30vw;
  }
  .logo-mobile {
    display: block;
  }
}
@media (max-width: 660px) {
  .form-container .item {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .my-form {
    gap: 1rem;
  }
  .form-container {
    gap: 1rem;
  }
}
@media (max-width: 550px) {
  .container {
    width: 95%;
  }
}
@media (max-width: 480px) {
  .my-form {
    padding: 2rem;
  }
}
@media (max-width: 480px) {
  .txt1rem.resp {
    font-size: 0.7rem; /* Scegli la dimensione che preferisci */
  }
  .txt1-5rem.resp {
    font-size: 1rem; /* Scegli la dimensione che preferisci */
  }
  .txt2rem.resp {
    font-size: 1.5rem; /* Scegli la dimensione che preferisci */
  }
}
.grid-container {
  display: grid;
  width: 100%;
  grid-template-columns: 2.5fr 1fr 1fr 1fr; /* La prima colonna è più larga */
  grid-template-rows: repeat(9, auto); /* 9 righe */
  background-color: rgb(230, 236, 241); /* Colore di sfondo della griglia */
  border-radius: 15px; /* Bordo arrotondato */
  overflow: hidden; /* Evita che i bordi delle celle escono dal contenitore */
  max-width: 100%; /* Puoi personalizzare la larghezza */
  margin: auto; /* Centra la griglia */
}

.grid-item {
  background-color: transparent;
  padding: 1rem;
  align-items: center;
  display: flex; /* Flexbox per centrare */
  /* Centra verticalmente */
  /*justify-content: center; /* Centra orizzontalmente */
  /* border: 2 solid rgb(0 60 115); */
  box-shadow: 1px 1px 0px rgb(0, 60, 115);
  color: #1a1a1a;
}

.grid-item img {
  max-width: 100%; /* Adatta l'immagine alla cella */
  max-height: 100%; /* Evita che esca */
  object-fit: contain; /* Mantiene proporzioni senza ritagliare */
}

#servizi-grid {
  background-color: rgb(103, 174, 208);
}

#ambassador-grid {
  background-color: rgb(237, 139, 85);
}

#ambassador-premium-grid {
  background-color: rgb(231, 156, 105);
}

#ambassador-exclusive-grid {
  background-color: rgb(255, 195, 145);
}

@media (max-width: 768px) {
  .txt {
    font-size: small;
  }
}
@media (max-width: 630px) {
  .grid-item {
    padding: 0.5rem;
  }
}
@media (max-width: 468px) {
  .grid-item {
    padding: 0.5rem 0;
    font-size: 10px;
  }
}
.error,
#form-error {
  color: red;
  font-size: 0.9em;
}

.success {
  color: green;
  font-size: 1.2em;
  font-weight: bold;
}

.informativa {
  text-align: left;
  font-size: small;
  align-self: flex-start;
}

.informativa a {
  color: white;
}

.captcha {
  align-self: flex-start;
}

.container-catalogo {
  align-items: center;
}

#become-ambassador #vantaggi {
  background: url(../img/fascia.jpg) no-repeat;
  background-position: 50% 50%;
  background-size: cover;
  margin-bottom: 3rem;
  padding: 4rem;
}
#become-ambassador #vantaggi::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 162, 255, 0.3);
  z-index: 1;
}

#safety-fad #vantaggi {
  background: url(../img/fascia-safety-fad.jpg) no-repeat;
  background-position: 50% 50%;
  background-size: cover;
  margin-bottom: 4rem;
}

#safety-fad-plus #sconti-esclusivi {
  background: url(../img/fascia-safety-fad-plus.jpg) no-repeat;
  background-size: cover;
}

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  font-size: 16px;
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--dark-blue);
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown:hover .dropdown-content {
  display: block;
}
