body {
    background-color: #f0f0f0; /* Colore di sfondo chiaro */
}

.test {
    
    background-color: rgba(0, 123, 255, 0.8); /* Blu con trasparenza */
    padding: 2% 0 !important; /* Maggiore padding per un aspetto più spazioso */
}

h1, h2 {
    animation: fadeIn 2s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.card {
    transition: transform 0.2s, box-shadow 0.2s;
    border: none; /* Rimuove il bordo predefinito */
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); /* Ombra più intensa al passaggio del mouse */
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.8); /* Pulsante secondario con trasparenza */
    color: #343a40; /* Colore del testo scuro */
}

.btn-primary {
    background-color: #007bff; /* Colore blu per il pulsante primario */
    border: none; /* Rimuove il bordo predefinito */
}

.btn-primary:hover {
    background-color: #0056b3; /* Colore blu scuro al passaggio del mouse */
}

html, body {
    height: 100%; /* Imposta l'altezza al 100% */
    margin: 0; /* Rimuove il margine predefinito */
}

body {
    display: flex;
    flex-direction: column; /* Imposta la direzione del layout in colonna */
}
main{
    flex: 1; /* Allow the main content to grow and fill available space */
    padding: 20px; /* Add some padding if needed */

}

footer {
    background-color: #343a40; /* Colore di sfondo scuro per il footer */
    color: white; /* Colore del testo bianco */
}

.profile-image {
    border-radius: 50%; /* This makes the image rounded */
    width: 150px; /* Adjust the width as needed */
    height: 150px; /* Adjust the height as needed */
    object-fit: cover; /* This ensures the image covers the area without distortion */
}

.profile-card {
    display: flex;
    flex-direction: column; /* Align items vertically */
    align-items: center; /* Center items horizontally */
    text-align: center; /* Center text */
}

/* Default styles for larger screens */
.navbar .navbar-brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* Styles for smaller screens (smartphones and tablets) */
@media (max-width: 768px) {
    .navbar .navbar-brand {
        position: static; /* Reset to static positioning */
        left: 0%;
        transform: translateX(0%);
    }
}
