/* reset css */
* {
margin: 0px;
padding: 0px;
box-sizing: border-box;
}

body {
background-color: white;
margin-top: 0px;
}

h1 {
    font-size: 38px;
    margin-bottom: 0px;
}

h2 {
    color: #233F93;
     margin-bottom: 20px;
}

h3 {
    color: #233F93;
     margin-bottom: 10px;
     font-size: 20px;
}

div.intro {
    display: flex;
    justify-content: center;
    color: #233F93;
    font-size: 25px;
    margin-left: 30px;
    width: 80%;
}

h3.descrizione {
    color: #BE7115;
    margin: 15px 45px;
    margin-bottom: 60px;
}

/* Navbar */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #BE7115;
    padding: 10px 20px;
}

.nav-links {
    color: #BE7115;
    display: flex;
    align-items: center;
    padding: 10px 20px;
    list-style-type: none;
}

a.menu {
    color: #BE7115;
    display: flex;
    align-items: center;
    padding: 10px 20px;
    list-style-type: none;
}

.titolo {
    margin-top: 20px;
    margin-bottom: 20px;
}

div.contenitore {
    display: flex;
justify-content: center;
align-items: center;
    max-width: 80%;
    margin: 0px auto;
}

address {
    font-style: normal;
}


.text-gray {
color: #808080;
}

.text-small {
    font-size: 12px;
    }

img.logo {
/* background-color: #BE7115; */
width: 180px;
vertical-align: middle;
padding: 5px 5px;

}

img.loghino {
/* background-color: #BE7115; */
width: 100px;
vertical-align: middle;
padding: 5px 5px;

}

a {
    color: #233F93;
    text-decoration: none;
}

p.data {
    font-size: 10px;
}

p.PI {
    font-size: 12px;
    color: #BE7115;
    margin-left: 30px;
}

figure.immlogo {
    display: flex;
    justify-content: center;
    margin: 40px 0px 80px 0px;
}

img.emb {
    
    width: 300px;
}

 figure {
    margin: 20px auto;
} 

ul {
    /* margin-left: 15px;
    padding-left: 0px; */
    padding-inline-start: 0px;
    list-style-position: inside;
}

.tit  {
    background-color: #20a9e5;
}

.sec {
    background-color: white;
    color:#BE7115;
    margin: 0px;
    
}

.pie {
    color: #BE7115;
    margin: 15px;
}

div.foot {
    height: 45px;
    display: flex;
    align-items: center;
    /* background-color: #BE7115; */
    color: black;
    margin-bottom: 30px;
    margin-left: 30px;
    vertical-align: middle;
   
}

section.color {
    /* background-color: #b1e5f2; */
    background-color: white;
    margin: 30px 0px;
    font-size: 30px;   
}

section.colormenu {
    display: flex;
    justify-content: center;
    background-color: #BE7115;
    margin: 30px 0px;
    font-size: 30px;   
}

section.contenuto {
    
    width: 70%;
    margin-bottom: 30px;
    margin-left: 30px;
    

}

button.desc {
    background-color: #be721539;
    width: 100%;
    margin-bottom: 30px;
    cursor: pointer;
    padding: 15px;
    border: none;
    text-align: left;
}

button.entra {
    background-color: white;
    color: #BE7115;
    margin: 30px 45% 30px 45%;
    cursor: pointer;
    padding: 15px;
    border: none;
    text-align: center;
    font-size: 20px;
    border-radius: 5px;
}

section.menu {
    display: flex;
    /* justify-content:space-around; */
justify-content: center;
    
}

button.me {
    margin: 0px 10px;
    font-size: 15px;
    cursor: pointer;
    border: none;
}

#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #333;
    color: white;
    padding: 15px;
    text-align: center;
    z-index: 1000;
    display: none;
}
#cookie-banner button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    margin-left: 10px;
    border-radius: 5px;
}
#cookie-banner button:hover {
    background-color: #0056b3;
}


/* ===========================
   ✅ MOBILE OPTIMIZATION
   =========================== */
@media (max-width: 768px) {

  body {
    font-size: 16px;
    padding: 10px;
    overflow-x: hidden;
  }

  /* TITOLI */
  h1 { font-size: 26px; }
  h2 { font-size: 22px; }
  h3 { font-size: 18px; }

  /* INTRO */
  div.intro {
    flex-direction: column;
    font-size: 18px;
    margin-left: 0;
    width: 100%;
    text-align: center;
  }

  /* CONTENITORI */
  div.contenitore,
  section.contenuto {
    width: 100%;
    margin-left: 0;
    padding: 0 10px;
  }

  /* NAVBAR */
  .navbar {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .nav-links {
    flex-direction: column;
    padding: 0;
  }

  a.menu {
    padding: 10px;
    justify-content: center;
  }

  /* IMMAGINI */
  img {
    max-width: 100%;
    height: auto;
  }

  img.logo {
    width: 140px;
  }

  img.loghino {
    width: 80px;
  }

  img.emb {
    width: 100%;
  }

  /* TESTI */
  p.PI {
    margin-left: 0;
    text-align: center;
  }

  /* SEZIONI */
  section.color,
  section.colormenu {
    font-size: 20px;
    margin: 20px 0;
  }

  section.menu {
    flex-direction: column;
    gap: 10px;
  }

  /* BOTTONI */
  button.desc {
    font-size: 16px;
  }

  button.entra {
    margin: 20px auto;
    display: block;
    font-size: 18px;
    width: 80%;
  }

  button.me {
    width: 100%;
    padding: 12px;
    font-size: 16px;
  }

  /* FOOTER */
  div.foot {
    margin-left: 0;
    justify-content: center;
    text-align: center;
  }
}