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;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}
.hero-section {
    background: url('https://source.unsplash.com/1920x1080/?technology,business') no-repeat center center/cover;
    height: 50vh;
    color: #fff;
    position: relative;
    z-index: 1; /* Assicurati che non sia sopra il menu */
}

.navbar-brand {
    font-weight: bold;
    color: #007bff !important;
}

footer {
    background-color: #f8f9fa;
    color: #6c757d;
}
h1 {
    color: #007bff;
}

/*.lead {
    font-size: 1.25rem;
    color: #555;
}*/

img {
    border: 1px solid #ddd;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}
.dropdown-menu {
    z-index: 1050; /* Assicura che sia sopra gli altri elementi */
    position: absolute; /* Necessario per il menu dropdown */
}
.navbar {
    position: relative;
    z-index: 1001;
}
/* Titolo principale (h1) */
h1 {
    color: #ffffff; /* Colore bianco */
    font-weight: 700; /* Grassetto */
    font-size: 3rem; /* Dimensione grande */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); /* Ombra per effetto rilievo */
    text-align: center; /* Centrare il testo */
    line-height: 1.2; /* Migliore leggibilità */
}

/* Titolo secondario (h2) */
h2 {
    color: #ffffff; /* Colore bianco */
    font-weight: 600; /* Semi-grassetto */
    font-size: 2.5rem; /* Dimensione leggermente più piccola */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6); /* Ombra simile */
    text-align: center;
    line-height: 1.3;
}

/* Titolo minore (h3) */
h3 {
    color: #ffffff; /* Colore bianco */
    font-weight: 500; /* Meno grassetto */
    font-size: 2rem; /* Ancora più piccolo */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5); /* Ombra più leggera */
    text-align: center;
    line-height: 1.4;
}

/* Adattamenti per dispositivi più piccoli */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem; /* Ridurre dimensione su schermi piccoli */
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.75rem;
    }
}
/* Stile di base per i pulsanti */
.btn {
    /*background-color: #007bff;*/ /* Blu principale */
    /*color: #ffffff;*/ /* Testo bianco */
    font-size: 1.2rem; /* Testo leggermente più grande */
    font-weight: 600; /* Semi-grassetto */
    border-radius: 30px; /* Bordi arrotondati */
    padding: 10px 20px; /* Spaziatura interna */
    border: none; /* Rimuovi bordo */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5); /* Ombra per il testo */
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3); /* Ombra pulsante */
    transition: all 0.3s ease; /* Transizione per gli effetti */
}
/* Pulsanti dentro le card */
.card .btn {
    background-color: #007bff;
    color: #ffffff;
    font-size: 1.2rem;
    border-radius: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

    /* Effetto hover */
    .btn:hover {
        background-color: #0056b3; /* Blu più scuro */
        color: #ffffff; /* Mantieni il testo bianco */
        box-shadow: 3px 3px 7px rgba(0, 0, 0, 0.5); /* Ombra più pronunciata */
        transform: translateY(-2px); /* Solleva leggermente il pulsante */
    }

    /* Effetto focus */
    .btn:focus {
        outline: none; /* Rimuove il bordo focus predefinito */
        box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5); /* Aggiunge un effetto focus moderno */
    }

/* Pulsanti grandi */
.btn-lg {
    font-size: 1.5rem; /* Testo più grande */
    padding: 15px 30px; /* Maggiore spaziatura */
}

/* Adattamenti per dispositivi più piccoli */
@media (max-width: 768px) {
    .btn {
        html, body

{
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

footer {
    flex-shrink: 0;
}

       


