@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap');

* {
     font-family: "Open Sans", sans-serif;
     font-weight: 300;
     font-style: normal;
}

body {
    overflow-x: hidden;
}

#home {
  margin-bottom: 8vh;
  margin-top: 10vh;
}

#badge {
  margin-bottom: 130px ;
}

h1, h2, h3, h4, h5, h6 {
     font-family: "Open Sans", sans-serif;
     font-weight: 300; 
     font-style: normal;
}
/* LOGIN */
.bg-image-login {
     background-image: url('/frontend/images/login-bg.jpg?v=2');
     background-position: center;
     background-size: cover;
     height: 100%;
     width: 100%;
     position: absolute;
     z-index: 0;
     left:0;
}

.brand-wrapper {
     margin-bottom: 19px;
}

.brand-wrapper .logo {
     max-height: 64px;
     height: 100%;
    max-width: 100%;
}

.login-card {
     border: 0;
     border-radius: 0;
     box-shadow: 0 10px 30px 0 rgba(172, 168, 168, 0.43);
     overflow: hidden;
}

.login-card-img {
     border-radius: 0;
     width: 100%;
     height: 100%;
     -o-object-fit: cover;
     object-fit: cover;
}

.login-card .card-body {
     padding: 40px 60px 40px;
}

@media (max-width: 422px) {
    .login-card .card-body {
         padding: 35px 24px;
    }
}

.login-card-description {
     font-size: 25px;
     color: #000;
     font-weight: normal;
     margin-bottom: 23px;
}

.login-card form {
     max-width: 100%;
}

.login-card .form-control {
     border: 1px solid #d5dae2;
     padding: 15px 25px;
     margin-bottom: 20px;
     min-height: 45px;
     font-size: 13px;
     font-weight: normal;
}

.login-card .form-control::-webkit-input-placeholder {
     color: #919aa3;
}

.login-card .form-control::-moz-placeholder {
     color: #919aa3;
}

.login-card .form-control:-ms-input-placeholder {
     color: #919aa3;
}

.login-card .form-control::-ms-input-placeholder {
     color: #919aa3;
}

.login-card .form-control::placeholder {
     color: #919aa3;
}

.login-card .login-btn {
     padding: 13px 20px 12px;
     background-color: #000;
     border-radius: 0;
     font-size: 17px;
     font-weight: bold;
     line-height: 20px;
     color: #fff;
     margin-bottom: 24px;
}

.login-card .login-btn:hover {
     border: 1px solid #000;
     background-color: transparent;
     color: #000;
}

.login-card .forgot-password-link {
     font-size: 14px;
     color: #919aa3;
     margin-bottom: 12px;
}

.login-card-footer-text {
     font-size: 16px;
     color: #0d2366;
     margin-bottom: 10px;
}

@media (max-width: 767px) {
    .login-card-footer-text {
         margin-bottom: 24px;
    }
}

.login-card-footer-nav a {
     font-size: 14px;
     color: #919aa3;
}

.footer-link {
     position: absolute;
     bottom: 1rem;
     text-align: center;
     width: 100%;
}

/* NAVBAR */
 
.navbar {
    margin: 10px;
    border-radius: 20px;
}

/* ruota */



.deal-wheel {
  --size: clamp(250px, 70vmin, 400px);
  --lg-hs: 0 3%;
  --lg-stop: 50%;
  --lg: linear-gradient(
      hsl(var(--lg-hs) 0%) 0 var(--lg-stop),
      hsl(var(--lg-hs) 20%) var(--lg-stop) 100%
    );
  
  position: relative;
  display: grid;
  grid-gap: calc(var(--size) / 20);
  align-items: center;
  grid-template-areas:
    "spinner"
    "trigger";
  font-family: "Girassol", sans-serif;
  font-size: calc(var(--size) / 21);
  line-height: 1;
  text-transform: lowercase;
}

.deal-wheel > * {
  grid-area: spinner;
}

.deal-wheel .btn-spin {
  grid-area: trigger;
  justify-self: center;
}

