body {
    margin: 0;
    font-family: 'Georgia', serif;
    background-color: #f3efe2;
    color: #2f1e2e;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}

/* Header superiore */
.top-bar {
    background-color: #e6ddc4;
    display: flex;
    justify-content: center;
    padding: 20px;
    border-bottom: 2px solid #ccbfb1;
}

.top-bar-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-direction: row;
    text-align: center;
}

.top-bar-inner img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: #fff solid 4px;
    object-fit: cover;
}

.top-bar-inner h2 {
    margin: 0;
    font-size: 1.8em;
    color: #5b3b5e;
    font-weight: bold;
}

  .box {
    display: flex;

    background: #fffaf2;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #d7c8b8;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  }

  .box-image {
    display: flex;
    flex: 1;
    padding: 20px 20px;
    justify-content: flex-end;
  }
  
  .box-image img {
    display: flex;
    width: 100%;
    max-width: 200px;
  }
  .description {
    flex: 1;
    padding: 20px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
  }
  .description ul {
    padding-left: 20px;
  }

  .box li
  {
    padding-bottom:10px;
  }

h1 {
    font-size: 2.4em;
    margin-top: 25px;
    color: #432850;
}

p {
    font-size: 1.1em;
    margin: 20px auto;
    max-width: 700px;
}

.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 40px 0;
    gap: 20px;
}

.feature {
    flex: 1 1 260px;
    background: #fffaf2;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #d7c8b8;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.feature h3 {
    color: #6b3d73;
    margin-bottom: 10px;
}

.cta {
    display: flex;
    width: 100%;
    margin: 50px 0;
    justify-content: center;
}

.cta a {
    text-decoration: none;
    background: linear-gradient(to right, #6a3d8f, #a972cb);
    color: white;
    padding: 15px 35px;
    font-size: 1.2em;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: transform 0.2s, background 0.3s;
}

.cta a:hover {
    background: linear-gradient(to right, #4e2c6a, #9162bb);
    transform: scale(1.05);
}

footer {
    margin-top: 60px;
    padding: 20px;
    font-size: 0.9em;
    color: #777;
}

@media (max-width: 640px) {
  /*  .top-bar {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    }*/

    h1 {
    font-size: 2em;
    }

   /* .features {
    flex-direction: column;
    align-items: center;
    }*/
}

/* Media query sotto i 400px */
@media (max-width: 400px) {
  /*  .top-bar-inner {
    flex-direction: column;
    gap: 10px;
    }*/
}


  /* Responsive */
  @media (max-width: 780px) {
    .box {
      flex-direction: column;
    }
    .description {
      padding: 0px 0px 0px 0px;
      margin: 0 auto;
    }
    .box-image img {
      max-width: 300px;
      margin: 0 auto;
      margin-top: 20px;
      
      justify-content: center;
    }
  }