/* --- LINK --- */
a {
    margin: 0 20px;
    color: #003049;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
}

a:hover {
    color: #d62828;
}

/* --- PARAGRAFI --- */
p {
    display: block;
    background: #caf0f8;
    padding: 10px 15px;
    border-radius: 8px;
    color: #003049;
    font-size: 18px;
}

/* --- TABELLE --- */
table {
    border-collapse: collapse;
    margin: 20px auto;
    width: 70%;
    background: #ffffffaa;
    backdrop-filter: blur(4px);
}

td, th {
    border: 2px solid #003049;
    padding: 12px;
    text-align: center;
    font-size: 18px;
}

/* --- HEADER --- */
header {
    background: linear-gradient(215deg, #90e0ef, #ffffff);
    padding: 15px;
    border-left: 3px solid #b40084;
    border-right: 3px solid #b40084;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: 0.4s;
}

header:hover {
    transform: scale(0.98);
}

h1{
    color: #003049
}

/* --- BODY --- */
body {
    margin-top: 50px;
    background: linear-gradient(215deg, #48cae4, #0096c7, #023e8a);
    font-family: Arial, sans-serif;
    color: white;
}

/* --- FORM --- */
input[type="text"],
input[type="number"] {
    padding: 8px;
    border-radius: 6px;
    border: 2px solid #003049;
    margin: 5px 0;
    width: 250px;
}

input[type="submit"],
button {
    padding: 10px 20px;
    background: #0077b6;
    border: none;
    border-radius: 6px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

input[type="submit"]:hover,
button:hover {
    background: #023e8a;
}

/* --- BOX SEZIONI --- */
#box1, #sezione1 {
    background: #ffffffaa;
    padding: 20px;
    border-radius: 10px;
    width: 600px;
    margin: auto;
    backdrop-filter: blur(4px);
}

#box2, #sezione2 {
    background: #ffffffaa;
    padding: 20px;
    border-radius: 10px;
    width: 600px;
    margin: auto;
    backdrop-filter: blur(4px);
}

#contenitore1{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    margin-top: 30px;

}