/*html, body {
  background-color: #f1f1f1 !important;
  font-family: 'Roboto Mono', monospace;
}*/

.large {
    font-size: 30px !important;
    /*margin: 5px;*/
}

.hidden {
    display: none;
}

.image.choiceImage {
    width: 256px;
}

span.tag {
    cursor: pointer;
}

.navbar {
    transition: top 0.3s;
  }

/* Nascondi la navbar quando scrolli verso il basso */
.navbar-hidden {
    top: -80px; /* Altezza navbar */
}

/* .navbar-item img {
  max-height: 3.25rem;
}

.navbar-burger {
  height: 4.25rem;
  width: 4.25rem;
} */

.is-red {
    background-color: red;
}

.hero.has-background {
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    object-fit: cover;
    object-position: center center;
    width: 100%;
    height: 100%;
}

.hero-background.is-transparent {
    opacity: 0.3;
}

/* body {
    padding-top: 2.75rem;
} */

.is-white {
    color: white;
}

.is-white:hover {
    color: black;
}

.is-thin {
    padding: 0.15rem;
}

.no-margins {
    margin-left: 0em;
    margin-right: 0em;
    text-align: center;
}

.custom-border-left-right {
    border-left: 1px solid #dfdfdf;
    border-right: 1px solid #343a40;
}

.custom-border-left {
    border-left: 1px solid #343a40;
}

.custom-border-right {
    border-left: 1px solid #343a40;
}

/* Stili per la sezione hero */
.hero-title-container {
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5); /* Colore di sfondo blu */
    color: white; /* Colore del testo */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Ombra del testo */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: auto; /* Assicura che il contenitore prenda tutta l'altezza disponibile */
    padding: 2rem; /* Aggiungi padding per evitare che il testo si accosti ai bordi */
}

.hero-title {
    margin: 0;
    width: 100%; /* Assicura che l'elemento prenda tutta la larghezza disponibile */
}

.hero-title h1,
.hero-title h4 {
    margin: 0;
}

.jumbotron {
    background-size: contain; 
    background-position: right;
    background-repeat: no-repeat;
    background-position: right;
}

/* Media query per schermi piccoli (come quelli dei dispositivi mobili) */
@media (max-width: 768px) {
    .hero-title-container {
        padding: 1rem; /* Aggiungi padding per evitare che il testo si accosti ai bordi */
    }

    .hero-title-container h1 {
        font-size: 1.5rem; /* Riduci la dimensione del font per h1 */
        word-wrap: break-word; /* Assicura che il testo vada a capo se troppo lungo */
    }

    .hero-title-container h4 {
        font-size: 1.2rem; /* Riduci la dimensione del font per h4 */
        word-wrap: break-word; /* Assicura che il testo vada a capo se troppo lungo */
    }
    .jumbotron {
        background-size: contain; 
        background-position: right;
        background-repeat: no-repeat;
        background-position: center; /* Centra l'immagine */
    }
}