@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.css');

html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.card.disabled {
    pointer-events: none; /* Disabilita l'interazione */
    opacity: 0.6; /* Riduce l'opacità per un effetto visivo migliore */
}

.btn-effect {
    text-align: center;
    display: inline-block;
    position: relative;
    text-decoration: none;
    color: #fff !important;
    background-color: var(--brand-color) !important;
    font-family: 'Roboto', sans-serif;
    /* put your font-family */
    font-size: 18px;
    width: 160px;
    border-radius: 6px;
    overflow: hidden;
}

/* effect-5 styles */
.btn-effect.btn-effect-5 {
    -webkit-transition: all 0.2s linear 0s;
    transition: all 0.2s linear 0s;
}

.btn-effect.btn-effect-5:before {
    content: "\f054";
    font-family: FontAwesome;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0px;
    height: 100%;
    width: 30px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 0 50% 50% 0;
    -webkit-transform: scale(0, 1);
    transform: scale(0, 1);
    -webkit-transform-origin: left center;
    transform-origin: left center;
    -webkit-transition: all 0.2s linear 0s;
    transition: all 0.2s linear 0s;
}

.btn-effect.btn-effect-5:hover {
    text-indent: 10px;
    color: #ffffff !important;
}

.btn-effect.btn-effect-5:hover:before {
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
    text-indent: 0;
}

.btn-close-white {
    filter: invert(1);
}

.btn-no-focus:focus {
    outline: none;
    box-shadow: none;
}

/* Style background card */
.bg-card-brand {
    background-color: var(--brand-color);
}

.card-footer-custom {
    background-color: #dadde1; /* Colore grigio chiaro */
    color: #000; /* Colore del testo nero */
}

/* Style background modal */
.bg-modal-brand {
    background-color: var(--brand-color);
}

.modal-footer-custom {
    background-color: #dadde1; /* Colore grigio chiaro */
    color: #000; /* Colore del testo nero */
}

/* Style text color */
.text-color-brand {
    color: var(--brand-color);
}

.w-lg {
    min-width: 140px;
}

/* Styles Cookie Consent */
#cookieConsent {
    z-index: 1000;
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(1, 1, 1, 0.8);
    padding: 20px 30px 20px 30px;
    font-family: 'Century Gothic', sans-serif;
    box-shadow: 0px 3px 10px 5px rgba(0, 0, 0, 0.4);
    text-align: center;
}

#cookieConsent button {
    display: block;
    margin-left: auto;
    margin-right: auto;
    border: none;
    background-color: green;
    padding: 10px 50px;
    margin-top: -5px;
    color: white;
    transition: all ease 0.5s;
}

#cookieConsent button:hover {
    background-color: darkgreen;
}

#cookieConsent h3 {
    color: white;
    font-size: 22px;
}

#cookieConsent p {
    color: white;
    font-size: 13px;
}

#cookieConsent a {
    color: white;
    text-decoration: underline;
}

.home-background {
    position: relative;
    overflow: hidden;
    padding: 20px;
    color: #000; /* Colore del testo */
}

.home-background::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 600px; /* Aumenta la dimensione dell'immagine */
        height: 600px; /* Aumenta la dimensione dell'immagine */
        background-image: url('/img/background.png');
        background-size: cover;
        background-position: center;
        transform: translate(-50%, -50%); /* Centra e ruota l'immagine di 45 gradi */
        opacity: 0.8; /* Riduce la trasparenza per rendere l'immagine meno trasparente */
        z-index: -1; /* Posiziona l'immagine dietro il testo */
    }

.text-overlay {
    background-color: rgba(255, 255, 255, 0.7); /* Sfondo semi-trasparente per il testo */
    padding: 20px;
    border-radius: 10px;
    position: relative;
    z-index: 1; /* Assicura che il testo sia sopra l'immagine */
}

.text-justify {
    text-align: justify;
}