* {
  font-family: "Barlow", sans-serif;
  line-height: 1.4;
}

html {
  scroll-behavior: smooth;
}

.second-half,
.first-half {
  padding-bottom: 200px;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  margin: 0;
  text-align: center;
}

.bg-primary {
  /* background-color: #ea148c !important; */
  background-color: #d2232a !important;
}

.bg-secondary {
  background-color: #f6f6f6 !important;
}

.squadra {
  margin-top: -200px;
}

.button-primary {
  color: white;
  /* color: #ea148c; */
  background-color: #d2232a;
  padding: 10px 50px;
  font-weight: 600;
  border-radius: 25px;
  font-size: 27px;
  transition: all 0.3s;
  border: 0;
}

.button-primary:hover {
  color: #f6f6f6;
  background-color: #d2232a;
  cursor: pointer;
}

.button-white {
  color: #d2232a;
  /* color: #ea148c; */
  background-color: white;
  padding: 10px 50px;
  font-weight: 600;
  border-radius: 25px;
  font-size: 27px;
  transition: all 0.3s;
  width: fit-content;
}

.button-white:hover {
  color: #d2232a;
  background-color: #f6f6f6;
  cursor: pointer;
}

.div-form {
  margin-top: 60px;
}

#pronostico {
  max-height: 1200px;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out;
}

#pronostico.closed {
  max-height: 0;
  transition: max-height 0.5s ease-in-out;
}

.pronostico {
  width: 60px !important;
  height: 60px !important;
  font-size: 35px;
  font-weight: bold;
  text-align: center;
  color: #d2232a;
  -webkit-appearance: none;
  margin: 0;
  -moz-appearance: textfield;

  padding: 0.375rem 0;
  line-height: 1.5;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 10px;
}
.pronostico:active,
.pronostico:focus {
  color: #d2232a;
}

.title-pronostico {
  margin-bottom: 40px;
}

.div-pronostici {
  top: 70px;
  width: max-content;
  margin-bottom: 80px;
}

.logo-verona {
  background-color: #e4e2e2;
}

.squad-title {
  text-transform: uppercase;
  padding: 0 20px;
  font-weight: bold;
  white-space: nowrap;
}

.div-submit {
  margin-top: 60px;
}

.line {
  width: 30px;
  position: relative;
}
.line::after {
  position: absolute;
  background-color: black;
  content: "";
  height: 2px;
  width: 30px;
}

.form-label {
  text-transform: uppercase;
  margin-top: 15px;
  font-size: 0.8rem;
  letter-spacing: 0.2px;
}

input[type="text"],
input[type="email"],
select,
.form-control {
  border-radius: 10px !important;
}

.custom-control {
  position: relative;
  display: block;
  min-height: 1.5rem;
  padding-left: 0 !important;
}

.custom-checkbox .custom-control-label::before {
  border-radius: 0.25rem;
}

.info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.custom-control-label {
  margin-left: 2.5rem;
}

.custom-control-input {
  position: absolute;
  z-index: -1;
  opacity: 0;
}

.magliette {
  max-width: 550px;
}

.custom-control-label {
  font-size: 0.9rem;
}

.custom-control-label::before {
  position: absolute;
  top: 0.25rem;
  left: -40px;
  display: block;
  width: 1.7rem;
  height: 1.7rem;
  pointer-events: none;
  content: "";
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-color: #dee2e6;
}

.custom-control-label::after {
  position: absolute;
  top: 0.25rem;
  left: -40px;
  display: block;
  width: 1.7rem;
  height: 1.7rem;
  content: "";
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 50% 50%;
}

.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {
  background-color: #d2232a;
  color: white;
}

.custom-checkbox .custom-control-input:checked ~ .custom-control-label::after {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='white' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E");
}

.form-control {
  height: calc(1.9em + 0.75rem + 2px) !important;
}

#prefix {
  height: calc(1.9em + 0.75rem + 2px);
  padding: 0.375rem 0.75rem;
  margin: 0;
  color: #5f5763;
  background-color: #e0e0e0;
  font-weight: bold;
  line-height: 2;
  font-size: 16px;
  border-bottom-left-radius: 10px !important;
  border-top-left-radius: 10px !important;
}

#telefono {
  /* margin-left: 40px; */
  /* width: calc(100% - 40px); */
  border-bottom-left-radius: 0 !important;
  border-top-left-radius: 0 !important;
}

#telefono::before {
  content: "+39";
  background-color: grey;
  border-bottom-left-radius: 10px !important;
  border-top-left-radius: 10px !important;
}

@media screen and (min-width: 1000px) {
  .magliette {
    max-width: 100%;
  }
}
@media screen and (max-width: 768px) {
  .div-pronostici,
  .punteggio {
    flex-direction: column !important;
  }

  .magliette {
    max-width: 100%;
  }

  .squadra {
    margin-top: 40px;
  }

  .second-half,
  .first-half {
    padding-bottom: 100px;
  }

  .line {
    margin: 15px;
  }

  .squad-title {
    margin-top: 15px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }
  .button-primary,
  .button-white {
    font-size: 22px;
  }
  .div-form {
    margin-top: 30px;
  }
}

.bg-primary.thanks {
  width: 100%;
  height: 100%;
  display: flex;
}

.thanks-info {
  justify-content: center;
}

.div-logo {
  display: none;
}

.loader {
  border: 6px solid #f3f3f3; /* Light grey */
  border-top: 6px solid #7ed321; /* Blue */
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.text-decoration-underline {
  text-decoration: underline !important;
}
