@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  background: linear-gradient(135deg, #e0f7fa, #f1f8e9);
  color: #333;
}

header {
  background: linear-gradient(90deg, #003366, #0055aa);
  color: white;
  padding: 20px 0;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.logo-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 80%;
  margin: 0 auto;
}

.logo-container img {
  height: 60px;
}

main {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
}

.form-container {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
  text-align: center;
  width: 100%;
  max-width: 450px;
  animation: fadeIn 0.6s ease-in-out;
}

label {
  font-weight: 700;
  margin-top: 15px;
  display: block;
  text-align: left;
}

select, input {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 1em;
  transition: all 0.3s ease;
}

select:focus, input:focus {
  border-color: #0055aa;
  outline: none;
  box-shadow: 0 0 5px rgba(0,85,170,0.5);
}

.buttons {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

button {
  margin: 8px;
  padding: 12px 25px;
  border: none;
  border-radius: 25px;
  background: linear-gradient(90deg, #0055aa, #0099cc);
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s, background 0.3s;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

button:hover {
  transform: translateY(-2px);
  background: linear-gradient(90deg, #0099cc, #00bcd4);
}

#risultato {
  margin-top: 25px;
  font-size: 1.4em;
  font-weight: bold;
  color: #0055aa;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}


/* --- Fixed footer with single full-width banner --- */
.site-footer-fixed{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 220px;            /* adjust as needed */
  z-index: 1000;
  overflow: hidden;
}

.site-footer-fixed img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Space for the fixed footer so content doesn't get covered */
body { padding-bottom: 220px; }
header { z-index: 1001; }
