* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0; 
    font-family: 'Segoe UI', sans-serif;
    color: black;
}


.navbar-text {
    margin-left: auto; /* per spostare il logo a destra sulla navbar */
}

.logo {
    height: 50px;
    width: 50px;
}

.left-column {
    background-color: #00b89c;
    display: flex; 
    align-items: center; 
}

.left-column h1 {
    /*per il padding ora ci pensa bootstrap*/
    font-size: 40px; 
}

.left-column h3 {
    /*stessa cosa*/
    font-size: 24px;
}

.right-column {
    background-image: url(../img/newsfondo.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    /* min-height ora sul .row per garantire altezza della sezione */
}

.chi-siamo {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0; 
    background-color: white; 
}

.chi-siamo .container {
    padding: 20px; 
    max-width: 900px; /* Mantiene la larghezza massima del contenuto */
    margin: 0 auto; /* Centra il contenuto all'interno del container */
}


.titolo {
    font-size: 42px;
    margin-bottom: 30px;
    font-weight: 700;
}

.descrizione {
    font-size: 22px;
    line-height: 1.8;
    text-align: justify;
    margin: 30px;

}

.card {
    width: 100%; 
    max-width: 288px; 
    margin: 20px auto; 
    background-color: darkblue !important;
    border-radius: 10px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
}

.card-img-top {
    padding: 15px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.card-body {
    text-align: center;
}

.cartella {
    text-decoration: none;
    color: white; 
    font-size: larger;
    font-weight: bold;
}

.lab-section {
    padding: 0; 
}

.lab-container .row {
    min-height: 100vh; /* assicura che la riga occupi almeno l'altezza della viewport */
}

.lab-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}

.lab-text {
    max-width: 600px;
    margin: 0 auto; 
    text-align: justify;
}

.lab-text h2 {
    font-size: 34px;
    font-weight: bold;
    margin-bottom: 20px;
}

.lab-point {
    margin-bottom: 30px;
}

.lab-point p {
    margin: 6px 0;
    line-height: 1.5;
    font-size: 18px;
}

.contact-section {
    padding: 0; 
    text-align: center;
    background-color: #00b89c;
}

.contact-section h1 {
    padding-top: 10px;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
}

.contact-section p {
    max-width: 800px;
    margin: 10px auto 40px; /* centra il paragrafo */
    font-size: 18px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.contact-form {
    background: white;
    padding: 30px;
    border-radius: 10px;
    max-width: 400px;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid gray;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 16px;
}

.contact-form button {
    width: 100%;
    background-color: black;
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: dimgrey;
}

.map-container {
    width: 100%;
    max-width: 400px; /* limita la larghezza della mappa adesso */
    height: 500px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


.footer {
    background-color: white;
    border-top: 1px solid lightgray;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1000px; 
    margin: 0 auto; 
    padding: 0 15px; 
}

.footer-content .copyright {
    font-size: 15px;
}

.social-icons a {
    font-size: 24px;
    margin-left: 20px;
}

#myBtn {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 15px; /* Place the button at the bottom of the page */
    right: 30px; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    border: none; /* Remove borders */
    outline: none; /* Remove outline */
    background-color: white; /* Set a background color */
    color: white; /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 15px; /* Some padding */
    border-radius: 10px; /* Rounded corners */
    font-size: 18px; /* Increase font size */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

#myBtn:hover {
    background-color: #555;
}
