body,
html {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f0f4f8;
  height: 100%;
}

.container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
  box-sizing: border-box;
}

.content {
  max-width: 600px;
  width: 100%;
  text-align: center;
}

.l600 {
  width: 600px;
}

.top_10 {
  margin-top: 10px;
}

.bottom_5 {
  margin-bottom: 5px;
}

.color_orange {
  color: orangered;
}

.logo {
  max-width: 200px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.news-container {
  max-width: 568px;
  padding: 15px;
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  margin-bottom: 20px;
  -ms-overflow-style: none;

}

.news-container-scroll {
  overflow-y: auto;
  scrollbar-width: none;
  max-height: 180px;
  border-radius: 8px;
  background-color: #ffffff;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
}

.news-container-scroll p {
  margin: 0;
  padding: 5px 5px 5px 5px;
}

.news-container::-webkit-scrollbar {
  display: none;
}

.news-color_1 {
  padding: 5px 0px 5px 0px;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
}

.news-color_2 {
  background-color: #f0f4f8a6;
  padding: 5px 0px 5px 0px;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
}

.news-mese {
  color: gray;
  font-size: x-small;
  width: 60px;
  padding-left: 10px;
  padding-right: 5px;
  display: flex;
  align-items: center;
}

.news-cont {
  max-width: 490px;
}

.menu {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

.menu-button {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 10px;
}

.menu-items {
  display: flex;
  gap: 20px;
  padding: 10px;
  border-radius: 5px;
}

.menu-items a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

.contact-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #007bff;
  color: white;
  border: none;
  width: 60px;
  height: 60px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.contact-button::before {
  content: '\1F4AC';
}

.contact-area {
  display: none;
  position: fixed;
  bottom: 90px;
  right: 20px;
  background-color: white;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  z-index: 1000;
  max-width: 300px;
}

.box-container {
  background-color: white;
  margin-bottom: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 15px;
}

.description-area {
  background-color: white;
  margin-bottom: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 15px;
}

.description-area p {
  margin: 0px;
  text-align: left;
}

.portfolio-container {
  width: 100%;
  max-width: 600px;
}

.portfolio-container-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.portfolio-item {
  background: white;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.portfolio-item img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

footer {
  background-color: #0071bc;
  color: white;
  text-align: center;
  padding: 20px 0;
  position: relative;
  bottom: 0;
  width: 100%;
}

.footer-content a {
  color: white;
  text-decoration: none;
}

.footer-content a:hover {
  text-decoration: underline;
}

.share-button {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1000;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}

.share-button img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 768px) {
  .logo {
    max-height: 100px;
  }

  .menu {
    position: absolute;
    top: 20px;
    right: 20px;
  }

  .menu-button {
    display: block;
    color: #333;
    font-size: 24px;
    background: none;
    border: none;
    padding: 10px;
  }

  .menu-items {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    min-width: 200px;
  }

  .menu-items.show {
    display: block;
  }

  .menu-items a {
    display: block;
    padding: 10px 0;
    text-align: left;
  }

  .contact-area {
    right: 20px;
    max-width: calc(100% - 40px);
  }

  .share-button {
    display: block;
    bottom: calc(20px + var(--footer-height));
  }
}

:root {
  --footer-height: 80px;
  /* Regola questo valore in base all'altezza effettiva del tuo footer */
}

a {
  color: #007bff;
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: #0056b3;
  text-decoration: underline;
}