.testata{
    background-color: #313131;
    background-image: url(https://shop.manzoricambi.it/wp-content/uploads/sfondohome.webp);
    background-position: center center;
    background-size: cover;
    height: 19rem;
    
}
.flex {
    display: flex;

}
.center{
    justify-content: center;
    align-items: center;
}
.desc-box{
    width: 60%;
}

.column{
  flex-direction: column;
}

.navigazione{
    background-color: #b13838;
    color: white;
    padding: 5px;
}

div.navigazione.flex.center.column>ul{
    list-style: none
}

div.navigazione.flex.center.column>ul>li{
    display: inline-block;
    margin: 0 20px;
}

.descrizioni-faq{
  padding: 0 7rem;
}

a{
    color: white;
    text-decoration: none;
    font-family: "Cormorant SC", Sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
}

hr{
  width: 80%;
  margin-top: 1rem;
}

.tab_container {
    width: 100%;
    display: block;
    clear: both;
    position: relative;
    box-shadow: 0 1px 2px #eee;
  }
  input.tab-input,section.tab-content {
    clear: both;
    padding-top: 10px;
    display: none;
  }
  label {
    font-weight: 700;
    font-size: 16px;
    display: block;
    float: left;
    width: 25%;
    height: 2.5em;
    line-height: 2.5em;
    color: white;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    background-color: #b13838;
  }
  #tab1:checked~#content1,#tab2:checked~#content2,#tab3:checked~#content3,#tab4:checked~#content4,#tab5:checked~#content5 {
    display: block;
    padding: 15px;
    background: #fff;
    color: #2b2b2b;
  }
  .tab_container .tab-content h3 {
    text-align: center;
  }
  .tab_container [id^="tab"]:checked+label {
    background: #8a2b2b;
  }

  .product-img{
    width: 37%;
  }

  .box{
    padding: 0 4rem;
    gap: 3%;
    margin-top: 1rem;
  }
  div.testata.flex.center.column img {
      width: 30rem;
    }
  @media only screen and (max-width: 768px) {
    label span {
      font-size:14px;
    }
    .tab_container {
      flex-direction: column; /* Passa a un layout verticale */
      align-items: center;
  }
  label {
      width: 100%; /* I titoli dei tab occupano tutta la larghezza */
      border: 1px solid #b98686;
  }
    .box {
      padding: 0 1rem;
      flex-direction: column;
    }
    .descrizioni-faq{
      padding: 0 1rem;
    }
    div.testata.flex.center.column img {
      width: 58%;
  }
  }
  @keyframes fadeInScale {
    0% {
      transform: scale(0.9);
      opacity: 0;
    }
    100% {
      transform: scale(1);
      opacity: 1;
    }
  }
  