.spinner {
  position: relative;
  display: grid;
  align-items: center;
  grid-template-areas: "spinner";
  width: var(--size);
  height: var(--size);
  transform: rotate(calc(var(--rotate, 25) * 1deg));
  border-radius: 50%;
  box-shadow: inset 0 0 0 calc(var(--size) / 40) hsl(0deg 0% 0% / 0.06);
}

.spinner * {
  grid-area: spinner;
}

.prize {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 calc(var(--size) / 6px) 0 calc(var(--size) / 20);
    width: 45%;
    height: 50%;
    transform-origin: center right;
    transform: rotate(var(--rotate));
    user-select: none;
}


.cap {
  --cap-size: calc(var(--size) / 4);
  position: relative;
  justify-self: center;
  width: var(--cap-size);
  height: var(--cap-size);
}

/* Hide select dropdown from SVG import file */
.cap select {
  display: none;
}

.cap svg {
  width: 100%;
}

.ticker {
  position: relative;
  left: calc(var(--size) / -25);
  width: calc(var(--size) / 10);
  height: calc(var(--size) / 20);
  background: var(--lg);
  z-index: 1;
  clip-path: polygon(20% 0, 100% 50%, 20% 100%, 0% 50%);
  transform-origin: center left;
}

.btn-spin, .btn-1v1, .btn-start-1v1 {
  color: hsl(0deg 0% 100%);
  background: rgb(102, 179, 46);
  border: none;
  font-family: inherit;
  font-size: 26px;
  line-height: 34px;
  padding: 0.9rem 2rem 1rem;
  border-radius: 30px;
  cursor: pointer;
  transition: opacity 200ms ease-out;
}

.btn-start-1v1  {
  font-size: 28px;
  margin-top: 40px!important;
  padding: 1.8rem 2.4rem;
  border-radius: 0;
}

 .btn-1v1, .btn-start-1v1 {
  background: #84be40;
  margin-top: 10px;
 }

.btn-spin:focus {
  outline-offset: 2px;
}

.btn-spin:active {
  transform: translateY(1px);
}

.btn-spin:disabled {
  cursor: progress;
  opacity: 0.25;
}

/* Spinning animation */
.is-spinning .spinner {
  transition: transform 8s cubic-bezier(0.1, -0.01, 0, 1);
}

