:root {
  --primary: #00bcd4;
  --accent: #ff4081;
  --secondary: #333;
  --dark: #222;
  --transition: 0.3s ease;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  background-color: var(--light);
  color: var(--dark);
  line-height: 1.8;
  transition: opacity 0.5s ease;
  font-size: 16px;
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* COOKIE CONTAINER */
.cookie-container {
  padding-top: 120px; /* o quanto è alto il tuo header */
  max-width: 900px;      /* o la larghezza che preferisci */
  margin: 40px auto;     /* centro orizzontale, margine sopra e sotto */
  padding: 0 20px;       /* un po’ di padding laterale per non attaccare ai bordi */
  box-sizing: border-box;
}

.cookie-container h1 {
  font-family: var(--font-secondary);
  font-size: 2.2rem;
  margin-bottom: 30px;
   margin-top: 200px;
  color: var(--primary);
  text-align: center;
}

.cookie-container section {
  margin-bottom: 40px;
  text-align: left;
}

.cookie-container h2 {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 15px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
  padding-bottom: 5px;
}

.cookie-container h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-top: 20px;
  margin-bottom: 5px;
}

.cookie-container p {
  margin-bottom: 15px;
  text-align: left;
}

.cookie-container a {
  color: var(--primary);
  text-decoration: underline;
}

.cookie-container table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-size: 0.95rem;
}

.cookie-container th,
.cookie-container td {
  border: 1px solid #ccc;
  padding: 10px;
  text-align: left;
}

.cookie-container th {
  background-color: var(--primary);
  color: white;
}

.cookie-container em {
  font-style: italic;
  color: #555;
}

/* Banner cookie */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--dark);
  color: white;
  padding: 15px 20px;
  font-family: var(--font-primary);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  z-index: 10000;
}

#cookie-banner a {
  color: var(--primary);
  text-decoration: underline;
}

#cookie-banner button {
  background-color: var(--primary);
  border: none;
  color: white;
  padding: 8px 16px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color var(--transition);
}

#cookie-banner button:hover {
  background-color: var(--accent);
}

/* Responsive */
@media (max-width: 768px) {
  .cookie-container {
    padding: 40px 15px;
  }

  .cookie-container h1 {
    font-size: 1.8rem;
  }

  .cookie-container h2 {
    font-size: 1.3rem;
  }

  #cookie-banner {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}
