body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55rem;
  letter-spacing: -0.015rem;
  color: white;
  background: var(--colore-primario);
}

h1 {
  font-size: 450%;
}
h2 {
  font-size: 350%;
}
h3 {
  font-size: 250%;
}
h4 {
  font-size: 200%;
}

/* Tablet (schermi tra 768px e 1024px) */
@media only screen and (max-width: 1024px) {
  h1 {
    font-size: 350%;
  }
  h2 {
    font-size: 300%;
  }
  h3 {
    font-size: 225%;
  }
  h4 {
    font-size: 175%;
  }
}

/* Smartphone (schermi tra 481px e 767px) */
@media only screen and (max-width: 767px) {
  h1 {
    font-size: 300%;
  }
  h2 {
    font-size: 250%;
  }
  h3 {
    font-size: 200%;
  }
  h4 {
    font-size: 150%;
  }
}

/* Smartphone piccoli (schermi fino a 480px) */
@media only screen and (max-width: 480px) {
  h1 {
    font-size: 250%;
  }
  h2 {
    font-size: 200%;
  }
  h3 {
    font-size: 175%;
  }
  h4 {
    font-size: 125%;
  }
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=UTF8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 0, 0, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}
.p-6 {
  padding: 0.5rem !important;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--colore-primario);
  font-weight: bold;
  font-family: var(--font);
}
.select-prefix {
  max-width: 90px;
}
.btn-primary:focus {
  background: var(--colore-primario) !important;
  border-color: var(--colore-primario);
}
a {
  color: var(--colore-secondario);
}
a:hover {
  color: var(--colore-primario);
}
.navbar-brand img {
  width: 214px;
}
.w-150 {
  width: 150px;
}
hr {
  border: 0;
  height: 1px;
  background: var(--colore-primario);
  background: linear-gradient(
    90deg,
    rgba(242, 187, 53, 0) 0%,
    var(--colore-primario) 50%,
    rgba(253, 187, 45, 0) 100%
  );
}
.attivo {
  color: var(--colore-secondario) !important;
  font-weight: bold !important;
}
.btn {
  font-weight: bold;
  padding: 7px 20px;
}
.icon-element {
  background-color: var(--colore-primario);
  color: white !important;
}

.alert-info {
  border: 1px solid white !important;
  background: transparent !important;
  color: white !important;
  font-size: 120%;
}

.nav-link {
  color: var(--bs-nav-link-color);
  transition:
    color 0.15s ease-in-out,
    background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out;
  text-transform: uppercase;
  padding: 20px 15px !important;
}
.nav-link:hover {
  color: var(--colore-primario) !important;
}

.nav-pills .nav-link.active {
  color: var(--colore-primario) !important;
  color: white !important;
}

label {
  font-weight: bold;
}

.custom-control .custom-control-input:checked {
  background-color: var(--colore-primario) !important;
  border-color: var(--colore-primario) !important;
}

/*checkbox*/
.form-check-input {
  width: 1.5em;
  height: 1.5em;
}
.custom-checkbox label {
  font-weight: normal !important;
  margin-left: 10px;
  line-height: 1.5rem !important;
}
/*radiobox*/
.form-check label {
  font-weight: normal !important;
  margin-left: 10px;
  line-height: 1.5rem !important;
}
.form-check-input:checked {
  background-color: var(--colore-primario) !important;
  border-color: var(--colore-primario) !important;
}
.color-primary {
  color: var(--colore-primario);
}
.input-group .btn {
  border-top-left-radius: var(--bs-border-radius) !important;
  border-bottom-left-radius: var(--bs-border-radius) !important;
  border: 1px solid #e8eaed !important;
}

.form-control::file-selector-button {
  color: var(--colore-primario);
  border-color: var(--colore-primario);
  height: 50px;
  font-weight: bold;
}

/*Errori form*/
.has-error .control-label,
.has-error .custom-checkbox label,
.has-error .form-check label {
  color: #842029;
}
.text-danger {
  color: #842029 !important;
}
.has-error .form-control {
  color: #842029 !important;
  background-color: #f8d7da !important;
  border-color: #f5c2c7 !important;
}
.has-error .input-group-text {
  color: #842029 !important;
  background-color: #f8d7da !important;
  border-color: #f5c2c7 !important;
}
.has-error .form-control::file-selector-button {
  color: #842029 !important;
  border-color: #f5c2c7 !important;
}
.has-error small {
  font-weight: normal !important;
  text-transform: capitalize !important;
}
.has-error .form-check-input {
  background-color: #f8d7da !important;
  border-color: #f5c2c7 !important;
}