.is-spinning .ticker {
  animation: tick 700ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes tick {
  40% {
    transform: rotate(-12deg);
  }
}

/* Selected prize animation */
.prize.selected .text {
  color: white;
  animation: selected 800ms ease;
}

@keyframes selected {
  25% {
    transform: scale(1.25);
    text-shadow: 1vmin 1vmin 0 hsla(0 0% 0% / 0.1);
  }
  40% {
    transform: scale(0.92);
    text-shadow: 0 0 0 hsla(0 0% 0% / 0.2);
  }
  60% {
    transform: scale(1.02);
    text-shadow: 0.5vmin 0.5vmin 0 hsla(0 0% 0% / 0.1);
  }
  75% {
    transform: scale(0.98);
  }
  85% {
    transform: scale(1);
  }
}

/* custom card */

.col-auto {
  flex: 1;
  width: 100%;
}

.col {
  width: 100%;
}

.col .custom-card {
  max-width: 100%;
}

body {
  max-width: 620px;
  margin: 0 auto;
}

.custom-card{
  max-width: max-content;
  margin: 0 auto;
  border: 0;
}

.navbar-expand {
    flex-wrap: nowrap;
    justify-content: flex-start;
}

.mobile-nav {
    background: #f8f9fa;
    position: fixed;
    bottom: 0;
    height: 85px;
    display: flex;
    justify-content: space-around;
    max-width: 600px;
    margin: 10px;
    width: calc(100% - 22px);
    border-radius: 0;
    box-shadow: 1px 1px 27px 20px #e2e2e2;
    border-top: 3px solid #f16028;
}

.custom-card-struct {
    border-top: 3px solid #f16028;
    border-radius: 0;
    box-shadow: 1px 1px 27px 20px #e2e2e2;
    margin: 20px 0;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 0;
    min-width: 100%;
}

.custom-user-header {
    border-radius: 0;
    box-shadow: 1px 1px 27px 20px #e2e2e2;
    margin: 20px 0 0;
    padding: 10px;
    min-width: 100%;
}

.level-header {
    background: #f16028;
    color: #fff;
    border-radius: 100px;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    display: inline-block;
    margin-right: 6px;
}

.text-right {
  text-align: right;
}

.progress, .progress-stacked {
  border-radius: 0!Important;
}

.mobile-nav a {
  text-decoration: none;
  color: #f16028;
}

.bloc-icon {
  display: flex;
  justify-content: center;
  align-items: center;
}

.bloc-icon img {
  width: 30px;
}

.nav-central .fa-solid{
  background: #f1f1f1;
  border-radius: 100%;
  padding: 33px;
  font-size: 50px;
  border-bottom: 30px solid #f1f1f1f1;
}

.energie-rimaste {
    font-size: 15px;
    background: #fff;
    color: #66b32e;
    border-radius: 20px;
    padding: 5px 10px;
    margin-left: 10px;
    line-height: 26px;
    top: -2px;
    position: relative; 
}

.badge-info { 
  background-color: #f16028;
  border-radius: 0;
}

.mt-20 {
  margin-top: 20px;
}

.mt-80 {
  margin-top: 80px;
}

.mb-20 {
  margin-bottom: 20px;
}

.badge-title {
  font-size: 12px;
  line-height: 14px;
  margin-top: 5px;
}

.badge-not-active {
  filter: blur(3px) grayscale(1);
}

a {
  color: #f16028;
  text-decoration: none;
}

.btn-custom {
    font-size: 18px;
    color: rgb(255, 255, 255);
    font-weight: bold;
    width: 238px;
    background-color: #f16028;
    border-radius: 0;
    text-transform: uppercase;
    border: 3px solid #f16028;
}

.btn-custom:hover{
  border-color: #f16028;
  border: 3px solid #f16028;
}

.btn-100 {
    width: 100%;
    height: 100px;
    margin-bottom: 13px;
    font-size: 30px;
    line-height: 86px;
}

.btn-home-event-timerized {
  border: 0;
}

.btn-home-event-timerized:hover  {
  border: 0;
  background-color: #f16028!Important;
  background-image: none!important;
  color: #fff;
  text-shadow: none!important;
}

.btn-purple{
  background-color:#84be40;
  border: 3px solid #84be40;
}

.btn-purple:hover{
  border-color: #84be40;
  border: 3px solid #84be40;
}

.form-control {
  border-radius: 0;
}

.progress-bar-custom  {
  background-color:  #f16028!important;
}

.btn-flat {
    border-radius: 0;
    font-size: 20px;
    line-height: 30px;
    padding-top: 30px;
    padding-bottom: 30px;
    height: auto!important;
    font-weight: 300;
}

.progress {
  margin-bottom: 8px;
}

.mb-18 {
  margin-bottom: 18px;
}



.btn-flat .fa-light {
  font-size: 30px; 
  margin-bottom: 8px;
}

.btn-full {
  width: 100%;
  text-align: center;
}

.btn-purple.disabled {
  background-color: #b5b5b55b;
  border-color: #b5b5b55b;
}

#cc_div #cm {
      box-shadow: 0px -1px 20px 7px #393939;
}


/* @media screen and (min-width: 1024px) {
  .mobile-nav {
    position: fixed;
    left: calc(50% + 350px);
    width: 100px;
    display: block;
    height: 410px;
    top: 20px;
  }

  .mobile-nav a {
    height: 80px;
  }


}
} */

/* Settings page styles */
.settings-alert {
  margin-bottom: 20px;
}

.settings-section {
  border: 1px solid #dee2e6;
  border-radius: 0px;
  padding: 30px;
  margin-bottom: 30px;
  background: #f8f9fa;
}

.settings-logout {
  margin-top: 40px;
  margin-bottom: 40px;
}