.logout {
  font-weight: bold;
  background: var(--colore-primario) !important;
  padding: 10px !important;
  margin-top: 10px;
  border-radius: 5px;
  color: white !important;
}
.logout:hover {
  color: black !important;
}
.navbar-toggler {
  background: var(--colore-primario) !important;
  border: none !important;
}

/*CTA*/
.cta {
  padding: 100px 0px;
  text-align: center;
  background-size: cover;
  background-position: center;
}

/*Immagine iniziali delle pagine*/
.hero-bg {
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.hero-item {
  padding-top: 150px;
  padding-bottom: 150px;
  filter: blur(0px) !important;
  -webkit-filter: blur(0px) !important;
}
.overlay {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: #000;
  opacity: 0.5;
  z-index: -1;
}

/*Footer*/
.footer {
  font-size: 90%;
  line-height: 130%;
  padding: 20px 5px;
  text-align: center;
  background: white;
  color: #ef172f;
}

.riga-rossa {
  background-color: #ef172f !important;
  width: 200px;
  height: 2px;
  margin: 20px auto;
}

.logo-campari {
  max-width: 300px;
  margin: 20px auto;
}
.form-control {
  color: white;
}
.btn-outline-primary:hover {
  border-color: white !important;
  background-color: white;
  color: var(--colore-primario) !important;
}

.logo-campari-completo {
  max-width: 150px;
  margin: 20px auto;
}

.has-error .control-label,
.has-error .custom-checkbox label,
.has-error .form-check label {
  color: #ffc107;
}
.invalid-feedback {
  color: #ffc107;
}
.form-check-input:checked {
  background-color: white !important;
  border-color: var(--colore-primario) !important;
}
.form-check-input:checked[type="checkbox"] {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23ff0000' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
}
.form-check-input:checked[type="radio"] {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='1.6' fill='%23ff0000'/%3e%3c/svg%3e");
}
.sfondo-bg-primary {
  background: var(--colore-primario) url("../../img/bg-campari.png") no-repeat
    top center;
  -webkit-background-size: contain;
  -moz-background-size: contain;
  -o-background-size: contain;
  background-size: contain;
}
.sfondo-bg-primary-2 {
  background: var(--colore-primario)
    url("https://theredview-event.campari.com/fs/1/bg-quadrati-new.png") repeat
    center center;
  height: 100vh;
}
.sfondo-bg-primary-scheda {
  background: var(--colore-primario) url("../../img/bg-campari.png") no-repeat
    top center;
  -webkit-background-size: contain;
  -moz-background-size: contain;
  -o-background-size: contain;
  background-size: contain;
}
@media screen and (max-width: 650px) {
  .sfondo-bg-primary-scheda {
    background: var(--colore-primario) url("../../img/bg-campari-mobile.png")
      no-repeat center center;
    -webkit-background-size: contain;
    -moz-background-size: contain;
    -o-background-size: contain;
    background-size: contain;
  }
}
.line-height-3 {
  line-height: 1.3;
}
.fs-1-1 {
  font-size: 1.1rem;
}
.fs-1-2 {
  font-size: 1.1rem;
}
.fs-1-3 {
  font-size: 1.2rem;
}
.bg-occhio {
  background: url("https://theredview-event.campari.com/fs/1/400/818/820/occhio.png")
    no-repeat center center;
  background-size: contain;
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.bg-occhio-fullpage {
  position: relative;
  min-height: 100vh;
  background-image: url("https://theredview-event.campari.com/fs/1/occhio-tagliato.png");
  background-size: cover; /* o cover, dipende dalla grafica */
  background-repeat: no-repeat;
  background-position: center;
}

@media screen and (max-width: 360px) {
  .fs-1-1 {
    font-size: 0.9rem;
  }
}
.bg-occhio-annulla {
  background: url("https://theredview-event.campari.com/fs/1/400/818/820/occhio.png")
    no-repeat center center;
  background-size: contain;
  height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
@media screen and (max-width: 450px) {
  .bg-occhio-annulla.fs-1-2 {
    font-size: 0.8rem !important;
  }
  .bg-occhio-annulla {
    height: 182px;
  }
  .bg-occhio {
    height: 182px;
  }
}
@media screen and (max-width: 350px) {
  .bg-occhio-annulla.fs-1-2 {
    font-size: 0.7rem !important;
  }
}
.btn-primary {
  background-color: white;
  color: var(--colore-primario);
  border: 1px solid white;
}
.btn-primary:hover {
  background-color: transparent;
  color: white;
  border: 1px solid white;
}
.body-flex {
  display: flex;
  flex-direction: column;
}
.body-flex section.feature-area {
  flex: 1;
}
.body-flex footer {
  flex: 0;
}
